Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21479 - kdeadmin 3.1.2 won't build
Summary: kdeadmin 3.1.2 won't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Highest blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-22 08:41 UTC by Mogens Meier Christensen
Modified: 2003-08-27 20:00 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed ebuild (kdeadmin-3.1.2.ebuild,1.57 KB, text/plain)
2003-07-10 07:05 UTC, Radoslaw Szkodzinski
Details
output of the emerge (kde.txt,15.44 KB, text/plain)
2003-07-27 01:30 UTC, xtra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mogens Meier Christensen 2003-05-22 08:41:55 UTC
When I try to emerge kdeadmin-3.1.2 (dependecy for" kde") I get a source build
failure message...

Waddo I do?

Reproducible: Always
Steps to Reproduce:
1.  root # emerge -vb kde 

Actual Results:  
...
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

cd . && make -f admin/Makefile.common configure.in
make[1]: Entering directory `/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2'
make[1]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2'
cd . && /bin/sh
/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/admin/missing --run aclocal-1.7 
cd . && \
  /bin/sh /var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/admin/missing
--run automake-1.7 --foreign  Makefile
cd . && /bin/sh
/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/admin/missing --run autoconf
autom4te-2.57: cannot not rename autom4te.cache/traces.0t as
autom4te.cache/traces.0: No such file or directory
configure.in: `AM_INIT_AUTOMAKE' must be used
automake-1.7: your implementation of AM_INIT_AUTOMAKE comes from an
automake-1.7: old Automake version.  You should recreate aclocal.m4
automake-1.7: with aclocal and run automake again.
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
SUBDIRS: variable `TOPSUBDIRS' is used but `TOPSUBDIRS' is undefined
make: *** [Makefile.in] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: kde-base/kdeadmin-3.1.2 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make



Expected Results:  
Build succes. Simply.
Any help very welcome! :-)

Everything is "stable" apart from openssl and glibc, which are newest versions.

I had trouble compiling portmap earlier, but success after I downgraded from gcc
v3.2.3 to the stable 3.2.2. Can it be that I should upgrade again???

root # emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
GENTOO_MIRRORS=" ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/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=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
directfb gdbm berkdb slang readline arts bonobo svga tcltk java guile mysql
postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt
motif opengl mozilla aalib acpi acpi4linux cdr curl dga doc dvb dvd emacs evo
fbcon flash foreign-package foreign-sysvinit gb gd gnomedb gphoto2 hyriand imap
innodb ladcca mbox mcal mule nas oav oci8 odbc ofx plotutils prebuilt samba
scanner sse tetex tiff usb wmf Xaw3d xinerama xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="  -g0 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -fforce-addr
-falign-functions=4  "
CXXFLAGS="  -g0 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3
-fforce-addr -falign-functions=4  "
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox userpriv usersandbox"
Comment 1 Axel Reimann 2003-05-23 13:15:36 UTC
same here; the preceeding configure messages also include the following lines: 
 
checking linux/quota.h usability... no 
checking linux/quota.h presence... yes 
configure: WARNING: linux/quota.h: present but cannot be compiled 
configure: WARNING: linux/quota.h: check for missing prerequisite headers? 
configure: WARNING: linux/quota.h: proceeding with the preprocessor's result 
configure: WARNING:     ## ------------------------------------ ## 
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ## 
configure: WARNING:     ## ------------------------------------ ## 
 
Comment 2 xtra 2003-05-25 05:29:30 UTC
seems this could solve things 
http://lists.kde.org/?l=kde-devel&m=105009089825809&w=2
Comment 3 Mogens Meier Christensen 2003-06-05 10:03:55 UTC
1) Aren't the stable versions supposed to be stable without me patching stuff? ;)
2) I'm a newbie - how do I apply that patch - and to what?
3) Thanks :)
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-06 11:15:47 UTC
Do you by any chance have any of the WANT_AUTOCONF or WANT_AUTOMAKE environment variables set? If so, try unsetting them
Comment 5 xtra 2003-06-06 11:41:36 UTC
the environment has not been set

when i force a lower version of autoconf & automake the compile start's but eventualy hangs on a rpm error

so it's a problem with autconf/automake
the patch could might be a sollution but i can't seem to figure out how to apply it
Comment 6 Nils Goder 2003-06-08 07:29:07 UTC
The above patch does solve the problem. Simply copy it to the 
kdeadmin-3.1.2 work directory (shoud be 
/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/) and do patch -p0 < 
patchfile_name. The work directory must contain the unpacked sources, of 
course. 
After that I used the low level ebuild commands (compile, install, qmerge) 
rather then emerge so that the patch would not get overwritten again. 
Comment 7 Radoslaw Szkodzinski 2003-07-10 07:05:19 UTC
Created attachment 14338 [details]
Fixed ebuild

