Bug#1054809: libsys-hostip-perl: FTBFS: Can't exec "/sbin/ip": No such file or directory at /<<PKGBUILDDIR>>/blib/lib/Sys/HostIP.pm line 171.
gregor herrmann
gregoa at debian.org
Fri Oct 27 21:41:30 BST 2023
Control: tag -1 + unreproducible moreinfo
On Fri, 27 Oct 2023 21:42:42 +0200, Lucas Nussbaum wrote:
> Source: libsys-hostip-perl
> Version: 2.120-3
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20231027 ftbfs-trixie
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
> > t/00-compile.t ..............
> > 1..1
> > ok 1 - Sys/HostIP.pm loaded ok
> > ok
> > Can't exec "/sbin/ip": No such file or directory at /<<PKGBUILDDIR>>/blib/lib/Sys/HostIP.pm line 171.
That's a bit surprising … In my (usr-merged) sid cowbuilder chroots,
I have (after installing iproute2) lots of options of calling ip(8),
among them /sbin/ip:
# ls -la /bin/ip /usr/bin/ip /sbin/ip /usr/sbin/ip
-rwxr-xr-x 1 root root 705432 Oct 24 14:24 /bin/ip
lrwxrwxrwx 1 root root 9 Oct 24 14:24 /sbin/ip -> ../bin/ip
-rwxr-xr-x 1 root root 705432 Oct 24 14:24 /usr/bin/ip
lrwxrwxrwx 1 root root 9 Oct 24 14:24 /usr/sbin/ip -> ../bin/ip
(And the tests run successfully in this chroot.)
I'm wondering if the test system misses the (/bin and) /sbin
symlink(s) into /usr? Or something else?
Of course looking for all of /bin/ip /sbin/ip /usr/bin/ip /usr/sbin/ip
or using File::Which etc. would fix this (except that I can't
reproduce the problem in the first place), but I'd like to understand
what's going on here …
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20231027/a8dec5c6/attachment-0001.sig>
More information about the pkg-perl-maintainers
mailing list