Running phase: unpackPhase unpacking source archive /nix/store/dcg2kr8m1il88n2l2hyvsz5d21rcc8js-epoxy-0.2.2.tar.gz source root is epoxy-0.2.2 setting SOURCE_DATE_EPOCH to timestamp 1552913665 of file "epoxy-0.2.2/gl.h" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: buildPhase building epoxy /build/epoxy-0.2.2/build -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /build/epoxy-0.2.2 -C -I/build/epoxy-0.2.2 -O2 -d1 epoxy.scm -o /build/epoxy-0.2.2/epoxy.so /build/epoxy-0.2.2/epoxy.c: In function 'stub33466': /build/epoxy-0.2.2/epoxy.c:27742:35: error: passing argument 3 of 'epoxy_glGetVariantBooleanvEXT' 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;;] 27742 | glGetVariantBooleanvEXT(a0 , a1 , a2); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:27742:35: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub29502': /build/epoxy-0.2.2/epoxy.c:31105:41: error: passing argument 3 of 'epoxy_glGetLocalConstantBooleanvEXT' 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;;] 31105 | glGetLocalConstantBooleanvEXT(a0 , a1 , a2); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:31105:41: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub29372': /build/epoxy-0.2.2/epoxy.c:31225:37: error: passing argument 3 of 'epoxy_glGetInvariantBooleanvEXT' 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;;] 31225 | glGetInvariantBooleanvEXT(a0 , a1 , a2); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:31225:37: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub27809': /build/epoxy-0.2.2/epoxy.c:32611:20: error: passing argument 2 of 'epoxy_glGetBooleanv' 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;;] 32611 | glGetBooleanv(a0 , a1); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:32611:20: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub27797': /build/epoxy-0.2.2/epoxy.c:32623:27: error: passing argument 3 of 'epoxy_glGetBooleani_v' 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;;] 32623 | glGetBooleani_v(a0 , a1 , a2); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:32623:27: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub27784': /build/epoxy-0.2.2/epoxy.c:32635:35: error: passing argument 3 of 'epoxy_glGetBooleanIndexedvEXT' 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;;] 32635 | glGetBooleanIndexedvEXT(a0 , a1 , a2); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:32635:35: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub25144': /build/epoxy-0.2.2/epoxy.c:35377:13: error: passing argument 1 of 'epoxy_glEdgeFlagv' 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;;] 35377 | glEdgeFlagv(a0); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:35377:13: note: expected 'const GLboolean *' {aka 'const unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub25133': /build/epoxy-0.2.2/epoxy.c:35389:31: error: passing argument 2 of 'epoxy_glEdgeFlagPointerListIBM' 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;;] 35389 | glEdgeFlagPointerListIBM(a0 , a1 , a2); | ^~ | | | const int ** /build/epoxy-0.2.2/epoxy.c:35389:31: note: expected 'const GLboolean **' {aka 'const unsigned char **'} but argument is of type 'const int **' /build/epoxy-0.2.2/epoxy.c: In function 'stub25120': /build/epoxy-0.2.2/epoxy.c:35401:32: error: passing argument 3 of 'epoxy_glEdgeFlagPointerEXT' 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;;] 35401 | glEdgeFlagPointerEXT(a0 , a1 , a2); | ^~ | | | int * /build/epoxy-0.2.2/epoxy.c:35401:32: note: expected 'const GLboolean *' {aka 'const unsigned char *'} but argument is of type 'int *' /build/epoxy-0.2.2/epoxy.c: In function 'stub22963': /build/epoxy-0.2.2/epoxy.c:37449:27: error: passing argument 1 of 'epoxy_glDebugMessageCallbackKHR' 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;;] 37449 | glDebugMessageCallbackKHR(a0 , a1); | ^~ | | | void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, char *, void *) /build/epoxy-0.2.2/epoxy.c:37449:27: note: expected 'GLDEBUGPROCKHR' {aka 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char *, const void *)'} but argument is of type 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, char *, void *)' /build/epoxy-0.2.2/epoxy.c: In function 'stub22952': /build/epoxy-0.2.2/epoxy.c:37460:27: error: passing argument 1 of 'epoxy_glDebugMessageCallbackARB' 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;;] 37460 | glDebugMessageCallbackARB(a0 , a1); | ^~ | | | void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, char *, void *) /build/epoxy-0.2.2/epoxy.c:37460:27: note: expected 'GLDEBUGPROCARB' {aka 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char *, const void *)'} but argument is of type 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, char *, void *)' /build/epoxy-0.2.2/epoxy.c: In function 'stub22941': /build/epoxy-0.2.2/epoxy.c:37471:27: error: passing argument 1 of 'epoxy_glDebugMessageCallbackAMD' 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;;] 37471 | glDebugMessageCallbackAMD(a0 , a1); | ^~ | | | void (*)(unsigned int, unsigned int, unsigned int, int, char *, void *) /build/epoxy-0.2.2/epoxy.c:37471:27: note: expected 'GLDEBUGPROCAMD' {aka 'void (*)(unsigned int, unsigned int, unsigned int, int, const char *, void *)'} but argument is of type 'void (*)(unsigned int, unsigned int, unsigned int, int, char *, void *)' /build/epoxy-0.2.2/epoxy.c: In function 'stub22930': /build/epoxy-0.2.2/epoxy.c:37482:24: error: passing argument 1 of 'epoxy_glDebugMessageCallback' 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;;] 37482 | glDebugMessageCallback(a0 , a1); | ^~ | | | void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, char *, void *) /build/epoxy-0.2.2/epoxy.c:37482:24: note: expected 'GLDEBUGPROC' {aka 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char *, const void *)'} but argument is of type 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, char *, void *)' In file included from /build/epoxy-0.2.2/epoxy.c:8: /build/epoxy-0.2.2/epoxy.c: In function 'stub16749': /build/epoxy-0.2.2/epoxy.c:42832:43: error: passing argument 3 of 'epoxy_glAreTexturesResidentEXT' 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;;] 42832 | return(glAreTexturesResidentEXT(a0 , a1 , a2)); | ^~ | | | int * /nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken/chicken.h:1058:38: note: in definition of macro 'C_mk_bool' 1058 | #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) | ^ /build/epoxy-0.2.2/epoxy.c:42832:1: note: in expansion of macro 'return' 42832 | return(glAreTexturesResidentEXT(a0 , a1 , a2)); | ^~~~~~ /build/epoxy-0.2.2/epoxy.c:42832:43: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' 42832 | return(glAreTexturesResidentEXT(a0 , a1 , a2)); | ^~ /nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken/chicken.h:1058:38: note: in definition of macro 'C_mk_bool' 1058 | #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) | ^ /build/epoxy-0.2.2/epoxy.c:42832:1: note: in expansion of macro 'return' 42832 | return(glAreTexturesResidentEXT(a0 , a1 , a2)); | ^~~~~~ /build/epoxy-0.2.2/epoxy.c: In function 'stub16735': /build/epoxy-0.2.2/epoxy.c:42844:40: error: passing argument 3 of 'epoxy_glAreTexturesResident' 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;;] 42844 | return(glAreTexturesResident(a0 , a1 , a2)); | ^~ | | | int * /nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken/chicken.h:1058:38: note: in definition of macro 'C_mk_bool' 1058 | #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) | ^ /build/epoxy-0.2.2/epoxy.c:42844:1: note: in expansion of macro 'return' 42844 | return(glAreTexturesResident(a0 , a1 , a2)); | ^~~~~~ /build/epoxy-0.2.2/epoxy.c:42844:40: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' 42844 | return(glAreTexturesResident(a0 , a1 , a2)); | ^~ /nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken/chicken.h:1058:38: note: in definition of macro 'C_mk_bool' 1058 | #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) | ^ /build/epoxy-0.2.2/epoxy.c:42844:1: note: in expansion of macro 'return' 42844 | return(glAreTexturesResident(a0 , a1 , a2)); | ^~~~~~ /build/epoxy-0.2.2/epoxy.c: In function 'stub16721': /build/epoxy-0.2.2/epoxy.c:42856:42: error: passing argument 3 of 'epoxy_glAreProgramsResidentNV' 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;;] 42856 | return(glAreProgramsResidentNV(a0 , a1 , a2)); | ^~ | | | int * /nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken/chicken.h:1058:38: note: in definition of macro 'C_mk_bool' 1058 | #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) | ^ /build/epoxy-0.2.2/epoxy.c:42856:1: note: in expansion of macro 'return' 42856 | return(glAreProgramsResidentNV(a0 , a1 , a2)); | ^~~~~~ /build/epoxy-0.2.2/epoxy.c:42856:42: note: expected 'GLboolean *' {aka 'unsigned char *'} but argument is of type 'int *' 42856 | return(glAreProgramsResidentNV(a0 , a1 , a2)); | ^~ /nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken/chicken.h:1058:38: note: in definition of macro 'C_mk_bool' 1058 | #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) | ^ /build/epoxy-0.2.2/epoxy.c:42856:1: note: in expansion of macro 'return' 42856 | return(glAreProgramsResidentNV(a0 , a1 , a2)); | ^~~~~~ Error: shell command terminated with non-zero exit status 256: 'gcc' '/build/epoxy-0.2.2/epoxy.c' -o '/build/epoxy-0.2.2/epoxy.o' -c '-fno-strict-aliasing' '-fwrapv' '-DHAVE_CHICKEN_CONFIG_H' '-DC_ENABLE_PTABLES' '-Os' '-fomit-frame-pointer' '-fPIC' '-DPIC' '-DC_SHARED' '-I/build/epoxy-0.2.2' '-I/nix/store/bd1imrinwkyzq37fdvcm96smhqznhsli-libepoxy-1.5.10-dev/include' '-I/nix/store/ng7ad5h1bvxikc3m2cqk2z0ypv70d3s0-chicken-5.4.0/include/chicken' Error: shell command terminated with nonzero exit code 256 "sh /build/epoxy-0.2.2/epoxy.build.sh"