/usr/include/bits/byteswap.h:67:4: note: expanded from macro '__bswap_constant_64'
| (((x) & 0x00000000000000ffull) << 56))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:167: CMakeFiles/avif.dir/src/mem.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/rb/renpy-build/tmp/source/libavif/src/io.c:6:
In file included from /usr/include/limits.h:124:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw-20220906-ucrt-ubuntu-18.04-x86_64/lib/clang/15.0.0/include/limits.h:21:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:6:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/crtdefs.h:10:
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:75:44: error: typedef redefinition with different types ('unsigned long long' vs 'unsigned long')
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^
/usr/include/stdint.h:90:27: note: previous definition is here
typedef unsigned long int uintptr_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/io.c:6:
In file included from /usr/include/limits.h:195:
In file included from /usr/include/bits/posix1_lim.h:161:
In file included from /usr/include/bits/local_lim.h:38:
/usr/include/linux/limits.h:13:9: error: 'PATH_MAX' macro redefined [-Werror,-Wmacro-redefined]
#define PATH_MAX 4096 /* # chars in a path name including nul */
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:20:9: note: previous definition is here
#define PATH_MAX 260
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/io.c:7:
/usr/include/stdio.h:77:19: error: typedef redefinition with different types ('__ssize_t' (aka 'long') vs 'long long')
typedef __ssize_t ssize_t;
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:45:35: note: previous definition is here
__MINGW_EXTENSION typedef __int64 ssize_t;
^
/home/rb/renpy-build/tmp/source/libavif/src/io.c:42:50: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
uint64_t availableSize = reader->rodata.size - offset;
~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/io.c:63:27: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long long') to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
reader->io.sizeHint = size;
~ ^~~~
5 errors generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:152: CMakeFiles/avif.dir/src/io.c.obj] Error 1
In file included from /home/rb/renpy-build/tmp/source/libavif/src/avif.c:6:
In file included from /usr/include/limits.h:124:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw-20220906-ucrt-ubuntu-18.04-x86_64/lib/clang/15.0.0/include/limits.h:21:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:6:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/crtdefs.h:10:
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:75:44: error: typedef redefinition with different types ('unsigned long long' vs 'unsigned long')
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^
/usr/include/stdint.h:90:27: note: previous definition is here
typedef unsigned long int uintptr_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/avif.c:6:
In file included from /usr/include/limits.h:195:
In file included from /usr/include/bits/posix1_lim.h:161:
In file included from /usr/include/bits/local_lim.h:38:
/usr/include/linux/limits.h:13:9: error: 'PATH_MAX' macro redefined [-Werror,-Wmacro-redefined]
#define PATH_MAX 4096 /* # chars in a path name including nul */
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:20:9: note: previous definition is here
#define PATH_MAX 260
^
2 errors generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:92: CMakeFiles/avif.dir/src/avif.c.obj] Error 1
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:65:18: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
data[0] = (l >> 56) & 0xff;
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:66:18: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
data[1] = (l >> 48) & 0xff;
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:67:18: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
data[2] = (l >> 40) & 0xff;
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:68:18: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
data[3] = (l >> 32) & 0xff;
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:80:31: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
((uint64_t)data[3] << 32) | ((uint64_t)data[2] << 40) | ((uint64_t)data[1] << 48) | ((uint64_t)data[0] << 56);
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:80:59: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
((uint64_t)data[3] << 32) | ((uint64_t)data[2] << 40) | ((uint64_t)data[1] << 48) | ((uint64_t)data[0] << 56);
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:80:87: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
((uint64_t)data[3] << 32) | ((uint64_t)data[2] << 40) | ((uint64_t)data[1] << 48) | ((uint64_t)data[0] << 56);
^ ~~
/home/rb/renpy-build/tmp/source/libavif/src/utils.c:80:115: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
((uint64_t)data[3] << 32) | ((uint64_t)data[2] << 40) | ((uint64_t)data[1] << 48) | ((uint64_t)data[0] << 56);
^ ~~
8 errors generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:302: CMakeFiles/avif.dir/src/utils.c.obj] Error 1
In file included from /home/rb/renpy-build/tmp/source/libavif/src/codec_aom.c:34:
In file included from /usr/include/limits.h:124:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw-20220906-ucrt-ubuntu-18.04-x86_64/lib/clang/15.0.0/include/limits.h:21:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:6:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/crtdefs.h:10:
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:75:44: error: typedef redefinition with different types ('unsigned long long' vs 'unsigned long')
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^
/usr/include/stdint.h:90:27: note: previous definition is here
typedef unsigned long int uintptr_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/codec_aom.c:34:
In file included from /usr/include/limits.h:195:
In file included from /usr/include/bits/posix1_lim.h:161:
In file included from /usr/include/bits/local_lim.h:38:
/usr/include/linux/limits.h:13:9: error: 'PATH_MAX' macro redefined [-Werror,-Wmacro-redefined]
#define PATH_MAX 4096 /* # chars in a path name including nul */
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:20:9: note: previous definition is here
#define PATH_MAX 260
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/codec_aom.c:35:
In file included from /usr/include/stdlib.h:395:
/usr/include/sys/types.h:108:19: error: typedef redefinition with different types ('__ssize_t' (aka 'long') vs 'long long')
typedef __ssize_t ssize_t;
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:45:35: note: previous definition is here
__MINGW_EXTENSION typedef __int64 ssize_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/codec_aom.c:35:
In file included from /usr/include/stdlib.h:395:
In file included from /usr/include/sys/types.h:129:
/usr/include/bits/types/time_t.h:10:18: error: typedef redefinition with different types ('__time_t' (aka 'long') vs '__time64_t' (aka 'long long'))
typedef __time_t time_t;
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:138:20: note: previous definition is here
typedef __time64_t time_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/codec_aom.c:35:
In file included from /usr/include/stdlib.h:395:
In file included from /usr/include/sys/types.h:176:
In file included from /usr/include/endian.h:35:
/usr/include/bits/byteswap.h:75:10: error: implicit conversion loses integer precision: 'unsigned long long' to '__uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
return __bswap_constant_64 (__bsx);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/bits/byteswap.h:67:4: note: expanded from macro '__bswap_constant_64'
| (((x) & 0x00000000000000ffull) << 56))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:332: CMakeFiles/avif.dir/src/codec_aom.c.obj] Error 1
In file included from /home/rb/renpy-build/tmp/source/libavif/src/read.c:8:
In file included from /usr/include/limits.h:124:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw-20220906-ucrt-ubuntu-18.04-x86_64/lib/clang/15.0.0/include/limits.h:21:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:6:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/crtdefs.h:10:
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:75:44: error: typedef redefinition with different types ('unsigned long long' vs 'unsigned long')
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^
/usr/include/stdint.h:90:27: note: previous definition is here
typedef unsigned long int uintptr_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/read.c:8:
In file included from /usr/include/limits.h:195:
In file included from /usr/include/bits/posix1_lim.h:161:
In file included from /usr/include/bits/local_lim.h:38:
/usr/include/linux/limits.h:13:9: error: 'PATH_MAX' macro redefined [-Werror,-Wmacro-redefined]
#define PATH_MAX 4096 /* # chars in a path name including nul */
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:20:9: note: previous definition is here
#define PATH_MAX 260
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:592:30: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long long') to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
sample->offset = offset;
~ ^~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/read.c:930:26: error: implicit conversion from 'unsigned long long' to 'uint64_t' (aka 'unsigned long') changes value from 18446744073709551615 to 4294967295 [-Werror,-Wconstant-conversion]
uint64_t minOffset = UINT64_MAX;
~~~~~~~~~ ^~~~~~~~~~
/usr/include/stdint.h:130:23: note: expanded from macro 'UINT64_MAX'
# define UINT64_MAX (__UINT64_C(18446744073709551615))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdint.h:107:25: note: expanded from macro '__UINT64_C'
# define __UINT64_C(c) c ## UL
^~~~~~~
<scratch space>:60:1: note: expanded from here
18446744073709551615UL
^~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/read.c:958:48: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
const uint64_t endOffset = startOffset + usedExtentSize;
~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/read.c:980:22: error: result of comparison of constant 18446744073709551615 with expression of type 'const uint64_t' (aka 'const unsigned long') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
if (extentLength > SIZE_MAX) {
~~~~~~~~~~~~ ^ ~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/read.c:1643:30: error: result of comparison of constant 18446744073709551615 with expression of type 'uint64_t' (aka 'unsigned long') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
if (extentLength > SIZE_MAX) {
~~~~~~~~~~~~ ^ ~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/read.c:1746:37: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
colr->iccOffset = rawOffset + avifROStreamOffset(&s);
~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/src/read.c:1940:70: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
AVIF_CHECK(avifParseColourInformationBox(prop, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, diag));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2168:60: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
rawOffset + avifROStreamOffset(&s),
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2411:67: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
AVIF_CHECK(avifParseItemPropertiesBox(meta, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, diag));
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2661:93: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
rawOffset + avifROStreamOffset(&s) + VISUALSAMPLEENTRY_SIZE,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2701:64: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
rawOffset + avifROStreamOffset(&s),
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2721:65: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
AVIF_CHECK(avifParseSampleTableBox(track, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, diag));
~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2740:70: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
AVIF_CHECK(avifParseMediaInformationBox(track, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, diag));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2786:64: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
AVIF_CHECK(avifParseMetaBox(track->meta, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, data->diag));
~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2788:59: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
AVIF_CHECK(avifParseMediaBox(track, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, data->diag));
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:2808:51: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
avifParseTrackBox(data, rawOffset + avifROStreamOffset(&s), avifROStreamCurrent(&s), header.size, imageSizeLimit, imageDimensionLimit));
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/rb/renpy-build/tmp/source/libavif/include/avif/internal.h:21:15: note: expanded from macro 'AVIF_CHECK'
if (!(A)) \
^
/home/rb/renpy-build/tmp/source/libavif/src/read.c:3054:45: error: implicit conversion loses integer precision: 'unsigned long long' to 'uint64_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32]
const uint64_t maxExtent1 = dst->offset + dst->size;
~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:212: CMakeFiles/avif.dir/src/read.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/avif.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
build-libavif.windows-x86_64: process failed with 2.
args: ['nice', 'make', '-j', '12']
File "/home/rb/renpy-build/./build.py", line 203, in <module>
main()
File "/home/rb/renpy-build/./build.py", line 199, in main
args.function(args)
File "/home/rb/renpy-build/./build.py", line 122, in build
task.run(context)
File "/home/rb/renpy-build/renpybuild/task.py", line 97, in run
self.function(context)
File "/home/rb/renpy-build/tasks/libavif.py", line 25, in build
c.run("{{ make }}")
File "/home/rb/renpy-build/renpybuild/context.py", line 328, in run
renpybuild.run.run(command, self, verbose, quiet)
File "/home/rb/renpy-build/renpybuild/run.py", line 403, in run
traceback.print_stack()
/usr/bin/cmake -S/home/rb/renpy-build/tmp/source/libavif -B/home/rb/renpy-build/tmp/build/libavif.windows-x86_64 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles /home/rb/renpy-build/tmp/build/libavif.windows-x86_64//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/rb/renpy-build/tmp/build/libavif.windows-x86_64'
make -f CMakeFiles/avif.dir/build.make CMakeFiles/avif.dir/depend
make[2]: Entering directory '/home/rb/renpy-build/tmp/build/libavif.windows-x86_64'
cd /home/rb/renpy-build/tmp/build/libavif.windows-x86_64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/rb/renpy-build/tmp/source/libavif /home/rb/renpy-build/tmp/source/libavif /home/rb/renpy-build/tmp/build/libavif.windows-x86_64 /home/rb/renpy-build/tmp/build/libavif.windows-x86_64 /home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/avif.dir/src/alpha.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/avif.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/codec_aom.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/colr.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/diag.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/exif.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/io.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/mem.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/obu.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/rawdata.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/read.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/reformat.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/reformat_libsharpyuv.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/reformat_libyuv.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/scale.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/stream.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/utils.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/avif.dir/src/write.c.obj.d" is newer than depends file "/home/rb/renpy-build/tmp/build/libavif.windows-x86_64/CMakeFiles/avif.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target avif
make[2]: Leaving directory '/home/rb/renpy-build/tmp/build/libavif.windows-x86_64'
make -f CMakeFiles/avif.dir/build.make CMakeFiles/avif.dir/build
make[2]: Entering directory '/home/rb/renpy-build/tmp/build/libavif.windows-x86_64'
[ 5%] Building C object CMakeFiles/avif.dir/src/avif.c.obj
/usr/bin/ccache /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/bin/x86_64-w64-mingw32-clang -fPIC -pthread -std=gnu17 -DAVIF_CODEC_AOM=1 -DAVIF_CODEC_AOM_DECODE=1 @CMakeFiles/avif.dir/includes_C.rsp -O3 -I/home/rb/renpy-build/tmp/install.windows-x86_64/include -DRENPY_BUILD -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -O3 -DNDEBUG -fvisibility=hidden -Wall -Wextra -Wshorten-64-to-32 -Werror -std=gnu99 -MD -MT CMakeFiles/avif.dir/src/avif.c.obj -MF CMakeFiles/avif.dir/src/avif.c.obj.d -o CMakeFiles/avif.dir/src/avif.c.obj -c /home/rb/renpy-build/tmp/source/libavif/src/avif.c
In file included from /home/rb/renpy-build/tmp/source/libavif/src/avif.c:6:
In file included from /usr/include/limits.h:124:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw-20220906-ucrt-ubuntu-18.04-x86_64/lib/clang/15.0.0/include/limits.h:21:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:6:
In file included from /home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/crtdefs.h:10:
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/corecrt.h:75:44: error: typedef redefinition with different types ('unsigned long long' vs 'unsigned long')
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^
/usr/include/stdint.h:90:27: note: previous definition is here
typedef unsigned long int uintptr_t;
^
In file included from /home/rb/renpy-build/tmp/source/libavif/src/avif.c:6:
In file included from /usr/include/limits.h:195:
In file included from /usr/include/bits/posix1_lim.h:161:
In file included from /usr/include/bits/local_lim.h:38:
/usr/include/linux/limits.h:13:9: error: 'PATH_MAX' macro redefined [-Werror,-Wmacro-redefined]
#define PATH_MAX 4096 /* # chars in a path name including nul */
^
/home/rb/renpy-build/tmp/cross.windows-x86_64/llvm-mingw/x86_64-w64-mingw32/include/limits.h:20:9: note: previous definition is here
#define PATH_MAX 260
^
2 errors generated.
make[2]: *** [CMakeFiles/avif.dir/build.make:92: CMakeFiles/avif.dir/src/avif.c.obj] Error 1
make[2]: Leaving directory '/home/rb/renpy-build/tmp/build/libavif.windows-x86_64'
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/avif.dir/all] Error 2
make[1]: Leaving directory '/home/rb/renpy-build/tmp/build/libavif.windows-x86_64'
make: *** [Makefile:136: all] Error 2
build-libavif.windows-x86_64: process failed with 2.
args: ['make', 'VERBOSE=1']
File "/home/rb/renpy-build/./build.py", line 203, in <module>
main()
File "/home/rb/renpy-build/./build.py", line 199, in main
args.function(args)
File "/home/rb/renpy-build/./build.py", line 122, in build
task.run(context)
File "/home/rb/renpy-build/renpybuild/task.py", line 97, in run
self.function(context)
File "/home/rb/renpy-build/tasks/libavif.py", line 27, in build
c.run("make VERBOSE=1")
File "/home/rb/renpy-build/renpybuild/context.py", line 328, in run
renpybuild.run.run(command, self, verbose, quiet)
File "/home/rb/renpy-build/renpybuild/run.py", line 403, in run
traceback.print_stack()