Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376795 - transmission-daemon refusing to start with net-libs/miniupnpc-1.6 installed
Summary: transmission-daemon refusing to start with net-libs/miniupnpc-1.6 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
: 377639 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-28 18:44 UTC by Oleh
Modified: 2011-08-06 08:27 UTC (History)
13 users (show)

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


Attachments
transmission-2.33-0003-system-miniupnpc.patch (transmission-2.33-0003-system-miniupnpc.patch,10.24 KB, patch)
2011-08-01 07:00 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2011-07-28 18:44:33 UTC
transmission-2.33, transmission-2.31-r1, transmission-2.31
transmission-daemon refusing to start with >=net-lib/miniupnpc-1.6. Downgrading to net-libs/miniupnpc-1.5 makes transmission-daemon start normally


Reproducible: Always

Steps to Reproduce:
1.emerge =net-libs/miniupnpc-1.6
2.run /usr/bin/transmission-daemon, notice that daemon is not starting
3.emerge =net-libs/miniupnpc-1.5, run transmission-daemon, everything works


Expected Results:  
transmission-daemon running with >=net-libs/miniupnpc-1.6

Portage 2.2.0_alpha37 (default/linux/amd64/2008.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.35.13 x86_64)
=================================================================
System uname: Linux-2.6.35.13-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.1.8
Portage Tree: /var/cache/portage
Portage HEAD: dd2d886151838c7be25044c05f251afcc9ca9378 /var/cache/portage/.git/refs/heads/funtoo.org
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1.8-r2
sys-apps/openrc:          0.8.3-r2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.20.1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo x-oss-overlay multimedia funtoo-overlay lcd-filtering mpd
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/src/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages mini-manifest news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j5"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage"
PORTDIR_OVERLAY="/home/oleg/oss-overlay /var/lib/layman/multimedia /home/oleg/funtoo-overlay /var/lib/layman/lcd-filtering /var/lib/layman/mpd"
SYNC="git://github.com/funtoo/portage-mini-2011.git"
SYNC_UMASK="077"
SYNC_USER="root"
USE="X acl amd64 berkdb bzip2 cairo cdr cracklib crypt dri dvd dvdr dvdread flac gdbm gif gpm gstreamer iconv icu jpeg lame lcdfilter logrotate mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl openmp oss pam pcre perl png python readline sqlite sse sse2 ssl ssse3 symlink tcpd threads tiff truetype udev unicode vim-syntax vorbis wavpack x264 xft xml xorg zlib" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAG
Comment 1 Agostino Sarubbo gentoo-dev 2011-07-28 21:39:39 UTC
can you paste verbose error of fail starting? ( -v )
Comment 2 Carlos Sura 2011-07-28 23:02:38 UTC
Same problem here.

To make it work, I did what Oleg posted:

Downgrade to net-libs/miniupnpc-1.6

I'm using net-libs/miniupnpc-1.5 and now everything is working fine.
Comment 3 Oleh 2011-07-29 03:14:12 UTC
(In reply to comment #1)
> can you paste verbose error of fail starting? ( -v )
here is the error from dmesg, can't provide an error because daemon is not starting.

[32516.497465] transmission-da[12930] general protection ip:7fd5f4a50b38 sp:7fd5f340e500 error:0 in libminiupnpc.so.8[7fd5f4a4c000+a000]
Comment 4 Dmitry Suloev 2011-07-29 04:54:24 UTC
Same problem. Downgrade helps.
Comment 5 corec 2011-07-29 13:12:39 UTC
I'm running into this problem too with transmission-gtk. Transmission just launched and bug-buddy pops up saying that transmission has crashed. downgrading libupnpc helped.
Comment 6 Priit Laes (IRC: plaes) 2011-07-29 20:55:34 UTC
It seems that miniupnpc has broken ABI, so you need following changes to fix transmission:

https://trac.transmissionbt.com/changeset/12593/trunk/libtransmission/upnp.c
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-07-30 07:37:17 UTC
BTW If you're interested in backwards compat, you can take a look at what I did to autoupnp [1].

[1]:https://github.com/mgorny/autoupnp/commit/d51b628d9
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2011-08-01 07:00:57 UTC
Created attachment 281685 [details, diff]
transmission-2.33-0003-system-miniupnpc.patch

This is patch I'm going to apply once I get ssh access (only web currently...).
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2011-08-05 21:04:42 UTC
Ok, I've commited patch. Fixed.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2011-08-06 08:27:51 UTC
*** Bug 377639 has been marked as a duplicate of this bug. ***