Saw these test errors when building Perl-bundle-CPAN-5.42.0-GCCcore-15.2.0 inside a Rocky 8 easycontainer, caused by the lack of /sbin/ip:
== 2026-07-09 12:51:51,272 run.py:532 INFO Running shell command in /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120:
make test
== 2026-07-09 12:51:51,996 run.py:653 WARNING Shell command FAILED (exit code 2)
Output (stdout + stderr):
PERL_DL_NONLAZY=1 "/apps/eb/github/el8/skylake/software/Perl/5.42.0-GCCcore-15.2.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t .............. ok
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
# Class IP:
# Failed test 'IP by class looks ok'
# at t/lib/Utils.pm line 70.
# ''
# doesn't match '(?^x:^ \d+ (?: \. \d+ ){3} $)'
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
# Failed test 'Found IP in IPs by class'
# at t/lib/Utils.pm line 78.
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
# Looks like you failed 2 tests of 11.
t/01-base.t .................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests
# Class IP: 169.254.109.232
# Class IP: 192.168.1.100
# Class IP: 192.168.40.241
# Class IP: 10.0.2.15
# Class IP: 192.168.1.101
# Class IP: 192.168.2.118
# Class IP: 192.168.2.118
# Class IP: 192.168.2.118
# Class IP: 192.168.56.1
# Class IP: 192.168.0.10
# Class IP: 0.0.0.0
# Class IP: 10.0.2.15
t/02-base-mocked-windows.t .. ok
t/03-iface-undetected.t ..... ok
t/10-ifconfig.t ............. ok
t/11-ipconfig.t ............. ok
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
# Class IP:
# Failed test 'IP by class looks ok'
# at t/lib/Utils.pm line 70.
# ''
# doesn't match '(?^x:^ \d+ (?: \. \d+ ){3} $)'
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
# Failed test 'Found IP in IPs by class'
# at t/lib/Utils.pm line 78.
Can't exec "/sbin/ip": No such file or directory at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 171.
Unable to detect interface information!
Please open an issue on https://github.com/xsawyerx/sys-hostip/issues with your 'ipconfig' or 'ifconfig' output at /dev/shm/PerlbundleCPAN/5.42.0/GCCcore-15.2.0/SysHostIP/Sys-HostIP-2.120/blib/lib/Sys/HostIP.pm line 136.
/sbin/ip does exist on the host, as you would expect.
Saw these test errors when building Perl-bundle-CPAN-5.42.0-GCCcore-15.2.0 inside a Rocky 8 easycontainer, caused by the lack of /sbin/ip:
/sbin/ipdoes exist on the host, as you would expect.