Skip to content

Instantly share code, notes, and snippets.

@elliotpotts
Created April 27, 2016 11:45
Show Gist options
  • Save elliotpotts/beac21befe62624c0b65abca3cc6b79c to your computer and use it in GitHub Desktop.
Save elliotpotts/beac21befe62624c0b65abca3cc6b79c to your computer and use it in GitHub Desktop.
deluge problem
elliot@funbox ~> cat /var/tmp/portage/net-p2p/deluge-1.3.12-r3/temp/build.log
* Package: net-p2p/deluge-1.3.12-r3
* Repository: gentoo
* Maintainer: paolo.pedroni@iol.it k_f@gentoo.org,proxy-maint@gentoo.org
* USE: amd64 elibc_glibc gtk kernel_linux python_targets_python2_7 userland_GNU
* FEATURES: preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking deluge-1.3.12.tar.bz2 to /var/tmp/portage/net-p2p/deluge-1.3.12-r3/work
>>> Source unpacked in /var/tmp/portage/net-p2p/deluge-1.3.12-r3/work
>>> Preparing source in /var/tmp/portage/net-p2p/deluge-1.3.12-r3/work/deluge-1.3.12 ...
* Applying deluge-1.3.5-disable_libtorrent_internal_copy.patch ... [ ok ]
* Applying deluge-1.3.12-fix_scheduler_plugin.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/deluge-1.3.12-r3/work/deluge-1.3.12 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/deluge-1.3.12-r3/work/deluge-1.3.12 ...
/usr/bin/python2.7 setup.py build
Traceback (most recent call last):
File "setup.py", line 210, in <module>
import deluge._libtorrent
File "/var/tmp/portage/net-p2p/deluge-1.3.12-r3/work/deluge-1.3.12/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: /usr/lib64/python2.7/site-packages/libtorrent.so: undefined symbol: _ZN5boost6python6detail11init_moduleEPKcPFvvE
* ERROR: net-p2p/deluge-1.3.12-r3::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 133: Called src_compile
* environment, line 3717: Called distutils-r1_src_compile
* environment, line 844: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 306: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 835: Called distutils-r1_python_compile
* environment, line 707: Called esetup.py 'build'
* environment, line 1689: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}" || return ${?}
*
* If you need support, post the output of `emerge --info '=net-p2p/deluge-1.3.12-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/deluge-1.3.12-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/deluge-1.3.12-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/deluge-1.3.12-r3/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/deluge-1.3.12-r3/work/deluge-1.3.12'
* S: '/var/tmp/portage/net-p2p/deluge-1.3.12-r3/work/deluge-1.3.12'
elliot@funbox ~>
elliot@funbox ~> emerge --info '=net-p2p/deluge-1.3.12-r3::gentoo'
Portage 2.2.26 (python 3.4.3-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.9.3, glibc-2.21, 4.5.2-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.5.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2.0
KiB Mem: 8137160 total, 1985032 free
KiB Swap: 8388604 total, 8388604 free
sh bash 4.3_p42
ld GNU ld (Funtoo 2.25) 2.25.0
app-shells/bash: 4.3_p42::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.22.1::gentoo
dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake: 3.5.1::gentoo
sys-apps/baselayout: 2.2.0-r6::gentoo
sys-apps/openrc: 0.18.3-r2::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25-r2::gentoo
sys-devel/gcc: 4.9.3-r3::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.21::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: git
sync-uri: git://github.com/funtoo/ports-2012.git
priority: -1000
local-crossdev
location: /usr/local/portage-crossdev
masters: gentoo
priority: 10
gamerlay
location: /var/lib/layman/gamerlay
masters: gentoo
priority: 50
haskell
location: /var/lib/layman/haskell
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
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=sandybridge -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=sandybridge -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en_GB en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm gtk ico iconv icu ieee1394 introspection ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin nvidia ogg opengl openmp pam pcre pdf png postproc pppd python quicktime readline resolvconf sndfile sse sse2 ssh ssl svg taglib tcpd theora tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xft xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
elliot@funbox ~> emerge -pqv '=net-p2p/deluge-1.3.12-r3::gentoo'
[ebuild N ] net-p2p/deluge-1.3.12-r3 USE="gtk -geoip -libnotify -setproctitle -sound -webinterface" PYTHON_TARGETS="python2_7"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment