running install /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-aarch64-cpython-310 creating build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageTk.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/FontFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/TarIO.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/TiffTags.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/Image.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/_util.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/FitsImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PyAccess.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageWin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageOps.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/QoiImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageFont.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageCms.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageStat.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageColor.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImagePath.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PSDraw.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/_deprecate.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageChops.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PdfParser.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/__main__.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/_version.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ExifTags.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageQt.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageShow.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageMath.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/__init__.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageMode.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/_binary.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/features.py -> build/lib.linux-aarch64-cpython-310/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-aarch64-cpython-310/PIL running egg_info writing src/Pillow.egg-info/PKG-INFO writing dependency_links to src/Pillow.egg-info/dependency_links.txt writing requirements to src/Pillow.egg-info/requires.txt writing top-level names to src/Pillow.egg-info/top_level.txt reading manifest file 'src/Pillow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' warning: no files found matching '*.h' warning: no files found matching '*.sh' warning: no files found matching '*.txt' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.clang-format' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching 'renovate.json' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution no previously-included directories found matching '.ci' adding license file 'LICENSE' writing manifest file 'src/Pillow.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'PIL._imaging' extension creating build/temp.linux-aarch64-cpython-310 creating build/temp.linux-aarch64-cpython-310/src creating build/temp.linux-aarch64-cpython-310/src/libImaging aarch64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0=Pillow-9.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -DPILLOW_VERSION=\"9.5.0\" -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libpng16 -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/usr/local/include -I/usr/include -I/usr/include/python3.10 -c src/_imaging.c -o build/temp.linux-aarch64-cpython-310/src/_imaging.o building 'PIL._imagingft' extension aarch64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0=Pillow-9.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libpng16 -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/usr/local/include -I/usr/include -I/usr/include/python3.10 -c src/_imagingft.c -o build/temp.linux-aarch64-cpython-310/src/_imagingft.o building 'PIL._webp' extension aarch64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0=Pillow-9.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -fPIC -DHAVE_WEBPMUX -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libpng16 -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/usr/local/include -I/usr/include -I/usr/include/python3.10 -c src/_webp.c -o build/temp.linux-aarch64-cpython-310/src/_webp.o cc1: note: someone does not honour COPTS correctly, passed 4 times building 'PIL._imagingtk' extension In file included from /usr/include/bits/local_lim.h:38, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | creating build/temp.linux-aarch64-cpython-310/src/Tk aarch64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0=Pillow-9.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libpng16 -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/usr/local/include -I/usr/include -I/usr/include/python3.10 -c src/Tk/tkImaging.c -o build/temp.linux-aarch64-cpython-310/src/Tk/tkImaging.o In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined 64 | #define PTHREAD_KEYS_MAX 1024 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:66: note: this is the location of the previous definition 66 | #define PTHREAD_KEYS_MAX 128 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined 69 | #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:68: note: this is the location of the previous definition 68 | #define PTHREAD_DESTRUCTOR_ITERATIONS 4 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined 81 | #define PTHREAD_STACK_MIN 16384 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:67: note: this is the location of the previous definition 67 | #define PTHREAD_STACK_MIN 2048 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined 84 | #define DELAYTIMER_MAX 2147483647 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:71: note: this is the location of the previous definition 71 | #define DELAYTIMER_MAX 0x7fffffff | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined 93 | #define HOST_NAME_MAX 64 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:56: note: this is the location of the previous definition 56 | #define HOST_NAME_MAX 255 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined 99 | #define SEM_VALUE_MAX (2147483647) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:69: note: this is the location of the previous definition 69 | #define SEM_VALUE_MAX 0x7fffffff | In file included from /usr/include/limits.h:187, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined 88 | #define RE_DUP_MAX (0x7fff) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:85: note: this is the location of the previous definition 85 | #define RE_DUP_MAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:62: warning: "_XOPEN_IOV_MAX" redefined 62 | #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:162: note: this is the location of the previous definition 162 | #define _XOPEN_IOV_MAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:66: warning: "IOV_MAX" redefined 66 | # define IOV_MAX __IOV_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:50: note: this is the location of the previous definition 50 | #define IOV_MAX 1024 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:73: warning: "NL_ARGMAX" redefined 73 | #define NL_ARGMAX _POSIX_ARG_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:87: note: this is the location of the previous definition 87 | #define NL_ARGMAX 9 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:76: warning: "NL_LANGMAX" redefined 76 | #define NL_LANGMAX _POSIX2_LINE_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:100: note: this is the location of the previous definition 100 | #define NL_LANGMAX 32 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:79: warning: "NL_MSGMAX" redefined 79 | #define NL_MSGMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:88: note: this is the location of the previous definition 88 | #define NL_MSGMAX 32767 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:84: warning: "NL_NMAX" redefined 84 | # define NL_NMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:107: note: this is the location of the previous definition 107 | #define NL_NMAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:88: warning: "NL_SETMAX" redefined 88 | #define NL_SETMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:89: note: this is the location of the previous definition 89 | #define NL_SETMAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/xopen_lim.h:91: warning: "NL_TEXTMAX" redefined 91 | #define NL_TEXTMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:90: note: this is the location of the previous definition 90 | #define NL_TEXTMAX 2048 | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:52:24: error: conflicting types for 'va_list'; have 'int' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:334:27: note: previous declaration of 'va_list' with type 'va_list' 334 | typedef __builtin_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/stdio.h:342:22: error: unknown type name '__gnuc_va_list' 342 | __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:347:54: error: unknown type name '__gnuc_va_list' 347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:350:22: error: unknown type name '__gnuc_va_list' 350 | __gnuc_va_list __arg) __THROWNL; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:359:56: error: unknown type name '__gnuc_va_list' 359 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:367:23: error: unknown type name '__gnuc_va_list' 367 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:380:22: error: unknown type name '__gnuc_va_list' 380 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:433:21: error: unknown type name '__gnuc_va_list' 433 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:440:53: error: unknown type name '__gnuc_va_list' 440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:445:54: error: unknown type name '__gnuc_va_list' 445 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/stdio.h:453:58: error: unknown type name '__gnuc_va_list' 453 | const char *__restrict __format, __gnuc_va_list __arg), | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:457:33: error: unknown type name '__gnuc_va_list' 457 | __gnuc_va_list __arg), __isoc99_vscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:462:29: error: unknown type name '__gnuc_va_list' 462 | __gnuc_va_list __arg), __isoc99_vsscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/stdio.h:831:29: error: unknown type name '__gnuc_va_list' 831 | __gnuc_va_list __args) | ^~~~~~~~~~~~~~ cc1: note: someone does not honour COPTS correctly, passed 4 times In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/bits/stdio2.h:30:28: error: unknown type name '__gnuc_va_list' 30 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdio2.h:47:18: error: unknown type name '__gnuc_va_list' 47 | __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/bits/stdio2.h:60:29: error: unknown type name '__gnuc_va_list' 60 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/bits/local_lim.h:38, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined 64 | #define PTHREAD_KEYS_MAX 1024 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:66: note: this is the location of the previous definition 66 | #define PTHREAD_KEYS_MAX 128 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined 69 | #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:68: note: this is the location of the previous definition 68 | #define PTHREAD_DESTRUCTOR_ITERATIONS 4 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined 81 | #define PTHREAD_STACK_MIN 16384 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:67: note: this is the location of the previous definition 67 | #define PTHREAD_STACK_MIN 2048 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined 84 | #define DELAYTIMER_MAX 2147483647 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:71: note: this is the location of the previous definition 71 | #define DELAYTIMER_MAX 0x7fffffff | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined 93 | #define HOST_NAME_MAX 64 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:56: note: this is the location of the previous definition 56 | #define HOST_NAME_MAX 255 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined 99 | #define SEM_VALUE_MAX (2147483647) | In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdio2.h:78:49: error: unknown type name '__gnuc_va_list' 78 | const char *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:69: note: this is the location of the previous definition 69 | #define SEM_VALUE_MAX 0x7fffffff | In file included from /usr/include/limits.h:187, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined 88 | #define RE_DUP_MAX (0x7fff) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:85: note: this is the location of the previous definition 85 | #define RE_DUP_MAX 255 | In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:39:26: error: redefinition of 'fgets' 39 | _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) | ^~~~~ In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:62: warning: "_XOPEN_IOV_MAX" redefined 62 | #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:162: note: this is the location of the previous definition 162 | #define _XOPEN_IOV_MAX 16 | In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/bits/stdio2.h:255:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' {aka 'char *(char * restrict, int, struct _IO_FILE * restrict)'} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:66: warning: "IOV_MAX" redefined 66 | # define IOV_MAX __IOV_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:50: note: this is the location of the previous definition 50 | #define IOV_MAX 1024 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:73: warning: "NL_ARGMAX" redefined 73 | #define NL_ARGMAX _POSIX_ARG_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:87: note: this is the location of the previous definition 87 | #define NL_ARGMAX 9 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:76: warning: "NL_LANGMAX" redefined 76 | #define NL_LANGMAX _POSIX2_LINE_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:100: note: this is the location of the previous definition 100 | #define NL_LANGMAX 32 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:79: warning: "NL_MSGMAX" redefined 79 | #define NL_MSGMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:88: note: this is the location of the previous definition 88 | #define NL_MSGMAX 32767 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:84: warning: "NL_NMAX" redefined 84 | # define NL_NMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:107: note: this is the location of the previous definition 107 | #define NL_NMAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:88: warning: "NL_SETMAX" redefined 88 | #define NL_SETMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:89: note: this is the location of the previous definition 89 | #define NL_SETMAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/xopen_lim.h:91: warning: "NL_TEXTMAX" redefined 91 | #define NL_TEXTMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:90: note: this is the location of the previous definition 90 | #define NL_TEXTMAX 2048 | In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:48:27: error: redefinition of 'fread' 48 | _FORTIFY_FN(fread) size_t fread(void *__d, size_t __n, size_t __m, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /usr/include/bits/stdio2.h:284:1: note: previous definition of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, struct _IO_FILE * restrict)'} 284 | fread (void *__restrict __ptr, size_t __size, size_t __n, | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:13: error: 'vsnprintf' undeclared here (not in a function); did you mean 'snprintf'? 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:77:16: error: called object '__orig_vsnprintf' is not a function or function pointer 77 | return __orig_vsnprintf(__s, __n, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:13: error: 'vsprintf' undeclared here (not in a function); did you mean 'vsnprintf'? 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:86:23: error: called object '__orig_vsnprintf' is not a function or function pointer 86 | __r = __orig_vsnprintf(__s, __b, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:90:23: error: called object '__orig_vsprintf' is not a function or function pointer 90 | __r = __orig_vsprintf(__s, __f, __v); | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:52:24: error: conflicting types for 'va_list'; have 'int' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:334:27: note: previous declaration of 'va_list' with type 'va_list' 334 | typedef __builtin_va_list va_list; | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:95:27: error: redefinition of 'snprintf' 95 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, ...) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdio2.h:64:8: note: previous definition of 'snprintf' with type 'int(char *, size_t, const char *, ...)' {aka 'int(char *, long unsigned int, const char *, ...)'} 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:104:26: error: redefinition of 'sprintf' 104 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdio2.h:34:8: note: previous definition of 'sprintf' with type 'int(char *, const char *, ...)' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/stdio.h:342:22: error: unknown type name '__gnuc_va_list' 342 | __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:33:25: error: redefinition of 'bcopy' 33 | _FORTIFY_FN(bcopy) void bcopy(const void *__s, void *__d, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/strings_fortified.h:23:8: note: previous definition of 'bcopy' with type 'void(const void *, void *, size_t)' {aka 'void(const void *, void *, long unsigned int)'} 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:43:25: error: redefinition of 'bzero' 43 | _FORTIFY_FN(bzero) void bzero(void *__s, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/strings_fortified.h:29:8: note: previous definition of 'bzero' with type 'void(void *, size_t)' {aka 'void(void *, long unsigned int)'} 29 | __NTH (bzero (void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/stdio.h:347:54: error: unknown type name '__gnuc_va_list' 347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:39:27: error: redefinition of 'memcpy' 39 | _FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:31:8: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/stdio.h:350:22: error: unknown type name '__gnuc_va_list' 350 | __gnuc_va_list __arg) __THROWNL; | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:56:28: error: redefinition of 'memmove' 56 | _FORTIFY_FN(memmove) void *memmove(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:38:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:66:27: error: redefinition of 'memset' 66 | _FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:59:8: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:79:27: error: redefinition of 'stpcpy' 79 | _FORTIFY_FN(stpcpy) char *stpcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:95:8: note: previous definition of 'stpcpy' with type 'char *(char *, const char *)' 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:89:28: error: redefinition of 'stpncpy' 89 | _FORTIFY_FN(stpncpy) char *stpncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:116:8: note: previous definition of 'stpncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 116 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:99:27: error: redefinition of 'strcat' 99 | _FORTIFY_FN(strcat) char *strcat(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:126:8: note: previous definition of 'strcat' with type 'char *(char *, const char *)' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:108:27: error: redefinition of 'strcpy' 108 | _FORTIFY_FN(strcpy) char *strcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:88:8: note: previous definition of 'strcpy' with type 'char *(char *, const char *)' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:117:28: error: redefinition of 'strncat' 117 | _FORTIFY_FN(strncat) char *strncat(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:133:8: note: previous definition of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:133:28: error: redefinition of 'strncpy' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:103:8: note: previous definition of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:144:28: error: redefinition of 'mempcpy' 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/string_fortified.h:45:8: note: previous definition of 'mempcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:13: error: 'strlcat' undeclared here (not in a function); did you mean 'strncat'? 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:164:16: error: called object '__orig_strlcat' is not a function or function pointer 164 | return __orig_strlcat(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:13: error: 'strlcpy' undeclared here (not in a function); did you mean 'strncpy'? 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:173:16: error: called object '__orig_strlcpy' is not a function or function pointer 173 | return __orig_strlcpy(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /usr/include/bits/endian.h:35, from /usr/include/endian.h:24, from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imaging.c:75: /usr/include/bits/endianness.h: At top level: /usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:8: note: this is the location of the previous definition 8 | #define __BYTE_ORDER 1234 | /usr/include/stdio.h:359:56: error: unknown type name '__gnuc_va_list' 359 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/stdlib.h:1017, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imaging.c:75: /usr/include/bits/stdlib.h: In function 'wctomb': /usr/include/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong" 90 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ /usr/include/stdio.h:367:23: error: unknown type name '__gnuc_va_list' 367 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:40:29: error: redefinition of 'realpath' 40 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdlib.h:37:8: note: previous definition of 'realpath' with type 'char *(const char * restrict, char * restrict)' 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/stdio.h:380:22: error: unknown type name '__gnuc_va_list' 380 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ cc1: note: someone does not honour COPTS correctly, passed 4 times In file included from /usr/include/bits/local_lim.h:38, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined 64 | #define PTHREAD_KEYS_MAX 1024 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:66: note: this is the location of the previous definition 66 | #define PTHREAD_KEYS_MAX 128 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined 69 | #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:68: note: this is the location of the previous definition 68 | #define PTHREAD_DESTRUCTOR_ITERATIONS 4 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined 81 | #define PTHREAD_STACK_MIN 16384 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:67: note: this is the location of the previous definition 67 | #define PTHREAD_STACK_MIN 2048 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined 84 | #define DELAYTIMER_MAX 2147483647 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:71: note: this is the location of the previous definition 71 | #define DELAYTIMER_MAX 0x7fffffff | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined 93 | #define HOST_NAME_MAX 64 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:56: note: this is the location of the previous definition 56 | #define HOST_NAME_MAX 255 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined 99 | #define SEM_VALUE_MAX (2147483647) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:69: note: this is the location of the previous definition 69 | #define SEM_VALUE_MAX 0x7fffffff | In file included from /usr/include/limits.h:187, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined 88 | #define RE_DUP_MAX (0x7fff) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:85: note: this is the location of the previous definition 85 | #define RE_DUP_MAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:62: warning: "_XOPEN_IOV_MAX" redefined 62 | #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:162: note: this is the location of the previous definition 162 | #define _XOPEN_IOV_MAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:66: warning: "IOV_MAX" redefined 66 | # define IOV_MAX __IOV_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:50: note: this is the location of the previous definition 50 | #define IOV_MAX 1024 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:73: warning: "NL_ARGMAX" redefined 73 | #define NL_ARGMAX _POSIX_ARG_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:87: note: this is the location of the previous definition 87 | #define NL_ARGMAX 9 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:76: warning: "NL_LANGMAX" redefined 76 | #define NL_LANGMAX _POSIX2_LINE_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:100: note: this is the location of the previous definition 100 | #define NL_LANGMAX 32 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:79: warning: "NL_MSGMAX" redefined 79 | #define NL_MSGMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:88: note: this is the location of the previous definition 88 | #define NL_MSGMAX 32767 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:84: warning: "NL_NMAX" redefined 84 | # define NL_NMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:107: note: this is the location of the previous definition 107 | #define NL_NMAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:88: warning: "NL_SETMAX" redefined 88 | #define NL_SETMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:89: note: this is the location of the previous definition 89 | #define NL_SETMAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/xopen_lim.h:91: warning: "NL_TEXTMAX" redefined 91 | #define NL_TEXTMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:90: note: this is the location of the previous definition 90 | #define NL_TEXTMAX 2048 | In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:43:29: error: redefinition of 'confstr' 43 | _FORTIFY_FN(confstr) size_t confstr(int __n, char *__s, size_t __l) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:240:8: note: previous definition of 'confstr' with type 'size_t(int, char *, size_t)' {aka 'long unsigned int(int, char *, long unsigned int)'} 240 | __NTH (confstr (int __name, char *__buf, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:53:27: error: redefinition of 'getcwd' 53 | _FORTIFY_FN(getcwd) char *getcwd(char *__s, size_t __l) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:200:8: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'} 200 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:64:32: error: redefinition of 'getdomainname' 64 | _FORTIFY_FN(getdomainname) int getdomainname(char *__s, size_t __l) | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:373:8: note: previous definition of 'getdomainname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 373 | __NTH (getdomainname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:74:28: error: redefinition of 'getgroups' 74 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t *__s) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:265:8: note: previous definition of 'getgroups' with type 'int(int, __gid_t *)' {aka 'int(int, unsigned int *)'} 265 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:83:30: error: redefinition of 'gethostname' 83 | _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:52:24: error: conflicting types for 'va_list'; have 'int' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:334:27: note: previous declaration of 'va_list' with type 'va_list' 334 | typedef __builtin_va_list va_list; | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:344:8: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:92:29: error: redefinition of 'getlogin_r' 92 | _FORTIFY_FN(getlogin_r) int getlogin_r(char *__s, size_t __l) | ^~~~~~~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /usr/include/bits/unistd.h:317:1: note: previous definition of 'getlogin_r' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 317 | getlogin_r (char *__buf, size_t __buflen) | ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:101:28: error: redefinition of 'pread' 101 | _FORTIFY_FN(pread) ssize_t pread(int __f, void *__s, size_t __n, off_t __o) | ^~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /usr/include/bits/unistd.h:87:1: note: previous definition of 'pread' with type 'ssize_t(int, void *, size_t, __off64_t)' {aka 'int(int, void *, long unsigned int, long long int)'} 87 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:110:27: error: redefinition of 'read' 110 | _FORTIFY_FN(read) ssize_t read(int __f, void *__s, size_t __n) | ^~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /usr/include/bits/unistd.h:34:1: note: previous definition of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'} 34 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:119:31: error: redefinition of 'readlink' 119 | _FORTIFY_FN(readlink) ssize_t readlink(const char *__p, char *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:139:8: note: previous definition of 'readlink' with type 'ssize_t(const char * restrict, char * restrict, size_t)' {aka 'int(const char * restrict, char * restrict, long unsigned int)'} 139 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:128:33: error: redefinition of 'readlinkat' 128 | _FORTIFY_FN(readlinkat) ssize_t readlinkat(int __f, const char *__p, char *__s, size_t __n) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:173:8: note: previous definition of 'readlinkat' with type 'ssize_t(int, const char * restrict, char * restrict, size_t)' {aka 'int(int, const char * restrict, char * restrict, long unsigned int)'} 173 | __NTH (readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:137:28: error: redefinition of 'ttyname_r' 137 | _FORTIFY_FN(ttyname_r) int ttyname_r(int __f, char *__s, size_t __n) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/unistd.h:291:8: note: previous definition of 'ttyname_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 291 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imaging.c:75: /usr/include/stdint.h:109: warning: "__INT64_C" redefined 109 | # define __INT64_C(c) c ## LL | : note: this is the location of the previous definition In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imaging.c:75: /usr/include/stdint.h:110: warning: "__UINT64_C" redefined 110 | # define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition /usr/include/stdio.h:433:21: error: unknown type name '__gnuc_va_list' 433 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:440:53: error: unknown type name '__gnuc_va_list' 440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:445:54: error: unknown type name '__gnuc_va_list' 445 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/stdio.h:453:58: error: unknown type name '__gnuc_va_list' 453 | const char *__restrict __format, __gnuc_va_list __arg), | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:457:33: error: unknown type name '__gnuc_va_list' 457 | __gnuc_va_list __arg), __isoc99_vscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:462:29: error: unknown type name '__gnuc_va_list' 462 | __gnuc_va_list __arg), __isoc99_vsscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/stdio.h:342:22: error: unknown type name '__gnuc_va_list' 342 | __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:347:54: error: unknown type name '__gnuc_va_list' 347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/stdio.h:831:29: error: unknown type name '__gnuc_va_list' 831 | __gnuc_va_list __args) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:350:22: error: unknown type name '__gnuc_va_list' 350 | __gnuc_va_list __arg) __THROWNL; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:359:56: error: unknown type name '__gnuc_va_list' 359 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:367:23: error: unknown type name '__gnuc_va_list' 367 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:380:22: error: unknown type name '__gnuc_va_list' 380 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:433:21: error: unknown type name '__gnuc_va_list' 433 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:440:53: error: unknown type name '__gnuc_va_list' 440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:445:54: error: unknown type name '__gnuc_va_list' 445 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/stdio.h:453:58: error: unknown type name '__gnuc_va_list' 453 | const char *__restrict __format, __gnuc_va_list __arg), | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:457:33: error: unknown type name '__gnuc_va_list' 457 | __gnuc_va_list __arg), __isoc99_vscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:462:29: error: unknown type name '__gnuc_va_list' 462 | __gnuc_va_list __arg), __isoc99_vsscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/stdio.h:831:29: error: unknown type name '__gnuc_va_list' 831 | __gnuc_va_list __args) | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:30:28: error: unknown type name '__gnuc_va_list' 30 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:47:18: error: unknown type name '__gnuc_va_list' 47 | __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:60:29: error: unknown type name '__gnuc_va_list' 60 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:78:49: error: unknown type name '__gnuc_va_list' 78 | const char *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:39:26: error: redefinition of 'fgets' 39 | _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:255:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' {aka 'char *(char * restrict, int, struct _IO_FILE * restrict)'} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:48:27: error: redefinition of 'fread' 48 | _FORTIFY_FN(fread) size_t fread(void *__d, size_t __n, size_t __m, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:284:1: note: previous definition of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, struct _IO_FILE * restrict)'} 284 | fread (void *__restrict __ptr, size_t __size, size_t __n, | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:13: error: 'vsnprintf' undeclared here (not in a function); did you mean 'snprintf'? 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:77:16: error: called object '__orig_vsnprintf' is not a function or function pointer 77 | return __orig_vsnprintf(__s, __n, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:13: error: 'vsprintf' undeclared here (not in a function); did you mean 'vsnprintf'? 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:86:23: error: called object '__orig_vsnprintf' is not a function or function pointer 86 | __r = __orig_vsnprintf(__s, __b, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:90:23: error: called object '__orig_vsprintf' is not a function or function pointer 90 | __r = __orig_vsprintf(__s, __f, __v); | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:95:27: error: redefinition of 'snprintf' 95 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, ...) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:64:8: note: previous definition of 'snprintf' with type 'int(char *, size_t, const char *, ...)' {aka 'int(char *, long unsigned int, const char *, ...)'} 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:104:26: error: redefinition of 'sprintf' 104 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdio2.h:34:8: note: previous definition of 'sprintf' with type 'int(char *, const char *, ...)' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/bits/stdio2.h:30:28: error: unknown type name '__gnuc_va_list' 30 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:33:25: error: redefinition of 'bcopy' 33 | _FORTIFY_FN(bcopy) void bcopy(const void *__s, void *__d, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/strings_fortified.h:23:8: note: previous definition of 'bcopy' with type 'void(const void *, void *, size_t)' {aka 'void(const void *, void *, long unsigned int)'} 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:43:25: error: redefinition of 'bzero' 43 | _FORTIFY_FN(bzero) void bzero(void *__s, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/strings_fortified.h:29:8: note: previous definition of 'bzero' with type 'void(void *, size_t)' {aka 'void(void *, long unsigned int)'} 29 | __NTH (bzero (void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:39:27: error: redefinition of 'memcpy' 39 | _FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:31:8: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:56:28: error: redefinition of 'memmove' 56 | _FORTIFY_FN(memmove) void *memmove(void *__d, const void *__s, size_t __n) | ^~~~~~~ cc1: note: someone does not honour COPTS correctly, passed 4 times In file included from /usr/include/bits/local_lim.h:38, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined 64 | #define PTHREAD_KEYS_MAX 1024 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:66: note: this is the location of the previous definition 66 | #define PTHREAD_KEYS_MAX 128 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined 69 | #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:68: note: this is the location of the previous definition 68 | #define PTHREAD_DESTRUCTOR_ITERATIONS 4 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined 81 | #define PTHREAD_STACK_MIN 16384 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:67: note: this is the location of the previous definition 67 | #define PTHREAD_STACK_MIN 2048 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined 84 | #define DELAYTIMER_MAX 2147483647 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:71: note: this is the location of the previous definition 71 | #define DELAYTIMER_MAX 0x7fffffff | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined 93 | #define HOST_NAME_MAX 64 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:56: note: this is the location of the previous definition 56 | #define HOST_NAME_MAX 255 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined 99 | #define SEM_VALUE_MAX (2147483647) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:69: note: this is the location of the previous definition 69 | #define SEM_VALUE_MAX 0x7fffffff | In file included from /usr/include/limits.h:187, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined 88 | #define RE_DUP_MAX (0x7fff) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:85: note: this is the location of the previous definition 85 | #define RE_DUP_MAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:62: warning: "_XOPEN_IOV_MAX" redefined 62 | #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:162: note: this is the location of the previous definition 162 | #define _XOPEN_IOV_MAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:66: warning: "IOV_MAX" redefined 66 | # define IOV_MAX __IOV_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:50: note: this is the location of the previous definition 50 | #define IOV_MAX 1024 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:73: warning: "NL_ARGMAX" redefined 73 | #define NL_ARGMAX _POSIX_ARG_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:87: note: this is the location of the previous definition 87 | #define NL_ARGMAX 9 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:76: warning: "NL_LANGMAX" redefined 76 | #define NL_LANGMAX _POSIX2_LINE_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:100: note: this is the location of the previous definition 100 | #define NL_LANGMAX 32 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:79: warning: "NL_MSGMAX" redefined 79 | #define NL_MSGMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:88: note: this is the location of the previous definition 88 | #define NL_MSGMAX 32767 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:84: warning: "NL_NMAX" redefined 84 | # define NL_NMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:107: note: this is the location of the previous definition 107 | #define NL_NMAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:88: warning: "NL_SETMAX" redefined 88 | #define NL_SETMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:89: note: this is the location of the previous definition 89 | #define NL_SETMAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/xopen_lim.h:91: warning: "NL_TEXTMAX" redefined 91 | #define NL_TEXTMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:90: note: this is the location of the previous definition 90 | #define NL_TEXTMAX 2048 | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:52:24: error: conflicting types for 'va_list'; have 'int' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:334:27: note: previous declaration of 'va_list' with type 'va_list' 334 | typedef __builtin_va_list va_list; | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdio2.h:47:18: error: unknown type name '__gnuc_va_list' 47 | __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/bits/stdio2.h:60:29: error: unknown type name '__gnuc_va_list' 60 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /usr/include/wchar.h:600:23: error: unknown type name '__gnuc_va_list' 600 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdio2.h:78:49: error: unknown type name '__gnuc_va_list' 78 | const char *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:39:26: error: redefinition of 'fgets' 39 | _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/bits/stdio2.h:255:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' {aka 'char *(char * restrict, int, struct _IO_FILE * restrict)'} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:38:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:48:27: error: redefinition of 'fread' 48 | _FORTIFY_FN(fread) size_t fread(void *__d, size_t __n, size_t __m, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /usr/include/bits/stdio2.h:284:1: note: previous definition of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, struct _IO_FILE * restrict)'} 284 | fread (void *__restrict __ptr, size_t __size, size_t __n, | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:66:27: error: redefinition of 'memset' 66 | _FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:59:8: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:79:27: error: redefinition of 'stpcpy' 79 | _FORTIFY_FN(stpcpy) char *stpcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:95:8: note: previous definition of 'stpcpy' with type 'char *(char *, const char *)' 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:89:28: error: redefinition of 'stpncpy' 89 | _FORTIFY_FN(stpncpy) char *stpncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:116:8: note: previous definition of 'stpncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 116 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:99:27: error: redefinition of 'strcat' 99 | _FORTIFY_FN(strcat) char *strcat(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:126:8: note: previous definition of 'strcat' with type 'char *(char *, const char *)' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:108:27: error: redefinition of 'strcpy' 108 | _FORTIFY_FN(strcpy) char *strcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:88:8: note: previous definition of 'strcpy' with type 'char *(char *, const char *)' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/stdio.h:342:22: error: unknown type name '__gnuc_va_list' 342 | __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:117:28: error: redefinition of 'strncat' 117 | _FORTIFY_FN(strncat) char *strncat(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:133:8: note: previous definition of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:133:28: error: redefinition of 'strncpy' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:103:8: note: previous definition of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:144:28: error: redefinition of 'mempcpy' 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/string_fortified.h:45:8: note: previous definition of 'mempcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/wchar.h:607:22: error: unknown type name '__gnuc_va_list' 607 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:347:54: error: unknown type name '__gnuc_va_list' 347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:13: error: 'strlcat' undeclared here (not in a function); did you mean 'strncat'? 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:164:16: error: called object '__orig_strlcat' is not a function or function pointer 164 | return __orig_strlcat(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: At top level: /usr/include/stdio.h:350:22: error: unknown type name '__gnuc_va_list' 350 | __gnuc_va_list __arg) __THROWNL; | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:13: error: 'strlcpy' undeclared here (not in a function); did you mean 'strncpy'? 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:173:16: error: called object '__orig_strlcpy' is not a function or function pointer 173 | return __orig_strlcpy(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /usr/include/stdio.h:359:56: error: unknown type name '__gnuc_va_list' 359 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:367:23: error: unknown type name '__gnuc_va_list' 367 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:613:23: error: unknown type name '__gnuc_va_list' 613 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:380:22: error: unknown type name '__gnuc_va_list' 380 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/bits/endian.h:35, from /usr/include/endian.h:24, from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingft.c:22: /usr/include/bits/endianness.h: At top level: /usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:8: note: this is the location of the previous definition 8 | #define __BYTE_ORDER 1234 | /usr/include/stdio.h:433:21: error: unknown type name '__gnuc_va_list' 433 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:440:53: error: unknown type name '__gnuc_va_list' 440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:445:54: error: unknown type name '__gnuc_va_list' 445 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:673:22: error: unknown type name '__gnuc_va_list' 673 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/stdio.h:453:58: error: unknown type name '__gnuc_va_list' 453 | const char *__restrict __format, __gnuc_va_list __arg), | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:457:33: error: unknown type name '__gnuc_va_list' 457 | __gnuc_va_list __arg), __isoc99_vscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:462:29: error: unknown type name '__gnuc_va_list' 462 | __gnuc_va_list __arg), __isoc99_vsscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/wchar.h:680:21: error: unknown type name '__gnuc_va_list' 680 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:13: error: 'vsnprintf' undeclared here (not in a function); did you mean 'snprintf'? 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:77:16: error: called object '__orig_vsnprintf' is not a function or function pointer 77 | return __orig_vsnprintf(__s, __n, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:13: error: 'vsprintf' undeclared here (not in a function); did you mean 'vsnprintf'? 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:86:23: error: called object '__orig_vsnprintf' is not a function or function pointer 86 | __r = __orig_vsnprintf(__s, __b, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:90:23: error: called object '__orig_vsprintf' is not a function or function pointer 90 | __r = __orig_vsprintf(__s, __f, __v); | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:95:27: error: redefinition of 'snprintf' 95 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, ...) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdio2.h:64:8: note: previous definition of 'snprintf' with type 'int(char *, size_t, const char *, ...)' {aka 'int(char *, long unsigned int, const char *, ...)'} 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:104:26: error: redefinition of 'sprintf' 104 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdio2.h:34:8: note: previous definition of 'sprintf' with type 'int(char *, const char *, ...)' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:33:25: error: redefinition of 'bcopy' 33 | _FORTIFY_FN(bcopy) void bcopy(const void *__s, void *__d, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/strings_fortified.h:23:8: note: previous definition of 'bcopy' with type 'void(const void *, void *, size_t)' {aka 'void(const void *, void *, long unsigned int)'} 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:43:25: error: redefinition of 'bzero' 43 | _FORTIFY_FN(bzero) void bzero(void *__s, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/strings_fortified.h:29:8: note: previous definition of 'bzero' with type 'void(void *, size_t)' {aka 'void(void *, long unsigned int)'} 29 | __NTH (bzero (void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/wchar.h:685:22: error: unknown type name '__gnuc_va_list' 685 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:39:27: error: redefinition of 'memcpy' 39 | _FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:31:8: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:56:28: error: redefinition of 'memmove' 56 | _FORTIFY_FN(memmove) void *memmove(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:38:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:66:27: error: redefinition of 'memset' 66 | _FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:59:8: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:79:27: error: redefinition of 'stpcpy' 79 | _FORTIFY_FN(stpcpy) char *stpcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:95:8: note: previous definition of 'stpcpy' with type 'char *(char *, const char *)' 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:89:28: error: redefinition of 'stpncpy' 89 | _FORTIFY_FN(stpncpy) char *stpncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:116:8: note: previous definition of 'stpncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 116 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:99:27: error: redefinition of 'strcat' 99 | _FORTIFY_FN(strcat) char *strcat(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:126:8: note: previous definition of 'strcat' with type 'char *(char *, const char *)' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:108:27: error: redefinition of 'strcpy' 108 | _FORTIFY_FN(strcpy) char *strcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:88:8: note: previous definition of 'strcpy' with type 'char *(char *, const char *)' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:117:28: error: redefinition of 'strncat' 117 | _FORTIFY_FN(strncat) char *strncat(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:133:8: note: previous definition of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:133:28: error: redefinition of 'strncpy' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:103:8: note: previous definition of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:144:28: error: redefinition of 'mempcpy' 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/string_fortified.h:45:8: note: previous definition of 'mempcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:13: error: 'strlcat' undeclared here (not in a function); did you mean 'strncat'? 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:164:16: error: called object '__orig_strlcat' is not a function or function pointer 164 | return __orig_strlcat(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:13: error: 'strlcpy' undeclared here (not in a function); did you mean 'strncpy'? 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:173:16: error: called object '__orig_strlcpy' is not a function or function pointer 173 | return __orig_strlcpy(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/wchar.h:695:35: error: unknown type name '__gnuc_va_list' 695 | __gnuc_va_list __arg), __isoc99_vfwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ In file included from /usr/include/bits/endian.h:35, from /usr/include/endian.h:24, from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_webp.c:2: /usr/include/bits/endianness.h: At top level: /usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:8: note: this is the location of the previous definition 8 | #define __BYTE_ORDER 1234 | /usr/include/wchar.h:698:34: error: unknown type name '__gnuc_va_list' 698 | __gnuc_va_list __arg), __isoc99_vwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ In file included from /usr/include/stdlib.h:1017, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_webp.c:2: /usr/include/bits/stdlib.h: In function 'wctomb': /usr/include/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong" 90 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ /usr/include/wchar.h:702:39: error: unknown type name '__gnuc_va_list' 702 | __gnuc_va_list __arg), __isoc99_vswscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /usr/include/stdlib.h:1017, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingft.c:22: /usr/include/bits/stdlib.h: In function 'wctomb': /usr/include/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong" 90 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:40:29: error: redefinition of 'realpath' 40 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdlib.h:37:8: note: previous definition of 'realpath' with type 'char *(const char * restrict, char * restrict)' 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /usr/include/bits/wchar2.h:306:29: error: unknown type name '__gnuc_va_list' 306 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:312:34: error: unknown type name '__gnuc_va_list' 312 | __gnuc_va_list __ap), vswprintf); | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/bits/wchar2.h:309:12: note: in expansion of macro '__REDIRECT_NTH_LDBL' 309 | extern int __REDIRECT_NTH_LDBL (__vswprintf_alias, | ^~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/stdio.h:831:29: error: unknown type name '__gnuc_va_list' 831 | __gnuc_va_list __args) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:43:29: error: redefinition of 'confstr' 43 | _FORTIFY_FN(confstr) size_t confstr(int __n, char *__s, size_t __l) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:240:8: note: previous definition of 'confstr' with type 'size_t(int, char *, size_t)' {aka 'long unsigned int(int, char *, long unsigned int)'} 240 | __NTH (confstr (int __name, char *__buf, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:53:27: error: redefinition of 'getcwd' 53 | _FORTIFY_FN(getcwd) char *getcwd(char *__s, size_t __l) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:200:8: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'} 200 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:64:32: error: redefinition of 'getdomainname' 64 | _FORTIFY_FN(getdomainname) int getdomainname(char *__s, size_t __l) | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:30:28: error: unknown type name '__gnuc_va_list' 30 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:373:8: note: previous definition of 'getdomainname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 373 | __NTH (getdomainname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:74:28: error: redefinition of 'getgroups' 74 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t *__s) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:265:8: note: previous definition of 'getgroups' with type 'int(int, __gid_t *)' {aka 'int(int, unsigned int *)'} 265 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:83:30: error: redefinition of 'gethostname' 83 | _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:344:8: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:92:29: error: redefinition of 'getlogin_r' 92 | _FORTIFY_FN(getlogin_r) int getlogin_r(char *__s, size_t __l) | ^~~~~~~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /usr/include/bits/unistd.h:317:1: note: previous definition of 'getlogin_r' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 317 | getlogin_r (char *__buf, size_t __buflen) | ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:101:28: error: redefinition of 'pread' 101 | _FORTIFY_FN(pread) ssize_t pread(int __f, void *__s, size_t __n, off_t __o) | ^~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /usr/include/bits/unistd.h:87:1: note: previous definition of 'pread' with type 'ssize_t(int, void *, size_t, __off64_t)' {aka 'int(int, void *, long unsigned int, long long int)'} 87 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:110:27: error: redefinition of 'read' 110 | _FORTIFY_FN(read) ssize_t read(int __f, void *__s, size_t __n) | ^~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /usr/include/bits/unistd.h:34:1: note: previous definition of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'} 34 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:119:31: error: redefinition of 'readlink' 119 | _FORTIFY_FN(readlink) ssize_t readlink(const char *__p, char *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:47:18: error: unknown type name '__gnuc_va_list' 47 | __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:139:8: note: previous definition of 'readlink' with type 'ssize_t(const char * restrict, char * restrict, size_t)' {aka 'int(const char * restrict, char * restrict, long unsigned int)'} 139 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/bits/wchar2.h:316:52: error: unknown type name '__gnuc_va_list' 316 | const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:128:33: error: redefinition of 'readlinkat' 128 | _FORTIFY_FN(readlinkat) ssize_t readlinkat(int __f, const char *__p, char *__s, size_t __n) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:173:8: note: previous definition of 'readlinkat' with type 'ssize_t(int, const char * restrict, char * restrict, size_t)' {aka 'int(int, const char * restrict, char * restrict, long unsigned int)'} 173 | __NTH (readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:137:28: error: redefinition of 'ttyname_r' 137 | _FORTIFY_FN(ttyname_r) int ttyname_r(int __f, char *__s, size_t __n) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/unistd.h:291:8: note: previous definition of 'ttyname_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 291 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:60:29: error: unknown type name '__gnuc_va_list' 60 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imagingft.c:22: /usr/include/stdint.h:109: warning: "__INT64_C" redefined 109 | # define __INT64_C(c) c ## LL | : note: this is the location of the previous definition In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imagingft.c:22: /usr/include/stdint.h:110: warning: "__UINT64_C" redefined 110 | # define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /usr/include/bits/wchar2.h: In function 'wcrtomb': /usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong" 448 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:40:29: error: redefinition of 'realpath' 40 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdlib.h:37:8: note: previous definition of 'realpath' with type 'char *(const char * restrict, char * restrict)' 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:58:30: error: redefinition of 'fgetws' 58 | _FORTIFY_FN(fgetws) wchar_t *fgetws(wchar_t *__s, int __n, FILE *__f) | ^~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /usr/include/bits/wchar2.h:384:1: note: previous definition of 'fgetws' with type 'wchar_t *(wchar_t * restrict, int, __FILE * restrict)' {aka 'unsigned int *(unsigned int * restrict, int, struct _IO_FILE * restrict)'} 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:70:32: error: redefinition of 'mbsnrtowcs' 70 | _FORTIFY_FN(mbsnrtowcs) size_t mbsnrtowcs(wchar_t *__d, const char **__s, size_t __n, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:542:8: note: previous definition of 'mbsnrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:90:31: error: redefinition of 'mbsrtowcs' 90 | _FORTIFY_FN(mbsrtowcs) size_t mbsrtowcs(wchar_t *__d, const char **__s, size_t __wn, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:474:8: note: previous definition of 'mbsrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, __mbstate_t * restrict)'} 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:103:30: error: redefinition of 'mbstowcs' 103 | _FORTIFY_FN(mbstowcs) size_t mbstowcs(wchar_t *__ws, const char *__s, size_t __wn) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdlib.h:113:8: note: previous definition of 'mbstowcs' with type 'size_t(wchar_t * restrict, const char * restrict, size_t)' {aka 'long unsigned int(unsigned int * restrict, const char * restrict, long unsigned int)'} 113 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:112:29: error: redefinition of 'wcrtomb' 112 | _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:440:8: note: previous definition of 'wcrtomb' with type 'size_t(char * restrict, wchar_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, unsigned int, __mbstate_t * restrict)'} 440 | __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:129:30: error: redefinition of 'wcscat' 129 | _FORTIFY_FN(wcscat) wchar_t *wcscat(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:246:8: note: previous definition of 'wcscat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:138:30: error: redefinition of 'wcscpy' 138 | _FORTIFY_FN(wcscpy) wchar_t *wcscpy(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:152:8: note: previous definition of 'wcscpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:147:31: error: redefinition of 'wcsncat' 147 | _FORTIFY_FN(wcsncat) wchar_t *wcsncat(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:263:8: note: previous definition of 'wcsncat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:163:31: error: redefinition of 'wcsncpy' 163 | _FORTIFY_FN(wcsncpy) wchar_t *wcsncpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:191:8: note: previous definition of 'wcsncpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:175:32: error: redefinition of 'wcsnrtombs' 175 | _FORTIFY_FN(wcsnrtombs) size_t wcsnrtombs(char *__d, const wchar_t **__s, size_t __wn, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:578:8: note: previous definition of 'wcsnrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:195:31: error: redefinition of 'wcsrtombs' 195 | _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char *__d, const wchar_t **__s, size_t __n, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:508:8: note: previous definition of 'wcsrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, __mbstate_t * restrict)'} 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:43:29: error: redefinition of 'confstr' 43 | _FORTIFY_FN(confstr) size_t confstr(int __n, char *__s, size_t __l) | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:207:30: error: redefinition of 'wcstombs' 207 | _FORTIFY_FN(wcstombs) size_t wcstombs(char *__s, const wchar_t *__ws, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:240:8: note: previous definition of 'confstr' with type 'size_t(int, char *, size_t)' {aka 'long unsigned int(int, char *, long unsigned int)'} 240 | __NTH (confstr (int __name, char *__buf, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdlib.h:144:8: note: previous definition of 'wcstombs' with type 'size_t(char * restrict, const wchar_t * restrict, size_t)' {aka 'long unsigned int(char * restrict, const unsigned int * restrict, long unsigned int)'} 144 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:53:27: error: redefinition of 'getcwd' 53 | _FORTIFY_FN(getcwd) char *getcwd(char *__s, size_t __l) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:200:8: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'} 200 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:64:32: error: redefinition of 'getdomainname' 64 | _FORTIFY_FN(getdomainname) int getdomainname(char *__s, size_t __l) | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:373:8: note: previous definition of 'getdomainname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 373 | __NTH (getdomainname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:74:28: error: redefinition of 'getgroups' 74 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t *__s) | ^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:216:25: error: redefinition of 'wctomb' 216 | _FORTIFY_FN(wctomb) int wctomb(char *__s, wchar_t __w) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:265:8: note: previous definition of 'getgroups' with type 'int(int, __gid_t *)' {aka 'int(int, unsigned int *)'} 265 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/stdlib.h:83:8: note: previous definition of 'wctomb' with type 'int(char *, wchar_t)' {aka 'int(char *, unsigned int)'} 83 | __NTH (wctomb (char *__s, wchar_t __wchar)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:83:30: error: redefinition of 'gethostname' 83 | _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:344:8: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:92:29: error: redefinition of 'getlogin_r' 92 | _FORTIFY_FN(getlogin_r) int getlogin_r(char *__s, size_t __l) | ^~~~~~~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /usr/include/bits/unistd.h:317:1: note: previous definition of 'getlogin_r' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 317 | getlogin_r (char *__buf, size_t __buflen) | ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:101:28: error: redefinition of 'pread' 101 | _FORTIFY_FN(pread) ssize_t pread(int __f, void *__s, size_t __n, off_t __o) | ^~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /usr/include/bits/unistd.h:87:1: note: previous definition of 'pread' with type 'ssize_t(int, void *, size_t, __off64_t)' {aka 'int(int, void *, long unsigned int, long long int)'} 87 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:225:31: error: redefinition of 'wmemcpy' 225 | _FORTIFY_FN(wmemcpy) wchar_t *wmemcpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:110:27: error: redefinition of 'read' 110 | _FORTIFY_FN(read) ssize_t read(int __f, void *__s, size_t __n) | ^~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /usr/include/bits/unistd.h:34:1: note: previous definition of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'} 34 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:39:8: note: previous definition of 'wmemcpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:119:31: error: redefinition of 'readlink' 119 | _FORTIFY_FN(readlink) ssize_t readlink(const char *__p, char *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:139:8: note: previous definition of 'readlink' with type 'ssize_t(const char * restrict, char * restrict, size_t)' {aka 'int(const char * restrict, char * restrict, long unsigned int)'} 139 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:128:33: error: redefinition of 'readlinkat' 128 | _FORTIFY_FN(readlinkat) ssize_t readlinkat(int __f, const char *__p, char *__s, size_t __n) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:173:8: note: previous definition of 'readlinkat' with type 'ssize_t(int, const char * restrict, char * restrict, size_t)' {aka 'int(int, const char * restrict, char * restrict, long unsigned int)'} 173 | __NTH (readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:137:28: error: redefinition of 'ttyname_r' 137 | _FORTIFY_FN(ttyname_r) int ttyname_r(int __f, char *__s, size_t __n) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/unistd.h:291:8: note: previous definition of 'ttyname_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 291 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:234:32: error: redefinition of 'wmemmove' 234 | _FORTIFY_FN(wmemmove) wchar_t *wmemmove(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:68:8: note: previous definition of 'wmemmove' with type 'wchar_t *(wchar_t *, const wchar_t *, size_t)' {aka 'unsigned int *(unsigned int *, const unsigned int *, long unsigned int)'} 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imaging.c:75: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:243:31: error: redefinition of 'wmemset' 243 | _FORTIFY_FN(wmemset) wchar_t *wmemset(wchar_t *__s, wchar_t __c, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imaging.c:75: /usr/include/bits/wchar2.h:129:8: note: previous definition of 'wmemset' with type 'wchar_t *(wchar_t *, wchar_t, size_t)' {aka 'unsigned int *(unsigned int *, unsigned int, long unsigned int)'} 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_webp.c:2: /usr/include/stdint.h:109: warning: "__INT64_C" redefined 109 | # define __INT64_C(c) c ## LL | : note: this is the location of the previous definition In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_webp.c:2: /usr/include/stdint.h:110: warning: "__UINT64_C" redefined 110 | # define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:78:49: error: unknown type name '__gnuc_va_list' 78 | const char *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:39:26: error: redefinition of 'fgets' 39 | _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:255:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' {aka 'char *(char * restrict, int, struct _IO_FILE * restrict)'} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:48:27: error: redefinition of 'fread' 48 | _FORTIFY_FN(fread) size_t fread(void *__d, size_t __n, size_t __m, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:284:1: note: previous definition of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, struct _IO_FILE * restrict)'} 284 | fread (void *__restrict __ptr, size_t __size, size_t __n, | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:13: error: 'vsnprintf' undeclared here (not in a function); did you mean 'snprintf'? 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:77:16: error: called object '__orig_vsnprintf' is not a function or function pointer 77 | return __orig_vsnprintf(__s, __n, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:13: error: 'vsprintf' undeclared here (not in a function); did you mean 'vsnprintf'? 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:86:23: error: called object '__orig_vsnprintf' is not a function or function pointer 86 | __r = __orig_vsnprintf(__s, __b, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:90:23: error: called object '__orig_vsprintf' is not a function or function pointer 90 | __r = __orig_vsprintf(__s, __f, __v); | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:95:27: error: redefinition of 'snprintf' 95 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, ...) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:64:8: note: previous definition of 'snprintf' with type 'int(char *, size_t, const char *, ...)' {aka 'int(char *, long unsigned int, const char *, ...)'} 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:104:26: error: redefinition of 'sprintf' 104 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdio2.h:34:8: note: previous definition of 'sprintf' with type 'int(char *, const char *, ...)' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:33:25: error: redefinition of 'bcopy' 33 | _FORTIFY_FN(bcopy) void bcopy(const void *__s, void *__d, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/strings_fortified.h:23:8: note: previous definition of 'bcopy' with type 'void(const void *, void *, size_t)' {aka 'void(const void *, void *, long unsigned int)'} 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:43:25: error: redefinition of 'bzero' 43 | _FORTIFY_FN(bzero) void bzero(void *__s, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/strings_fortified.h:29:8: note: previous definition of 'bzero' with type 'void(void *, size_t)' {aka 'void(void *, long unsigned int)'} 29 | __NTH (bzero (void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:39:27: error: redefinition of 'memcpy' 39 | _FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:31:8: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:56:28: error: redefinition of 'memmove' 56 | _FORTIFY_FN(memmove) void *memmove(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:38:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:66:27: error: redefinition of 'memset' 66 | _FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:59:8: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:79:27: error: redefinition of 'stpcpy' 79 | _FORTIFY_FN(stpcpy) char *stpcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:95:8: note: previous definition of 'stpcpy' with type 'char *(char *, const char *)' 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:89:28: error: redefinition of 'stpncpy' 89 | _FORTIFY_FN(stpncpy) char *stpncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:116:8: note: previous definition of 'stpncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 116 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:99:27: error: redefinition of 'strcat' 99 | _FORTIFY_FN(strcat) char *strcat(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:126:8: note: previous definition of 'strcat' with type 'char *(char *, const char *)' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:108:27: error: redefinition of 'strcpy' 108 | _FORTIFY_FN(strcpy) char *strcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:88:8: note: previous definition of 'strcpy' with type 'char *(char *, const char *)' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:117:28: error: redefinition of 'strncat' 117 | _FORTIFY_FN(strncat) char *strncat(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:133:8: note: previous definition of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:133:28: error: redefinition of 'strncpy' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:103:8: note: previous definition of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:144:28: error: redefinition of 'mempcpy' 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/string_fortified.h:45:8: note: previous definition of 'mempcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:13: error: 'strlcat' undeclared here (not in a function); did you mean 'strncat'? 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:164:16: error: called object '__orig_strlcat' is not a function or function pointer 164 | return __orig_strlcat(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:13: error: 'strlcpy' undeclared here (not in a function); did you mean 'strncpy'? 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:173:16: error: called object '__orig_strlcpy' is not a function or function pointer 173 | return __orig_strlcpy(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /usr/include/bits/endian.h:35, from /usr/include/endian.h:24, from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/endianness.h: At top level: /usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:8: note: this is the location of the previous definition 8 | #define __BYTE_ORDER 1234 | In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pythread.h:128, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:122, from src/_imaging.c:75: /usr/include/pthread.h:657:6: warning: 'regparm' attribute directive ignored [-Wattributes] 657 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:669:3: warning: 'regparm' attribute directive ignored [-Wattributes] 669 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:692:6: warning: 'regparm' attribute directive ignored [-Wattributes] 692 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:705:3: warning: 'regparm' attribute directive ignored [-Wattributes] 705 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:714:6: warning: 'regparm' attribute directive ignored [-Wattributes] 714 | ; | ^ In file included from /usr/include/stdlib.h:1017, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdlib.h: In function 'wctomb': /usr/include/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong" 90 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:40:29: error: redefinition of 'realpath' 40 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdlib.h:37:8: note: previous definition of 'realpath' with type 'char *(const char * restrict, char * restrict)' 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /usr/include/wchar.h:600:23: error: unknown type name '__gnuc_va_list' 600 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:43:29: error: redefinition of 'confstr' 43 | _FORTIFY_FN(confstr) size_t confstr(int __n, char *__s, size_t __l) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:240:8: note: previous definition of 'confstr' with type 'size_t(int, char *, size_t)' {aka 'long unsigned int(int, char *, long unsigned int)'} 240 | __NTH (confstr (int __name, char *__buf, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:53:27: error: redefinition of 'getcwd' 53 | _FORTIFY_FN(getcwd) char *getcwd(char *__s, size_t __l) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:200:8: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'} 200 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:64:32: error: redefinition of 'getdomainname' 64 | _FORTIFY_FN(getdomainname) int getdomainname(char *__s, size_t __l) | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:373:8: note: previous definition of 'getdomainname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 373 | __NTH (getdomainname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:74:28: error: redefinition of 'getgroups' 74 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t *__s) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:265:8: note: previous definition of 'getgroups' with type 'int(int, __gid_t *)' {aka 'int(int, unsigned int *)'} 265 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:83:30: error: redefinition of 'gethostname' 83 | _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:344:8: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:92:29: error: redefinition of 'getlogin_r' 92 | _FORTIFY_FN(getlogin_r) int getlogin_r(char *__s, size_t __l) | ^~~~~~~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:317:1: note: previous definition of 'getlogin_r' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 317 | getlogin_r (char *__buf, size_t __buflen) | ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:101:28: error: redefinition of 'pread' 101 | _FORTIFY_FN(pread) ssize_t pread(int __f, void *__s, size_t __n, off_t __o) | ^~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:87:1: note: previous definition of 'pread' with type 'ssize_t(int, void *, size_t, __off64_t)' {aka 'int(int, void *, long unsigned int, long long int)'} 87 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:110:27: error: redefinition of 'read' 110 | _FORTIFY_FN(read) ssize_t read(int __f, void *__s, size_t __n) | ^~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:34:1: note: previous definition of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'} 34 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:119:31: error: redefinition of 'readlink' 119 | _FORTIFY_FN(readlink) ssize_t readlink(const char *__p, char *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:139:8: note: previous definition of 'readlink' with type 'ssize_t(const char * restrict, char * restrict, size_t)' {aka 'int(const char * restrict, char * restrict, long unsigned int)'} 139 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:128:33: error: redefinition of 'readlinkat' 128 | _FORTIFY_FN(readlinkat) ssize_t readlinkat(int __f, const char *__p, char *__s, size_t __n) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:173:8: note: previous definition of 'readlinkat' with type 'ssize_t(int, const char * restrict, char * restrict, size_t)' {aka 'int(int, const char * restrict, char * restrict, long unsigned int)'} 173 | __NTH (readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:137:28: error: redefinition of 'ttyname_r' 137 | _FORTIFY_FN(ttyname_r) int ttyname_r(int __f, char *__s, size_t __n) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/unistd.h:291:8: note: previous definition of 'ttyname_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 291 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/stdint.h:109: warning: "__INT64_C" redefined 109 | # define __INT64_C(c) c ## LL | : note: this is the location of the previous definition In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/stdint.h:110: warning: "__UINT64_C" redefined 110 | # define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition /usr/include/wchar.h:607:22: error: unknown type name '__gnuc_va_list' 607 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:613:23: error: unknown type name '__gnuc_va_list' 613 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:673:22: error: unknown type name '__gnuc_va_list' 673 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:680:21: error: unknown type name '__gnuc_va_list' 680 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:685:22: error: unknown type name '__gnuc_va_list' 685 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/wchar.h:695:35: error: unknown type name '__gnuc_va_list' 695 | __gnuc_va_list __arg), __isoc99_vfwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:698:34: error: unknown type name '__gnuc_va_list' 698 | __gnuc_va_list __arg), __isoc99_vwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:702:39: error: unknown type name '__gnuc_va_list' 702 | __gnuc_va_list __arg), __isoc99_vswscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:306:29: error: unknown type name '__gnuc_va_list' 306 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:312:34: error: unknown type name '__gnuc_va_list' 312 | __gnuc_va_list __ap), vswprintf); | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/bits/wchar2.h:309:12: note: in expansion of macro '__REDIRECT_NTH_LDBL' 309 | extern int __REDIRECT_NTH_LDBL (__vswprintf_alias, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bits/wchar2.h:316:52: error: unknown type name '__gnuc_va_list' 316 | const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /usr/include/bits/wchar2.h: In function 'wcrtomb': /usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong" 448 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:58:30: error: redefinition of 'fgetws' 58 | _FORTIFY_FN(fgetws) wchar_t *fgetws(wchar_t *__s, int __n, FILE *__f) | ^~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:384:1: note: previous definition of 'fgetws' with type 'wchar_t *(wchar_t * restrict, int, __FILE * restrict)' {aka 'unsigned int *(unsigned int * restrict, int, struct _IO_FILE * restrict)'} 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:70:32: error: redefinition of 'mbsnrtowcs' 70 | _FORTIFY_FN(mbsnrtowcs) size_t mbsnrtowcs(wchar_t *__d, const char **__s, size_t __n, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:542:8: note: previous definition of 'mbsnrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /usr/include/wchar.h:600:23: error: unknown type name '__gnuc_va_list' 600 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:90:31: error: redefinition of 'mbsrtowcs' 90 | _FORTIFY_FN(mbsrtowcs) size_t mbsrtowcs(wchar_t *__d, const char **__s, size_t __wn, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:474:8: note: previous definition of 'mbsrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, __mbstate_t * restrict)'} 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:103:30: error: redefinition of 'mbstowcs' 103 | _FORTIFY_FN(mbstowcs) size_t mbstowcs(wchar_t *__ws, const char *__s, size_t __wn) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdlib.h:113:8: note: previous definition of 'mbstowcs' with type 'size_t(wchar_t * restrict, const char * restrict, size_t)' {aka 'long unsigned int(unsigned int * restrict, const char * restrict, long unsigned int)'} 113 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:112:29: error: redefinition of 'wcrtomb' 112 | _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:440:8: note: previous definition of 'wcrtomb' with type 'size_t(char * restrict, wchar_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, unsigned int, __mbstate_t * restrict)'} 440 | __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:129:30: error: redefinition of 'wcscat' 129 | _FORTIFY_FN(wcscat) wchar_t *wcscat(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:246:8: note: previous definition of 'wcscat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:138:30: error: redefinition of 'wcscpy' 138 | _FORTIFY_FN(wcscpy) wchar_t *wcscpy(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:152:8: note: previous definition of 'wcscpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:147:31: error: redefinition of 'wcsncat' 147 | _FORTIFY_FN(wcsncat) wchar_t *wcsncat(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:263:8: note: previous definition of 'wcsncat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:163:31: error: redefinition of 'wcsncpy' 163 | _FORTIFY_FN(wcsncpy) wchar_t *wcsncpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:191:8: note: previous definition of 'wcsncpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:175:32: error: redefinition of 'wcsnrtombs' 175 | _FORTIFY_FN(wcsnrtombs) size_t wcsnrtombs(char *__d, const wchar_t **__s, size_t __wn, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:578:8: note: previous definition of 'wcsnrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:195:31: error: redefinition of 'wcsrtombs' 195 | _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char *__d, const wchar_t **__s, size_t __n, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:508:8: note: previous definition of 'wcsrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, __mbstate_t * restrict)'} 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:207:30: error: redefinition of 'wcstombs' 207 | _FORTIFY_FN(wcstombs) size_t wcstombs(char *__s, const wchar_t *__ws, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdlib.h:144:8: note: previous definition of 'wcstombs' with type 'size_t(char * restrict, const wchar_t * restrict, size_t)' {aka 'long unsigned int(char * restrict, const unsigned int * restrict, long unsigned int)'} 144 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:216:25: error: redefinition of 'wctomb' 216 | _FORTIFY_FN(wctomb) int wctomb(char *__s, wchar_t __w) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/stdlib.h:83:8: note: previous definition of 'wctomb' with type 'int(char *, wchar_t)' {aka 'int(char *, unsigned int)'} 83 | __NTH (wctomb (char *__s, wchar_t __wchar)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:225:31: error: redefinition of 'wmemcpy' 225 | _FORTIFY_FN(wmemcpy) wchar_t *wmemcpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:39:8: note: previous definition of 'wmemcpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:234:32: error: redefinition of 'wmemmove' 234 | _FORTIFY_FN(wmemmove) wchar_t *wmemmove(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:68:8: note: previous definition of 'wmemmove' with type 'wchar_t *(wchar_t *, const wchar_t *, size_t)' {aka 'unsigned int *(unsigned int *, const unsigned int *, long unsigned int)'} 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingft.c:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:243:31: error: redefinition of 'wmemset' 243 | _FORTIFY_FN(wmemset) wchar_t *wmemset(wchar_t *__s, wchar_t __c, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingft.c:22: /usr/include/bits/wchar2.h:129:8: note: previous definition of 'wmemset' with type 'wchar_t *(wchar_t *, wchar_t, size_t)' {aka 'unsigned int *(unsigned int *, unsigned int, long unsigned int)'} 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/wchar.h:607:22: error: unknown type name '__gnuc_va_list' 607 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:613:23: error: unknown type name '__gnuc_va_list' 613 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:673:22: error: unknown type name '__gnuc_va_list' 673 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:680:21: error: unknown type name '__gnuc_va_list' 680 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:685:22: error: unknown type name '__gnuc_va_list' 685 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pythread.h:128, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:122, from src/_imagingft.c:22: /usr/include/pthread.h:657:6: warning: 'regparm' attribute directive ignored [-Wattributes] 657 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:669:3: warning: 'regparm' attribute directive ignored [-Wattributes] 669 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:692:6: warning: 'regparm' attribute directive ignored [-Wattributes] 692 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:705:3: warning: 'regparm' attribute directive ignored [-Wattributes] 705 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:714:6: warning: 'regparm' attribute directive ignored [-Wattributes] 714 | ; | ^ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/wchar.h:695:35: error: unknown type name '__gnuc_va_list' 695 | __gnuc_va_list __arg), __isoc99_vfwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:698:34: error: unknown type name '__gnuc_va_list' 698 | __gnuc_va_list __arg), __isoc99_vwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/wchar.h:600:23: error: unknown type name '__gnuc_va_list' 600 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:702:39: error: unknown type name '__gnuc_va_list' 702 | __gnuc_va_list __arg), __isoc99_vswscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /usr/include/bits/wchar2.h:306:29: error: unknown type name '__gnuc_va_list' 306 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:312:34: error: unknown type name '__gnuc_va_list' 312 | __gnuc_va_list __ap), vswprintf); | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/bits/wchar2.h:309:12: note: in expansion of macro '__REDIRECT_NTH_LDBL' 309 | extern int __REDIRECT_NTH_LDBL (__vswprintf_alias, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bits/wchar2.h:316:52: error: unknown type name '__gnuc_va_list' 316 | const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /usr/include/bits/wchar2.h: In function 'wcrtomb': /usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong" 448 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ src/_imaging.c: In function '_getattr_id': src/_imaging.c:3656:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3656 | return PyLong_FromSsize_t((Py_ssize_t)self->image); | ^ /usr/include/wchar.h:607:22: error: unknown type name '__gnuc_va_list' 607 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:613:23: error: unknown type name '__gnuc_va_list' 613 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:58:30: error: redefinition of 'fgetws' 58 | _FORTIFY_FN(fgetws) wchar_t *fgetws(wchar_t *__s, int __n, FILE *__f) | ^~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /usr/include/bits/wchar2.h:384:1: note: previous definition of 'fgetws' with type 'wchar_t *(wchar_t * restrict, int, __FILE * restrict)' {aka 'unsigned int *(unsigned int * restrict, int, struct _IO_FILE * restrict)'} 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:70:32: error: redefinition of 'mbsnrtowcs' 70 | _FORTIFY_FN(mbsnrtowcs) size_t mbsnrtowcs(wchar_t *__d, const char **__s, size_t __n, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:542:8: note: previous definition of 'mbsnrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:90:31: error: redefinition of 'mbsrtowcs' 90 | _FORTIFY_FN(mbsrtowcs) size_t mbsrtowcs(wchar_t *__d, const char **__s, size_t __wn, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:474:8: note: previous definition of 'mbsrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, __mbstate_t * restrict)'} 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:103:30: error: redefinition of 'mbstowcs' 103 | _FORTIFY_FN(mbstowcs) size_t mbstowcs(wchar_t *__ws, const char *__s, size_t __wn) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdlib.h:113:8: note: previous definition of 'mbstowcs' with type 'size_t(wchar_t * restrict, const char * restrict, size_t)' {aka 'long unsigned int(unsigned int * restrict, const char * restrict, long unsigned int)'} 113 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:112:29: error: redefinition of 'wcrtomb' 112 | _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:440:8: note: previous definition of 'wcrtomb' with type 'size_t(char * restrict, wchar_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, unsigned int, __mbstate_t * restrict)'} 440 | __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:129:30: error: redefinition of 'wcscat' 129 | _FORTIFY_FN(wcscat) wchar_t *wcscat(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:246:8: note: previous definition of 'wcscat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:138:30: error: redefinition of 'wcscpy' 138 | _FORTIFY_FN(wcscpy) wchar_t *wcscpy(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:152:8: note: previous definition of 'wcscpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:147:31: error: redefinition of 'wcsncat' 147 | _FORTIFY_FN(wcsncat) wchar_t *wcsncat(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:263:8: note: previous definition of 'wcsncat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:163:31: error: redefinition of 'wcsncpy' 163 | _FORTIFY_FN(wcsncpy) wchar_t *wcsncpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:191:8: note: previous definition of 'wcsncpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:175:32: error: redefinition of 'wcsnrtombs' 175 | _FORTIFY_FN(wcsnrtombs) size_t wcsnrtombs(char *__d, const wchar_t **__s, size_t __wn, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:578:8: note: previous definition of 'wcsnrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:195:31: error: redefinition of 'wcsrtombs' 195 | _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char *__d, const wchar_t **__s, size_t __n, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:508:8: note: previous definition of 'wcsrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, __mbstate_t * restrict)'} 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:207:30: error: redefinition of 'wcstombs' 207 | _FORTIFY_FN(wcstombs) size_t wcstombs(char *__s, const wchar_t *__ws, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdlib.h:144:8: note: previous definition of 'wcstombs' with type 'size_t(char * restrict, const wchar_t * restrict, size_t)' {aka 'long unsigned int(char * restrict, const unsigned int * restrict, long unsigned int)'} 144 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:216:25: error: redefinition of 'wctomb' 216 | _FORTIFY_FN(wctomb) int wctomb(char *__s, wchar_t __w) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/stdlib.h:83:8: note: previous definition of 'wctomb' with type 'int(char *, wchar_t)' {aka 'int(char *, unsigned int)'} 83 | __NTH (wctomb (char *__s, wchar_t __wchar)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:225:31: error: redefinition of 'wmemcpy' 225 | _FORTIFY_FN(wmemcpy) wchar_t *wmemcpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:39:8: note: previous definition of 'wmemcpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:234:32: error: redefinition of 'wmemmove' 234 | _FORTIFY_FN(wmemmove) wchar_t *wmemmove(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:68:8: note: previous definition of 'wmemmove' with type 'wchar_t *(wchar_t *, const wchar_t *, size_t)' {aka 'unsigned int *(unsigned int *, const unsigned int *, long unsigned int)'} 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_webp.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:243:31: error: redefinition of 'wmemset' 243 | _FORTIFY_FN(wmemset) wchar_t *wmemset(wchar_t *__s, wchar_t __c, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_webp.c:2: /usr/include/bits/wchar2.h:129:8: note: previous definition of 'wmemset' with type 'wchar_t *(wchar_t *, wchar_t, size_t)' {aka 'unsigned int *(unsigned int *, unsigned int, long unsigned int)'} 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/wchar.h:673:22: error: unknown type name '__gnuc_va_list' 673 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:680:21: error: unknown type name '__gnuc_va_list' 680 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:685:22: error: unknown type name '__gnuc_va_list' 685 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pythread.h:128, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:122, from src/_webp.c:2: /usr/include/pthread.h:657:6: warning: 'regparm' attribute directive ignored [-Wattributes] 657 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:669:3: warning: 'regparm' attribute directive ignored [-Wattributes] 669 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:692:6: warning: 'regparm' attribute directive ignored [-Wattributes] 692 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:705:3: warning: 'regparm' attribute directive ignored [-Wattributes] 705 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:714:6: warning: 'regparm' attribute directive ignored [-Wattributes] 714 | ; | ^ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/wchar.h:695:35: error: unknown type name '__gnuc_va_list' 695 | __gnuc_va_list __arg), __isoc99_vfwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:698:34: error: unknown type name '__gnuc_va_list' 698 | __gnuc_va_list __arg), __isoc99_vwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:702:39: error: unknown type name '__gnuc_va_list' 702 | __gnuc_va_list __arg), __isoc99_vswscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:306:29: error: unknown type name '__gnuc_va_list' 306 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:312:34: error: unknown type name '__gnuc_va_list' 312 | __gnuc_va_list __ap), vswprintf); | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/bits/wchar2.h:309:12: note: in expansion of macro '__REDIRECT_NTH_LDBL' 309 | extern int __REDIRECT_NTH_LDBL (__vswprintf_alias, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bits/wchar2.h:316:52: error: unknown type name '__gnuc_va_list' 316 | const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h: In function 'wcrtomb': /usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong" 448 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ building 'PIL._imagingmath' extension In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:58:30: error: redefinition of 'fgetws' 58 | _FORTIFY_FN(fgetws) wchar_t *fgetws(wchar_t *__s, int __n, FILE *__f) | ^~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:384:1: note: previous definition of 'fgetws' with type 'wchar_t *(wchar_t * restrict, int, __FILE * restrict)' {aka 'unsigned int *(unsigned int * restrict, int, struct _IO_FILE * restrict)'} 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:70:32: error: redefinition of 'mbsnrtowcs' 70 | _FORTIFY_FN(mbsnrtowcs) size_t mbsnrtowcs(wchar_t *__d, const char **__s, size_t __n, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:542:8: note: previous definition of 'mbsnrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:90:31: error: redefinition of 'mbsrtowcs' 90 | _FORTIFY_FN(mbsrtowcs) size_t mbsrtowcs(wchar_t *__d, const char **__s, size_t __wn, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:474:8: note: previous definition of 'mbsrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, __mbstate_t * restrict)'} 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:103:30: error: redefinition of 'mbstowcs' 103 | _FORTIFY_FN(mbstowcs) size_t mbstowcs(wchar_t *__ws, const char *__s, size_t __wn) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdlib.h:113:8: note: previous definition of 'mbstowcs' with type 'size_t(wchar_t * restrict, const char * restrict, size_t)' {aka 'long unsigned int(unsigned int * restrict, const char * restrict, long unsigned int)'} 113 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ aarch64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0=Pillow-9.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libpng16 -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/usr/local/include -I/usr/include -I/usr/include/python3.10 -c src/_imagingmath.c -o build/temp.linux-aarch64-cpython-310/src/_imagingmath.o In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:112:29: error: redefinition of 'wcrtomb' 112 | _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:440:8: note: previous definition of 'wcrtomb' with type 'size_t(char * restrict, wchar_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, unsigned int, __mbstate_t * restrict)'} 440 | __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:129:30: error: redefinition of 'wcscat' 129 | _FORTIFY_FN(wcscat) wchar_t *wcscat(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:246:8: note: previous definition of 'wcscat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:138:30: error: redefinition of 'wcscpy' 138 | _FORTIFY_FN(wcscpy) wchar_t *wcscpy(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:152:8: note: previous definition of 'wcscpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:147:31: error: redefinition of 'wcsncat' 147 | _FORTIFY_FN(wcsncat) wchar_t *wcsncat(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:263:8: note: previous definition of 'wcsncat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:163:31: error: redefinition of 'wcsncpy' 163 | _FORTIFY_FN(wcsncpy) wchar_t *wcsncpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:191:8: note: previous definition of 'wcsncpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:175:32: error: redefinition of 'wcsnrtombs' 175 | _FORTIFY_FN(wcsnrtombs) size_t wcsnrtombs(char *__d, const wchar_t **__s, size_t __wn, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:578:8: note: previous definition of 'wcsnrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:195:31: error: redefinition of 'wcsrtombs' 195 | _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char *__d, const wchar_t **__s, size_t __n, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:508:8: note: previous definition of 'wcsrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, __mbstate_t * restrict)'} 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:207:30: error: redefinition of 'wcstombs' 207 | _FORTIFY_FN(wcstombs) size_t wcstombs(char *__s, const wchar_t *__ws, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdlib.h:144:8: note: previous definition of 'wcstombs' with type 'size_t(char * restrict, const wchar_t * restrict, size_t)' {aka 'long unsigned int(char * restrict, const unsigned int * restrict, long unsigned int)'} 144 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:216:25: error: redefinition of 'wctomb' 216 | _FORTIFY_FN(wctomb) int wctomb(char *__s, wchar_t __w) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/stdlib.h:83:8: note: previous definition of 'wctomb' with type 'int(char *, wchar_t)' {aka 'int(char *, unsigned int)'} 83 | __NTH (wctomb (char *__s, wchar_t __wchar)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:225:31: error: redefinition of 'wmemcpy' 225 | _FORTIFY_FN(wmemcpy) wchar_t *wmemcpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:39:8: note: previous definition of 'wmemcpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:234:32: error: redefinition of 'wmemmove' 234 | _FORTIFY_FN(wmemmove) wchar_t *wmemmove(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:68:8: note: previous definition of 'wmemmove' with type 'wchar_t *(wchar_t *, const wchar_t *, size_t)' {aka 'unsigned int *(unsigned int *, const unsigned int *, long unsigned int)'} 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:243:31: error: redefinition of 'wmemset' 243 | _FORTIFY_FN(wmemset) wchar_t *wmemset(wchar_t *__s, wchar_t __c, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/bits/wchar2.h:129:8: note: previous definition of 'wmemset' with type 'wchar_t *(wchar_t *, wchar_t, size_t)' {aka 'unsigned int *(unsigned int *, unsigned int, long unsigned int)'} 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pythread.h:128, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:122, from src/Tk/../libImaging/ImPlatform.h:10, from src/Tk/../libImaging/Imaging.h:13, from src/Tk/tkImaging.c:42: /usr/include/pthread.h:657:6: warning: 'regparm' attribute directive ignored [-Wattributes] 657 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:669:3: warning: 'regparm' attribute directive ignored [-Wattributes] 669 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:692:6: warning: 'regparm' attribute directive ignored [-Wattributes] 692 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:705:3: warning: 'regparm' attribute directive ignored [-Wattributes] 705 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:714:6: warning: 'regparm' attribute directive ignored [-Wattributes] 714 | ; | ^ src/Tk/tkImaging.c: In function 'ImagingFind': src/Tk/tkImaging.c:74:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | return (Imaging)id; | ^ building 'PIL._imagingmorph' extension aarch64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.10.13=Python-3.10.13 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0=Pillow-9.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/freetype2 -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libpng16 -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/usr/local/include -I/usr/include -I/usr/include/python3.10 -c src/_imagingmorph.c -o build/temp.linux-aarch64-cpython-310/src/_imagingmorph.o cc1: note: someone does not honour COPTS correctly, passed 4 times cc1: note: someone does not honour COPTS correctly, passed 4 times In file included from /usr/include/bits/local_lim.h:38, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined 64 | #define PTHREAD_KEYS_MAX 1024 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:66: note: this is the location of the previous definition 66 | #define PTHREAD_KEYS_MAX 128 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined 69 | #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:68: note: this is the location of the previous definition 68 | #define PTHREAD_DESTRUCTOR_ITERATIONS 4 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined 81 | #define PTHREAD_STACK_MIN 16384 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:67: note: this is the location of the previous definition 67 | #define PTHREAD_STACK_MIN 2048 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined 84 | #define DELAYTIMER_MAX 2147483647 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:71: note: this is the location of the previous definition 71 | #define DELAYTIMER_MAX 0x7fffffff | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined 93 | #define HOST_NAME_MAX 64 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:56: note: this is the location of the previous definition 56 | #define HOST_NAME_MAX 255 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined 99 | #define SEM_VALUE_MAX (2147483647) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:69: note: this is the location of the previous definition 69 | #define SEM_VALUE_MAX 0x7fffffff | In file included from /usr/include/limits.h:187, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined 88 | #define RE_DUP_MAX (0x7fff) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:85: note: this is the location of the previous definition 85 | #define RE_DUP_MAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:62: warning: "_XOPEN_IOV_MAX" redefined 62 | #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:162: note: this is the location of the previous definition 162 | #define _XOPEN_IOV_MAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:66: warning: "IOV_MAX" redefined 66 | # define IOV_MAX __IOV_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:50: note: this is the location of the previous definition 50 | #define IOV_MAX 1024 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:73: warning: "NL_ARGMAX" redefined 73 | #define NL_ARGMAX _POSIX_ARG_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:87: note: this is the location of the previous definition 87 | #define NL_ARGMAX 9 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:76: warning: "NL_LANGMAX" redefined 76 | #define NL_LANGMAX _POSIX2_LINE_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:100: note: this is the location of the previous definition 100 | #define NL_LANGMAX 32 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:79: warning: "NL_MSGMAX" redefined 79 | #define NL_MSGMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:88: note: this is the location of the previous definition 88 | #define NL_MSGMAX 32767 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:84: warning: "NL_NMAX" redefined 84 | # define NL_NMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:107: note: this is the location of the previous definition 107 | #define NL_NMAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:88: warning: "NL_SETMAX" redefined 88 | #define NL_SETMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:89: note: this is the location of the previous definition 89 | #define NL_SETMAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/xopen_lim.h:91: warning: "NL_TEXTMAX" redefined 91 | #define NL_TEXTMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:90: note: this is the location of the previous definition 90 | #define NL_TEXTMAX 2048 | In file included from /usr/include/bits/local_lim.h:38, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/linux/limits.h:7: warning: "NGROUPS_MAX" redefined 7 | #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:48: note: this is the location of the previous definition 48 | #define NGROUPS_MAX 32 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/local_lim.h:64: warning: "PTHREAD_KEYS_MAX" redefined 64 | #define PTHREAD_KEYS_MAX 1024 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:66: note: this is the location of the previous definition 66 | #define PTHREAD_KEYS_MAX 128 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/local_lim.h:69: warning: "PTHREAD_DESTRUCTOR_ITERATIONS" redefined 69 | #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:68: note: this is the location of the previous definition 68 | #define PTHREAD_DESTRUCTOR_ITERATIONS 4 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/local_lim.h:81: warning: "PTHREAD_STACK_MIN" redefined 81 | #define PTHREAD_STACK_MIN 16384 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:67: note: this is the location of the previous definition 67 | #define PTHREAD_STACK_MIN 2048 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/local_lim.h:84: warning: "DELAYTIMER_MAX" redefined 84 | #define DELAYTIMER_MAX 2147483647 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:71: note: this is the location of the previous definition 71 | #define DELAYTIMER_MAX 0x7fffffff | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/local_lim.h:93: warning: "HOST_NAME_MAX" redefined 93 | #define HOST_NAME_MAX 64 | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:56: note: this is the location of the previous definition 56 | #define HOST_NAME_MAX 255 | In file included from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/local_lim.h:99: warning: "SEM_VALUE_MAX" redefined 99 | #define SEM_VALUE_MAX (2147483647) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:69: note: this is the location of the previous definition 69 | #define SEM_VALUE_MAX 0x7fffffff | In file included from /usr/include/limits.h:187, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/posix2_lim.h:88: warning: "RE_DUP_MAX" redefined 88 | #define RE_DUP_MAX (0x7fff) | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:85: note: this is the location of the previous definition 85 | #define RE_DUP_MAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:62: warning: "_XOPEN_IOV_MAX" redefined 62 | #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:162: note: this is the location of the previous definition 162 | #define _XOPEN_IOV_MAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:66: warning: "IOV_MAX" redefined 66 | # define IOV_MAX __IOV_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:50: note: this is the location of the previous definition 50 | #define IOV_MAX 1024 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:73: warning: "NL_ARGMAX" redefined 73 | #define NL_ARGMAX _POSIX_ARG_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:87: note: this is the location of the previous definition 87 | #define NL_ARGMAX 9 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:76: warning: "NL_LANGMAX" redefined 76 | #define NL_LANGMAX _POSIX2_LINE_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:100: note: this is the location of the previous definition 100 | #define NL_LANGMAX 32 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:79: warning: "NL_MSGMAX" redefined 79 | #define NL_MSGMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:88: note: this is the location of the previous definition 88 | #define NL_MSGMAX 32767 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:84: warning: "NL_NMAX" redefined 84 | # define NL_NMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:107: note: this is the location of the previous definition 107 | #define NL_NMAX 16 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:88: warning: "NL_SETMAX" redefined 88 | #define NL_SETMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:89: note: this is the location of the previous definition 89 | #define NL_SETMAX 255 | In file included from /usr/include/limits.h:191, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/xopen_lim.h:91: warning: "NL_TEXTMAX" redefined 91 | #define NL_TEXTMAX INT_MAX | In file included from /usr/include/limits.h:124, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/limits.h:90: note: this is the location of the previous definition 90 | #define NL_TEXTMAX 2048 | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:52:24: error: conflicting types for 'va_list'; have 'int' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:334:27: note: previous declaration of 'va_list' with type 'va_list' 334 | typedef __builtin_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:52:24: error: conflicting types for 'va_list'; have 'int' 52 | typedef __gnuc_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:334:27: note: previous declaration of 'va_list' with type 'va_list' 334 | typedef __builtin_va_list va_list; | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/stdio.h:342:22: error: unknown type name '__gnuc_va_list' 342 | __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:347:54: error: unknown type name '__gnuc_va_list' 347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/stdio.h:342:22: error: unknown type name '__gnuc_va_list' 342 | __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:347:54: error: unknown type name '__gnuc_va_list' 347 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:350:22: error: unknown type name '__gnuc_va_list' 350 | __gnuc_va_list __arg) __THROWNL; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:350:22: error: unknown type name '__gnuc_va_list' 350 | __gnuc_va_list __arg) __THROWNL; | ^~~~~~~~~~~~~~ /usr/include/stdio.h:359:56: error: unknown type name '__gnuc_va_list' 359 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:359:56: error: unknown type name '__gnuc_va_list' 359 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:367:23: error: unknown type name '__gnuc_va_list' 367 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:367:23: error: unknown type name '__gnuc_va_list' 367 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:380:22: error: unknown type name '__gnuc_va_list' 380 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:380:22: error: unknown type name '__gnuc_va_list' 380 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:433:21: error: unknown type name '__gnuc_va_list' 433 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:433:21: error: unknown type name '__gnuc_va_list' 433 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:440:53: error: unknown type name '__gnuc_va_list' 440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:440:53: error: unknown type name '__gnuc_va_list' 440 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:445:54: error: unknown type name '__gnuc_va_list' 445 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/stdio.h:445:54: error: unknown type name '__gnuc_va_list' 445 | const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/stdio.h:453:58: error: unknown type name '__gnuc_va_list' 453 | const char *__restrict __format, __gnuc_va_list __arg), | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/stdio.h:453:58: error: unknown type name '__gnuc_va_list' 453 | const char *__restrict __format, __gnuc_va_list __arg), | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:457:33: error: unknown type name '__gnuc_va_list' 457 | __gnuc_va_list __arg), __isoc99_vscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:457:33: error: unknown type name '__gnuc_va_list' 457 | __gnuc_va_list __arg), __isoc99_vscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/stdio.h:462:29: error: unknown type name '__gnuc_va_list' 462 | __gnuc_va_list __arg), __isoc99_vsscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/stdio.h:462:29: error: unknown type name '__gnuc_va_list' 462 | __gnuc_va_list __arg), __isoc99_vsscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/stdio.h:831:29: error: unknown type name '__gnuc_va_list' 831 | __gnuc_va_list __args) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/stdio.h:831:29: error: unknown type name '__gnuc_va_list' 831 | __gnuc_va_list __args) | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:30:28: error: unknown type name '__gnuc_va_list' 30 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:30:28: error: unknown type name '__gnuc_va_list' 30 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:47:18: error: unknown type name '__gnuc_va_list' 47 | __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:47:18: error: unknown type name '__gnuc_va_list' 47 | __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:60:29: error: unknown type name '__gnuc_va_list' 60 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:60:29: error: unknown type name '__gnuc_va_list' 60 | __gnuc_va_list __ap) __THROW; | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:78:49: error: unknown type name '__gnuc_va_list' 78 | const char *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:78:49: error: unknown type name '__gnuc_va_list' 78 | const char *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:39:26: error: redefinition of 'fgets' 39 | _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:39:26: error: redefinition of 'fgets' 39 | _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:255:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' {aka 'char *(char * restrict, int, struct _IO_FILE * restrict)'} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:48:27: error: redefinition of 'fread' 48 | _FORTIFY_FN(fread) size_t fread(void *__d, size_t __n, size_t __m, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:284:1: note: previous definition of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, struct _IO_FILE * restrict)'} 284 | fread (void *__restrict __ptr, size_t __size, size_t __n, | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:255:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' {aka 'char *(char * restrict, int, struct _IO_FILE * restrict)'} 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:48:27: error: redefinition of 'fread' 48 | _FORTIFY_FN(fread) size_t fread(void *__d, size_t __n, size_t __m, FILE *__f) | ^~~~~ In file included from /usr/include/stdio.h:867, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:284:1: note: previous definition of 'fread' with type 'size_t(void * restrict, size_t, size_t, FILE * restrict)' {aka 'long unsigned int(void * restrict, long unsigned int, long unsigned int, struct _IO_FILE * restrict)'} 284 | fread (void *__restrict __ptr, size_t __size, size_t __n, | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:13: error: 'vsnprintf' undeclared here (not in a function); did you mean 'snprintf'? 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:13: error: 'vsnprintf' undeclared here (not in a function); did you mean 'snprintf'? 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:77:16: error: called object '__orig_vsnprintf' is not a function or function pointer 77 | return __orig_vsnprintf(__s, __n, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:77:16: error: called object '__orig_vsnprintf' is not a function or function pointer 77 | return __orig_vsnprintf(__s, __n, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:13: error: 'vsprintf' undeclared here (not in a function); did you mean 'vsnprintf'? 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:86:23: error: called object '__orig_vsnprintf' is not a function or function pointer 86 | __r = __orig_vsnprintf(__s, __b, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:90:23: error: called object '__orig_vsprintf' is not a function or function pointer 90 | __r = __orig_vsprintf(__s, __f, __v); | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:13: error: 'vsprintf' undeclared here (not in a function); did you mean 'vsnprintf'? 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:95:27: error: redefinition of 'snprintf' 95 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, ...) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:64:8: note: previous definition of 'snprintf' with type 'int(char *, size_t, const char *, ...)' {aka 'int(char *, long unsigned int, const char *, ...)'} 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'vsprintf': In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:104:26: error: redefinition of 'sprintf' 104 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:86:23: error: called object '__orig_vsnprintf' is not a function or function pointer 86 | __r = __orig_vsnprintf(__s, __b, __f, __v); | ^~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:70:1: note: in expansion of macro '_FORTIFY_FN' 70 | _FORTIFY_FN(vsnprintf) int vsnprintf(char *__s, size_t __n, const char *__f, | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:90:23: error: called object '__orig_vsprintf' is not a function or function pointer 90 | __r = __orig_vsprintf(__s, __f, __v); | ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdio2.h:34:8: note: previous definition of 'sprintf' with type 'int(char *, const char *, ...)' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:33:25: error: redefinition of 'bcopy' 33 | _FORTIFY_FN(bcopy) void bcopy(const void *__s, void *__d, size_t __n) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:80:1: note: in expansion of macro '_FORTIFY_FN' 80 | _FORTIFY_FN(vsprintf) int vsprintf(char *__s, const char *__f, __builtin_va_list __v) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:95:27: error: redefinition of 'snprintf' 95 | _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, const char *__f, ...) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:64:8: note: previous definition of 'snprintf' with type 'int(char *, size_t, const char *, ...)' {aka 'int(char *, long unsigned int, const char *, ...)'} 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:104:26: error: redefinition of 'sprintf' 104 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdio2.h:34:8: note: previous definition of 'sprintf' with type 'int(char *, const char *, ...)' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:33:25: error: redefinition of 'bcopy' 33 | _FORTIFY_FN(bcopy) void bcopy(const void *__s, void *__d, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/strings_fortified.h:23:8: note: previous definition of 'bcopy' with type 'void(const void *, void *, size_t)' {aka 'void(const void *, void *, long unsigned int)'} 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:43:25: error: redefinition of 'bzero' 43 | _FORTIFY_FN(bzero) void bzero(void *__s, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/strings_fortified.h:29:8: note: previous definition of 'bzero' with type 'void(void *, size_t)' {aka 'void(void *, long unsigned int)'} 29 | __NTH (bzero (void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:39:27: error: redefinition of 'memcpy' 39 | _FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/strings_fortified.h:23:8: note: previous definition of 'bcopy' with type 'void(const void *, void *, size_t)' {aka 'void(const void *, void *, long unsigned int)'} 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/string.h:432, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/strings.h:43:25: error: redefinition of 'bzero' 43 | _FORTIFY_FN(bzero) void bzero(void *__s, size_t __n) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/strings_fortified.h:29:8: note: previous definition of 'bzero' with type 'void(void *, size_t)' {aka 'void(void *, long unsigned int)'} 29 | __NTH (bzero (void *__dest, size_t __len)) | ^~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:39:27: error: redefinition of 'memcpy' 39 | _FORTIFY_FN(memcpy) void *memcpy(void *__od, const void *__os, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:31:8: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:56:28: error: redefinition of 'memmove' 56 | _FORTIFY_FN(memmove) void *memmove(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:38:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:66:27: error: redefinition of 'memset' 66 | _FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:31:8: note: previous definition of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:56:28: error: redefinition of 'memmove' 56 | _FORTIFY_FN(memmove) void *memmove(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:59:8: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:79:27: error: redefinition of 'stpcpy' 79 | _FORTIFY_FN(stpcpy) char *stpcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:38:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:95:8: note: previous definition of 'stpcpy' with type 'char *(char *, const char *)' 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:66:27: error: redefinition of 'memset' 66 | _FORTIFY_FN(memset) void *memset(void *__d, int __c, size_t __n) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:89:28: error: redefinition of 'stpncpy' 89 | _FORTIFY_FN(stpncpy) char *stpncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:59:8: note: previous definition of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:79:27: error: redefinition of 'stpcpy' 79 | _FORTIFY_FN(stpcpy) char *stpcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:116:8: note: previous definition of 'stpncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 116 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:99:27: error: redefinition of 'strcat' 99 | _FORTIFY_FN(strcat) char *strcat(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:95:8: note: previous definition of 'stpcpy' with type 'char *(char *, const char *)' 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:89:28: error: redefinition of 'stpncpy' 89 | _FORTIFY_FN(stpncpy) char *stpncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:126:8: note: previous definition of 'strcat' with type 'char *(char *, const char *)' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:108:27: error: redefinition of 'strcpy' 108 | _FORTIFY_FN(strcpy) char *strcpy(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:116:8: note: previous definition of 'stpncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 116 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:99:27: error: redefinition of 'strcat' 99 | _FORTIFY_FN(strcat) char *strcat(char *__d, const char *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:88:8: note: previous definition of 'strcpy' with type 'char *(char *, const char *)' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:117:28: error: redefinition of 'strncat' 117 | _FORTIFY_FN(strncat) char *strncat(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:126:8: note: previous definition of 'strcat' with type 'char *(char *, const char *)' 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:133:8: note: previous definition of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:108:27: error: redefinition of 'strcpy' 108 | _FORTIFY_FN(strcpy) char *strcpy(char *__d, const char *__s) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:133:28: error: redefinition of 'strncpy' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:88:8: note: previous definition of 'strcpy' with type 'char *(char *, const char *)' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:117:28: error: redefinition of 'strncat' 117 | _FORTIFY_FN(strncat) char *strncat(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:103:8: note: previous definition of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:144:28: error: redefinition of 'mempcpy' 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:133:8: note: previous definition of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:133:28: error: redefinition of 'strncpy' 133 | _FORTIFY_FN(strncpy) char *strncpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/string_fortified.h:45:8: note: previous definition of 'mempcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:13: error: 'strlcat' undeclared here (not in a function); did you mean 'strncat'? 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:103:8: note: previous definition of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:144:28: error: redefinition of 'mempcpy' 144 | _FORTIFY_FN(mempcpy) void *mempcpy(void *__d, const void *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/string_fortified.h:45:8: note: previous definition of 'mempcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:13: error: 'strlcat' undeclared here (not in a function); did you mean 'strncat'? 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:164:16: error: called object '__orig_strlcat' is not a function or function pointer 164 | return __orig_strlcat(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: At top level: In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:164:16: error: called object '__orig_strlcat' is not a function or function pointer 164 | return __orig_strlcat(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:158:1: note: in expansion of macro '_FORTIFY_FN' 158 | _FORTIFY_FN(strlcat) size_t strlcat(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:13: error: 'strlcpy' undeclared here (not in a function); did you mean 'strncpy'? 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:173:16: error: called object '__orig_strlcpy' is not a function or function pointer 173 | return __orig_strlcpy(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /usr/include/bits/endian.h:35, from /usr/include/endian.h:24, from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingmath.c:16: /usr/include/bits/endianness.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:13: error: 'strlcpy' undeclared here (not in a function); did you mean 'strncpy'? 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:40: note: in definition of macro '_FORTIFY_ORIG' 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:30, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h: In function 'strlcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:173:16: error: called object '__orig_strlcpy' is not a function or function pointer 173 | return __orig_strlcpy(__d, __s, __n); | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:25, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:20:44: note: declared here 20 | #define _FORTIFY_ORIG(p,fn) __typeof__(fn) __orig_##fn __asm__(_FORTIFY_STR(p) #fn) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/fortify-headers.h:21:25: note: in expansion of macro '_FORTIFY_ORIG' 21 | #define _FORTIFY_FN(fn) _FORTIFY_ORIG(__USER_LABEL_PREFIX__,fn); \ | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/string.h:167:1: note: in expansion of macro '_FORTIFY_FN' 167 | _FORTIFY_FN(strlcpy) size_t strlcpy(char *__d, const char *__s, size_t __n) | ^~~~~~~~~~~ In file included from /usr/include/bits/endian.h:35, from /usr/include/endian.h:24, from /usr/include/sys/types.h:176, from /usr/include/stdlib.h:394, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingmorph.c:14: /usr/include/bits/endianness.h: At top level: /usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:8: note: this is the location of the previous definition 8 | #define __BYTE_ORDER 1234 | In file included from /usr/include/stdlib.h:1017, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingmath.c:16: /usr/include/bits/stdlib.h: In function 'wctomb': /usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/stdarg.h:10, from /usr/include/stdio.h:36, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdio.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:25, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/bits/alltypes.h:8: note: this is the location of the previous definition 8 | #define __BYTE_ORDER 1234 | In file included from /usr/include/stdlib.h:1017, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingmorph.c:14: /usr/include/bits/stdlib.h: In function 'wctomb': /usr/include/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong" 90 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ /usr/include/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong" 90 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h: At top level: In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:34, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:40:29: error: redefinition of 'realpath' 40 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdlib.h:37:8: note: previous definition of 'realpath' with type 'char *(const char * restrict, char * restrict)' 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:43:29: error: redefinition of 'confstr' 43 | _FORTIFY_FN(confstr) size_t confstr(int __n, char *__s, size_t __l) | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/stdlib.h:40:29: error: redefinition of 'realpath' 40 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdlib.h:37:8: note: previous definition of 'realpath' with type 'char *(const char * restrict, char * restrict)' 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:43:29: error: redefinition of 'confstr' 43 | _FORTIFY_FN(confstr) size_t confstr(int __n, char *__s, size_t __l) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:240:8: note: previous definition of 'confstr' with type 'size_t(int, char *, size_t)' {aka 'long unsigned int(int, char *, long unsigned int)'} 240 | __NTH (confstr (int __name, char *__buf, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:240:8: note: previous definition of 'confstr' with type 'size_t(int, char *, size_t)' {aka 'long unsigned int(int, char *, long unsigned int)'} 240 | __NTH (confstr (int __name, char *__buf, size_t __len)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:53:27: error: redefinition of 'getcwd' 53 | _FORTIFY_FN(getcwd) char *getcwd(char *__s, size_t __l) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:53:27: error: redefinition of 'getcwd' 53 | _FORTIFY_FN(getcwd) char *getcwd(char *__s, size_t __l) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:200:8: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'} 200 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:200:8: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'} 200 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:64:32: error: redefinition of 'getdomainname' 64 | _FORTIFY_FN(getdomainname) int getdomainname(char *__s, size_t __l) | ^~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:64:32: error: redefinition of 'getdomainname' 64 | _FORTIFY_FN(getdomainname) int getdomainname(char *__s, size_t __l) | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:373:8: note: previous definition of 'getdomainname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 373 | __NTH (getdomainname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:74:28: error: redefinition of 'getgroups' 74 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t *__s) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:373:8: note: previous definition of 'getdomainname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 373 | __NTH (getdomainname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:74:28: error: redefinition of 'getgroups' 74 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t *__s) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:265:8: note: previous definition of 'getgroups' with type 'int(int, __gid_t *)' {aka 'int(int, unsigned int *)'} 265 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:83:30: error: redefinition of 'gethostname' 83 | _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:265:8: note: previous definition of 'getgroups' with type 'int(int, __gid_t *)' {aka 'int(int, unsigned int *)'} 265 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:83:30: error: redefinition of 'gethostname' 83 | _FORTIFY_FN(gethostname) int gethostname(char *__s, size_t __l) | ^~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:344:8: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:92:29: error: redefinition of 'getlogin_r' 92 | _FORTIFY_FN(getlogin_r) int getlogin_r(char *__s, size_t __l) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:344:8: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 344 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:92:29: error: redefinition of 'getlogin_r' 92 | _FORTIFY_FN(getlogin_r) int getlogin_r(char *__s, size_t __l) | ^~~~~~~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:317:1: note: previous definition of 'getlogin_r' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 317 | getlogin_r (char *__buf, size_t __buflen) | ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:101:28: error: redefinition of 'pread' 101 | _FORTIFY_FN(pread) ssize_t pread(int __f, void *__s, size_t __n, off_t __o) | ^~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:317:1: note: previous definition of 'getlogin_r' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'} 317 | getlogin_r (char *__buf, size_t __buflen) | ^~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:101:28: error: redefinition of 'pread' 101 | _FORTIFY_FN(pread) ssize_t pread(int __f, void *__s, size_t __n, off_t __o) | ^~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:87:1: note: previous definition of 'pread' with type 'ssize_t(int, void *, size_t, __off64_t)' {aka 'int(int, void *, long unsigned int, long long int)'} 87 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:110:27: error: redefinition of 'read' 110 | _FORTIFY_FN(read) ssize_t read(int __f, void *__s, size_t __n) | ^~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:87:1: note: previous definition of 'pread' with type 'ssize_t(int, void *, size_t, __off64_t)' {aka 'int(int, void *, long unsigned int, long long int)'} 87 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:110:27: error: redefinition of 'read' 110 | _FORTIFY_FN(read) ssize_t read(int __f, void *__s, size_t __n) | ^~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:34:1: note: previous definition of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'} 34 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:119:31: error: redefinition of 'readlink' 119 | _FORTIFY_FN(readlink) ssize_t readlink(const char *__p, char *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/unistd.h:1166, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:22, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:34:1: note: previous definition of 'read' with type 'ssize_t(int, void *, size_t)' {aka 'int(int, void *, long unsigned int)'} 34 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:119:31: error: redefinition of 'readlink' 119 | _FORTIFY_FN(readlink) ssize_t readlink(const char *__p, char *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:139:8: note: previous definition of 'readlink' with type 'ssize_t(const char * restrict, char * restrict, size_t)' {aka 'int(const char * restrict, char * restrict, long unsigned int)'} 139 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:128:33: error: redefinition of 'readlinkat' 128 | _FORTIFY_FN(readlinkat) ssize_t readlinkat(int __f, const char *__p, char *__s, size_t __n) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:139:8: note: previous definition of 'readlink' with type 'ssize_t(const char * restrict, char * restrict, size_t)' {aka 'int(const char * restrict, char * restrict, long unsigned int)'} 139 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:128:33: error: redefinition of 'readlinkat' 128 | _FORTIFY_FN(readlinkat) ssize_t readlinkat(int __f, const char *__p, char *__s, size_t __n) | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:173:8: note: previous definition of 'readlinkat' with type 'ssize_t(int, const char * restrict, char * restrict, size_t)' {aka 'int(int, const char * restrict, char * restrict, long unsigned int)'} 173 | __NTH (readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:137:28: error: redefinition of 'ttyname_r' 137 | _FORTIFY_FN(ttyname_r) int ttyname_r(int __f, char *__s, size_t __n) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:173:8: note: previous definition of 'readlinkat' with type 'ssize_t(int, const char * restrict, char * restrict, size_t)' {aka 'int(int, const char * restrict, char * restrict, long unsigned int)'} 173 | __NTH (readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:36, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/unistd.h:137:28: error: redefinition of 'ttyname_r' 137 | _FORTIFY_FN(ttyname_r) int ttyname_r(int __f, char *__s, size_t __n) | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/unistd.h:291:8: note: previous definition of 'ttyname_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 291 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imagingmath.c:16: /usr/include/stdint.h:109: warning: "__INT64_C" redefined 109 | # define __INT64_C(c) c ## LL | In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/unistd.h:291:8: note: previous definition of 'ttyname_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'} 291 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imagingmorph.c:14: /usr/include/stdint.h:109: warning: "__INT64_C" redefined 109 | # define __INT64_C(c) c ## LL | : note: this is the location of the previous definition In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imagingmath.c:16: /usr/include/stdint.h:110: warning: "__UINT64_C" redefined 110 | # define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition : note: this is the location of the previous definition In file included from /usr/include/inttypes.h:27, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pyport.h:6, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:50, from src/_imagingmorph.c:14: /usr/include/stdint.h:110: warning: "__UINT64_C" redefined 110 | # define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /usr/include/wchar.h:600:23: error: unknown type name '__gnuc_va_list' 600 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:607:22: error: unknown type name '__gnuc_va_list' 607 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:613:23: error: unknown type name '__gnuc_va_list' 613 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:673:22: error: unknown type name '__gnuc_va_list' 673 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:680:21: error: unknown type name '__gnuc_va_list' 680 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:685:22: error: unknown type name '__gnuc_va_list' 685 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /usr/include/wchar.h:600:23: error: unknown type name '__gnuc_va_list' 600 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/wchar.h:695:35: error: unknown type name '__gnuc_va_list' 695 | __gnuc_va_list __arg), __isoc99_vfwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:607:22: error: unknown type name '__gnuc_va_list' 607 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:698:34: error: unknown type name '__gnuc_va_list' 698 | __gnuc_va_list __arg), __isoc99_vwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/wchar.h:613:23: error: unknown type name '__gnuc_va_list' 613 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:702:39: error: unknown type name '__gnuc_va_list' 702 | __gnuc_va_list __arg), __isoc99_vswscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/wchar.h:673:22: error: unknown type name '__gnuc_va_list' 673 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:680:21: error: unknown type name '__gnuc_va_list' 680 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:306:29: error: unknown type name '__gnuc_va_list' 306 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ /usr/include/wchar.h:685:22: error: unknown type name '__gnuc_va_list' 685 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:312:34: error: unknown type name '__gnuc_va_list' 312 | __gnuc_va_list __ap), vswprintf); | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/bits/wchar2.h:309:12: note: in expansion of macro '__REDIRECT_NTH_LDBL' 309 | extern int __REDIRECT_NTH_LDBL (__vswprintf_alias, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/wchar.h:695:35: error: unknown type name '__gnuc_va_list' 695 | __gnuc_va_list __arg), __isoc99_vfwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ /usr/include/bits/wchar2.h:316:52: error: unknown type name '__gnuc_va_list' 316 | const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/wchar.h:698:34: error: unknown type name '__gnuc_va_list' 698 | __gnuc_va_list __arg), __isoc99_vwscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:174:46: note: in definition of macro '__REDIRECT' 174 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h: In function 'wcrtomb': /usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong" 448 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:58:30: error: redefinition of 'fgetws' 58 | _FORTIFY_FN(fgetws) wchar_t *fgetws(wchar_t *__s, int __n, FILE *__f) | ^~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:384:1: note: previous definition of 'fgetws' with type 'wchar_t *(wchar_t * restrict, int, __FILE * restrict)' {aka 'unsigned int *(unsigned int * restrict, int, struct _IO_FILE * restrict)'} 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:70:32: error: redefinition of 'mbsnrtowcs' 70 | _FORTIFY_FN(mbsnrtowcs) size_t mbsnrtowcs(wchar_t *__d, const char **__s, size_t __n, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:542:8: note: previous definition of 'mbsnrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:90:31: error: redefinition of 'mbsrtowcs' 90 | _FORTIFY_FN(mbsrtowcs) size_t mbsrtowcs(wchar_t *__d, const char **__s, size_t __wn, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:474:8: note: previous definition of 'mbsrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, __mbstate_t * restrict)'} 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ /usr/include/wchar.h:702:39: error: unknown type name '__gnuc_va_list' 702 | __gnuc_va_list __arg), __isoc99_vswscanf) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:103:30: error: redefinition of 'mbstowcs' 103 | _FORTIFY_FN(mbstowcs) size_t mbstowcs(wchar_t *__ws, const char *__s, size_t __wn) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdlib.h:113:8: note: previous definition of 'mbstowcs' with type 'size_t(wchar_t * restrict, const char * restrict, size_t)' {aka 'long unsigned int(unsigned int * restrict, const char * restrict, long unsigned int)'} 113 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:112:29: error: redefinition of 'wcrtomb' 112 | _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:440:8: note: previous definition of 'wcrtomb' with type 'size_t(char * restrict, wchar_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, unsigned int, __mbstate_t * restrict)'} 440 | __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:129:30: error: redefinition of 'wcscat' 129 | _FORTIFY_FN(wcscat) wchar_t *wcscat(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:246:8: note: previous definition of 'wcscat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:138:30: error: redefinition of 'wcscpy' 138 | _FORTIFY_FN(wcscpy) wchar_t *wcscpy(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:152:8: note: previous definition of 'wcscpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:147:31: error: redefinition of 'wcsncat' 147 | _FORTIFY_FN(wcsncat) wchar_t *wcsncat(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:263:8: note: previous definition of 'wcsncat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:163:31: error: redefinition of 'wcsncpy' 163 | _FORTIFY_FN(wcsncpy) wchar_t *wcsncpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:191:8: note: previous definition of 'wcsncpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:175:32: error: redefinition of 'wcsnrtombs' 175 | _FORTIFY_FN(wcsnrtombs) size_t wcsnrtombs(char *__d, const wchar_t **__s, size_t __wn, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:578:8: note: previous definition of 'wcsnrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:195:31: error: redefinition of 'wcsrtombs' 195 | _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char *__d, const wchar_t **__s, size_t __n, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:508:8: note: previous definition of 'wcsrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, __mbstate_t * restrict)'} 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:207:30: error: redefinition of 'wcstombs' 207 | _FORTIFY_FN(wcstombs) size_t wcstombs(char *__s, const wchar_t *__ws, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdlib.h:144:8: note: previous definition of 'wcstombs' with type 'size_t(char * restrict, const wchar_t * restrict, size_t)' {aka 'long unsigned int(char * restrict, const unsigned int * restrict, long unsigned int)'} 144 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:216:25: error: redefinition of 'wctomb' 216 | _FORTIFY_FN(wctomb) int wctomb(char *__s, wchar_t __w) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/stdlib.h:83:8: note: previous definition of 'wctomb' with type 'int(char *, wchar_t)' {aka 'int(char *, unsigned int)'} 83 | __NTH (wctomb (char *__s, wchar_t __wchar)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:225:31: error: redefinition of 'wmemcpy' 225 | _FORTIFY_FN(wmemcpy) wchar_t *wmemcpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:39:8: note: previous definition of 'wmemcpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:234:32: error: redefinition of 'wmemmove' 234 | _FORTIFY_FN(wmemmove) wchar_t *wmemmove(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:68:8: note: previous definition of 'wmemmove' with type 'wchar_t *(wchar_t *, const wchar_t *, size_t)' {aka 'unsigned int *(unsigned int *, const unsigned int *, long unsigned int)'} 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmath.c:16: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:243:31: error: redefinition of 'wmemset' 243 | _FORTIFY_FN(wmemset) wchar_t *wmemset(wchar_t *__s, wchar_t __c, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmath.c:16: /usr/include/bits/wchar2.h:129:8: note: previous definition of 'wmemset' with type 'wchar_t *(wchar_t *, wchar_t, size_t)' {aka 'unsigned int *(unsigned int *, unsigned int, long unsigned int)'} 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:306:29: error: unknown type name '__gnuc_va_list' 306 | __gnuc_va_list __arg) | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:312:34: error: unknown type name '__gnuc_va_list' 312 | __gnuc_va_list __ap), vswprintf); | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:182:11: note: in definition of macro '__REDIRECT_NTH' 182 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~~ /usr/include/bits/wchar2.h:309:12: note: in expansion of macro '__REDIRECT_NTH_LDBL' 309 | extern int __REDIRECT_NTH_LDBL (__vswprintf_alias, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bits/wchar2.h:316:52: error: unknown type name '__gnuc_va_list' 316 | const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | ^~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h: In function 'wcrtomb': /usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong" 448 | # error "Assumed value of MB_LEN_MAX wrong" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:58:30: error: redefinition of 'fgetws' 58 | _FORTIFY_FN(fgetws) wchar_t *fgetws(wchar_t *__s, int __n, FILE *__f) | ^~~~~~ In file included from /usr/include/wchar.h:849, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:34, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:384:1: note: previous definition of 'fgetws' with type 'wchar_t *(wchar_t * restrict, int, __FILE * restrict)' {aka 'unsigned int *(unsigned int * restrict, int, struct _IO_FILE * restrict)'} 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:70:32: error: redefinition of 'mbsnrtowcs' 70 | _FORTIFY_FN(mbsnrtowcs) size_t mbsnrtowcs(wchar_t *__d, const char **__s, size_t __n, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:542:8: note: previous definition of 'mbsnrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:90:31: error: redefinition of 'mbsrtowcs' 90 | _FORTIFY_FN(mbsrtowcs) size_t mbsrtowcs(wchar_t *__d, const char **__s, size_t __wn, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:474:8: note: previous definition of 'mbsrtowcs' with type 'size_t(wchar_t * restrict, const char ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(unsigned int * restrict, const char ** restrict, long unsigned int, __mbstate_t * restrict)'} 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:103:30: error: redefinition of 'mbstowcs' 103 | _FORTIFY_FN(mbstowcs) size_t mbstowcs(wchar_t *__ws, const char *__s, size_t __wn) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdlib.h:113:8: note: previous definition of 'mbstowcs' with type 'size_t(wchar_t * restrict, const char * restrict, size_t)' {aka 'long unsigned int(unsigned int * restrict, const char * restrict, long unsigned int)'} 113 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:112:29: error: redefinition of 'wcrtomb' 112 | _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:440:8: note: previous definition of 'wcrtomb' with type 'size_t(char * restrict, wchar_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, unsigned int, __mbstate_t * restrict)'} 440 | __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:129:30: error: redefinition of 'wcscat' 129 | _FORTIFY_FN(wcscat) wchar_t *wcscat(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:246:8: note: previous definition of 'wcscat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:138:30: error: redefinition of 'wcscpy' 138 | _FORTIFY_FN(wcscpy) wchar_t *wcscpy(wchar_t *__d, const wchar_t *__s) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:152:8: note: previous definition of 'wcscpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict)'} 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:147:31: error: redefinition of 'wcsncat' 147 | _FORTIFY_FN(wcsncat) wchar_t *wcsncat(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:263:8: note: previous definition of 'wcsncat' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:163:31: error: redefinition of 'wcsncpy' 163 | _FORTIFY_FN(wcsncpy) wchar_t *wcsncpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:191:8: note: previous definition of 'wcsncpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:175:32: error: redefinition of 'wcsnrtombs' 175 | _FORTIFY_FN(wcsnrtombs) size_t wcsnrtombs(char *__d, const wchar_t **__s, size_t __wn, | ^~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:578:8: note: previous definition of 'wcsnrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, long unsigned int, __mbstate_t * restrict)'} 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:195:31: error: redefinition of 'wcsrtombs' 195 | _FORTIFY_FN(wcsrtombs) size_t wcsrtombs(char *__d, const wchar_t **__s, size_t __n, | ^~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:508:8: note: previous definition of 'wcsrtombs' with type 'size_t(char * restrict, const wchar_t ** restrict, size_t, mbstate_t * restrict)' {aka 'long unsigned int(char * restrict, const unsigned int ** restrict, long unsigned int, __mbstate_t * restrict)'} 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | ^~~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:207:30: error: redefinition of 'wcstombs' 207 | _FORTIFY_FN(wcstombs) size_t wcstombs(char *__s, const wchar_t *__ws, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdlib.h:144:8: note: previous definition of 'wcstombs' with type 'size_t(char * restrict, const wchar_t * restrict, size_t)' {aka 'long unsigned int(char * restrict, const unsigned int * restrict, long unsigned int)'} 144 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:216:25: error: redefinition of 'wctomb' 216 | _FORTIFY_FN(wctomb) int wctomb(char *__s, wchar_t __w) | ^~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/stdlib.h:83:8: note: previous definition of 'wctomb' with type 'int(char *, wchar_t)' {aka 'int(char *, unsigned int)'} 83 | __NTH (wctomb (char *__s, wchar_t __wchar)) | ^~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:225:31: error: redefinition of 'wmemcpy' 225 | _FORTIFY_FN(wmemcpy) wchar_t *wmemcpy(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:39:8: note: previous definition of 'wmemcpy' with type 'wchar_t *(wchar_t * restrict, const wchar_t * restrict, size_t)' {aka 'unsigned int *(unsigned int * restrict, const unsigned int * restrict, long unsigned int)'} 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:234:32: error: redefinition of 'wmemmove' 234 | _FORTIFY_FN(wmemmove) wchar_t *wmemmove(wchar_t *__d, const wchar_t *__s, size_t __n) | ^~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:68:8: note: previous definition of 'wmemmove' with type 'wchar_t *(wchar_t *, const wchar_t *, size_t)' {aka 'unsigned int *(unsigned int *, const unsigned int *, long unsigned int)'} 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | ^~~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/unicodeobject.h:97, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:83, from src/_imagingmorph.c:14: /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/include/fortify/wchar.h:243:31: error: redefinition of 'wmemset' 243 | _FORTIFY_FN(wmemset) wchar_t *wmemset(wchar_t *__s, wchar_t __c, size_t __n) | ^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:11, from src/_imagingmorph.c:14: /usr/include/bits/wchar2.h:129:8: note: previous definition of 'wmemset' with type 'wchar_t *(wchar_t *, wchar_t, size_t)' {aka 'unsigned int *(unsigned int *, unsigned int, long unsigned int)'} 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | ^~~~~~~ /usr/include/sys/cdefs.h:57:62: note: in definition of macro '__NTH' 57 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pythread.h:128, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:122, from src/_imagingmath.c:16: /usr/include/pthread.h:657:6: warning: 'regparm' attribute directive ignored [-Wattributes] 657 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:669:3: warning: 'regparm' attribute directive ignored [-Wattributes] 669 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:692:6: warning: 'regparm' attribute directive ignored [-Wattributes] 692 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:705:3: warning: 'regparm' attribute directive ignored [-Wattributes] 705 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:714:6: warning: 'regparm' attribute directive ignored [-Wattributes] 714 | ; | ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/pythread.h:128, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.10/Python.h:122, from src/_imagingmorph.c:14: /usr/include/pthread.h:657:6: warning: 'regparm' attribute directive ignored [-Wattributes] 657 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ src/_imagingmath.c: In function '_unop': src/_imagingmath.c:176:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 176 | out = (Imaging)i0; | ^ src/_imagingmath.c:177:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 177 | im1 = (Imaging)i1; | ^ src/_imagingmath.c:179:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 179 | unop = (void *)op; | ^ src/_imagingmath.c: In function '_binop': src/_imagingmath.c:199:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 199 | out = (Imaging)i0; | ^ src/_imagingmath.c:200:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 200 | im1 = (Imaging)i1; | ^ src/_imagingmath.c:201:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 201 | im2 = (Imaging)i2; | ^ src/_imagingmath.c:203:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 203 | binop = (void *)op; | ^ src/_imagingmath.c: In function 'install': src/_imagingmath.c:216:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 216 | PyObject *v = PyLong_FromSsize_t((Py_ssize_t)value); | ^ /usr/include/pthread.h:669:3: warning: 'regparm' attribute directive ignored [-Wattributes] 669 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:692:6: warning: 'regparm' attribute directive ignored [-Wattributes] 692 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:705:3: warning: 'regparm' attribute directive ignored [-Wattributes] 705 | __cleanup_fct_attribute; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pthread.h:714:6: warning: 'regparm' attribute directive ignored [-Wattributes] 714 | ; | ^ src/_imagingmorph.c: In function 'apply': src/_imagingmorph.c:60:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 60 | imgin = (Imaging)i0; | ^ src/_imagingmorph.c:61:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 61 | imgout = (Imaging)i1; | ^ src/_imagingmorph.c: In function 'match': src/_imagingmorph.c:164:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 164 | imgin = (Imaging)i0; | ^ src/_imagingmorph.c: In function 'get_on_pixels': src/_imagingmorph.c:233:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 233 | img = (Imaging)i0; | ^ src/_imagingft.c: In function 'font_render': src/_imagingft.c:832:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 832 | im = (Imaging)id; | ^ error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-11.2.0_musl/bin/aarch64-openwrt-linux-musl-gcc' failed with exit code 1 make[3]: *** [Makefile:59: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/Pillow-9.5.0/.built] Error 1 time: package/feeds/packages/pillow/compile#4.86#0.58#7.43