| ~~~~^~~~~~~ In file included from gnetcheck.c:21: gnetcheck.h:318:5: error: too many arguments to function ‘_tcase_add_test’ 318 | _tcase_add_test (tc, tf, fname, signal, allowed_exit_value, start, end); | ^~~~~~~~~~~~~~~ In file included from gnetcheck.h:30, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-libressl-20191022-091630 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.38.0 * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 3.13.0 [icedtea-8] *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 27 Oct 2019 13:02:26 +0000 emerge -qpvO net-libs/gnet [ebuild N ] net-libs/gnet-2.0.8-r2 USE="-debug -test"
Created attachment 594136 [details] emerge-info.txt
Created attachment 594138 [details] emerge-history.txt
Created attachment 594140 [details] environment
Created attachment 594142 [details] etc.portage.tbz2
Created attachment 594144 [details] logs.tbz2
Created attachment 594146 [details] net-libs:gnet-2.0.8-r2:20191027-132931.log
Created attachment 594148 [details] temp.tbz2
Same problem, waiting for fix...
*** Bug 751223 has been marked as a duplicate of this bug. ***
Likewise, just ran into this, any progress?
Upstream appear to believe they fixed this 10 years ago: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569378
As it happens, commenting out "#epatch "${FILESDIR}"/${PN}-2.0.8-check-usage-update.patch" from the gnet-2.0.8-r2.ebuild allows the emerge to succeed. Somehow, the current version of dev-libs/check appears to support the prior number of arguments. Not sure what or how that happened, but oh well.
I'd like to mention that this bug still exists, and at the moment it's a dependency of another package, gnome-mud, which I therefore cannot install right now.
(In reply to Raymond Jennings from comment #13) > I'd like to mention that this bug still exists, and at the moment it's a > dependency of another package, gnome-mud, which I therefore cannot install > right now. don't enable FEATURES=test on gnet in the meantime? :)
(In reply to Mart Raudsepp from comment #14) > (In reply to Raymond Jennings from comment #13) > > I'd like to mention that this bug still exists, and at the moment it's a > > dependency of another package, gnome-mud, which I therefore cannot install > > right now. > > don't enable FEATURES=test on gnet in the meantime? :) I didn't, just double checked make.conf, and test isn't enabled. The corresponding USE flag is also disabled for gnet, could you clarify why you thought I had it turned on?
(In reply to Willard Dawson from comment #12) > As it happens, commenting out "#epatch > "${FILESDIR}"/${PN}-2.0.8-check-usage-update.patch" from the > gnet-2.0.8-r2.ebuild allows the emerge to succeed. Somehow, the current > version of dev-libs/check appears to support the prior number of arguments. > Not sure what or how that happened, but oh well. It compiles without the patch, but the arguments aren't matching with check.h: _tcase_add_test (tc, tf, func_name, sig, start, end); vs CK_DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest, int _signal, int allowed_exit_value, int start, int end);
Dear treecleaner@: I'm still able to reproduce this issue right now. Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9261c52a34d2026772141a7206a0803261cb320 commit c9261c52a34d2026772141a7206a0803261cb320 Author: Andrew Savchenko <bircoph@gentoo.org> AuthorDate: 2021-05-22 03:36:51 +0000 Commit: Andrew Savchenko <bircoph@gentoo.org> CommitDate: 2021-05-22 03:38:45 +0000 net-libs/gnet: fix build failure with recent dev-libs/check Drop problematic patch as suggested by Willard Dawson: https://bugs.gentoo.org/698654#c12 Closes: https://bugs.gentoo.org/698654 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> net-libs/gnet/gnet-2.0.8-r3.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
(In reply to Agostino Sarubbo from comment #17) > Dear treecleaner@: > > I'm still able to reproduce this issue right now. > > Since it has not been fixed for a long time, I'd suggest to evaluate if it > is the case to remove this package from the tree. Thanks Since this bug was on the verge of tree cleaning and it has useful deps in the tree, I went straight ahead and fixed this bug without pinging maintainer first, since bug was open for 1.5 years without being fixed. The fix is trivial as suggested in comment 12.