This version of cppunit doesnt install the file /usr/share/aclocal/cppunit.m4, required by autoconf build systems such as the one used in rtorrent. Reproducible: Always Steps to Reproduce: 1. Make sure cppunit-1.14.0 is installed 2. Emerge rtorrent Actual Results: rtorrent fails to build Expected Results: rtorrent should not fail to build because of other packages files.
Created attachment 475238 [details] autoconf.out Autoconf error for rtorrent
Line indicating that the aclocal file wasnt installed when updating to dev-util/cppunit-1.14.0 from dev-util/cppunit-1.13.2-r2 --- !empty dir /usr/share/aclocal
According to these commits : https://cgit.freedesktop.org/libreoffice/cppunit/commit/?id=c81afa737307ef525258cfae24eb3f2845ce7208 https://cgit.freedesktop.org/libreoffice/cppunit/commit/?id=fcc84eec40acf8506f2a5fcc3fe0399663d1ce18 It seems like they moved everything to a pkg-config way of doing it, thus, it is rtorrent (and maybe more) which havent been updated accordingly.
Upstream rtorrent has probably fixed this here: https://github.com/rakshasa/rtorrent/commit/71a52bfac2e43bce46827c769a7135744982c2f3
*** Bug 623630 has been marked as a duplicate of this bug. ***
There's been a lot of upstream activity since the last release, maybe time to bump to a snapshot?
Created attachment 489384 [details, diff] rtorrent-0.9.6-cppunit-pkgconfig.patch This is upstream's patch re-rolled to apply after our ncurses & tinfo patches, this seems to fix the issue for me. I think this would be the way to go if you're against a new snapshot ebuild. Though if we bump to a snapshot ebuild, our ncurses & tinfo patches probably need to be re-rolled as well..
commit cd9ec0ed5640e05a515e3f68cad24e9dad23c3c7 Author: Jason Zaman <perfinion@g.o> Date: Sat Aug 19 14:59:36 2017 net-p2p/rtorrent: fix building against cppunit (bug 620908) Thanks to Nado and Ben Kohler Package-Manager: Portage-2.3.6, Repoman-2.3.1 I added a -r1 with this patch in first. I'll also add a snapshot ebuild