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
can you paste verbose error of fail starting? ( -v )
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.
(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]
Same problem. Downgrade helps.
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.
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
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
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...).
Ok, I've commited patch. Fixed.
*** Bug 377639 has been marked as a duplicate of this bug. ***