Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424783 - net-p2p/transmission: Request to make internal copy of libutp optional because it's C++ so transmission could be compiled with C compiler
Summary: net-p2p/transmission: Request to make internal copy of libutp optional becaus...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal enhancement
Assignee: Peter Volkov (RETIRED)
URL: https://trac.transmissionbt.com/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 16:41 UTC by Sylvain BERTRAND
Modified: 2012-07-25 09:04 UTC (History)
2 users (show)

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


Attachments
emerge --info (info,4.37 KB, text/plain)
2012-07-04 16:41 UTC, Sylvain BERTRAND
Details
build.log (build.log.bz2,4.10 KB, application/x-bzip)
2012-07-04 16:50 UTC, Sylvain BERTRAND
Details
config.log (config.log.bz2,14.18 KB, application/octet-stream)
2012-07-05 22:11 UTC, Sylvain BERTRAND
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain BERTRAND 2012-07-04 16:41:02 UTC
Created attachment 317149 [details]
emerge --info

fail to compile due to a missing libutp/utp.h
Comment 1 Sylvain BERTRAND 2012-07-04 16:50:40 UTC
Created attachment 317153 [details]
build.log
Comment 2 Sylvain BERTRAND 2012-07-04 16:52:46 UTC
[ebuild     U  ] net-p2p/transmission-2.52 [2.51] USE="(-ayatana) -gtk -lightweight -qt4 -xfs" LINGUAS="en -es -kk -lt -pt_BR -ru"
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 14:57:20 UTC
Your log says during ./configure:

"checking µTP... no"

It should always say "yes". You have g++, the C++ compiler installed, right? As in, sys-devel/gcc built with USE="cxx" *enabled*

Please attach the config.log from the src_configure() econf phase here, from the /var/tmp/portage/net-p2p/transmission/... directory
Comment 4 Sylvain BERTRAND 2012-07-05 22:11:40 UTC
Created attachment 317364 [details]
config.log
Comment 5 Sylvain BERTRAND 2012-07-05 22:13:11 UTC
log provided, transmission is C code, not C++
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-07-06 07:20:22 UTC
(In reply to comment #5)
> log provided, transmission is C code, not C++

nope, transmission-2.52/third-party/libutp is C++

assuming broken system without C++ compiler installed based on previous bug reports -> closing
Comment 7 Sylvain BERTRAND 2012-07-06 09:03:38 UTC
wrong: systems without C++ are not broken, they are C++ free systems.
Transmission code is C, third-party µtp code is C++.
Then, there is a bug in the enable/disable µtp code on C++ free systems.
Then, this bug report is valid.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-07-06 09:09:30 UTC
(In reply to comment #7)
> wrong: systems without C++ are not broken, they are C++ free systems.
> Transmission code is C, third-party µtp code is C++.
> Then, there is a bug in the enable/disable µtp code on C++ free systems.
> Then, this bug report is valid.

libutp is not optional. the package won't build without using internal or external copy of libutp.

so unless you have a patch to provide for upstream, which will make the libutp optional, there is nothing to do here. plus, this should be reported to transmission's trac once the patch is done.
Comment 9 Sylvain BERTRAND 2012-07-06 09:19:19 UTC
transmission 2.51 works fine on C++ free systems
If it's a bug to be fixed upstream, leave this bug opened till it is fixed upstream, thx.
Fine, I'll do the report to upstream since you do not want to do it.
I let you know when I have a feedback.
Comment 10 Sylvain BERTRAND 2012-07-06 15:32:44 UTC
upstream ticket opened and validated
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-07-25 09:04:33 UTC
Following upstream and will not accept patches as per:

https://trac.transmissionbt.com/ticket/4952