Summary: | net-p2p/transmission-2.41 fails to compile with USE="-utp" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oleh <moonlapse81> |
Component: | Current packages | Assignee: | Peter Volkov (RETIRED) <pva> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | barzog, blakawk, des-colo, eva, gentoo, julien.sanchez, krinpaus, matrix47, mr_bones_, net-p2p, renegabriels, saintdev, skrattaren, SuloevDmitry, uzytkownik2, vityokster, v_2e, zima |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
transmission-2.41-1.ebuild transmission-2.41-r1.ebuild transmission-2.41-no_utp.patch build log with +qt -utp Upstream patch |
Description
Oleh
2011-10-19 17:17:12 UTC
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. |