After installing a brand new Gentoo from scratch on my new dsktop (one month+ ago), I decided to emerge --sync and emerge --uDN world (N because emerge requested me to add 'gnutls' to USE). All goes ok until compilation of net-wireless/bluez-4.69 which stops. Reproducible: Always Steps to Reproduce: 1. emerged --sync 2. added gnutls to USE 3. emerge -uDN world Actual Results: >>> Emerging (47 of 54) net-wireless/bluez-4.69 * bluez-4.69.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: net-wireless/bluez-4.69 * REPO: gentoo * USE: alsa consolekit cups elibc_glibc kernel_linux usb userland_GNU x86 >>> Unpacking source... >>> Unpacking bluez-4.69.tar.gz to /var/tmp/portage/net-wireless/bluez-4.69/work >>> Source unpacked in /var/tmp/portage/net-wireless/bluez-4.69/work >>> Preparing source in /var/tmp/portage/net-wireless/bluez-4.69/work/bluez-4.69 ... * Applying cups-location.patch ... [ ok ] * Applying bluez-alsa_location.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-wireless/bluez-4.69/work/bluez-4.69' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * Running elibtoolize in: bluez-4.69/ * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/bluez-4.69/work/bluez-4.69 ... * econf: updating bluez-4.69/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bluez-4.69/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-capng --enable-network --enable-serial --enable-input --enable-audio --enable-service --disable-gstreamer --enable-alsa --enable-usb --enable-netlink --enable-tools --enable-bccmd --enable-dfutool --disable-hidd --disable-pand --disable-dund --disable-maemo6 --enable-cups --disable-test --enable-udevrules --enable-configfiles --disable-pcmcia --disable-debug --localstatedir=/var checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking whether i686-pc-linux-gnu-gcc accepts -fPIE... yes checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ppoll... yes checking for dlopen in -ldl... yes checking for DBUS... yes checking for dbus_watch_get_unix_fd in -ldbus-1... yes checking for dbus_connection_can_send_type in -ldbus-1... no checking for GLIB... yes checking for ALSA... yes checking for clock_gettime in -lrt... yes checking for GSTREAMER... no checking for USB... yes checking for usb_get_busses in -lusb... yes checking for usb_interrupt_read in -lusb... yes checking for SNDFILE... yes checking for NETLINK... yes configure: creating ./config.status config.status: creating Makefile config.status: creating scripts/bluetooth.rules config.status: creating doc/version.xml config.status: creating src/bluetoothd.8 config.status: creating bluez.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/bluez-4.69/work/bluez-4.69 ... make -j2 make --no-print-directory all-am GEN lib/bluetooth/bluetooth.h GEN lib/bluetooth/hci.h GEN lib/bluetooth/hci_lib.h GEN lib/bluetooth/sco.h GEN lib/bluetooth/l2cap.h GEN lib/bluetooth/sdp.h GEN lib/bluetooth/sdp_lib.h GEN lib/bluetooth/rfcomm.h GEN lib/bluetooth/bnep.h GEN lib/bluetooth/hidp.h GEN lib/bluetooth/cmtp.h CC audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo CC audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo CC tools/sdptool.o CC src/sdp-xml.o CC tools/ciptool.o CC tools/dfutool.o CC tools/dfu.o CC sbc/sbcinfo.o CC sbc/sbcdec.o CC sbc/sbcenc.o CC sbc/sbctester.o CC tools/avinfo.o CC tools/ppporc.o CC tools/hcieventmask.o CC tools/hcisecfilter.o CC tools/dfubabel.o CC tools/avctrl.o CC audio/main.o CC audio/manager.o CC audio/gateway.o CC audio/headset.o CC audio/control.o CC audio/device.o CC audio/source.o CC audio/sink.o CC audio/a2dp.o CC audio/avdtp.o CC audio/ipc.o CC audio/unix.o CC plugins/service.o CC plugins/hciops.o CC plugins/hal.o CC plugins/storage.o CC src/main.o CC src/log.o CC src/security.o CC src/rfkill.o CC src/sdpd-server.o CC src/sdpd-request.o CC src/sdpd-service.o CC src/sdpd-database.o CC src/btio.o CC src/glib-helper.o GEN src/builtin.h CC src/storage.o CC src/agent.o CC src/error.o CC src/manager.o CC src/adapter.o CC src/device.o CC src/dbus-common.o CC src/dbus-hci.o GEN audio/telephony.c CC tools/hciattach.o CC tools/hciattach_st.o CC tools/hciattach_ti.o CC tools/hciattach_tialt.o CC tools/hciconfig.o CC tools/csr.o CC tools/bccmd.o CC tools/csr_hci.o CC tools/csr_h4.o CC tools/csr_3wire.o CC tools/csr_bcsp.o CC tools/ubcsp.o CC tools/csr_usb.o GEN scripts/97-bluetooth.rules CC audio/telephony-dummy.o CC audio/telephony-maemo5.o CC audio/telephony-ofono.o CC audio/telephony-maemo6.o CC audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo CC audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo CC sbc/sbc_libsbc_la-sbc.lo CC sbc/sbc_libsbc_la-sbc_primitives.lo CC sbc/sbc_libsbc_la-sbc_primitives_mmx.lo CC sbc/sbc_libsbc_la-sbc_primitives_neon.lo CC sbc/sbc_libsbc_la-sbc_primitives_armv6.lo CC lib/bluetooth.lo CC lib/hci.lo CC lib/sdp.lo CC plugins/plugins_netlink_la-netlink.lo CC tools/main.o CC tools/parser.o CC tools/lexer.o CC tools/kword.o CC tools/l2ping.o CC tools/hcitool.o CC src/oui.o CC src/textfile.o CCLD tools/dfutool CC gdbus/mainloop.o CC gdbus/object.o CC gdbus/watch.o CC cups/main.o CC cups/sdp.o CC cups/spp.o CC cups/hcrp.o CCLD sbc/sbcinfo CCLD sbc/sbctester CCLD tools/hcisecfilter libtool: link: cannot find the library `/usr/lib/libFLAC.la' or unhandled argument `/usr/lib/libFLAC.la' make[1]: *** [sbc/sbctester] Erreur 1 make[1]: *** Attente des tâches non terminées.... make: *** [all] Erreur 2 * ERROR: net-wireless/bluez-4.69 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2924: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =net-wireless/bluez-4.69', * the complete build log and the output of 'emerge -pqv =net-wireless/bluez-4.69'. * The complete build log is located at '/var/tmp/portage/net-wireless/bluez-4.69/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/bluez-4.69/temp/environment'. * S: '/var/tmp/portage/net-wireless/bluez-4.69/work/bluez-4.69' Expected Results: Get successful emerge. See attached files
Created attachment 248916 [details] /var/tmp/portage/net-wireless/bluez-4.69/temp/build.log log file from build
Created attachment 248918 [details] result of emerge --info =net-wireless/bluez-4.69
Created attachment 248920 [details] result of emerge -pvq =net-wireless/bluez-4.69
hmag@gentoo /var/tmp/portage/net-wireless/bluez-4.69/temp $ emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 27 Sep 2010 18:45:02 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/" LANG="fr_FR@euro" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr en" MAKEOPTS="-j2" 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" SYNC="rsync://rsync3.fr.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran gdbm gif gnutls gpm gtk hal iconv jpeg kde lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
You've run into the common trouble of libtool files being broken by design. You can choose between the correct and the fast solution. The correct solution is to run 'revdep-rebuild'. The fast one is to use 'lafilefixer'. Feel free to reopen if these tools don't fix the issue.
(In reply to comment #5) > You've run into the common trouble of libtool files being broken by design. You > can choose between the correct and the fast solution. The correct solution is > to run 'revdep-rebuild'. The fast one is to use 'lafilefixer'. Feel free to > reopen if these tools don't fix the issue. > I read this in the logged repport. But I have no such "revdep-rebuild" on my system. Where do I find this ?
Portage crashed and didn't know what to do. Things shouldn't crash like that, so it seems to me this is a real bug, just difficult to handle. What's the real solution here?
(In reply to comment #7) > Portage crashed and didn't know what to do. Things shouldn't crash like that, > so it seems to me this is a real bug, just difficult to handle. What's the real > solution here? I successfully fixed with revdep-rebuild. It must be emerged, the package is app-portage/gentoolkit. Just run revdep-rebuild and follow the instructions. If the crash persists despite revdep-rebuild, probably we must reopen this bug later on. Pls let us know.
(In reply to comment #5) > You've run into the common trouble of libtool files being broken by design. Is there a bug report for this?