Running phase: unpackPhase unpacking source archive /nix/store/hbhxb1dfj079jpr31yfrrhzkrsdhrk2b-expat-2.2.tar.gz source root is expat-2.2 setting SOURCE_DATE_EPOCH to timestamp 1667126546 of file "expat-2.2/tests/run.scm" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: buildPhase building expat /build/expat-2.2/build -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /build/expat-2.2 -C -I/build/expat-2.2 -O2 -d1 expat.scm -o /build/expat-2.2/expat.so /build/expat-2.2/expat.c: In function 'stub290': /build/expat-2.2/expat.c:66:38: error: passing argument 2 of 'XML_SetExternalEntityRefHandler' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 66 | XML_SetExternalEntityRefHandler(a0 , a1); | ^~ | | | void (*)(void *, char *, char *, char *, char *) In file included from /build/expat-2.2/expat.c:11: /nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include/expat.h:636:62: note: expected 'XML_ExternalEntityRefHandler' {aka 'int (*)(struct XML_ParserStruct *, const char *, const char *, const char *, const char *)'} but argument is of type 'void (*)(void *, char *, char *, char *, char *)' 636 | XML_ExternalEntityRefHandler handler); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/expat-2.2/expat.c: In function 'stub279': /build/expat-2.2/expat.c:77:28: error: passing argument 2 of 'XML_SetCommentHandler' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 77 | XML_SetCommentHandler(a0 , a1); | ^~ | | | void (*)(void *, char *) /nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include/expat.h:570:61: note: expected 'XML_CommentHandler' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *, char *)' 570 | XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler handler); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/expat-2.2/expat.c: In function 'stub268': /build/expat-2.2/expat.c:88:42: error: passing argument 2 of 'XML_SetProcessingInstructionHandler' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 88 | XML_SetProcessingInstructionHandler(a0 , a1); | ^~ | | | void (*)(void *, char *, char *) /nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include/expat.h:568:70: note: expected 'XML_ProcessingInstructionHandler' {aka 'void (*)(void *, const char *, const char *)'} but argument is of type 'void (*)(void *, char *, char *)' 568 | XML_ProcessingInstructionHandler handler); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/expat-2.2/expat.c: In function 'stub257': /build/expat-2.2/expat.c:99:34: error: passing argument 2 of 'XML_SetCharacterDataHandler' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 99 | XML_SetCharacterDataHandler(a0 , a1); | ^~ | | | void (*)(void *, char *, int) /nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include/expat.h:564:54: note: expected 'XML_CharacterDataHandler' {aka 'void (*)(void *, const char *, int)'} but argument is of type 'void (*)(void *, char *, int)' 564 | XML_CharacterDataHandler handler); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/expat-2.2/expat.c: In function 'stub246': /build/expat-2.2/expat.c:110:31: error: passing argument 2 of 'XML_SetEndElementHandler' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 110 | XML_SetEndElementHandler(a0 , a1); | ^~ | | | void (*)(void *, char *) /nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include/expat.h:560:67: note: expected 'XML_EndElementHandler' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *, char *)' 560 | XML_SetEndElementHandler(XML_Parser parser, XML_EndElementHandler handler); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/expat-2.2/expat.c: In function 'stub235': /build/expat-2.2/expat.c:121:33: error: passing argument 2 of 'XML_SetStartElementHandler' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 121 | XML_SetStartElementHandler(a0 , a1); | ^~ | | | void (*)(void *, char *, const char **) /nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include/expat.h:557:71: note: expected 'XML_StartElementHandler' {aka 'void (*)(void *, const char *, const char **)'} but argument is of type 'void (*)(void *, char *, const char **)' 557 | XML_SetStartElementHandler(XML_Parser parser, XML_StartElementHandler handler); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ Error: shell command terminated with non-zero exit status 256: 'gcc' '/build/expat-2.2/expat.c' -o '/build/expat-2.2/expat.o' -c '-fno-strict-aliasing' '-fwrapv' '-DHAVE_CHICKEN_CONFIG_H' '-DC_ENABLE_PTABLES' '-Os' '-fomit-frame-pointer' '-fPIC' '-DPIC' '-DC_SHARED' '-I/nix/store/9yq1c36gwp7g0al7lp6zhl8k9jfvc979-expat-2.6.4-dev/include' '-DX_DISPLAY_MISSING' '-I/build/expat-2.2' '-I/nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken' Error: shell command terminated with nonzero exit code 256 "sh /build/expat-2.2/expat.build.sh"