Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280299 - dbus-1.3.0 fails to emerge where cloexec is not available (Prefix; BSD)
Summary: dbus-1.3.0 fails to emerge where cloexec is not available (Prefix; BSD)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 11:33 UTC by Rabbe Fogelholm
Modified: 2009-09-23 11:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2009-08-04 11:33:21 UTC
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"
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-08 20:45:13 UTC
Fixed in main tree with the upstream patch. Prefix team, you might want to import it as well.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-11 20:41:24 UTC
thx for the heads-up. sync'd to Gentoo Prefix.
Comment 3 Rabbe Fogelholm 2009-08-12 10:55:55 UTC
Verified successful emerge of dbus-1.3.0 in a prefix tree that was emerged this morning.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-23 11:45:49 UTC
closing per last comment.