Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/netcdf4-python.spec'], chrootPath='/var/lib/mock/f40-build-2673996-67670/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/netcdf4-python.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/netcdf4-python-1.6.5-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/netcdf4-python.spec'], chrootPath='/var/lib/mock/f40-build-2673996-67670/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/netcdf4-python.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LoNXxW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netcdf4-python-1.6.5rel + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netcdf4-python-1.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netcdf4-python-1.6.5rel + rm -rf /builddir/build/BUILD/netcdf4-python-1.6.5rel-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/netcdf4-python-1.6.5rel-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/netcdf4-python-norpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tPce5Q + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netcdf4-python-1.6.5rel + export USE_NCCONFIG=1 + USE_NCCONFIG=1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' Package hdf5 was not found in the pkg-config search path. Perhaps you should add the directory containing `hdf5.pc' to the PKG_CONFIG_PATH environment variable Package 'hdf5', required by 'virtual:world', not found reading from setup.cfg... using nc-config... checking /usr/include ... HDF5 library version: 1.12.1 headers found in /usr/include using netcdf library version b'4.9.2' using Cython to compile netCDF4.pyx... netcdf lib has group rename capability netcdf lib has nc_inq_path function netcdf lib has nc_inq_format_extended function netcdf lib has nc_open_mem function netcdf lib has nc_create_mem function netcdf lib has cdf-5 format capability netcdf lib does not have netcdf4 parallel functions netcdf lib does not have pnetcdf parallel functions netcdf lib has bit-grooming/quantization functions netcdf lib has zstandard compression functions netcdf lib has bzip2 compression functions netcdf lib has blosc compression functions netcdf lib has szip compression functions netcdf lib has nc_set_alignment function netcdf lib has nc_inq_filter_avail function netcdf lib has nc_rc_set function NETCDF_PLUGIN_DIR not set, no netcdf compression plugins installed running build running build_py creating build creating build/lib.linux-riscv64-cpython-312 creating build/lib.linux-riscv64-cpython-312/netCDF4 copying src/netCDF4/__init__.py -> build/lib.linux-riscv64-cpython-312/netCDF4 copying src/netCDF4/utils.py -> build/lib.linux-riscv64-cpython-312/netCDF4 running egg_info creating src/netCDF4.egg-info writing src/netCDF4.egg-info/PKG-INFO writing dependency_links to src/netCDF4.egg-info/dependency_links.txt writing entry points to src/netCDF4.egg-info/entry_points.txt writing requirements to src/netCDF4.egg-info/requires.txt writing top-level names to src/netCDF4.egg-info/top_level.txt writing manifest file 'src/netCDF4.egg-info/SOURCES.txt' reading manifest file 'src/netCDF4.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'examples/data' warning: no previously-included files found matching 'src/netCDF4/_netCDF4.c' adding license file 'LICENSE' writing manifest file 'src/netCDF4.egg-info/SOURCES.txt' copying src/netCDF4/_netCDF4.pyx -> build/lib.linux-riscv64-cpython-312/netCDF4 creating build/lib.linux-riscv64-cpython-312/netCDF4/plugins copying src/netCDF4/plugins/empty.txt -> build/lib.linux-riscv64-cpython-312/netCDF4/plugins running build_ext warning: include/netCDF4.pxi:371:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:381:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:385:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:394:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:401:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:408:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:415:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:419:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:428:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: include/netCDF4.pxi:445:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:1250:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:1262:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:1339:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:1451:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:1464:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:1635:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2228:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2251:12: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2256:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2258:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2287:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2300:24: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2321:24: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2349:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2363:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2387:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2404:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2423:20: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2446:20: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2537:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2599:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:2623:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3167:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3506:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3520:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3534:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3548:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3549:12: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:3559:13: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4218:24: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4235:24: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4248:24: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4261:24: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4326:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4689:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4695:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4701:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4707:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:4748:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: src/netCDF4/_netCDF4.pyx:6036:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling src/netCDF4/_netCDF4.pyx because it changed. [1/1] Cythonizing src/netCDF4/_netCDF4.pyx building 'netCDF4._netCDF4' extension creating build/temp.linux-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/src creating build/temp.linux-riscv64-cpython-312/src/netCDF4 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/usr/include -I/usr/include/hdf -I/usr/lib64/python3.12/site-packages/numpy/core/include -Iinclude -I/usr/include/python3.12 -c src/netCDF4/_netCDF4.c -o build/temp.linux-riscv64-cpython-312/src/netCDF4/_netCDF4.o src/netCDF4/_netCDF4.c: In function ‘__pyx_pf_7netCDF4_8_netCDF4_7_MemBuf_4__dealloc__’: src/netCDF4/_netCDF4.c:12728:20: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12728 | free(__pyx_v_self->memory); | ~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/python3.12/Python.h:23, from src/netCDF4/_netCDF4.c:59: /usr/include/stdlib.h:687:25: note: expected ‘void *’ but argument is of type ‘const void *’ 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ src/netCDF4/_netCDF4.c: In function ‘__pyx_f_7netCDF4_8_netCDF4__set_att’: src/netCDF4/_netCDF4.c:17901:106: warning: passing argument 5 of ‘nc_put_att_string’ from incompatible pointer type [-Wincompatible-pointer-types] 17901 | __pyx_v_ierr = nc_put_att_string(__pyx_v_grpid, __pyx_v_varid, __pyx_v_attname, __pyx_v_N, __pyx_v_string_ptrs); | ^~~~~~~~~~~~~~~~~~~ | | | char ** In file included from src/netCDF4/_netCDF4.c:1243: /usr/include/netcdf.h:1113:44: note: expected ‘const char **’ but argument is of type ‘char **’ 1113 | size_t len, const char **op); | ~~~~~~~~~~~~~^~ src/netCDF4/_netCDF4.c:18428:103: warning: passing argument 5 of ‘nc_put_att_string’ from incompatible pointer type [-Wincompatible-pointer-types] 18428 | __pyx_v_ierr = nc_put_att_string(__pyx_v_grpid, __pyx_v_varid, __pyx_v_attname, 1, (&__pyx_v_datstring)); | ~^~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/netcdf.h:1113:44: note: expected ‘const char **’ but argument is of type ‘char **’ 1113 | size_t len, const char **op); | ~~~~~~~~~~~~~^~ src/netCDF4/_netCDF4.c: In function ‘__pyx_f_7netCDF4_8_netCDF4__read_compound’: src/netCDF4/_netCDF4.c:84721:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 84721 | for (__pyx_v_nf = 0; __pyx_v_nf < __pyx_t_7; __pyx_v_nf++) { | ^ src/netCDF4/_netCDF4.c: In function ‘__pyx_f_7netCDF4_8_netCDF4__read_enum’: src/netCDF4/_netCDF4.c:88928:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 88928 | for (__pyx_v_nmem = 0; __pyx_v_nmem < __pyx_t_11; __pyx_v_nmem++) { | ^ src/netCDF4/_netCDF4.c: In function ‘__pyx_f_7netCDF4_8_netCDF4__get_types’: src/netCDF4/_netCDF4.c:18890:12: warning: ‘__pyx_v_typeids’ may be used uninitialized [-Wmaybe-uninitialized] 18890 | nc_type *__pyx_v_typeids; | ^~~~~~~~~~~~~~~ In function ‘__Pyx_PyInt_From_int’, inlined from ‘__pyx_pf_7netCDF4_8_netCDF4_7Dataset___init__.isra’ at src/netCDF4/_netCDF4.c:26234:15: src/netCDF4/_netCDF4.c:1137:40: warning: ‘__pyx_v_ierr’ may be used uninitialized [-Wmaybe-uninitialized] 1137 | #define PyInt_FromLong PyLong_FromLong | ^ src/netCDF4/_netCDF4.c:123666:20: note: in expansion of macro ‘PyInt_FromLong’ 123666 | return PyInt_FromLong((long) value); | ^~~~~~~~~~~~~~ src/netCDF4/_netCDF4.c: In function ‘__pyx_pf_7netCDF4_8_netCDF4_7Dataset___init__.isra’: src/netCDF4/_netCDF4.c:23771:7: note: ‘__pyx_v_ierr’ was declared here 23771 | int __pyx_v_ierr; | ^~~~~~~~~~~~ src/netCDF4/_netCDF4.c: In function ‘__pyx_pf_7netCDF4_8_netCDF4_8Variable___init__’: src/netCDF4/_netCDF4.c:49539:28: warning: ‘__pyx_v_dimids’ may be used uninitialized [-Wmaybe-uninitialized] 49539 | __pyx_v_ierr = nc_def_var(__pyx_v_self->_grpid, __pyx_v_varname, __pyx_v_xtype, __pyx_v_ndims, __pyx_v_dimids, (&__pyx_v_self->_varid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/netCDF4/_netCDF4.c:47754:8: note: ‘__pyx_v_dimids’ was declared here 47754 | int *__pyx_v_dimids; | ^~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer build/temp.linux-riscv64-cpython-312/src/netCDF4/_netCDF4.o -L/usr/lib64 -L/usr/lib64 -lnetcdf -o build/lib.linux-riscv64-cpython-312/netCDF4/_netCDF4.cpython-312-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tk1FBm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netcdf4-python-1.6.5rel + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64 --prefix /usr Package hdf5 was not found in the pkg-config search path. Perhaps you should add the directory containing `hdf5.pc' to the PKG_CONFIG_PATH environment variable Package 'hdf5', required by 'virtual:world', not found reading from setup.cfg... using nc-config... checking /usr/include ... HDF5 library version: 1.12.1 headers found in /usr/include using netcdf library version b'4.9.2' using Cython to compile netCDF4.pyx... netcdf lib has group rename capability netcdf lib has nc_inq_path function netcdf lib has nc_inq_format_extended function netcdf lib has nc_open_mem function netcdf lib has nc_create_mem function netcdf lib has cdf-5 format capability netcdf lib does not have netcdf4 parallel functions netcdf lib does not have pnetcdf parallel functions netcdf lib has bit-grooming/quantization functions netcdf lib has zstandard compression functions netcdf lib has bzip2 compression functions netcdf lib has blosc compression functions netcdf lib has szip compression functions netcdf lib has nc_set_alignment function netcdf lib has nc_inq_filter_avail function netcdf lib has nc_rc_set function NETCDF_PLUGIN_DIR not set, no netcdf compression plugins installed running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr creating /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages creating /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4 copying build/lib.linux-riscv64-cpython-312/netCDF4/__init__.py -> /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4 copying build/lib.linux-riscv64-cpython-312/netCDF4/utils.py -> /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4 copying build/lib.linux-riscv64-cpython-312/netCDF4/_netCDF4.pyx -> /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4 creating /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4/plugins copying build/lib.linux-riscv64-cpython-312/netCDF4/plugins/empty.txt -> /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4/plugins copying build/lib.linux-riscv64-cpython-312/netCDF4/_netCDF4.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4 byte-compiling /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4/utils.py to utils.cpython-312.pyc writing byte-compilation script '/tmp/tmpcb6bqgk5.py' /usr/bin/python3 /tmp/tmpcb6bqgk5.py removing /tmp/tmpcb6bqgk5.py running install_egg_info running egg_info writing src/netCDF4.egg-info/PKG-INFO writing dependency_links to src/netCDF4.egg-info/dependency_links.txt writing entry points to src/netCDF4.egg-info/entry_points.txt writing requirements to src/netCDF4.egg-info/requires.txt writing top-level names to src/netCDF4.egg-info/top_level.txt reading manifest file 'src/netCDF4.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'examples/data' warning: no previously-included files found matching 'src/netCDF4/_netCDF4.c' adding license file 'LICENSE' writing manifest file 'src/netCDF4.egg-info/SOURCES.txt' Copying src/netCDF4.egg-info to /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12/site-packages/netCDF4-1.6.5-py3.12.egg-info running install_scripts Installing nc3tonc4 script to /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/bin Installing nc4tonc3 script to /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/bin Installing ncinfo script to /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/bin + rm -rfv /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 1.6.5-3.fc40 --unique-debug-suffix -1.6.5-3.fc40.riscv64 --unique-debug-src-base netcdf4-python-1.6.5-3.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netcdf4-python-1.6.5rel find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/netcdf4-python-1.6.5-3.fc40.riscv64 cpio: src/netCDF4/_netCDF4.c: Cannot stat: No such file or directory 0 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 Bytecompiling .py files below /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/netcdf4-python-1.6.5-3.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HJ96FJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netcdf4-python-1.6.5rel + cd test + export NO_NET=1 + NO_NET=1 ++ echo ../build/lib.linux-riscv64-cpython-312 + PYTHONPATH=../build/lib.linux-riscv64-cpython-312 + /usr/bin/python3 run_all.py Traceback (most recent call last): File "/builddir/build/BUILD/netcdf4-python-1.6.5rel/test/run_all.py", line 2, in from netCDF4 import getlibversion,__hdf5libversion__,__netcdf4libversion__,__version__, Dataset File "/builddir/build/BUILD/netcdf4-python-1.6.5rel/build/lib.linux-riscv64-cpython-312/netCDF4/__init__.py", line 3, in from ._netCDF4 import * File "src/netCDF4/_netCDF4.pyx", line 1263, in init netCDF4._netCDF4 ModuleNotFoundError: No module named 'certifi' error: Bad exit status from /var/tmp/rpm-tmp.HJ96FJ (%check) Bad exit status from /var/tmp/rpm-tmp.HJ96FJ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/netcdf4-python.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/netcdf4-python.spec'