Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919888 - net-misc/ipcalc-0.42_p2 - runtime error (perl?)
Summary: net-misc/ipcalc-0.42_p2 - runtime error (perl?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on: 919980 920096
Blocks: perl-5.38
  Show dependency tree
 
Reported: 2023-12-14 15:19 UTC by Joseph
Modified: 2023-12-16 04:46 UTC (History)
2 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 Joseph 2023-12-14 15:19:59 UTC
Package: net-misc/ipcalc-0.42_p2

I giving error message eg.

ipcalc -r 184.64.0.0 - 184.71.255.255
deaggregate 184.64.0.0 - 184.71.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.

Reproducible: Always




emerge --info
Portage 3.0.56 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.37-r7, 6.1.19-gentoo x86_64)
=================================================================
System uname: Linux-6.1.19-gentoo-x86_64-AMD_Ryzen_7_3800XT_8-Core_Processor-with-glibc2.37
KiB Mem:    32783764 total,  16330624 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Wed, 13 Dec 2023 18:00:01 +0000
Head commit of repository gentoo: 4a647d38ea7fa3703a216d12e5c679b327d00583
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r9::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

brother-overlay
    location: /var/lib/layman/brother-overlay
    masters: gentoo
    priority: 50
    volatile: True

Local
    location: /usr/local/portage
    masters: gentoo
    priority: 99999999
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @FREE PUEL-11"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/spool/fax/etc /var/www/localhost/htdocs/phpmyadmin"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/spool/fax/etc/xferfaxlog"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j8 --load-average=8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr cgi cleartype cli corefonts crypt cups dbus dri dts dvd dvdr elogind encode exif fam flac foomaticdb fortran gdbm gif gimp gimpprint gpm gtk gui iconv icu ipv6 java jpeg kpathsea lcms libnotify libtirpc lock mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 qtk readline scanner sdl seccomp session sound spell split-usr ssl startup-notification svg test-rust tetex thunar tiff truetype type1 udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="fujitsu epson2" VIDEO_CARDS="nvidia" VOICEMAIL_STORAGE="file" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-15 08:03:48 UTC
Huh.. it's bug 914392 again.

Could you confirm your system is fully up to date?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-15 08:06:11 UTC
OK, reproduced (thanks for the easy command to run).
Comment 3 Larry the Git Cow gentoo-dev 2023-12-15 08:11:40 UTC
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(+)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-15 08:13:17 UTC
Thank you for the report!
Comment 5 Joseph 2023-12-15 18:31:20 UTC
Yes, my system is up to date; updated two days ago.

I was reading related posts on bug: 
Bug: https://bugs.gentoo.org/914392

But I don't know what the solution is?
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-15 20:21:57 UTC
If you sync now then update, it should be fixed. The commits above should help.
Comment 7 Joseph 2023-12-16 00:29:09 UTC
(In reply to Sam James from comment #6)
> If you sync now then update, it should be fixed. The commits above should
> help.

I just did "sync" and did an update. The problem still persist.

ipcalc -r 195.123.224.0 - 195.123.231.255
deaggregate 195.123.224.0 - 195.123.231.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.


Which package suppose to resolve the issue?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 00:32:59 UTC
Not sure why you made it WONTFIX, you can just re-open if it's still occurring...

Per above,
*    virtual/perl-Math-BigInt-1.999.842
*    perl-core/Math-BigInt-1.999.842
should work.

What versions do you have installed?
Comment 9 Joseph 2023-12-16 00:39:58 UTC
(In reply to Sam James from comment #8)
> Not sure why you made it WONTFIX, you can just re-open if it's still
> occurring...
> 
> Per above,
> *    virtual/perl-Math-BigInt-1.999.842
> *    perl-core/Math-BigInt-1.999.842
> should work.
> 
> What versions do you have installed?

Hmm.., non of them, were installed on my system. 
Installing them solved the problem.  
Maybe they should be dependency of "ipcalc" package.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 00:45:30 UTC
Let me poke a bit more...
Comment 11 Larry the Git Cow gentoo-dev 2023-12-16 04:46:14 UTC
The bug has been closed via 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(+)