Unsermake crash (Debian Sid): "KeyError: 'DEPDIR'"
Michael Robinson
robinson at netrinsics.com
Mon Jul 18 05:58:48 BST 2005
Is this a bug, or am I doing something wrong?
On current Debian Sid, I run this script in kde4/kdelibs from current SVN:
------
#!/bin/bash
export KDEDIR=/usr/local/kde4
export PATH=$PATH:/usr/src/kde/unsermake
unsermake -f Makefile.cvs
./configure --enable-debug --with-qt-dir=/usr/local/Trolltech/Qt-4.0.0
--with-lua-includes=/usr/include/lua50 --with-lua-libraries=/usr/lib
unsermake
------
The first unsermake and the configure complete without error[1]. The
final unsermake terminates immediately with the following traceback:
------
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/src/kde/unsermake/__init__.py", line 1303, in ?
main()
File "/usr/src/kde/unsermake/__init__.py", line 1162, in main
(top_makefile, all_defines) = setup_top_makefile_wrapper(
top_makefile, top_srcdir, subdir)
File "/usr/src/kde/unsermake/__init__.py", line 810, in
setup_top_makefile_wrapper
os.path.abspath(".") + "/")
File "/usr/src/kde/unsermake/__init__.py", line 248, in read_subdirs
all_defines = read_subdirs(submakefile, all_defines, nsrc_prefix,
nprefix)
File "/usr/src/kde/unsermake/__init__.py", line 212, in read_subdirs
makefile.read_deps()
File "/usr/src/kde/unsermake/amfile.py", line 1395, in read_deps
depdir_value = utilities.subst_vars["DEPDIR"]
KeyError: 'DEPDIR'
------
Toolchain version info:
automake (GNU automake) 1.4-p6
autoconf (GNU Autoconf) 2.59
Python 2.3.5 (#2, Jun 19 2005, 13:28:00)
g++ (GCC) 4.0.1 (Debian 4.0.1-2)
[1] I had to add this line to kdelibs/admin/acinclude.m4.in to get the
Makefile.cvs build to complete successfully:
ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CPPFLAGS])])
More information about the kde-core-devel
mailing list