=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py310-netCDF4-1.5.8nb3 (cd /tmp/math/py-netCDF4/work/netCDF4-1.5.8/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= NPY_BLAS_LIBS=-lblas NPY_LAPACK_LIBS=-llapack\ -lblas NPY_CBLAS_LIBS=-lcblas\ -lblas PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5\ -I/usr/pkg/include/python3.10 CPPFLAGS=-I/usr/pkg/include/netlib\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5\ -I/usr/pkg/include/python3.10 CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5\ -I/usr/pkg/include/python3.10 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/math/py-netCDF4/work/.cwrapper/bin:/tmp/math/py-netCDF4/work/.buildlink/bin:/tmp/math/py-netCDF4/work/.gcc/bin:/tmp/math/py-netCDF4/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/math/py-netCDF4/work/.home CWRAPPERS_CONFIG_DIR=/tmp/math/py-netCDF4/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/math/py-netCDF4/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/math/py-netCDF4/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/math/py-netCDF4/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/math/py-netCDF4/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/math/py-netCDF4/work/.buildlink/lib/pkgconfig:/tmp/math/py-netCDF4/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/math/py-netCDF4/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/math/py-netCDF4/work/.cwrapper/config /usr/pkg/bin/python3.10 setup.py build -j4) 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 /usr/pkg/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. reading from setup.cfg... using nc-config... checking /usr/pkg/include ... HDF5 library version: 1.10.9 headers found in /usr/pkg/include using netcdf library version b'4.6.1' 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 does not have 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 running build running build_py creating build creating build/lib.netbsd-9.3-amd64-cpython-310 creating build/lib.netbsd-9.3-amd64-cpython-310/netCDF4 copying src/netCDF4/__init__.py -> build/lib.netbsd-9.3-amd64-cpython-310/netCDF4 copying src/netCDF4/utils.py -> build/lib.netbsd-9.3-amd64-cpython-310/netCDF4 running build_ext cythoning src/netCDF4/_netCDF4.pyx to src/netCDF4/_netCDF4.c /usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/math/py-netCDF4/work/netCDF4-1.5.8/src/netCDF4/_netCDF4.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'netCDF4._netCDF4' extension creating build/temp.netbsd-9.3-amd64-cpython-310 creating build/temp.netbsd-9.3-amd64-cpython-310/src creating build/temp.netbsd-9.3-amd64-cpython-310/src/netCDF4 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.10 -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.10 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/lib/python3.10/site-packages/numpy/core/include -Iinclude -I/usr/pkg/include/python3.10 -c src/netCDF4/_netCDF4.c -o build/temp.netbsd-9.3-amd64-cpython-310/src/netCDF4/_netCDF4.o src/netCDF4/_netCDF4.c: In function '__pyx_pf_7netCDF4_8_netCDF4_7_MemBuf_4__dealloc__': src/netCDF4/_netCDF4.c:4746:8: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free(__pyx_v_self->memory); ^~~~~~~~~~~~ In file included from /tmp/math/py-netCDF4/work/.buildlink/include/python3.10/Python.h:34:0, from src/netCDF4/_netCDF4.c:6: /usr/include/stdlib.h:112:7: note: expected 'void *' but argument is of type 'const void *' void free(void *); ^~~~ src/netCDF4/_netCDF4.c: In function '__pyx_f_7netCDF4_8_netCDF4__set_att': src/netCDF4/_netCDF4.c:8802:97: warning: passing argument 5 of 'nc_put_att_string' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_v_ierr = nc_put_att_string(__pyx_t_6, __pyx_v_varid, __pyx_v_attname, __pyx_t_10, __pyx_v_string_ptrs); ^~~~~~~~~~~~~~~~~~~ In file included from src/netCDF4/_netCDF4.c:749:0: /tmp/math/py-netCDF4/work/.buildlink/include/netcdf.h:1011:1: note: expected 'const char **' but argument is of type 'char **' nc_put_att_string(int ncid, int varid, const char *name, ^~~~~~~~~~~~~~~~~ src/netCDF4/_netCDF4.c:9243:93: warning: passing argument 5 of 'nc_put_att_string' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_v_ierr = nc_put_att_string(__pyx_t_14, __pyx_v_varid, __pyx_v_attname, 1, (&__pyx_v_datstring)); ^ In file included from src/netCDF4/_netCDF4.c:749:0: /tmp/math/py-netCDF4/work/.buildlink/include/netcdf.h:1011:1: note: expected 'const char **' but argument is of type 'char **' nc_put_att_string(int ncid, int varid, const char *name, ^~~~~~~~~~~~~~~~~ src/netCDF4/_netCDF4.c: In function '__pyx_f_7netCDF4_8_netCDF4__read_compound': src/netCDF4/_netCDF4.c:63197:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (__pyx_v_nf = 0; __pyx_v_nf < __pyx_t_4; __pyx_v_nf++) { ^ src/netCDF4/_netCDF4.c: In function '__pyx_f_7netCDF4_8_netCDF4__read_enum': src/netCDF4/_netCDF4.c:67041:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (__pyx_v_nmem = 0; __pyx_v_nmem < __pyx_t_11; __pyx_v_nmem++) { ^ src/netCDF4/_netCDF4.c: In function '__pyx_pymod_exec__netCDF4': src/netCDF4/_netCDF4.c:86875:3: warning: return makes integer from pointer without a cast [-Wint-conversion] import_array(); ^~~~~~~~~~~~ gcc -shared -L. -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.10 -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.10 build/temp.netbsd-9.3-amd64-cpython-310/src/netCDF4/_netCDF4.o -L/usr/pkg/lib -L/usr/pkg/lib -Wl,--enable-new-dtags,-R/usr/pkg/lib -lnetcdf -o build/lib.netbsd-9.3-amd64-cpython-310/netCDF4/_netCDF4.so ld: cannot find -lnetcdf error: command '/tmp/math/py-netCDF4/work/.cwrapper/bin/gcc' failed with exit code 1 *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-netCDF4 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-netCDF4