Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 548998

Summary: net-p2p/rtorrent-0.9.4-r1 should DEPEND on dev-util/cppunit
Product: Gentoo Linux Reporter: David Flogeras <dflogeras2>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, carlphilippreh, kripton, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/rakshasa/rtorrent/issues/134
See Also: https://bugs.gentoo.org/show_bug.cgi?id=462788
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 462788, 522706    
Attachments: emerge-info.txt
autoconf.out
emerge-history.txt
environment
etc.portage.tbz2
net-p2p:rtorrent-0.9.6:20170616-160119.log
temp.tbz2

Description David Flogeras 2015-05-09 11:53:08 UTC
I was attempting to upgrade from rtorrent-0.9.3 on an armv7a system in order to promote its stabilization on arm, when I got this error at config time

configure.ac:7: error: possibly undefined macro: AM_PATH_CPPUNIT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

I found the following upstream bug report which indicates it requires cppunit at build time only:

https://github.com/rakshasa/rtorrent/issues/134

I emergeed cppunit on the affected system and afterwards rtorrent-0.9.4-r1 built fine.

Reproducible: Always
Comment 1 David Flogeras 2015-05-09 12:02:13 UTC
Hmmm after filing this, I see that cppunit is already a conditional dep for the test useflag.  I am not using this flag, it seems that upstream must have made it non-conditional
Comment 2 Ivan S. Titov 2015-07-08 10:28:16 UTC
Can confirm the same problem on ~amd64...
Comment 3 Benda Xu gentoo-dev 2015-07-19 15:21:26 UTC
*** Bug 551072 has been marked as a duplicate of this bug. ***
Comment 4 Benda Xu gentoo-dev 2015-07-19 15:53:21 UTC
The issue is introdued by bug 462788.
Comment 5 Benda Xu gentoo-dev 2015-07-19 15:57:12 UTC
Fixed, thanks.

+  19 Jul 2015; Benda Xu <heroxbd@gentoo.org> files/rtorrent-0.9.4-tinfo.patch,
+  rtorrent-0.9.4-r1.ebuild:
+  net-p2p/rtorrent-0.9.4-r1 depends on dev-util/cppunit, bug 548998.  Credits:
+  David Flogeras, Ivan S. Titov, Toralf Foerster and erlend1969.
+
Comment 6 Toralf Förster gentoo-dev 2017-06-18 14:22:37 UTC
same issue with net-p2p/rtorrent-0.9.6 at the unstable amd64 chroot image 13.0-systemd_20170608-193944 at the tinderbox
Comment 7 Toralf Förster gentoo-dev 2017-06-18 14:22:41 UTC
Created attachment 476824 [details]
emerge-info.txt
Comment 8 Toralf Förster gentoo-dev 2017-06-18 14:22:44 UTC
Created attachment 476826 [details]
autoconf.out
Comment 9 Toralf Förster gentoo-dev 2017-06-18 14:22:47 UTC
Created attachment 476828 [details]
emerge-history.txt
Comment 10 Toralf Förster gentoo-dev 2017-06-18 14:22:50 UTC
Created attachment 476830 [details]
environment
Comment 11 Toralf Förster gentoo-dev 2017-06-18 14:22:53 UTC
Created attachment 476832 [details]
etc.portage.tbz2
Comment 12 Toralf Förster gentoo-dev 2017-06-18 14:22:56 UTC
Created attachment 476834 [details]
net-p2p:rtorrent-0.9.6:20170616-160119.log
Comment 13 Toralf Förster gentoo-dev 2017-06-18 14:22:59 UTC
Created attachment 476836 [details]
temp.tbz2
Comment 14 Ben Kohler gentoo-dev 2017-08-17 15:06:02 UTC
I'm closing this since 0.9.6 is fixed and it's stable everywhere 0.9.3 is.