=> 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 py313-pillow_heif-0.20.0 * Building wheel... running bdist_wheel running build running build_py creating build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/AvifImagePlugin.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/HeifImagePlugin.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/__init__.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/_deffered_error.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/_lib_info.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/_version.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/as_plugin.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/constants.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/heif.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/misc.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif copying pillow_heif/options.py -> build/lib.netbsd-10.0-amd64-cpython-313/pillow_heif running build_ext Looking for `libheif` using pkg-config. Looking for `heif` using pkg-config. Checking for include file 'heif.h' in '/usr/include' Checking for include file 'heif.h' in '/usr/include/libheif' Checking for include file 'heif.h' in '/usr/pkg/include/python3.13' Checking for include file 'heif.h' in '/usr/pkg/include/python3.13/libheif' Checking for include file 'heif.h' in '/usr/pkg/include' Checking for include file 'heif.h' in '/usr/pkg/include/libheif' Found 'heif.h' in '/usr/pkg/include/libheif' building '_pillow_heif' extension creating build/temp.netbsd-10.0-amd64-cpython-313/pillow_heif gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -I/usr/include -I/usr/include/readline -I/usr/pkg/include -O2 -I/usr/include -I/usr/include/readline -I/usr/pkg/include -O2 -I/usr/include -I/usr/include/readline -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include/python3.13 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.13 -I/usr/pkg/include -fPIC -I/usr/include -I/usr/pkg/include/python3.13 -I/usr/pkg/include -I/usr/pkg/include/python3.13 -c pillow_heif/_pillow_heif.c -o build/temp.netbsd-10.0-amd64-cpython-313/pillow_heif/_pillow_heif.o -Ofast -Werror pillow_heif/_pillow_heif.c: In function '_CtxWriteImage_encode': pillow_heif/_pillow_heif.c:550:59: error: assignment of member 'color_primaries' in read-only object 550 | options->output_nclx_profile->color_primaries = color_primaries; | ^ pillow_heif/_pillow_heif.c:552:68: error: assignment of member 'transfer_characteristics' in read-only object 552 | options->output_nclx_profile->transfer_characteristics = transfer_characteristics; | ^ pillow_heif/_pillow_heif.c:554:63: error: assignment of member 'matrix_coefficients' in read-only object 554 | options->output_nclx_profile->matrix_coefficients = matrix_coefficients; | ^ pillow_heif/_pillow_heif.c:556:59: error: assignment of member 'full_range_flag' in read-only object 556 | options->output_nclx_profile->full_range_flag = full_range_flag; | ^ pillow_heif/_pillow_heif.c:561:45: error: passing argument 1 of 'heif_nclx_color_profile_free' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 561 | heif_nclx_color_profile_free(options->output_nclx_profile); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from pillow_heif/_pillow_heif.c:4: /pbulk/work/graphics/py-pillow_heif/work/.buildlink/include/libheif/heif.h:1627:67: note: expected 'struct heif_color_profile_nclx *' but argument is of type 'const struct heif_color_profile_nclx *' 1627 | void heif_nclx_color_profile_free(struct heif_color_profile_nclx* nclx_profile); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ cc1: all warnings being treated as errors error: command '/pbulk/work/graphics/py-pillow_heif/work/.cwrapper/bin/gcc' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/graphics/py-pillow_heif *** Error code 1 Stop. make: stopped in /usr/pkgsrc/graphics/py-pillow_heif