* Package: app-misc/boxes-1.1.2-r3:0 * Repository: gentoo * Maintainer: shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking boxes-1.1.2.tar.gz to /var/tmp/portage/app-misc/boxes-1.1.2-r3/work >>> Source unpacked in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work >>> Preparing source in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2 ... make -j4 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Lregexp' sed -e 's/--BVERSION--/1.1.2/; s/--GLOBALCONF--/\/usr\/share\/boxes/' src/boxes.h.in > src/boxes.h sed -e 's/--BVERSION--/1.1.2/; s/--GLOBALCONF--/\/usr\/share\/boxes/' doc/boxes.1.in > doc/boxes.1 | For compilation info please refer to the boxes compilation FAQ | at https://github.com/ascii-boxes/boxes/wiki/FAQ#q-5-compilation make -C src BOXES_PLATFORM=unix build make[1]: Entering directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' make BOXES_PLATFORM=unix ALL_OBJ="parser.o lex.yy.o boxes.o tools.o shape.o generate.o remove.o" CFLAGS_ADDTL="-O " STRIP=false flags_unix boxes make[2]: Entering directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' make[2]: Nothing to be done for 'flags_unix'. bison -o parser.c -d parser.y bison -o parser.c -d parser.y flex -t lexer.l > lexer.tmp.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o boxes.o boxes.c echo #include "config.h" > lex.yy.c cat lexer.tmp.c >> lex.yy.c rm lexer.tmp.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o tools.o tools.c boxes.c: In function ‘list_styles’: boxes.c:1012:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 1012 | fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", | ~^ | | | int | %ld 1013 | d->minwidth, d->minheight); | ~~~~~~~~~~~ | | | size_t {aka long unsigned int} boxes.c:1012:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 1012 | fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", | ~^ | | | int | %ld 1013 | d->minwidth, d->minheight); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} tools.c: In function ‘expand_tabs_into’: tools.c:271:28: error: implicit declaration of function ‘calloc’ [-Werror=implicit-function-declaration] 271 | *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); | ^~~~~~ tools.c:36:1: note: include ‘’ or provide a declaration of ‘calloc’ 35 | #include "tools.h" +++ |+#include 36 | tools.c:271:28: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch] 271 | *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); | ^~~~~~ tools.c:271:28: note: include ‘’ or provide a declaration of ‘calloc’ tools.c: In function ‘tabbify_indent’: tools.c:399:23: error: implicit declaration of function ‘malloc’ [-Werror=implicit-function-declaration] 399 | result = (char *) malloc (indentspc_len + 1); | ^~~~~~ tools.c:399:23: note: include ‘’ or provide a declaration of ‘malloc’ tools.c:399:23: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] tools.c:399:23: note: include ‘’ or provide a declaration of ‘malloc’ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o shape.o shape.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o generate.o generate.c cc1: some warnings being treated as errors make[2]: *** [: tools.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' make[1]: *** [Makefile:49: build] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' make: *** [Makefile:37: build] Error 2 * ERROR: app-misc/boxes-1.1.2-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/boxes-1.1.2-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/boxes-1.1.2-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:boxes-1.1.2-r3:20221006-052437.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/boxes-1.1.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/boxes-1.1.2-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2' * S: '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2'