Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 308081

Summary: net-wireless/bluez-4.61-r1 won't compile if build with USE="test-programs -alsa"
Product: Gentoo Linux Reporter: David Watzke <david>
Component: Current packagesAssignee: Pacho Ramos <pacho>
Status: RESOLVED FIXED    
Severity: normal CC: betelgeuse, dev-zero, mobile+disabled, pda
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Watzke 2010-03-06 16:33:53 UTC
bluez won't compile on my ~amd64 system since v4.60. I even tried -j1 and it always ends here:

libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib64/bluetooth/plugins\" -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -D_FORTIFY_SOURCE=2 -fPIC -Wl,-O1 -pie -o test/ipctest test/ipctest.o audio/ipc.o  /usr/lib64/libglib-2.0.so sbc/.libs/libsbc.a
test/ipctest.o: In function `set_conf':
ipctest.c:(.text+0x1462): undefined reference to `sbc_reinit'
ipctest.c:(.text+0x14af): undefined reference to `sbc_init'
ipctest.c:(.text+0x161b): undefined reference to `sbc_get_codesize'
collect2: ld returned 1 exit status
make[1]: *** [test/ipctest] Error 1
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2


trying it with USE="-alsa -caps -consolekit -cups -debug -gstreamer -old-daemons -pcmcia test-programs -usb"
Comment 1 David Watzke 2010-03-06 16:36:46 UTC
I just found out that it only happens with the "test-programs" use-flag enabled.
Comment 2 Pacho Ramos gentoo-dev 2010-03-06 17:43:57 UTC
Seems that it only fails if try to build with test-programs and without alsa
Comment 3 Pacho Ramos gentoo-dev 2010-03-11 15:22:55 UTC
Fixed without a bump on 4.62

Thanks for reporting