Platform is Gentoo Prefix on SUSE10 Enterprise SP2. The command `emerge -ND x11-terms/gnome-terminal' pulls in many packages and one of them is sys-apps/dbus-1.3.0. Emerging fails with /local/tmp/a/bin/bash ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""/local/tmp/a/var/lib/dbus/machine-id"\" -DDBUS_SYSTEM_CONFIG_FILE=\""/local/tmp/a/etc/dbus-1/system.conf"\" -DDBUS_SESSION_CONFIG_FILE=\""/local/tmp/a/etc/dbus-1/session.conf"\" -ffunction-sections -fdata-sections -O2 -pipe -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo -c -o dbus-sysdeps-unix.lo dbus-sysdeps-unix.c libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\"/local/tmp/a/var/lib/dbus/machine-id\" -DDBUS_SYSTEM_CONFIG_FILE=\"/local/tmp/a/etc/dbus-1/system.conf\" -DDBUS_SESSION_CONFIG_FILE=\"/local/tmp/a/etc/dbus-1/session.conf\" -ffunction-sections -fdata-sections -O2 -pipe -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo -c dbus-sysdeps-unix.c -fPIC -DPIC -o .libs/dbus-sysdeps-unix.o dbus-sysdeps-unix.c: In function '_dbus_dup': dbus-sysdeps-unix.c:3047: error: 'cloexec_done' undeclared (first use in this function) dbus-sysdeps-unix.c:3047: error: (Each undeclared identifier is reported only once dbus-sysdeps-unix.c:3047: error: for each function it appears in.) make[3]: *** [dbus-sysdeps-unix.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\"/local/tmp/a/var/lib/dbus/machine-id\" -DDBUS_SYSTEM_CONFIG_FILE=\"/local/tmp/a/etc/dbus-1/system.conf\" -DDBUS_SESSION_CONFIG_FILE=\"/local/tmp/a/etc/dbus-1/session.conf\" -ffunction-sections -fdata-sections -O2 -pipe -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-sysdeps.lo -MD -MP -MF .deps/dbus-sysdeps.Tpo -c dbus-sysdeps.c -o dbus-sysdeps.o >/dev/null 2>&1 libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\"/local/tmp/a/var/lib/dbus/machine-id\" -DDBUS_SYSTEM_CONFIG_FILE=\"/local/tmp/a/etc/dbus-1/system.conf\" -DDBUS_SESSION_CONFIG_FILE=\"/local/tmp/a/etc/dbus-1/session.conf\" -ffunction-sections -fdata-sections -O2 -pipe -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-string.lo -MD -MP -MF .deps/dbus-string.Tpo -c dbus-string.c -o dbus-string.o >/dev/null 2>&1 mv -f .deps/dbus-sysdeps.Tpo .deps/dbus-sysdeps.Plo mv -f .deps/dbus-string.Tpo .deps/dbus-string.Plo make[3]: Leaving directory `/local/scratch/portage/sys-apps/dbus-1.3.0/work/dbus-1.3.0/dbus' make[2]: *** [all] Error 2 make[2]: Leaving directory `/local/scratch/portage/sys-apps/dbus-1.3.0/work/dbus-1.3.0/dbus' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/scratch/portage/sys-apps/dbus-1.3.0/work/dbus-1.3.0' make: *** [all] Error 2 * ERROR: sys-apps/dbus-1.3.0 failed: * make failed * * Call stack: * ebuild.sh: 64: <call call-ebuildshell 'src_compile'> * environment: 577: <call src_compile> * environment:3198: emake || die "make failed"
Fixed in main tree with the upstream patch. Prefix team, you might want to import it as well.
thx for the heads-up. sync'd to Gentoo Prefix.
Verified successful emerge of dbus-1.3.0 in a prefix tree that was emerged this morning.
closing per last comment.