the KDE includes cannot be found during the initial configure in the new kdissert ebuild. The previous version of kdissert compiled and worked OK. >>> md5 src_uri ;-) kdissert-0.3.5.tar.bz2 >>> Unpacking source... >>> Unpacking kdissert-0.3.5.tar.bz2 to /var/tmp/portage/kdissert-0.3.5/work >>> Source unpacked. Checking for the operating system : You are using Linux, that's good (tm) Checking for scons : scons was found Checking for kde-config : kde-config was found Checking for kde version : 3.3.2 Checking for the qt library : qt is in /usr/qt/3 Checking for uic : uic was found as /usr/qt/3/bin/uic Checking for moc : moc was found as /usr/qt/3/bin/moc Checking for the qt includes : ok /usr/qt/3/include/ Checking for the kde includes : The kde includes were NOT found WARNING : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING : Set the path to the kde includes with --kdeincludes WARNING : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Traceback (most recent call last): File "./configure", line 322, in ? config_py_content.append("\tenv.Append(CPPPATH = ['" + kdeincludes + "'])\n") TypeError: cannot concatenate 'str' and 'NoneType' objects /usr/lib/portage/bin/ebuild.sh: line 21: configure: command not found scons -Q --max-drift=1 --implicit-deps-unchanged AttributeError: 'module' object has no attribute 'generate': File "SConstruct", line 6: env = Environment(tools = ['default', 'config'], toolpath = ['./']) File "/usr/lib/scons/SCons/Environment.py", line 266: apply_tools(self, tools, toolpath) File "/usr/lib/scons/SCons/Environment.py", line 122: env.Tool(tool, toolpath) File "/usr/lib/scons/SCons/Environment.py", line 906: return SCons.Tool.Tool(tool, map(self.subst, toolpath))(self) File "/usr/lib/scons/SCons/Tool/__init__.py", line 66: spec.generate = module.generate make: *** [all] Error 2 make: *** No rule to make target `failed'. Stop. >>> Test phase [not enabled]: kde-misc/kdissert-0.3.5 >>> Install kdissert-0.3.5 into /var/tmp/portage/kdissert-0.3.5/image/ categorykde-misc scons install #--max-drift=1 --implicit-deps-unchanged scons: Reading SConscript files ... AttributeError: 'module' object has no attribute 'generate': File "SConstruct", line 6: env = Environment(tools = ['default', 'config'], toolpath = ['./']) File "/usr/lib/scons/SCons/Environment.py", line 266: apply_tools(self, tools, toolpath) File "/usr/lib/scons/SCons/Environment.py", line 122: env.Tool(tool, toolpath) File "/usr/lib/scons/SCons/Environment.py", line 906: return SCons.Tool.Tool(tool, map(self.subst, toolpath))(self) File "/usr/lib/scons/SCons/Tool/__init__.py", line 66: spec.generate = module.generate make: *** [install] Error 2 !!! ERROR: kde-misc/kdissert-0.3.5 failed. !!! Function einstall, Line 524, Exitcode 2 !!! einstall failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 18 2004, 22:05:37)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.9.4, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer -funroll-loops -mfpmath=sse -ffast-math -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer -funroll-loops -mfpmath=sse -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync1.uk.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib linguas_en_GB" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Oh wee, using locate in a configure script (as fallback option). I wonder why it didn't fail for me.
Carlo, Is there a chance of pushing the fix to the portage anytime soon? Everytime the emerge -uDv world is done it stops on the offending kdissert package, which fails to compile. Then all the other upgrades have to be done manually one by one so as to avoid the offending kdissert package. Best regards Chris
From the author of the application: There is indeed a mistake in the configure script (some code was omitted) - change the following code (line 245) in configure : if not kdeincludes: kdeincludes=kdeprefix+'/include' This is fixed in 0.3.6-pre2 (0.3.6 will be ready soon). if os.path.isfile(kdeincludes + "/klineedit.h"): print GREEN + "ok " + kdeincludes + NORMAL else (EOF)
Same problem for me; I installed slocate and did "locate -u", now it works. Best regard Jan P.S.: Hopefully 0.3.6-pre7 will be 0.3.6 soon... ;)
>Is there a chance of pushing the fix to the portage anytime soon? It's not marked stable and the author releases regularly. I don't start to waste my time to fix such minor issues. 0.3.6 should hopefully work fine, otherwise reopen please.