openobex-1.0.0 should be marked at least ~amd6 'cause version 1.0.1 breaks kdebluetooth for example (i haven't test any other kde app) Reproducible: Always Steps to Reproduce: 1. echo "dev-libs/openobex ~amd64" >> /etc/portage/package.keywords 2. emerge openobex 3. emerge kdebluetooth Actual Results: usr/lib/libopenobex.so: undefined reference to `g_netbuf_realloc' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_tailroom' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_free' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_push' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_pull' /usr/lib/libopenobex.so: undefined reference to `slist_append' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_put' /usr/lib/libopenobex.so: undefined reference to `slist_remove' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_new' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_put_data' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_reserve' /usr/lib/libopenobex.so: undefined reference to `g_netbuf_recycle' collect2: ld returned 1 exit status make[3]: *** [kbtobexclient] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040715-r1/work/kdebluetooth-0.0.20040715/kdebluetooth/kbtobexclient' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040715-r1/work/kdebluetooth-0.0.20040715/kdebluetooth' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040715-r1/work/kdebluetooth-0.0.20040715' make: *** [all] Error 2 Expected Results: compile fine
my emerge info Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 x86_64) ================================================================= System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 27 2004, 22:26:25)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fstack-protector -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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=athlon64 -O2 -pipe -fomit-frame-pointer -fstack-protector -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo/ ftp://gentoo-pt.org/pub/gentoo/ http://gentoo.felisberto.net/ http://darkstar.ist.utl.pt/gentoo/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo-pt.org/gentoo-portage" USE="amd64 X acpi alsa avi bash-completion berkdb bitmap-fonts bluetooth bootsplash bzlib cddb cdr crypt divx4linux dvd dvdr dvdread esd ethereal f77 fam fastcgi fbcon flac font-server fortran ftp gif gkrellm gphoto2 gpm gtk gtk2 hal imagemagick imap imlib imlib2 innodb ipv6 java jp2 jpeg kde lzw lzw-tiff mad motif mozilla mp3 mpeg multilib ncurses nls nptl nptlonly nvidia oggvorbis openal opengl oss perl png python qt readline samba ssl stats tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos winbind xine xml xml2 xmms xpm xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
I agree that openobex-1.0.0 should at least be marked ~amd64. I ran into the exact same undefined references when trying to compile libbtctl after having installed openobex-1.0.1. Downgrading to openobex-1.0.0 resolved this issue and allowed me to emerge libbtctl as well as gnome-bluetooth (both of which are currently marked x86) on my amd64 system. I am not sure if marking openobex-1.0.0 as ~amd64 alone will be sufficient, though. It seems to me that there is a deeper problem with the 1.0.1 version that should be fixed. The ~amd64 keyword should probably be removed from 1.0.1 until we have a resolution to this problem. I am curious if this is truly an amd64 specific issue or if this happens on x86 as well. Can anybody comment on this?
in CVS now, thanks!