Control: tags -1 + confirmed

Jochen Sprickerhof, on 2024-05-03:
> libnet-frame-device-perl fails to build with no network connection:
> 
> 1..1
> # Running under perl version 5.038002 for linux
> # Current time local: Sat Apr 27 12:53:04 2024
> # Current time GMT:   Sat Apr 27 12:53:04 2024
> # Using Test.pm version 1.31
> ok 1 # skip Test::Pod 1.00 required for testing
> ok
> Net::Frame::Device: updateFromDefault: unable to get dnet
> 
> This can be tested with the sbuild unshare backend.

Interesting, the test suite looks to expect to find non loopback
interfaces being configured, at least one I assume.  If I run
the build in chroot-mode schroot, it captures details of the
network configuration of the interface:

        $VAR1 = {
                  'subnet6' => 'fe80::/64',
                  'gatewayMac6' => undef,
                  'target6' => undef,
                  'gatewayIp6' => 'fe80::1234:56ff:fe78:9abc',
                  'ip6' => 'fe80::cba9:87ff:fe65:4321',
                  'mac' => 'cb:a9:87:65:43:21',
                  'gatewayMac' => '12:34:56:67:9a:bc',
                  'target' => undef,
                  'dev' => 'enp1s0',
                  'subnet' => '192.168.1.0/24',
                  '_dnet' => undef,
                  'gatewayIp' => '192.168.1.254',
                  'ip' => '192.168.1.1'
                };

instead of the error below, which I also witnessed on my end in
chroot-mode unshare:

        Net::Frame::Device: updateFromDefault: unable to get dnet

I don't really have any good suggestion apart from not running
the affected tests at build time:

        t/04-new-default.t (Wstat: 25856 (exited 101) Tests: 0 Failed: 0)
          Non-zero exit status: 101
          Parse errors: Bad plan.  You planned 1 tests but ran 0.
        t/05-new-target.t  (Wstat: 25856 (exited 101) Tests: 0 Failed: 0)
          Non-zero exit status: 101
          Parse errors: Bad plan.  You planned 1 tests but ran 0.

Has someone an idea of better approach?

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emoll...@debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/0, please excuse my verbosity
   `-    on air: Steve Hackett - The Cinema Show (Live at Hamme…

Attachment: signature.asc
Description: PGP signature

Reply via email to