When I emerge klibido, with or without the "arts" USE flag, the ebuild fails with multiple errors... Reproducible: Always Steps to Reproduce: 1. type in "emerge klibido" or "USE="-arts" emerge klibido" 2. wait for ebuild to fail Actual Results: First Error is: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/db4.1/ -I/usr/include/db4 -DQT_THREAD_SUPPORT -D_REENTRANT -I/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o binheader.o `test -f 'binheader.cpp' || echo './'`binheader.cpp In file included from newsgroup.h:23, from newsgroup.cpp:20: globals.h:24:20: db_cxx.h: No such file or directory In file included from header.h:26, from binheader.h:24, from binheader.cpp:20: globals.h:24:20: db_cxx.h: No such file or directory In file included from headerlist.h:26, from newsgroup.h:26, from newsgroup.cpp:20: hlistviewitem.h:51: error: syntax error before `*' token hlistviewitem.h:60: error: type specifier omitted for parameter `Db' hlistviewitem.h:60: error: parse error before `*' token hlistviewitem.h:73: error: syntax error before `*' token hlistviewitem.h:74: error: destructors must be member functions hlistviewitem.h:75: error: parse error before `}' token make[2]: *** [binheader.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Expected Results: Built the ebuild. Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.9-gentoo-r4 i686) ================================================================= System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.4 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Sep 5 2004, 10:27:23)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r4 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.90.0.1.1-r3 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apache2 apm arts asla avi berkdb bitmap-fonts bzlib cdr crypt cups curl curlwrappers directfb divx4linux dvd dvdr encode f77 fam fbcom flac foomatic foomaticdb fortran ftp gdbm gif gpm gtk gtk2 imagemagick imlib java jpeg junit kde kerberos libg++ libwww mad mikmod mime mmx mmx2 motif mozsvg mpeg msn mysql ncurses nls oci8 offensive oggvorbis opengl openssh oracle oracle7 pam pda pdflib perl php png ppds python qt quicktime readline samba scanner sdl slang smtp soap sockets spell ssl svga tcpd tiff truetype usb x86 xml xml2 xmms xsl xv yahoo zlib"
The arts flag is inherited from the kde eclass, it appears. Doesn't really have anything to do with klibido. I'm looking into this, but it emerges fine on my x86 system.
I modified the ebuild to only dep on sys-libs/db-4.1*, per a suggestion from swegener. Please test and see if this fixes the ebuild for you. I didn't bump the revision.
Additional Actions: 1. emerge sync 2. ls -l /usr/portage/net-news/klibido total 16 -rw-r--r-- 1 root root 339 Dec 1 21:27 ChangeLog -rw-r--r-- 1 root root 234 Dec 9 13:46 Manifest drwxr-xr-x 2 root root 16 Dec 1 21:42 files -rw-r--r-- 1 root root 599 Dec 9 13:46 klibido-0.2.0.ebuild -rw-r--r-- 1 root root 161 Dec 1 21:27 metadata.xml 3. emerge klibido -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] sys-libs/db-4.1.25_p1-r4 -doc +java -tcltk (-uclibc) 0 kB [ebuild N ] net-news/klibido-0.2.0 +arts -debug -xinerama 0 kB 4. emerge klibido >>> net-news/klibido-0.2.0 merged. Looks like that works... good to change back to db-4.1.x since both ebuilds require ~x86 mask which had already bumped me to db-4.2.52_p2 at some point, and it looks like klibido doesn't work with db-4.2.x, which is sad. I will make sure author knows that he doesn't compile against db-4.2.x. Thanks for the fix!!!
It _might_ compile with 4.2 but the --with-extra-includes=/usr/include/db4.1/ in the ebuild then needs updating so klibido finds the include files.