emerge app-mobilephone/obexftp-0.21 fails in src_compile with the following error messages: Making all in ruby make[3]: Entering directory `/var/tmp/portage/app-mobilephone/obexftp-0.21/work/obexftp-0.21/swig/ruby' /usr/bin/ruby extconf.rb --with-obexftp-include=../.. checking for OBEX_Init() in -lopenobex... yes checking for str2ba() in -lbluetooth... no obex libs not found make -fMakefile.ruby make[4]: Entering directory `/var/tmp/portage/app-mobilephone/obexftp-0.21/work/obexftp-0.21/swig/ruby' make[4]: Makefile.ruby: No such file or directory make[4]: *** No rule to make target `Makefile.ruby'. Stop. make[4]: Leaving directory `/var/tmp/portage/app-mobilephone/obexftp-0.21/work/obexftp-0.21/swig/ruby' make[3]: *** [obexftp.so] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-mobilephone/obexftp-0.21/work/obexftp-0.21/swig/ruby' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-mobilephone/obexftp-0.21/work/obexftp-0.21/swig' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-mobilephone/obexftp-0.21/work/obexftp-0.21' make: *** [all] Error 2 !!! ERROR: app-mobilephone/obexftp-0.21 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile obexftp-0.21.ebuild, line 52: Called die emerge succeeds if I switch the ruby USE flag off. $ emerge --info Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r5 i686) ================================================================= System uname: 2.6.20-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 13 Apr 2007 14:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.osuosl.org http://gentoo.inode.at" LINGUAS="en de fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/a1 /usr/portage/local/layman/xeffects /usr/portage/local/layman/emacs /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/portage/local/ulm" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acpi alsa amr asf bbdb berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli clisp cracklib crypt dbus directfb dri dvd dvdr eds elisp emacs emboss encode exif expat fam fbcon ffmpeg firefox fortran gcj gdbm gif glitz glut gnome gpm gstreamer gtk gtkhtml guile hal iconv idea ieee1394 imap ipv6 irda isdnlog java jbig jpeg libcaca libg++ logrotate mad midi mikmod mmx mng motif mp3 mpeg ncurses nls nocd nptl nptlonly nsplugin offensive ogg opengl oss pcmcia pcre pdf perl png postgres ppds pppd python qa qt3 qt4 quicktime readline real recode reflection regex ruby sdl session skey sox spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode userlocales vorbis wifi win32codecs x86 xml xorg xv zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr" USERLAND="GNU" VIDEO_CARDS="fbdev i810 vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
For me, compilation with --enable-ruby works just fine, but when it comes the install part, out of nowhere it tries to run /bin/install instead /usr/bin/install. The autotools part is a mess, so I will take the easy way: drop ruby flag. If someone has a good patch that will make --enable-ruby work, I will re-add the ruby support. Also, I've fixed the QA violations when installed with python or tcl USE flags enabled.
it's not fixed, please reopen checking for OBEX_Init() in -lopenobex... yes checking for str2ba() in -lbluetooth... no obex libs not found make -fMakefile.ruby make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/app-mobilephone/obexftp-0.22_rc7/work/obexftp-0.22/swig/ruby' make[4]: Makefile.ruby: No such file or directory make[4]: *** No rule to make target `Makefile.ruby'. Stop. make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-mobilephone/obexftp-0.22_rc7/work/obexftp-0.22/swig/ruby' make[3]: *** [obexftp.so] Error 2 make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-mobilephone/obexftp-0.22_rc7/work/obexftp-0.22/swig/ruby' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-mobilephone/obexftp-0.22_rc7/work/obexftp-0.22/swig' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-mobilephone/obexftp-0.22_rc7/work/obexftp-0.22' make: *** [all] Error 2 * * ERROR: app-mobilephone/obexftp-0.22_rc7 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * obexftp-0.22_rc7.ebuild, line 45: Called die * * emake failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/app-mobilephone/obexftp-0.22_rc7/temp/build.log'. *
Check obexftp-0.22_rc7, it should fix any ruby issues.
check my logs, it 22_rc7
(In reply to comment #3) > Check obexftp-0.22_rc7, it should fix any ruby issues. Unfortunately, it doesn't. Exactly the same error message for me as in comment #2. 0.22_rc6 compiled just fine. (But I can't check it easily anymore, since it's already gone from the tree.) Reopening.
I need your useflags (those present in obexftp's USE variable). The output of "emerge -pv obexftp" should be enough.
(In reply to comment #6) > I need your useflags (those present in obexftp's USE variable). The output of > "emerge -pv obexftp" should be enough. The relevant ones are still the same as in "emerge --info" of my original report, namely: [ebuild R ] app-mobilephone/obexftp-0.22_rc7 USE="perl python ruby* -bluetooth -debug -swig -tcl" 0 kB
I was able to reproduce it when I disabled bluetooth useflag and rebuilt openobex.
I've made the workaround: if use ruby && ! use bluetooth ; then sed -i -e "s/^\(.*bluetooth.*\)$/#\1/" swig/ruby/extconf.rb fi Please sync your tree, test it and close this bug if it solves the problem.
Looks good. Closing.
i can confirm it's ok now. thanks
This bug is still present as of obexftp-0.23-r1: [ebuild U ] app-mobilephone/obexftp-0.23-r1 [0.22] USE="bluetooth perl python ruby swig tcl -debug" make[3]: Entering directory `/var/tmp/portage/app-mobilephone/obexftp-0.23-r1/work/obexftp-0.23/swig/ruby' PREFIX=/usr /usr/bin/ruby18 extconf.rb --with-obexftp-include=../.. checking for OBEX_Init() in -lopenobex... yes checking for bfb_io_open() in -lbfb... yes checking for cobex_ctrans() in -lmulticobex... yes checking for obexftp_open() in -lobexftp... no obex libs not found
(In reply to comment #12) > This bug is still present as of obexftp-0.23-r1: See bug 277040.