Subject: | xargs: illegal option -- d |
t/00prepare.t fails on (some?) freebsd systems. It's not clear if it's due to the incompatible xargs arguments or due to another reason:
...
PERL_DL_NONLAZY=1 "/usr/perl5.31.5p/bin/perl5.31.5" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
error: cannot open Packages database in /var/lib/rpm
+ umask 022
+ cd /usr/home/cpansand/.cpan/build/2019120920/URPM-5.22-1/t/tmp//BUILD
+ RPM_EC=0
+ jobs -p
+ exit 0
+ umask 022
+ cd /usr/home/cpansand/.cpan/build/2019120920/URPM-5.22-1/t/tmp//BUILD
+ RPM_EC=0
+ jobs -p
+ exit 0
+ umask 022
+ cd /usr/home/cpansand/.cpan/build/2019120920/URPM-5.22-1/t/tmp//BUILD
+ rm -rf /usr/home/cpansand/.cpan/build/2019120920/URPM-5.22-1/t/tmp/BUILDROOT/test-rpm-1.0-1mdk.x86_64
+ mkdir -p /usr/home/cpansand/.cpan/build/2019120920/URPM-5.22-1/t/tmp/BUILDROOT/test-rpm-1.0-1mdk.x86_64/usr/local/etc
+ date
+ /usr/local/lib/rpm/brp-compress /usr/local
+ /usr/local/lib/rpm/brp-strip /usr/bin/strip
+ /usr/local/lib/rpm/brp-strip-static-archive /usr/bin/strip
xargs: illegal option -- d
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements] [-S replsize]]
[-J replstr] [-L number] [-n number [-x]] [-P maxprocs]
[-s size] [utility [argument ...]]
error: Bad exit status from /var/tmp/rpm-tmp.pUv6Ji (%install)
cannot open Packages database in /var/lib/rpm
Bad exit status from /var/tmp/rpm-tmp.pUv6Ji (%install)
# Failed test 'rpm created'
# at t/00prepare.t line 16.
# Failed test 'srpm created'
# at t/00prepare.t line 17.
# Looks like you failed 2 tests of 2.
t/00prepare.t ........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
...