sys-apps/dbus-1.4.12 fails to compile even with -test use flag: [ebuild U ] sys-apps/dbus-1.4.12 [1.2.24] USE="X -debug -doc (-selinux) -static-libs% -test" ================ test_corrupt-corrupt.o: In function `test_byte_order': corrupt.c:(.text+0x6d1): undefined reference to `g_socket_send_with_blocking' test_corrupt-corrupt.o: In function `test_corrupt': corrupt.c:(.text+0xb78): undefined reference to `g_socket_send_with_blocking' collect2: ld returned 1 exit status distcc[32621] ERROR: compile (null) on localhost failed make[3]: *** [test-corrupt] Error 1 ================= The 'g_socket_send_with_blocking' has been added to glib-2.26 ( http://developer.gnome.org/gio/2.26/GSocket.html#g-socket-send-with-blocking ) and is understandably not available in glib-2.24 which is installed. The required glib-2.26 (or later) hasn't been pulled in because: a) The 'test' use flag hasn't been set, yet the tests get compiled. b) Even if it was set it wouldn't trigger the glib update since the dependency is >=glib-2.22 . This is not just a problem of the ebuild but rather the configure.ac since it specifies the same dependency. A workaround is to 'emerge --update glib' (not '--deep' as it might pull in dbus and likely in the wrong order), and then emerge --update dbus. Reproducible: Always Steps to Reproduce: 1. <glib-2.26 is installed 2. emerge --update dbus (also when doing a '--deep --newuse --update world' since portage might get the package order wrong, as happened in my case) Actual Results: Compile failed with above mentioned error. Expected Results: Compiles fine, does not pull in the tests and if 'test' is set, updates glib first. Portage 2.1.9.42 (default/linux/amd64/10.0/server, gcc-4.3.4, libc-0-r0, 2.6.34-gentoo-r12 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r12-x86_64-Intel-R-_Xeon-TM-_CPU_3.00GHz-with-gentoo-2.0.2 Timestamp of tree: Tue, 21 Jun 2011 19:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.4-r1, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13::<unknown repository>, 2.65-r1 sys-devel/automake: 1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 3.4.6-r2::<unknown repository>, 4.1.2, 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.11.2-r3 virtual/os-headers: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aac acct acl acpi amd64 animgif apm bash-completion bcmath bdf berkdb bidi blas bzip2 cblas cli colordiff cracklib crypt cscope ctype cups cxx dbus devhelp device-mapper dmi dri emacs emf encode eolconv exif f90 fam fame fat ffmpeg fftw fortran95 gd gdbm gedit gif gimpprint gnuplot gpm grace gs gtk gtk2 hddtemp hdf5 hfs hlapi hpn iconv imagemagick inifile ipv6 jfs john jpeg jpeg2k keyscrub lapack lesstif mbox mhash mime mjpeg mmap mmx mng modules mpi mudflap multilib nautilus ncurses netcdf network nls nptl nptlonly octave ogg openmp pam parse-clocks pbs pcre pdf png print readline reiser4 reiserfs romio session sharedmem snmp spell sse sse2 ssl subversion sysfs szip t1lib tcpd theora tiff toolbar truetype umfpack unicode usb vim vim-pager vim-syntax vim-with-x vorbis wma wmf xattr xfs xml xorg xosd xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 277969 [details] the corresponding build.log
Hi, I have the same issue on dbus-1.4.12, is there a workaround for this?
(In reply to comment #2) > Hi, > > I have the same issue on dbus-1.4.12, is there a workaround for this? Yes, just emerge --update glib and then emerge --update dbus that should work.
Confirm this issue and confirm workaround, all installed and happy again :) thanks # emerge --info Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.39-gentoo x86_64) ================================================================= System uname: Linux-2.6.39-gentoo-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-gentoo-2.0.2 Timestamp of tree: Wed, 13 Jul 2011 22:15:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 dev-util/pkgconfig: 0.25-r2 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.11.3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=amdfam10 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=amdfam10 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ " LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en es" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync1.uk.gentoo.org/gentoo-portage" USE="X acl aim all-options alsa amd64 apache2 aspell auth auto-completion autoipd automount avahi bash-completion berkdb binary-drivers bittorrent bonjour bzip2 case cdda cddb cdparanoia cdrkit cdrom cdrtools cg cgi chm cli clipboard colors config-log consolekit context cracklib crypt css cups curl curlwrappers cxx dbus desktopglobe dga dhcp dhcpcd dirac directfb divx djvu dovecot-sasl dri dvd dvdarchive dvdchapjump dvdnav dvi emerald epiphany fat fbcon fbcondecor fbdev fbsplash firefox3 fortran fortune ftp fuse games gdbm gif gpm grub gstreamer gtk html http httpd iconv id3 id3tag imagemagick injection ipv6 jadetex john jpeg lame laptop largefile latex libsexy libssh2 libwww lm_sensors logrotate md5sum mdnsresponder-compat mixer mmx mode-force mode-owner mode-paranoid modperl modules mono mozilla mp3 mpe mpe-sdk mpeg mpu401 msn mudflap multilib mysql mysqli nat ncurses net network networking nfs nls nmap nntp normalize nptl nptlonly nvidia offensive ogg opengl openmp openssl opensslcrypt oscar pam passwd passwdqc pcre perl php pidgin pm-utils png pop3d pppd procmail ps python quarantine quota quotas radius rar raytracerx rdesktop readline regex resolvconf rss rsync rtf samba sametime screen sendmail session sftp sms sound spam-auth-user sse sse2 ssl ssse3 stream symlink sysfs syslog tcpd transparency tremor ui underscores unicode unzip video vim vorbis wad wav wavpack weather webinterface webmail winbind winetools wmf wps x264 xcb xfce xfs xhtml xorg xterm xterm-color xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'd be willing to look at patch that changes "noinst_FOO" to "check_FOO" in test/Makefile.am to avoid building tests without "make check"
The incorrect glib dependency problem was fixed by upstream in dbus-1.4.18 which is now in portage. Dropped it from $summary.
Is this still an issue? Checking 1.10.18, it seems building of tests is toggled correctly.