Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
--> kde-base/kdeadmin-3.1.2 +pam +foreign-package -foreign-sysvinit ...crashes at the rpm related codes... (don't have an output currently) --> kde-base/kdeadmin-3.1.2 +pam -foreign-package -foreign-sysvinit ...does not crash. So the problem is at the rpm related codes.... Reproducible: Always Steps to Reproduce: 1. USE="foreign-package" emerge -v =kdeadmin-3.1.2 2. 3. Actual Results: uhm sorry but I've lost the output ;) Expected Results: compile :) psiXaos root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts svga java mysql postgres X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl cdr aalib amd apache2 dga dnd dvd fbcon foreign-package gd gtk2 imap jikes junit mdb memlimit mozaccess mozinterfaceinfo moznoirc mozsvg mozxmlterm mpi nptl odbc prebuilt samba sse usb wmf xinerama xml xosd -3dnow -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe" CXXFLAGS="-O3 -march=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache buildpkg"
Here are more details about this problem. I am experiencing the same problem with kdeadmin-3.1.3. The error messages are shown below. COMPILE FAILURE: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/rpm -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o rpmInterface.o `test -f 'rpmInterface.cpp' || echo './'`rpmInterface.cpp In file included from rpmInterface.cpp:29: rpmInstall.h:39: type specifier omitted for parameter `rpmDependencyConflict' rpmInstall.h:39: syntax error before `,' token In file included from rpmInterface.cpp:47: rpmutils.h:12: type specifier omitted for parameter `dbiIndexSet' rpmutils.h:12: syntax error before `*' token rpmutils.h:14: type specifier omitted for parameter `dbiIndexSet' rpmutils.h:14: syntax error before `*' token rpmInterface.cpp: In member function `virtual void RPM::listInstalledPackages(QPtrList<packageInfo>*)': rpmInterface.cpp:186: `rpmdbOpen' undeclared (first use this function) rpmInterface.cpp:186: (Each undeclared identifier is reported only once for each function it appears in.) rpmInterface.cpp:215: `rpmdbInitIterator' undeclared (first use this function) rpmInterface.cpp:216: `rpmdbNextIterator' undeclared (first use this function) rpmInterface.cpp:232: `rpmdbFreeIterator' undeclared (first use this function) rpmInterface.cpp:236: `rpmdbClose' undeclared (first use this function) rpmInterface.cpp: In member function `virtual packageInfo* RPM::getPackageInfo(char, const QString&, const QString&)': rpmInterface.cpp:333: `rpmReadPackageHeader' undeclared (first use this function) rpmInterface.cpp: In member function `QStringList RPM::collectFileList(headerToken*)': rpmInterface.cpp:658: `rpmBuildFileList' undeclared (first use this function) make[3]: *** [rpmInterface.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.3/work/kdeadmin-3.1.3/kpackage' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.3/work/kdeadmin-3.1.3/kpackage' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.3/work/kdeadmin-3.1.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdeadmin-3.1.3 failed. !!! Function kde_src_compile, Line 138, Exitcode 2 !!! died running emake, kde_src_compile:make ---------------- end of console output ----------------- EMERGE INFO: Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) XP 2200+ GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.seren.com/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap snmp cdr acl acpi acpi4linux apache2 directfb dnd doc dvd ethereal evo fbcon fbdev foreign-package foreign-sysvinit freetds gb ginac gnomedb gtk2 imap innodb ipv6 jikes junit kerberos libgda maildir mbox mdb moznoirc moznomail oci8 odbc pda pic plotutils radeon samba sasl slp sse tiff type1 usb wmf wxwindows Xaw3d xml zeo" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O2 -pipe -fstack-protector" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox userpriv usersandbox" ---------------- end of console output ----------------- HYPOTHESIS 1: It appears to me that the errors are PARTIALLY related to missing declarations which are in the <rpm/rpmdb.h> header file. Some code "should" be including this header, but isn't. I don't know enough if this is a bug in rpm or in kdeadmin. The header could be included in rpmInterface.cpp, or in some header file that rpmInterface.cpp includes. I don't know what's the best solution. I inserted the following line in rpmInterface.cpp: #include <rpm/rpmdb.h> RESULT: Some errors were removed, but not all. It appears that the interface to rpm has changed between 4.0 and 4.2. Therefore, the code in rpmInterface.cpp needs to be changed to take the new interface into account. I am not familiar enough with either rpmInterface.cpp or rpm to do so. RECOMMENDATION: 1. Refer the rpmInterface to rpm 4.2 incompatibility upstream to kdeadmin developers. 2. Remove rpm functionality from ebuild if rpm 4.2 is being used until 4.2 compatibility is added to rpmInterface.cpp. (I don't know enough to do this myself.) 3. My workaround: USE="-foreign-package" emerge kdeadmin With this, kdeadmin compiles successfully.
*** Bug 25938 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 21479 ***
These bugs are unrelated after all
This section has been commented out in 3.1.3, so it should work now.