Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368187 - Failed to emerge net-p2p/transmission-2.31
Summary: Failed to emerge net-p2p/transmission-2.31
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL: https://trac.transmissionbt.com/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 16:56 UTC by BillWho
Modified: 2011-05-23 07:24 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,254.73 KB, text/plain)
2011-05-20 17:29 UTC, Leonid Podolny
Details
qtr build fix (meant for upstream) (transmission_qt_utp.patch,690 bytes, patch)
2011-05-20 22:53 UTC, thomasg
Details | Diff
transmission-2.31-r1.ebuild (transmission-2.31-r1.ebuild,3.60 KB, application/octet-stream)
2011-05-21 16:46 UTC, thomasg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BillWho 2011-05-20 16:56:55 UTC
performing emerge --update --deep world on 5/20/2011

Reproducible: Didn't try

Steps to Reproduce:
1.Have transmission installed
2.emerge --update --deep world
3.
Actual Results:  
gate.o moc_tracker-model.o moc_tracker-model-filter.o moc_triconpushbutton.o moc_utils.o moc_watchdir.o qrc_application.o    -L/usr/lib64/qt4 ../libtransmission/libtransmission.a ../third-party/libutp/libutp.a ../third-party/dht/libdht.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a -L/lib -lfontconfig -lcurl -lssl -lcrypto -ldl -lz -levent -lQtDBus -L/usr/lib64 -L/usr/lib64/qt4 -lQtXml -lQtGui -L/usr/X11R6/lib -lQtNetwork -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread 
x86_64-pc-linux-gnu-g++: ../third-party/libutp/libutp.a: No such file or directory
make: *** [transmission-qt] Error 1
 * ERROR: net-p2p/transmission-2.31 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-p2p/transmission-2.31',
 * the complete build log and the output of 'emerge -pqv =net-p2p/transmission-2.31'.
 * The complete build log is located at '/var/tmp/portage/net-p2p/transmission-2.31/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/transmission-2.31/temp/environment'.
 * S: '/var/tmp/portage/net-p2p/transmission-2.31/work/transmission-2.31'

>>> Failed to emerge net-p2p/transmission-2.31, Log file:


Expected Results:  
Normal update w/no compile errors

Portage 2.1.9.49 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Xeon-R-_CPU_5160_@_3.00GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 20 May 2011 15:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ rsync://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.cs.wmich.edu/gentoo http://www.cyberuse.com/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.llarian.net/ ftp://gentoo.mirrors.tds.net/gentoo rsync://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apng automount branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr emboss encode exif facc fadd fam firefox flac fortran gdbm gdu gif gnome gpm gtk hddtemp iconv ipv6 java jpeg kdrive lcms ldap libnotify live lm_sensors lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses network nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt-bundled qt3support qt4 readline sdl session sound spell sqlite sse sse2 ssl startup-notification static-libs svg sysfs tcpd tiff truetype udev unicode vorbis x264 xcb xml xorg xulrunner xv xvid xvmc 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" 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leonid Podolny 2011-05-20 17:29:32 UTC
Same here, attaching full build.log
Comment 2 Leonid Podolny 2011-05-20 17:29:54 UTC
Created attachment 274121 [details]
build.log
Comment 3 thomasg 2011-05-20 22:20:43 UTC
This is an upstream bug due to qmake for qtr (which is a separate client with a separate build system) enabling utp by default.
Temporary workaround is to remove "LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a" from transmission/qt/qtr.pro.
I will file a bug with a patch upstream.
Comment 4 thomasg 2011-05-20 22:53:41 UTC
Created attachment 274169 [details, diff]
qtr build fix (meant for upstream)

I added the fix I submitted to upstream for this bug here, so you can use it as workaround or provide a ebuild that includes it.

The ebuild does not have to change for this as the qt client is built after utp anyway and the upstream fix does the detection dynamically via qmake.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-05-21 01:57:25 UTC
(In reply to comment #4)
> Created attachment 274169 [details, diff]
> qtr build fix (meant for upstream)
> 
> I added the fix I submitted to upstream for this bug here, so you can use it as
> workaround or provide a ebuild that includes it.

Could you please provide the upstream reference, thanks!
Comment 6 Michael Weber (RETIRED) gentoo-dev 2011-05-21 15:23:05 UTC
(In reply to comment #5)
> Could you please provide the upstream reference, thanks!

I think it's https://trac.transmissionbt.com/ticket/4270
Comment 7 thomasg 2011-05-21 16:46:16 UTC
Created attachment 274209 [details]
transmission-2.31-r1.ebuild

Sorry, would have added the upstream reference earlier, but the ticket and patch had to go through moderation queue, so it took a while.

Anyway, patch got applied (rev 12452) and I guess it will make it into 1.32.
For the meantime, I also attached the ebuild as 2.31-r1 which includes the patch, would maybe make sense to get it in the tree to fix the breakage.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2011-05-23 07:24:27 UTC
Thank you guys. Patch was just added to the tree. Fixed.