Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with PDL 2.066 #5

Closed
sebastic opened this issue Jan 11, 2022 · 1 comment
Closed

Fails to build with PDL 2.066 #5

sebastic opened this issue Jan 11, 2022 · 1 comment

Comments

@sebastic
Copy link
Contributor

sebastic commented Jan 11, 2022

As reported in Debian Bug #1003511, PDL-NetCDF fails to build with PDL 2.066:

make[2]: Entering directory '/build/libpdl-netcdf-perl-4.22'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- NetCDF.bs blib/arch/auto/PDL/NetCDF/NetCDF.bs 644
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/01-Netcdf3.t ..
ok 1 - use PDL;
ok 2 - use PDL::NetCDF;
ok 3 - use PDL::Char;
ok 4 - PDL::NetCDF should complain when opening nonexistent file when O_RDONLY is in effect
ok 5 - PDL::NetCDF must not create new file when O_RDONLY is in effect
ok 6 - setrec/recput/recget OK
All 6 subtests passed
t/02-Netcdf4.t ..
ok 1 - isNetcdf4 function defined
ok 2 - classic format is default
ok 3 - classic format is still default
ok 4 - An object of class 'PDL::NetCDF' isa 'PDL::NetCDF'
ok 5 - foo.nc4 is netcdf4
ok 6
$VAR1 = {
          'textvar' => 1,
          'var1' => 0,
          'tvar' => 7,
          'var2' => 6,
          'GLOBAL' => -1,
          'svar' => 8,
          'zeroDim' => 2,
          'varchar1' => 4,
          'cpi' => 5,
          'varchar' => 3
        };
ok 7 - uncompressed variable
ok 8 - unshuffled variable
ok 9 - got old format
ok 10 - switching default-format
ok 11 - An object of class 'PDL::NetCDF' isa 'PDL::NetCDF'
ok 12 - t/bar.nc4 is netcdf4
ok 13 - t/bar.nc4 is netcdf4
ok 14 - put with deflate
ok 15 - deflateShuffle for var1
ok 16 - putslice with deflate
ok 17 - sync on nc4
ok 18 - deflateShuffle for var2
ok 19 - get deflated variable
ok 20 - write/read equal
ok 21 - put with deflate and _FillValue
ok 22 - retrieved var3
ok 23 - default fill-value detected in nc
ok 24 - putslice with deflate and _FillValue
ok 25 - deflateShuffle for var4
ok 26 - put with deflate and no _FillValue
ok 27 - default fill-value detected in nc
1..27
ok

Test Summary Report
-------------------
t/01-Netcdf3.t (Wstat: 11 Tests: 6 Failed: 0)
  Non-zero wait status: 11
  Parse errors: No plan found in TAP output
Files=2, Tests=33,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.35 cusr  0.07 csys =  0.45 CPU)
Result: FAIL
Failed 1/2 test programs. 0/33 subtests failed.
make[2]: *** [Makefile:1033: test_dynamic] Error 255
make[2]: Leaving directory '/build/libpdl-netcdf-perl-4.22'

Full buildlog

CC: @mohawk2

@mohawk2
Copy link
Member

mohawk2 commented Jan 13, 2022

Thanks for the report! I've just released 4.23 which now seems to work. I'm closing this, but please reopen if problems remain.

@mohawk2 mohawk2 closed this as completed Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants