Description of problem: BOUT++ fails to build on s390x due to netCDF4 failure Version-Release number of selected component (if applicable): DEBUG util.py:446: python3-netcdf4 s390x 1.5.6-4.fc35 build 465 k How reproducible: So far each build failed Steps to Reproduce: 1. build bout++ on s390x Actual results: ======= FAILURES ======== ----- test-io ----- Making I/O test Reading benchmark data Traceback (most recent call last): File "/builddir/build/BUILD/BOUT++-v4.4.0/build_mpich/tests/integrated/test-io/./runtest", line 42, in <module> bmk[v] = collect(v, path="data", prefix="benchmark.out", info=False) File "/usr/lib/python3.10/site-packages/boutdata/collect.py", line 221, in collect f = getDataFile(0) File "/usr/lib/python3.10/site-packages/boutdata/collect.py", line 199, in getDataFile return DataFile(file_list[i]) File "/usr/lib/python3.10/site-packages/boututils/datafile.py", line 102, in __init__ self.impl = DataFile_netCDF( File "/usr/lib/python3.10/site-packages/boututils/datafile.py", line 372, in __init__ self.open(filename, write=write, create=create, format=format) File "/usr/lib/python3.10/site-packages/boututils/datafile.py", line 346, in open self.handle = Dataset(filename, "r") File "src/netCDF4/_netCDF4.pyx", line 2353, in netCDF4._netCDF4.Dataset.__init__ File "src/netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._get_vars AttributeError: 'NoneType' object has no attribute 'dimensions' Expected results: No error
Is there any difference with 1.5.7?
I wouldn't know how to install 1.5.7 at build time - I think that would require bundling python3-netcdf4 to bout++? I don't have the time to debug this, at least without access to a s390x instance.
I just built it for rawhide, so a scratch build there would do it. I'm not particularly hopeful, but just curious. There is a s390x test failure with netcdf4-python that still needs to be resolved. Not sure it's related though - it's certainly not the same error message.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
The problematic files fails also with `ncdump -h` -- thus it is probably a bug in the netcdf library, and the python wrapper only does not catch the error properly.
This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.