Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619812 - net-p2p/deluge-1.3.14 not working due to to recent libtorrent-rasterbar
Summary: net-p2p/deluge-1.3.14 not working due to to recent libtorrent-rasterbar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paolo Pedroni
URL:
Whiteboard:
Keywords: InVCS
Depends on: CVE-2017-9031
Blocks:
  Show dependency tree
 
Reported: 2017-05-27 10:47 UTC by d9867eb
Modified: 2017-06-13 06:29 UTC (History)
3 users (show)

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


Attachments
deluge-1.3.14.ebuild-fix-libtorrent-rasterbar-dependency.patch (file_619812.txt,401 bytes, patch)
2017-05-30 10:27 UTC, Paolo Pedroni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description d9867eb 2017-05-27 10:47:08 UTC
hello,
I am getting this error when running deluged -d with net-p2p/deluge installed:

/usr/lib64/python2.7/site-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
  import libtorrent as lt
[ERROR   ] 12:33:37 rpcserver:378 Couldn't listen on any:58846: [Errno 98] Adressen redan upptagen.

I believe this is due to my libtorrent-rasterbar being to recent, however I can't test this as the one I have is the oldest.
Could someone please look into this?


my emerge --info:
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /et                                                                                        c/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild                                                                                        -locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned san                                                                                        dbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch                                                                                         userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo"
LANG="sv_SE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-                                                                                        times --compress --force --whole-file --delete --stats --human-readable --timeou                                                                                        t=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist branding bzip2 cairo cli crack                                                                                        lib crypt cxx dbus declarative dri dts emboss encode exif fam firefox flac fortr                                                                                        an gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms mad mmx mng mod                                                                                        ules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf                                                                                         phonon plasma png policykit postgres ppds qml qt3support qt4 qt5 readline ruby                                                                                         sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg                                                                                         systemd tcpd tiff truetype udev udisks unicode upower usb vorbis widgets x264 x                                                                                        attr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 a                                                                                        tiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm                                                                                        801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-mode                                                                                        m ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions ali                                                                                        as auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_db                                                                                        m authz_default authz_groupfile authz_host authz_owner authz_user autoindex cach                                                                                        e cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter fil                                                                                        e_cache filter headers include info log_config logio mem_cache mime mime_magic n                                                                                        egotiation rewrite setenvif speling status unique_id userdir usertrack vhost_ali                                                                                        as" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon bra                                                                                        indump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslo                                                                                        g" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aiv                                                                                        dm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea nt                                                                                        rip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq supersta                                                                                        r2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="ev                                                                                        dev" KERNEL="linux" L10N="sv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 l                                                                                        b216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console pres                                                                                        enter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON                                                                                        _SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ru                                                                                        by21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknoc                                                                                        k lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit s                                                                                        ysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, P                                                                                        ORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_                                                                                        EXTRA_OPTS, USE_PYTHON


Thank you
Comment 1 d9867eb 2017-05-27 12:07:12 UTC
forgot to link this: http://forum.deluge-torrent.org/viewtopic.php?t=53939
Comment 2 Paolo Pedroni 2017-05-30 10:03:47 UTC
Which version of rb_libtorrent do you have on your system?
Comment 3 Paolo Pedroni 2017-05-30 10:05:25 UTC
(In reply to Paolo Pedroni from comment #2)
> Which version of rb_libtorrent do you have on your system?

Sorry, I meant libtorrent-rasterbar...
Comment 4 Paolo Pedroni 2017-05-30 10:14:05 UTC
net-p2p/deluge-1.3.x is not compatible with libtorrent-rasterbar-1.1.x, it says it right there on the forum thread you linked.

You have to downgrade libtorrent-rasterbar to 1.0.x or use deluge-9999 (which does not work ATM, due to bug #606256).

As soon as we'll have 1.3.15 in tree, I'll change the ebuild to depend on <net-libs/libtorrente-rasterbar-1.1
Comment 5 Paolo Pedroni 2017-05-30 10:27:39 UTC
Created attachment 474688 [details, diff]
deluge-1.3.14.ebuild-fix-libtorrent-rasterbar-dependency.patch

This patch should fix the dependency on libtorrent-rasterbar.
Comment 6 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-06-04 21:23:55 UTC
(In reply to Paolo Pedroni from comment #5)
> Created attachment 474688 [details, diff] [details, diff]
> deluge-1.3.14.ebuild-fix-libtorrent-rasterbar-dependency.patch
> 
> This patch should fix the dependency on libtorrent-rasterbar.

Should this be combined with a bump to 1.3.15? if so can you provide the full 1.3.15 ebuild (or is it just a copy of 1.3.14 one with this patch?) ?
Comment 7 Paolo Pedroni 2017-06-05 13:19:23 UTC
(In reply to Kristian Fiskerstrand from comment #6)
> Should this be combined with a bump to 1.3.15? if so can you provide the
> full 1.3.15 ebuild (or is it just a copy of 1.3.14 one with this patch?) ?

Absolutely yes (as per bug #618872). Ebuild for 1.3.15 should be just a copy of 1.3.14 with this patch applied.
Comment 8 Paolo Pedroni 2017-06-13 06:29:16 UTC
The new ebuild does not allow libtorrent-rasterbar >=1.1