Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351399 - <net-p2p/transmission-2.20: fails to build against libevent-2
Summary: <net-p2p/transmission-2.20: fails to build against libevent-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL: https://trac.transmissionbt.com/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks: libevent-2-fail
  Show dependency tree
 
Reported: 2011-01-12 01:11 UTC by Anthony Basile
Modified: 2011-02-12 20:50 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2011-01-12 01:11:56 UTC
Currently libevent-2 is p.masked because it breaks backwards compat with libevent-1 which in turn breaks some packages.  transmission fails to compile against libevent-2 during src_configure with:

  configure: error: event-config.h not found!

Understandably so since event-config.h is in libevent-1 but not -2.

Upstream transmission is aware of the problem and has a preliminary patch:

   https://trac.transmissionbt.com/ticket/3836
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-20 16:54:43 UTC
Changed 12 hours ago by jordan 
Status changed from new to closed 
Resolution set to fixed 

Well, libevent2 is fully implemented and we're just about ready for the 2.20 beta. 

If any issues arise, we can address them in another ticket.
Comment 2 Jory A. Pratt gentoo-dev 2011-01-24 01:49:09 UTC
http://git.overlays.gentoo.org/gitweb/?p=dev/anarchy.git;a=commitdiff;h=739c7effad384c76363833eec4e3ea633d337609

2.20b1 support is avaliable via my overlay until pva can get it worked into the tree.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-01-24 08:16:49 UTC
Thank you Jory. I prefer official releases until there are interested users to unmask and use beta packages. I don't think release takes too long.)
Comment 4 Anthony Basile gentoo-dev 2011-01-24 10:03:53 UTC
(In reply to comment #3)
> Thank you Jory. I prefer official releases until there are interested users to
> unmask and use beta packages. I don't think release takes too long.)
> 

FYI, I wrote an ebuild too, and tested compiling against libevent-2. It worked.

(BTW, I had some questions about the RDEPEND, but that's not related to the bug so maybe on IRC.)
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2011-01-24 14:52:15 UTC
(In reply to comment #4)
> (BTW, I had some questions about the RDEPEND, but that's not related to the bug
> so maybe on IRC.)

Oh, better here as this bug is practically solved or if you wish in separate bug :) Also I'll have a good reference in case {R,}DEPEND are wrong.
Comment 6 Anthony Basile gentoo-dev 2011-01-29 17:43:20 UTC
>
> Oh, better here as this bug is practically solved or if you wish in separate
> bug :) Also I'll have a good reference in case {R,}DEPEND are wrong.
> 

Reading the *_MINIMUM values in configure.ac, I set the following DEPEND:

	|| ( >=net-misc/curl-7.15.4[ssl]
		>=net-misc/curl-7.15.4[gnutls] )
	gtk? ( >=dev-libs/glib-2.8.0:2
		>=x11-libs/gtk+-2.8.0:2

but you have 

	|| ( >=net-misc/curl-7.16.3[ssl]
		>=net-misc/curl-7.16.3[gnutls] )
	gtk? ( >=dev-libs/glib-2.15.5:2
		>=x11-libs/gtk+-2.12:2

I was just wondering where you got those values?
Comment 7 Xake 2011-02-10 09:29:33 UTC
So 2.21 was released two days ago. Any ETA for portage-tree?
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2011-02-12 01:47:01 UTC
Anthony, actaully I think versions were left from previous maintainer and it's possible that they were set just to minimum tested versions. But since I have no idea I don't touch them :)

That said new version is in the tree. Since it depends on libevent-2 it is hardmasked and I hope it will be unmasked together with libevent-2.

Thank you all, FIXED.
Comment 9 Anthony Basile gentoo-dev 2011-02-12 20:50:06 UTC
(In reply to comment #8)
> Anthony, actaully I think versions were left from previous maintainer and it's
> possible that they were set just to minimum tested versions. But since I have
> no idea I don't touch them :)
> 

I guess since your minimums are higher than the ones in the configure.ac, you're probably erring on the side of caution.  Search though I tried, I simply couldn't find where your values had come from.  Hence my question.