Heh, the patch doesn't work (at least for me), but this modified ebuild
(similar to new kdeaddons) does the trick.
Comment 8 xtra 2003-07-26 14:38:09 UTC
any change someone is actualy going to fix this one?
it's only a blocker :-(
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-27 01:07:37 UTC
Could you tell me which versions of automake and autoconf you have installed. And could you attach the full output of emerge.
Comment 10 xtra 2003-07-27 01:30:17 UTC
Created attachment 15071 [details]
output of the emerge 

this is the output of the emerge

*  sys-devel/autoconf
      Latest version available: 2.57-r1
      Latest version installed: 2.57-r1
      Size of downloaded files: 1,225 kB
      Homepage:    http://www.gnu.org/software/autoconf/autoconf.html
      Description: Used to create autoconfiguration files

*  sys-devel/automake
      Latest version available: 1.7.2
      Latest version installed: 1.7.2
      Size of downloaded files: 2,139 kB
      Homepage:    http://www.gnu.org/software/automake/automake.html
      Description: Used to generate Makefile.in from Makefile.am
Comment 11 xtra 2003-07-27 01:37:31 UTC
autoconf & auotmake version have been posted
also output of emerge

bugzilla threw an error on posting the bug
Comment 12 Salim Fadhley 2003-07-31 13:16:09 UTC
I'm also having this exact same problem on a brand new Gentoo box that I just set up yesterday. It seems that thos of us luck enough to get Kde3.1.2 before those other components had no trouble at all building... On a new box where KDE is one of the last things to be built this is a real problem.

How do I report back what versions of programs I am running? It would be great if somebody can commit a fix pretty soon.

Not sure if this is relevant, but running the build as root, I get some odd looking warnings on the way:

[code]
/doc/kdat'
/usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
failed to create /root/.kde/share/config/
trying to create local folder: Permission denied
[/code]
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2003-07-31 13:29:31 UTC
Please retry and see if the fix that is now in portage works. 
 
As for your other problem, it's a known bug (filed under a different report).  Temp solution is 
to "mkdir /root/.kde/share/  then mkdir /root/.kde/share/config" 
 
 
Comment 14 Salim Fadhley 2003-08-01 01:24:38 UTC
Sorry, the fix did not seem to work. It still failed as it did before.  What is the easy way fro me to get a list of the relevant packages currently running on this box so you know how to attack this bug?
Comment 15 Salim Fadhley 2003-08-01 04:28:17 UTC
These are the details of another system currently incapable of emerging kdeadmin.


raynard root # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Duron(tm) Processor 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ rsync://rsync.gentoo.skynet.be/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ rsync://ftp.belnet.be/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://www.fhh.opensource-mirror.de/gentoo.org/ ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ rsync://rsync.fhh.opensource-mirror.de/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ http://ftp.caliu.info/pub/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"                                    
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=""
USE="x86 oss 3dnow apm avi crypt cups foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts aalib nas bonobo svga tcltk java mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3ds acl amd apache2 curl dedicated dnd dvb dvd emacs ethereal evms2 evo fax fbcon firebird flash foreign-package freetds gnomedb gtkhtml imap innodb ipv6 jack jikes joystick kerberos ladcca mbox mcal mozsvg mozxmlterm music oci8 odbc offensive parse-clocks pda plotutils ruby samba snmp sox tiff usb v4l videos xml xvid zeo -encode -pdflib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j5"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache distcc"
Comment 16 xtra 2003-08-02 00:46:03 UTC
no luck
did an emerge sync
and emerge -u kde
still the same error

