Hi, It seems that ipcalc has now a bug: # ipcalc 192.168.0.0 - 192.168.255.255 deaggregate 192.168.0.0 - 192.168.255.255 Deep recursion on subroutine "Math::BigInt::bior" at /usr/lib64/perl5/5.38/Math/BigFloat.pm line 3883. Deep recursion on subroutine "Math::BigFloat::bior" at /usr/lib64/perl5/5.38/Math/BigInt.pm line 3513. ^C According to https://groups.google.com/g/linux.debian.bugs.dist/c/VMRNGwBRItM?pli=1 it seems to be du to perl. But I don't know how to solve it.
replacing BigInt and BigFloat perl 5.38 by 5.36 did the trick for me for the moment # ebuild $(equery which =dev-lang/perl-5.36.1-r3) compile # cp -a /var/tmp/portage/dev-lang/perl-5.36.1-r3/work/perl-5.36.1/lib/Math/Big[IF]* /usr/lib64/perl5/5.38/Math/ # ebuild $(equery which =dev-lang/perl-5.36.1-r3) clean
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb01136fd82dc2235a54368f115eb59ca540c41 commit dfb01136fd82dc2235a54368f115eb59ca540c41 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-19 05:26:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-19 05:26:00 +0000 virtual/perl-Math-BigInt: add 1.999.838 Bug: https://bugs.gentoo.org/914392 Signed-off-by: Sam James <sam@gentoo.org> virtual/perl-Math-BigInt/perl-Math-BigInt-1.999.838.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13dc7384923184292df961d24d5f82fbd123873 commit c13dc7384923184292df961d24d5f82fbd123873 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-19 01:13:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-19 05:24:47 +0000 perl-core/Math-BigInt: new package, add 1.999.838 Fished out from 43f46bf3bb3a914898b04cb0a29736849d8f094a. Bug: https://bugs.gentoo.org/914392 Signed-off-by: Sam James <sam@gentoo.org> perl-core/Math-BigInt/Manifest | 1 + perl-core/Math-BigInt/Math-BigInt-1.999.838.ebuild | 36 ++++++++++++++++++++++ perl-core/Math-BigInt/metadata.xml | 16 ++++++++++ 3 files changed, 53 insertions(+)
(In reply to Christophe PEREZ from comment #1) > replacing BigInt and BigFloat perl 5.38 by 5.36 did the trick for me for the > moment > > # ebuild $(equery which =dev-lang/perl-5.36.1-r3) compile > # cp -a > /var/tmp/portage/dev-lang/perl-5.36.1-r3/work/perl-5.36.1/lib/Math/Big[IF]* > /usr/lib64/perl5/5.38/Math/ > # ebuild $(equery which =dev-lang/perl-5.36.1-r3) clean Please make sure you cleanup any orphaned files as a result too (i.e. a re-emerge isn't guaranteed to clean up files which aren't installed by the new version). Thank you for the report & investigation!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dbe081c7f381eea7981f6abd43dde5dccbf03dc commit 7dbe081c7f381eea7981f6abd43dde5dccbf03dc Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-15 08:10:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-15 08:10:11 +0000 virtual/perl-Math-BigInt: add 1.999.842 Bug: https://bugs.gentoo.org/919888 Bug: https://bugs.gentoo.org/914392 Signed-off-by: Sam James <sam@gentoo.org> virtual/perl-Math-BigInt/perl-Math-BigInt-1.999.842.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=957095610b31869a336b66d9b6c7ddfca8db28c1 commit 957095610b31869a336b66d9b6c7ddfca8db28c1 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-15 08:09:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-15 08:09:32 +0000 perl-core/Math-BigInt: add 1.999.842 Bug: https://bugs.gentoo.org/919888 Bug: https://bugs.gentoo.org/914392 Signed-off-by: Sam James <sam@gentoo.org> perl-core/Math-BigInt/Manifest | 1 + perl-core/Math-BigInt/Math-BigInt-1.999.842.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+)
Christophe, was this fixed or did I imagine it? (did the first commits above from September work?) I feel like you would've said if the fix hadn't worked, but it's so weird it came up again in bug 919888. Anyway, let's hope it's sorted now. Cheers!
(In reply to Sam James from comment #5) > Christophe, was this fixed or did I imagine it? (did the first commits above > from September work?) In fact, the bug had been closed, I no longer had the problem, so I considered it resolved. > I feel like you would've said if the fix hadn't worked, but it's so weird it > came up again in bug 919888. This thing is really weird > Anyway, let's hope it's sorted now. Cheers! fingers crossed
(In reply to Christophe PEREZ from comment #6) > (In reply to Sam James from comment #5) > > Christophe, was this fixed or did I imagine it? (did the first commits above > > from September work?) > > In fact, the bug had been closed, I no longer had the problem, so I > considered it resolved. > > > I feel like you would've said if the fix hadn't worked, but it's so weird it > > came up again in bug 919888. > > This thing is really weird > > > Anyway, let's hope it's sorted now. Cheers! > > fingers crossed So what is the solution? My system us up-to-date, updated two days ago.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86447c52f21cc44e4b86b44695a53bfb75c6c915 commit 86447c52f21cc44e4b86b44695a53bfb75c6c915 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-16 04:40:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-16 04:45:08 +0000 dev-lang/perl: PDEPEND on >=virtual/perl-Math-BigInt-1.999.842 We need this to fix the modules included with Perl itself. I think this explains (or partly explains) how bug #914392 came back from the dead too. We can clean this PDEPEND up (and possibly a bunch of the others, actually) once a new Perl release is made containing newer versions of these (or perhaps Perl should PDEPEND on newer virtual/* for all of these to always pull in updates, actually.) We can't just add this dep in ipcalc because it only uses `bignum` directly, which is distinct from Math::BigInt. Bug: https://bugs.gentoo.org/914392 Closes: https://bugs.gentoo.org/919888 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/perl/{perl-5.38.2.ebuild => perl-5.38.2-r1.ebuild} | 1 + 1 file changed, 1 insertion(+)
(In reply to Christophe PEREZ from comment #6) > (In reply to Sam James from comment #5) > > Christophe, was this fixed or did I imagine it? (did the first commits above > > from September work?) > > In fact, the bug had been closed, I no longer had the problem, so I > considered it resolved. > > > I feel like you would've said if the fix hadn't worked, but it's so weird it > > came up again in bug 919888. > > This thing is really weird > > > Anyway, let's hope it's sorted now. Cheers! > > fingers crossed Thank you for confirming!