=> 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 py311-yara-4.5.1 * Building wheel... /usr/pkg/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_ext building 'yara' extension creating build/temp.netbsd-10.0-i386-cpython-311 gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_NO_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/pkg/include/python3.11 -c yara-python.c -o build/temp.netbsd-10.0-i386-cpython-311/yara-python.o -std=c99 yara-python.c: In function 'process_compile_externals': yara-python.c:1525:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1525 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1554:19: note: in expansion of macro 'PY_STRING_TO_C' 1554 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function 'process_match_externals': yara-python.c:1595:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1595 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1624:19: note: in expansion of macro 'PY_STRING_TO_C' 1624 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function 'Rules_match': yara-python.c:2189:48: warning: comparison between pointer and integer 2189 | if (callback_data.allow_duplicate_metadata == NULL) | ^~ yara-python.c: In function 'yara_compile': yara-python.c:2842:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2842 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2843:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2843 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2877:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2877 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2878:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2878 | ns = PY_STRING_TO_C(key); | ^ creating build/lib.netbsd-10.0-i386-cpython-311 gcc -shared -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 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 build/temp.netbsd-10.0-i386-cpython-311/yara-python.o -L/usr/pkg/lib -lyara -o build/lib.netbsd-10.0-i386-cpython-311/yara.so installing to build/bdist.netbsd-10.0-i386/wheel running install running install_lib creating build/bdist.netbsd-10.0-i386/wheel copying build/lib.netbsd-10.0-i386-cpython-311/yara.so -> build/bdist.netbsd-10.0-i386/wheel/. running install_egg_info running egg_info creating yara_python.egg-info writing yara_python.egg-info/PKG-INFO writing dependency_links to yara_python.egg-info/dependency_links.txt writing top-level names to yara_python.egg-info/top_level.txt writing manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'yara/libyara/modules/module_list' warning: no files found matching '*.c' under directory 'yara' warning: no files found matching '*.h' under directory 'yara' adding license file 'LICENSE' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to build/bdist.netbsd-10.0-i386/wheel/./yara_python-4.5.1-py3.11.egg-info running install_scripts creating build/bdist.netbsd-10.0-i386/wheel/yara_python-4.5.1.dist-info/WHEEL creating '/pbulk/work/security/py-yara/work/yara-python-4.5.1/dist/.tmp-ses1ese_/yara_python-4.5.1-cp311-cp311-netbsd_10_0_i386.whl' and adding 'build/bdist.netbsd-10.0-i386/wheel' to it adding 'yara.so' adding 'yara_python-4.5.1.dist-info/licenses/LICENSE' adding 'yara_python-4.5.1.dist-info/METADATA' adding 'yara_python-4.5.1.dist-info/WHEEL' adding 'yara_python-4.5.1.dist-info/top_level.txt' adding 'yara_python-4.5.1.dist-info/RECORD' removing build/bdist.netbsd-10.0-i386/wheel Successfully built yara_python-4.5.1-cp311-cp311-netbsd_10_0_i386.whl