what has changed? because i didn't see any changes to the ebuild
Comment 17 xtra 2003-08-03 14:04:49 UTC
looked a bit closer to the build and it give's 2 errors at the start of the build:
>>> emerge (1 of 2) kde-base/kdeadmin-3.1.2 to /
>>> md5 src_uri ;-) kdeadmin-3.1.2.tar.bz2
>>> Unpacking source...
>>> Unpacking kdeadmin-3.1.2.tar.bz2 to /var/tmp/portage/kdeadmin-3.1.2/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 43: 1.7.2: command not found
/usr/sbin/ebuild.sh: line 44: [: !=: unary operator expected
checking build system type... i686-pc-linux-gnu


however this weekend also brought us automake-1.7.5-r2
*  sys-devel/automake
      Latest version available: 1.7.5-r2
      Latest version installed: 1.7.5-r2
      Size of downloaded files: 2,171 kB
      Homepage:    http://www.gnu.org/software/automake/automake.html
      Description: Used to generate Makefile.in from Makefile.am

which produced following output :
>>> md5 src_uri ;-) kdeadmin-3.1.2.tar.bz2
>>> Unpacking source...
>>> Unpacking kdeadmin-3.1.2.tar.bz2 to /var/tmp/portage/kdeadmin-3.1.2/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 43: 1.7.5: command not found
/usr/sbin/ebuild.sh: line 44: [: !=: unary operator expected

<snip>


Good - your configure finished. Start make now

cd . && make -f admin/Makefile.common configure.in
make[1]: Entering directory `/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2'
make[1]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2'
cd . && /bin/sh /var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/admin/missing --run aclocal-1.7 
cd . && \
  /bin/sh /var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/admin/missing --run automake-1.7 --foreign  Makefile
cd . && /bin/sh /var/tmp/portage/kdeadmin-3.1.2/work/kdeadmin-3.1.2/admin/missing --run autoconf
autom4te-2.57: cannot not rename autom4te.cache/traces.0t as autom4te.cache/traces.0: No such file or directory
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
SUBDIRS: variable `TOPSUBDIRS' is used but `TOPSUBDIRS' is undefined
make: *** [Makefile.in] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: kde-base/kdeadmin-3.1.2 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 18 Salim Fadhley 2003-08-06 16:08:07 UTC
This workaround has been suggested on the forum - anybody willing to have a go and see if this works?

http://forums.gentoo.org/viewtopic.php?t=55751&highlight=kdeadmin

If Gentoo Linux 1.4 has just gone live, does that mean it has just gone live with a blocker on the whole of KDE???
Comment 19 Caleb Tennis (RETIRED) gentoo-dev 2003-08-06 21:04:22 UTC
*** Bug 23646 has been marked as a duplicate of this bug. ***
Comment 20 Caleb Tennis (RETIRED) gentoo-dev 2003-08-06 21:06:50 UTC
Does the problem in the forum fix this particular bug? 
 
I don't see how they're related. 
Comment 21 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-07 02:20:57 UTC
Those bugs are not related imho. About this one, I'm particularly curious what triggers the invocation of autotools. They should not be invoked at all.
Comment 22 Howard B. Golden 2003-08-07 04:14:53 UTC
Re: http://bugs.gentoo.org/show_bug.cgi?id=21479#c19 : I don't see how Bug 23646 is the same as this bug. The rpm and automake/autoconf issues seem unrelated, IMO. If so, should Bug 23646 be reopened?
Comment 23 Caleb Tennis (RETIRED) gentoo-dev 2003-08-07 12:55:37 UTC
This is looking more and more like 3.1.2 was mispackaged.  I seem to having good luck *not* 
recreating this bug with 3.1.3.  Can any of you verify this as well? 
Comment 24 Arie de Ruyter 2003-08-09 09:54:16 UTC
Have a simular problem with kdebase-3.1.3 (but also kdeadmin-3.1.3 on another 
machine) it seems an automake version mismatch. 
 
 Performing head fix on klipper/klipperrc.desktop 
cd . && \ 
  /bin/sh /var/tmp/portage/kdebase-3.1.3/work/kdebase-3.1.3/admin/missing 
--run automake-1.7 --foreign  Makefile 
configure.in:39: version mismatch.  This is Automake 1.7.5, 
configure.in:39: but the definition used by this AM_INIT_AUTOMAKE 
configure.in:39: comes from Automake 1.7.2.  You should recreate 
configure.in:39: aclocal.m4 with aclocal and run automake again. 
make: *** [Makefile.in] Error 1 
 
!!! ERROR: kde-base/kdebase-3.1.3 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
Comment 25 Caleb Tennis (RETIRED) gentoo-dev 2003-08-11 14:35:20 UTC
To those having: "configure.in: `AM_INIT_AUTOMAKE' must be used" problems: 
 
Does kdeadmin 3.1.3 fix this for you? 
 
Also, try changing modifying the ebuild so it looks like this: 
 
src_compile() { 
  rm configure configure.in 
  kde_src_compile configure  
  kde_src_compile make 
} 
 
and see if that fixes the problem 
Comment 26 xtra 2003-08-15 09:05:41 UTC
the sollution with the rm from the last comment seems to be working
make is running at the moment so hopefully this problem will be fixed

(just now that i'm scheduled to receive a new pc)
Comment 27 Salim Fadhley 2003-08-21 03:46:16 UTC
This issue affects more than KDE3.1.2 - I have exactly the same problem with the 3.1.1-r2 ebuild!

rpmInstall.cpp:219: `rpmReadPackageHeader' undeclared (first use this function)
rpmInstall.cpp:247: `rpmdbOpen' undeclared (first use this function)
rpmInstall.cpp:256: `rpmdep' undeclared (first use this function)
rpmInstall.cpp:256: `rpmtransCreateSet' undeclared (first use this function)
rpmInstall.cpp:281: `rpmtransAddPackage' undeclared (first use this function)
rpmInstall.cpp:309: `conflicts' undeclared (first use this function)
rpmInstall.cpp:310: `rpmdepCheck' undeclared (first use this function)
rpmInstall.cpp:315: `rpmdepFreeConflicts' undeclared (first use this function)
rpmInstall.cpp:323: `rpmdepOrder' undeclared (first use this function)
rpmInstall.cpp:330: `rpmProblemSet' undeclared (first use this function)
rpmInstall.cpp:330: syntax error before `=' token
rpmInstall.cpp:334: `probs' undeclared (first use this function)
rpmInstall.cpp:335: `rpmRunTransactions' undeclared (first use this function)
rpmInstall.cpp:346: `rpmProblemString' undeclared (first use this function)
rpmInstall.cpp:355: `rpmProblemSetFree' undeclared (first use this function)
rpmInstall.cpp:358: `rpmtransFree' undeclared (first use this function)
rpmInstall.cpp:381: cannot convert `const char*' to `rpmts_s*' for argument `1'
   to `rpmRC rpmInstallSourcePackage(rpmts_s*, _FD_s*, const char**, const
   char**)'
rpmInstall.cpp:398: `rpmdbClose' undeclared (first use this function)
rpmInstall.cpp: In function `int doUninstal(const char*, const QStringList&,
   int, int, QString&)':
rpmInstall.cpp:418: syntax error before `;' token
rpmInstall.cpp:427: syntax error before `;' token
rpmInstall.cpp:489: `rpmdbInitIterator' undeclared (first use this function)
rpmInstall.cpp:490: `rpmdbNextIterator' undeclared (first use this function)
rpmInstall.cpp:492: `rpmdbGetIteratorOffset' undeclared (first use this
   function)
rpmInstall.cpp:492: `rpmtransRemovePackage' undeclared (first use this
   function)
rpmInstall.cpp:500: `rpmdbFreeIterator' undeclared (first use this function)
rpmInstall.cpp: In function `int doSourceInstall(const char*, const char*,
   const char**, char**)':
rpmInstall.cpp:555: cannot convert `const char*' to `rpmts_s*' for argument `1'
   to `rpmRC rpmInstallSourcePackage(rpmts_s*, _FD_s*, const char**, const
   char**)'
rpmInstall.cpp: At global scope:
rpmInstall.cpp:605: type specifier omitted for parameter `rpmDependencyConflict
   '
rpmInstall.cpp:605: syntax error before `,' token
rpmInstall.cpp: In function `QString KprintDepProblems(...)':
rpmInstall.cpp:615: `numConflicts' undeclared (first use this function)
rpmInstall.cpp:617: `f' undeclared (first use this function)
rpmInstall.cpp:639: `rpmDependencyConflict_s' undeclared (first use this
   function)
