Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421635 - net-p2p/deluge-1.3.5 - ld: cannot find -lboost_python
Summary: net-p2p/deluge-1.3.5 - ld: cannot find -lboost_python
Status: RESOLVED DUPLICATE of bug 441582
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 18:42 UTC by Daniele Segato
Modified: 2012-11-03 23:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the full build log (build.log,200.90 KB, text/plain)
2012-06-18 18:27 UTC, Daniele Segato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Segato 2012-06-17 18:42:49 UTC
I attached the full log, and the error below

I tried to find libbost_python.so but is not in my system..

I also recompiled boost with python use, then, after updatedb:


/usr/lib64/libboost_python-2.7-1_49.so
/usr/lib64/libboost_python-2.7-1_49.so.1.49.0
/usr/lib64/libboost_python-2.7-mt-1_49.so
/usr/lib64/libboost_python-2.7-mt-1_49.so.1.49.0
/usr/lib64/libboost_python-2.7-mt.so
/usr/lib64/libboost_python-2.7.so
/usr/lib64/libboost_python-3.2-1_49.so
/usr/lib64/libboost_python-3.2-1_49.so.1.49.0
/usr/lib64/libboost_python-3.2-mt-1_49.so
/usr/lib64/libboost_python-3.2-mt-1_49.so.1.49.0
/usr/lib64/libboost_python-3.2-mt.so
/usr/lib64/libboost_python-3.2.so
/usr/lib64/boost-1_49/libboost_python-2.7-mt.so
/usr/lib64/boost-1_49/libboost_python-2.7.so
/usr/lib64/boost-1_49/libboost_python-3.2-mt.so
/usr/lib64/boost-1_49/libboost_python-3.2.so
/usr/portage/dev-libs/boost/files/boost-1.48.0-disable_libboost_python3.patch


here's the final part of the log:

warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'libtorrent' extension
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -march=native -O2 -pipe -L/usr/lib64 -L/opt/local/lib -L/usr/lib64 -lboost_filesystem-mt -lboost_date_time-mt -lboost_iostreams-mt -lboost_python -lboost_thread-mt -lpthread -lssl -lz -lpython2.7 -o build/lib.linux-x86_64-2.7/deluge/libtorrent.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_python
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 * ERROR: net-p2p/deluge-1.3.5 failed (compile phase):
 *   Building failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5291:  Called distutils_src_compile
 *   environment, line 1316:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 *
Comment 1 Daniele Segato 2012-06-17 18:44:13 UTC
this may be related: #415137
Comment 2 Daniele Segato 2012-06-18 18:27:30 UTC
Created attachment 315685 [details]
the full build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-19 15:20:20 UTC
Please post your `emerge --info' output in a comment.
Comment 4 Daniele Segato 2012-06-19 15:26:39 UTC
here's the output of the command you required:

# emerge --info '=net-p2p/deluge-1.3.5'
Portage 2.1.10.65 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.3.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Mon, 18 Jun 2012 17:45:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sabayon zugaina x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sabayon /var/lib/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv introspection ipv6 irda jpeg lame laptop lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcmcia pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline sdl session socialweb sound spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis wxwidgets x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="snd-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="kexi words flow plan sheets stage tables krita karbon braindump" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en it" LIRC_DEVICES="all" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nv nouveau nvidia vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-p2p/deluge-1.3.5 was built with the following:
USE="gtk libnotify (multilib) -geoip -setproctitle -webinterface"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed"
Comment 5 Daniele Segato 2012-06-20 17:42:43 UTC
I don't know if this can help...

I'm trying to re-emerge deluge because I get this error when I open it:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 308, in _on_reactor_start
    client.start_classic_mode()
  File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 563, in start_classic_mode
    self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
  File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 436, in __init__
    self.__daemon = deluge.core.daemon.Daemon(classic=True)
  File "/usr/lib64/python2.7/site-packages/deluge/core/daemon.py", line 141, in __init__
    from deluge.core.core import Core
  File "/usr/lib64/python2.7/site-packages/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib64/python2.7/site-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: libboost_system-mt-1_48.so.1.48.0: impossibile aprire il file oggetto condiviso: File o directory non esistente



it doesn't find libboost_system-mt-1_48.so.1.48.0
sure... it's 1.48 AND it's not adding -2.7-, shouldn't it be using the symbolic link link /usr/lib64/libboost_python-2.7-mt.so ?
Comment 6 Daniele Segato 2012-07-01 15:20:47 UTC
Any news about this?
deluge keeps failing to compile with boost 1.49
Comment 7 Daniele Segato 2012-07-02 04:23:13 UTC
well..

emerging boost 1.48 in a slot made deluge compile and work again

but the ebuild should be fixed

for any other having the issue:

emerge -va dev-libs/boost:1.48
Comment 8 Craig Andrews gentoo-dev 2012-11-01 21:28:14 UTC
I believe this is bug 440680
Comment 9 Julian Ospald 2012-11-03 23:15:07 UTC
a user reported that this could also be fixed by emerging the latest net-libs/rb_libtorrent (0.16.5 at that time)

can someone verify?

unfortunately even if it's true we would have to wait for that rb_libtorrent version to be stabilized before we can raise the dependency in deluge
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2012-11-03 23:49:46 UTC
The boost fix for rb_libtorrent is now present in every rb_libtorrent ebuild. Please sync in a couple of hours to get it

*** This bug has been marked as a duplicate of bug 441582 ***