transmission-2.41 fails to compile with disabled utp flag. With enabled flag package emerged as it should Reproducible: Always Steps to Reproduce: 1.Set -utp and emerge =net-p2p/transmission-2.41, notice a build failure. 2.Set utp flag, emerge is fine 3. Actual Results: compile phase failure because of disabled utp make[1]: Leaving directory `/var/tmp/portage/net-p2p/transmission-2.41/work/transmission-2.41/libtransmission' make: *** [all-recursive] Error 1 * ERROR: net-p2p/transmission-2.41 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =net-p2p/transmission-2.41', * the complete build log and the output of 'emerge -pqv =net-p2p/transmission-2.41'. * The complete build log is located at '/var/tmp/portage/net-p2p/transmission-2.41/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/transmission-2.41/temp/environment'. * S: '/var/tmp/portage/net-p2p/transmission-2.41/work/transmission-2.41' >>> Failed to emerge net-p2p/transmission-2.41, Log file: >>> '/var/tmp/portage/net-p2p/transmission-2.41/temp/build.log' * Messages for package net-p2p/transmission-2.41: * ERROR: net-p2p/transmission-2.41 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =net-p2p/transmission-2.41', * the complete build log and the output of 'emerge -pqv =net-p2p/transmission-2.41'. * The complete build log is located at '/var/tmp/portage/net-p2p/transmission-2.41/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/transmission-2.41/temp/environment'. * S: '/var/tmp/portage/net-p2p/transmission-2.41/work/transmission-2.41' Expected Results: emerged and installed emerge --info Portage 2.3-r7 (default/linux/amd64/2008.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.32debian-30 x86_64) ================================================================= System uname: Linux-2.6.32debian-30-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.1.8 Timestamp of tree: Wed, 19 Oct 2011 16:00:01 +0000 app-shells/bash: 4.2_p10-r1::funtoo-overlay dev-lang/python: 2.7.1-r3::funtoo-overlay, 3.2::funtoo-overlay dev-util/cmake: 2.8.6-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1.8-r2 sys-apps/openrc: 0.8.3-r3::funtoo-overlay sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.20.1::funtoo-overlay sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.5 sys-devel/libtool: 2.4-r3::funtoo-overlay sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.32 (virtual/os-headers) sys-libs/glibc: 2.11.3 Repositories: gentoo oss-overlay lcd-filtering mpd funtoo-overlay Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" 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="-march=native -O2 -pipe" DISTDIR="/var/src/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cache/portage" PORTDIR_OVERLAY="/var/lib/layman/oss-overlay /var/lib/layman/lcd-filtering /var/lib/layman/mpd /home/oleg/funtoo-overlay" SYNC="git://github.com/funtoo/portage-mini-2011.git" SYNC_USER="root" USE="X acl alac amd64 apng berkdb bzip2 cdr cli cracklib crypt cxx dbus dri dvd dvdr dvdread encode flac fortran gdbm gif gpm iconv ipv6 jpeg lame lcdfilter mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python readline session sse sse2 sse3 ssl ssse3 sysfs tcpd threads tiff truetype udev unicode vorbis wavpack xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, SYNC_UMASK
Created attachment 290257 [details] build.log
Created attachment 290271 [details] transmission-2.41-1.ebuild Modifiqued Ebuild for net-p2p/transmission with transmission-2.41-noutp.patch
Created attachment 290273 [details] transmission-2.41-r1.ebuild Modifiqued Ebuild for net-p2p/transmission with transmission-2.41-noutp.patch
Created attachment 290275 [details] transmission-2.41-no_utp.patch Patch for net-p2p/transmission for successfull compilation with use utp disabled
I've seen the same behavior on one of my systems...the proposed fix still doesn't allow Transmission to build. It looks like linking fails.
Same problem.
same here
With proposed patch (renamed to transmission-2.41-no_utp.patch) compiles well.
Errata in proposed patch fixed, renamed this patch to transmission-2.41-no_utp.patch = compiles_well :)
2.42 is out, but I don't see anything concerning this issue in Release Notes or Trac.
Created attachment 290641 [details] build log with +qt -utp If qt flag is enabled and utp flag is disabled the build is failing: net-p2p/transmission-2.41 [2.33-r1] USE="gtk nls qt4 -kde -utp (-libcanberra%) (-libnotify%*)" . The issue seems to be that the qt folder is ignoring the --disable-utp option.
Confirming on an amd64 system. I'll give the patch a try soon. Thanks
The attached patch does not work on my system. After looking around, it seems that upstream (https://trac.transmissionbt.com/ticket/4528) is waiting for upstream libutp (https://github.com/bittorrent/libutp/pull/12) to be included. I added some comments in both upstream sources in order to have this fixed. In the mean time, I attach the temporary fix that should work until upstream decides what to do.
Created attachment 290737 [details, diff] Upstream patch
Confirming here on ~x86. The upstream patch fixes it for me (without qt).
(In reply to comment #15) > Confirming here on ~x86. The upstream patch fixes it for me (without qt). Same on ~amd64
The patch works fine with a local 2.42 ebuild, so I assume it should work fine on 2.41 as well. Peter, may I commit? Thanks
I can confirm this bug, I temporary fixed it by enabling utp.
Any news?
*** Bug 391303 has been marked as a duplicate of this bug. ***
+ 26 Nov 2011; Gilles Dartiguelongue <eva@gentoo.org> transmission-2.41.ebuild, + +files/transmission-2.41-noutp.patch: + Fix build issue when USE=-utp, bug #290737. With so many people complaining and no sign of activity, I took the liberty to fix this myself applying "upstream" patch. Hope I'm not stepping on anyone toes.