rpmInstall.cpp:639: syntax error before `::' token
In file included from rpmutils.cpp:8:
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
distcc[9113] ERROR: compile on localhost failed with exit code 1
make[3]: *** [rpmInstall.o] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.1-r2/work/kdeadmin-3.1.1/kpackage'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.1-r2/work/kdeadmin-3.1.1'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdeadmin-3.1.1-r2 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 28 Mogens Meier Christensen 2003-08-21 09:23:41 UTC
I finally got the time to read up; the linked forum message surgests emerging kdeadmin with

USE="-foreign-package" emerge kdeadmin

(yes - it is ONE line, mind you!)

That did it for me!!! kde is now installed! However, I'm not a developer, so I haven't got a clue as to why the above USE-flag fixes the e-build.  But now the developers at least know that my individual case is solved...
Comment 29 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-21 12:21:50 UTC
foreign-packages is a local useflag that should normally be off. This flag triggers kpackage to be build. This is a package managent tool for rpm package, and as such has not much use on gentoo. There seems to be a problem building kpackage with gentoo's rpm version. I don't know exactly what causes the problem, but this package is absolutely non-essential.
Comment 30 Caleb Tennis (RETIRED) gentoo-dev 2003-08-27 20:00:18 UTC
This section has been commented out in portage (for 3.1.3) so this should fix the problem 
until a fix is in upstream.