Skip to content

Instantly share code, notes, and snippets.

@qknight
Created April 28, 2018 08:41
Show Gist options
  • Save qknight/09950ff219919157eca7c303180b8c5b to your computer and use it in GitHub Desktop.
Save qknight/09950ff219919157eca7c303180b8c5b to your computer and use it in GitHub Desktop.
FULLPERL
on nixos running the build for NetAddr-IP-4.079 with tests enabled fails:
# build
t/v6-splitplan.t ...
1..28
ok 1 - use NetAddr::IP;
ok 2 - FFFF:A123:B345:C789:0:0:0:0/48 eq FFFF:A123:B345:C789:0:0:0:0/48
ok 3 - there is a plan
ok 4 - plan returns the orignal net
ok 5 - one item plan
ok 6 - plan 48 is original cidr 48
ok 7 - FFFF:7FFF:FFFF:FFFF:0:0:0:0/128 eq FFFF:7FFF:FFFF:FFFF:0:0:0:0/128
ok 8 - failing because of bits in mask
ok 9 - FFFF:FFFF:FFFF:0:0:0:0:0/128 eq FFFF:fFFF:FFFF:0:0:0:0:0/128
ok 10 - there is a plan
ok 11 - plan returns the orignal net
ok 12 - one item plan
ok 13 - plan 48 is original cidr 48
ok 14 - there is a plan
ok 15 - plan returns the orignal net
ok 16 - one item plan
ok 17 - plan 48 is original cidr 48
ok 18 - failing because of bits in mask
ok 19 - failing because of garbage
ok 20 - failing because of 47 overange
ok 21 - failing to many nets 65-48 = 2**17
ok 22 - failing because of 3 * 49 overange
ok 23 - there is a plan 64
ok 24 - plan has masks
ok 25 - 65536 should = 65536
ok 26 - plan of 4 50's
ok 27 - fail plan of 4 50's + 51
ok 28 - fail plan of 8 51's
ok
t/wildcard.t .......
1..8
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok
All tests successful.
Files=32, Tests=9538, 2 wallclock secs ( 0.36 usr 0.04 sys + 2.18 cusr 0.14 csys = 2.72 CPU)
Result: PASS
make[1]: Entering directory '/tmp/nix-build-perl-NetAddr-IP-4.079.drv-4/NetAddr-IP-4.079/Lite'
make[2]: Entering directory '/tmp/nix-build-perl-NetAddr-IP-4.079.drv-4/NetAddr-IP-4.079/Lite/Util'
Manifying 3 pod documents
make[2]: Leaving directory '/tmp/nix-build-perl-NetAddr-IP-4.079.drv-4/NetAddr-IP-4.079/Lite/Util'
PERL_DL_NONLAZY=1 "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, '../blib/lib', '../blib/arch')" t/*.t
/bin/sh: -c: line 0: syntax error near unexpected token `1,'
/bin/sh: -c: line 0: `PERL_DL_NONLAZY=1 "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, '../blib/lib', '../blib/arch')" t/*.t'
make[1]: *** [Makefile:687: test_dynamic] Error 1
make[1]: Leaving directory '/tmp/nix-build-perl-NetAddr-IP-4.079.drv-4/NetAddr-IP-4.079/Lite'
make: *** [Makefile:899: subdirs-test] Error 2
note: keeping build directory '/tmp/nix-build-perl-NetAddr-IP-4.079.drv-4'
builder for '/nix/store/whly3jav3z1dybcs65kxyfwg07as96vj-perl-NetAddr-IP-4.079.drv' failed with exit code 2
error: build of '/nix/store/whly3jav3z1dybcs65kxyfwg07as96vj-perl-NetAddr-IP-4.079.drv' failed
# grep
grep FULLPERL * -R
Lite/Util/Makefile:# MakeMaker ARGV: (q[PREFIX=/nix/store/gzbb4v0qg5vdfd3gpcjkyf4prkfzrhna-perl-NetAddr-IP-4.079], q[INSTALLDIRS=site], q[PERL=/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl], q[FULLPERL=/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl])
Lite/Util/Makefile:FULLPERL = "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl
Lite/Util/Makefile:FULLPERLRUN = $(FULLPERL)
Lite/Util/Makefile:FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
Lite/Util/Makefile: $(PERLRUN) Makefile.PL "PREFIX=/nix/store/gzbb4v0qg5vdfd3gpcjkyf4prkfzrhna-perl-NetAddr-IP-4.079" "INSTALLDIRS=site" "PERL=/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl" "FULLPERL=/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
Lite/Util/Makefile:FULLPERL = "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl
as can be seen, FULLPERL assignment is incomplete as the string escape opens but does not close...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment