Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Can not install PDL::IO::HDF5 in fedora31

by toothedsword (Sexton)
on Dec 18, 2019 at 07:49 UTC ( [id://11110321]=perlquestion: print w/replies, xml ) Need Help??

toothedsword has asked for the wisdom of the Perl Monks concerning the following question:

Hi Dear,

I want to install PDL::IO::HDF5 in fedora31. But it failed, can not make test successfully. The error information is:

Test Summary Report ------------------- t/attribPDL.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 13 tests but ran 1. t/group.t (Wstat: 2816 Tests: 17 Failed: 11) Failed tests: 2-4, 6-7, 11-15, 17 Non-zero exit status: 11 t/reference.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 t/total.t (Wstat: 5632 Tests: 33 Failed: 22) Failed tests: 2-4, 6-10, 12-14, 17-18, 20-22, 24-28, 30 Non-zero exit status: 22 t/vlenString.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 1. t/xData.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 t/ztotal_index.t (Wstat: 1536 Tests: 7 Failed: 6) Failed tests: 2-7 Non-zero exit status: 6 Files=9, Tests=68, 1 wallclock secs ( 0.05 usr 0.01 sys + 1.37 cusr + 0.14 csys = 1.57 CPU) Result: FAIL Failed 7/9 test programs. 44/68 subtests failed. make: *** [Makefile:1088: test_dynamic] Error 6

toothedsword

2019-12-26 Athanasius added code tags.

Replies are listed 'Best First'.
Re: Can not install PDL::IO::HDF5 in fedora31
by syphilis (Archbishop) on Dec 18, 2019 at 08:15 UTC
    Hi,

    Your "Test Summary Report" doesn't contain any information that tells us why the failures are occurring.
    Better if you could cd to the build directory and give us the output of:
    perl -Mblib t/attribPDL.t
    That might be sufficient to give us a decent clue.

    Cheers,
    Rob
      1..13 HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5Ddeprec.c line 257 in H5Dextend(): unable to extend dataset major: Dataset minor: Unable to initialize object #001: ../../src/H5Dint.c line 2753 in H5D__set_extent(): dataset has contiguous storage major: Invalid arguments to routine minor: Out of range Error extending dataset in PDL::IO::HDF5::Dataset:set at t/attribPDL.t line 33. HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5T.c line 1682 in H5Tcopy(): not a datatype major: Invalid arguments to routine minor: Inappropriate type HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5T.c line 2176 in H5Tset_size(): not a datatype major: Invalid arguments to routine minor: Inappropriate type HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5Adeprec.c line 135 in H5Acreate1(): not a type major: Invalid arguments to routine minor: Inappropriate type Error in PDL::IO::HDF5::Dataset attrSet; Can't create attribute 'UNITS' at t/attribPDL.t line 36. HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5T.c line 1754 in H5Tclose(): not a datatype major: Invalid arguments to routine minor: Inappropriate type HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5T.c line 1682 in H5Tcopy(): not a datatype major: Invalid arguments to routine minor: Inappropriate type HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5Adeprec.c line 135 in H5Acreate1(): not a type major: Invalid arguments to routine minor: Inappropriate type Error in PDL::IO::HDF5::Dataset attrSet; Can't create attribute 'NUM_COL' at t/attribPDL.t line 37. HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5T.c line 1754 in H5Tclose(): not a datatype major: Invalid arguments to routine minor: Inappropriate type HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5T.c line 1793 in H5Tequal(): not a datatype major: Invalid arguments to routine minor: Inappropriate type not ok 1 # Failed test at t/attribPDL.t line 67. HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: ../../src/H5Adeprec.c line 202 in H5Aopen_name(): can't open attribute: 'UNITS' major: Attribute minor: Can't open object #001: ../../src/H5Aint.c line 557 in H5A__open_by_name(): unable to load attribute info from object header major: Attribute minor: Unable to initialize object #002: ../../src/H5Oattribute.c line 515 in H5O__attr_open_by_name(): can't locate attribute: 'UNITS' major: Attribute minor: Object not found Error Calling PDL::IO::HDF5::Dataset::attrget: Can't open HDF5 Attribute name 'UNITS'. at t/attribPDL.t line 70. Can't call method "index" on an undefined value at /root/.cpanm/work/1576924508.17628/PDL-IO-HDF5-0.73/blib/lib/PDL/IO/HDF5/Dataset.pm line 1512, <DATA> line 207. # Looks like your test exited with 255 just after 1.
        I have no idea what the problem is.
        I suggest opening a new issue about this at https://github.com/PDLPorters/pdl-io-hdf5/issues

        If that fails to draw a helpful reponse, then raise the issue at https://github.com/PDLPorters/pdl/issues and see how that goes.
        (I don't know if anyone is actively monitoring the pdl-io-hdf5 issues, but I do know that the pdl issues are being monitored.)

        Provide the same information as you gave us, including the output of perl -Mblib t/attribPDL.t

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11110321]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found