error: Cannot build '/nix/store/p6prsakbjbpp0rbjzryxgzdm3cpxf1a7-vde2-aarch64-unknown-linux-musl-2.3.3.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/lcb911qs6ffd7gg4xnnzd10i9hbvrybb-vde2-aarch64-unknown-linux-musl-2.3.3
Last 25 log lines:
> CC canonicalize.lo
> CC malloc.lo
> CC memcmp.lo
> CC realloc.lo
> In file included from realloc.c:3:
> realloc.c: In function 'rpl_realloc':
> ../../include/config.h:342:16: error: implicit declaration of function 'rpl_malloc'; did you mean 'rpl_realloc'? [-Wimplicit-function-declaration]
> 342 | #define malloc rpl_malloc
> | ^~~~~~~~~~
> realloc.c:17:24: note: in expansion of macro 'malloc'
> 17 | return malloc(size);
> | ^~~~~~
> ../../include/config.h:342:16: error: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
> 342 | #define malloc rpl_malloc
> realloc.c:17:24: note: in expansion of macro 'malloc'
> 17 | return malloc(size);
> | ^~~~~~
> realloc.c:19:20: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
> 19 | mem=malloc(size);
> | ^
> make[2]: *** [Makefile:395: realloc.lo] Error 1
> make[2]: Leaving directory '/build/source/src/common'
> make[1]: *** [Makefile:563: all-recursive] Error 1
> make[1]: Leaving directory '/build/source/src'
> make: *** [Makefile:393: all-recursive] Error 1
For full logs, run:
nix log /nix/store/p6prsakbjbpp0rbjzryxgzdm3cpxf1a7-vde2-aarch64-unknown-linux-musl-2.3.3.drv
|