obexd-0.37 fails to emerge every time I attempt to emerge Reproducible: Always Steps to Reproduce: emerge obexd Actual Results: compile fails Expected Results: emerge to complete successfully Portage 2.1.9.42 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.36-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.36-gentoo-r8-i686-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.0.2 Timestamp of tree: Tue, 17 May 2011 16:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 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-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.11.3 virtual/os-headers: 0 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/terminfo" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/stuff/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests binpkg-logs 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://mirror.internode.on.net/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB en en_US" MAKEOPTS="-j4 -l3" PKGDIR="/stuff/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="/stuff" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.internode.on.net/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi additions adns alsa amazon amr amuled apache2 ares asf avi bacula-console bash-completion blender-game bluetooth branding bzip2 cdda cddb cdio cdparanoia cdr cgi cli consolekit cracklib cups curl curlwrappers custom-optimization cxx daap daemon dbus declarative dri dts dvb dvd dvdr dvdread embedded emboss emerald encode epoll extensions extras fam fastcgi festival ffmpeg fftw firefox fontconfig fortran fts3 gd gdbm gdu gecko gif git glib glibc-omitfp glitz glut gtk gtk2 httpd icecast iconv icu idn imagemagick ipod java java6 javascript jpeg json kde kontact largeterminal lastfm lcms libcaca libnotify lzo mad mbrola mime mmap mmx mng modules mp3 mp3tunes mp4 mp4live mpeg mpi mplayer mpm-worker msn mudflap musicbrainz mysql mysqli ncurses network nls no-helpbrowser no-helper no-htdocs no-old-linux nocd nodoc nolvm1 nolvmstatic nomirrors nonfsv4 nosamples nosendmail nosrc nptl nptlonly nsplugin nvidia nxclient ogg oggvorbis opengl openmp pam pango pcre pdf perl phonon png policykit posix pppd python qt3support qt4 raster readline remote rtc sasl sdl server session simplexml slang sockets socks5 sql sqlite sqlite3 sse sse2 sse3 ssh ssl ssse3 startup-notification stream svg sysfs tcpd threads threadsafe thumbnail tiff tokenizer tordns transcode transmitter truetype udev unicode usb userlocales v4l v4l2 vorbis webdav-serf webkit wifi win32codecs wmp wxwidgets x264 x86 xcb xcomposite xine xml xmlreader xmlrpc xmlwriter xorg xv xvid xvmc yahoo yv12 zero-penalty-hit zlib" ALSA_CARDS="hda-intel" 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_GB en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 274077 [details] obexd-0.37 emerge log Attached is the obxed emerge log
Please try with 0.40
I have tried with all available versions in portage and have also tried with different version of bluez
I have had this same issue for quite some time. No currently available obexd ebuild will compile, they all fail with this error. I posted all relevant info here: http://forums.gentoo.org/viewtopic.php?p=6717443#6717443
What is your libical version?
libical-0.43
Does it fail also when manually compiling?
yes
I also have libical 0.43, however it appears I was able to manually compile when I used a fresh tarball from http://www.bluez.org/obexd-04/ and not the one from portage distfiles (which failed with the same error). I don't know if I did it right, here's the terminal session from the successful one: cyclops obexd-0.4 # ./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-debug --without-phonebook --disable-nokia-backup --disable-server --enable-usb 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-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 accepts -fPIE... yes checking for a BSD-compatible install... /usr/bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for tm_gmtoff in struct tm... yes checking for timezone variable... yes 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 GLIB... yes checking for GMODULE... yes checking for DBUS... yes checking for dbus_watch_get_unix_fd in -ldbus-1... yes checking for OPENOBEX... yes checking for BLUEZ... yes configure: creating ./config.status config.status: creating Makefile config.status: creating gdbus/Makefile config.status: creating src/Makefile config.status: creating plugins/Makefile config.status: creating test/Makefile config.status: creating doc/Makefile config.status: creating src/org.openobex.service config.status: creating config.h config.status: executing depfiles commands cyclops obexd-0.4 # make make all-recursive make[1]: Entering directory `/home/nick/tmp/obexd-0.4' Making all in gdbus make[2]: Entering directory `/home/nick/tmp/obexd-0.4/gdbus' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -MT mainloop.o -MD -MP -MF .deps/mainloop.Tpo -c -o mainloop.o mainloop.c mv -f .deps/mainloop.Tpo .deps/mainloop.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -MT object.o -MD -MP -MF .deps/object.Tpo -c -o object.o object.c mv -f .deps/object.Tpo .deps/object.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -MT watch.o -MD -MP -MF .deps/watch.Tpo -c -o watch.o watch.c mv -f .deps/watch.Tpo .deps/watch.Po rm -f libgdbus.a ar cru libgdbus.a mainloop.o object.o watch.o i686-pc-linux-gnu-ranlib libgdbus.a make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/gdbus' Making all in src make[2]: Entering directory `/home/nick/tmp/obexd-0.4/src' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT plugin.o -MD -MP -MF .deps/plugin.Tpo -c -o plugin.o plugin.c mv -f .deps/plugin.Tpo .deps/plugin.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.c mv -f .deps/manager.Tpo .deps/manager.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT logging.o -MD -MP -MF .deps/logging.Tpo -c -o logging.o logging.c mv -f .deps/logging.Tpo .deps/logging.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT obex.o -MD -MP -MF .deps/obex.Tpo -c -o obex.o obex.c mv -f .deps/obex.Tpo .deps/obex.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT opp.o -MD -MP -MF .deps/opp.Tpo -c -o opp.o opp.c mv -f .deps/opp.Tpo .deps/opp.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT ftp.o -MD -MP -MF .deps/ftp.Tpo -c -o ftp.o ftp.c mv -f .deps/ftp.Tpo .deps/ftp.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -MT bluetooth.o -MD -MP -MF .deps/bluetooth.Tpo -c -o bluetooth.o bluetooth.c mv -f .deps/bluetooth.Tpo .deps/bluetooth.Po i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../gdbus -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -o obexd main.o plugin.o manager.o logging.o obex.o opp.o ftp.o bluetooth.o ../gdbus/libgdbus.a -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0 -lglib-2.0 -ldbus-1 -lpthread -lrt -lopenobex -lbluetooth make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/src' Making all in plugins make[2]: Entering directory `/home/nick/tmp/obexd-0.4/plugins' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/plugins' Making all in test make[2]: Entering directory `/home/nick/tmp/obexd-0.4/test' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/test' Making all in doc make[2]: Entering directory `/home/nick/tmp/obexd-0.4/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/doc' make[2]: Entering directory `/home/nick/tmp/obexd-0.4' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4' cyclops obexd-0.4 # make install Making install in gdbus make[1]: Entering directory `/home/nick/tmp/obexd-0.4/gdbus' make[2]: Entering directory `/home/nick/tmp/obexd-0.4/gdbus' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/gdbus' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4/gdbus' Making install in src make[1]: Entering directory `/home/nick/tmp/obexd-0.4/src' make[2]: Entering directory `/home/nick/tmp/obexd-0.4/src' test -z "/usr/bin" || /bin/mkdir -p "/usr/bin" /usr/bin/install -c 'obexd' '/usr/bin/obexd' test -z "/usr/share/dbus-1/services" || /bin/mkdir -p "/usr/share/dbus-1/services" /usr/bin/install -c -m 644 'org.openobex.service' '/usr/share/dbus-1/services/org.openobex.service' make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/src' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4/src' Making install in plugins make[1]: Entering directory `/home/nick/tmp/obexd-0.4/plugins' make[2]: Entering directory `/home/nick/tmp/obexd-0.4/plugins' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/plugins' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4/plugins' Making install in test make[1]: Entering directory `/home/nick/tmp/obexd-0.4/test' make[2]: Entering directory `/home/nick/tmp/obexd-0.4/test' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/test' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4/test' Making install in doc make[1]: Entering directory `/home/nick/tmp/obexd-0.4/doc' make[2]: Entering directory `/home/nick/tmp/obexd-0.4/doc' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4/doc' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4/doc' make[1]: Entering directory `/home/nick/tmp/obexd-0.4' make[2]: Entering directory `/home/nick/tmp/obexd-0.4' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/nick/tmp/obexd-0.4' make[1]: Leaving directory `/home/nick/tmp/obexd-0.4'
obexd-0.4 is really really older than 0.40
Ha, yeah I guess I was thinking more mathematically than I should have been. I grabbed the 0.40 package from bluez and diff says it's the same as the one from portage, so back to square one. Is there anything I can do to remove some potentially problematic configs or headers and then reinstall them?
Your comment #9 shows you tried 0.4 and not 0.40
yes, I did at first. I've since tried 0.40 from the bluez website with the same result as portage (because the packages are the same) So, ignore comment #9, it's useless noise.
Show the output of: $ ls -l /usr/lib/libbluetooth.so* $ locate libbluetooth Thanks
ls -l /usr/lib/libbluetooth.so* lrwxrwxrwx 1 root root 22 Jun 10 14:31 /usr/lib/libbluetooth.so -> libbluetooth.so.3.11.0 lrwxrwxrwx 1 root root 22 Jun 10 14:31 /usr/lib/libbluetooth.so.3 -> libbluetooth.so.3.11.0 -rwxr-xr-x 1 root root 91420 Jun 10 14:31 /usr/lib/libbluetooth.so.3.11.0 locate libbluetooth /usr/lib/libbluetooth.so /usr/lib/libbluetooth.so.3 /usr/lib/libbluetooth.so.3.11.0 /usr/lib/pulse-0.9.22/modules/libbluetooth-ipc.so /usr/lib/pulse-0.9.22/modules/libbluetooth-sbc.so /usr/lib/pulse-0.9.22/modules/libbluetooth-util.so /usr/local/lib/libbluetooth.la /usr/local/lib/libbluetooth.so /usr/local/lib/libbluetooth.so.3 /usr/local/lib/libbluetooth.so.3.0.0
Remove that old libbluetooth (bluez) installation do you have under /usr/local
Is there a specific way I should remove it or just rm the files?
Well, that files should come from some manual installation you did in the past, then, you should check for files installed under /usr/local as you could also have even more files and old packages that could cause problems like this one. (Personally, I use "tree" for easily reviewing all files under a directory ;)) If you want to be "safer", you can try to move them instead of remove to your home
Awesome, obexd merged as expected. Thanks much!
This is invalid then as was caused by that old bluez version under /usr/local :)