* Adjusting permissions for FEATURES=userpriv: '/var/cache/ccache' * Package: games-misc/fortune-mod-1.99.1-r3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: ccache compressdebug preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking fortune-mod-1.99.1.tar.gz to /var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work >>> Source unpacked in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work >>> Preparing source in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1 ... * Applying fortune-mod-1.99.1-gentoo.patch ... [ ok ] * Applying 01_all_fortune_all-fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1 ... make -j8 -l10 -O prefix= CC=x86_64-gentoo-linux-musl-gcc cd fortune && make CC='x86_64-gentoo-linux-musl-gcc' \ CFLAGS='-march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -ffast-math -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util' \ LDFLAGS='-march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -Wl,-O1,--as-needed,--sort-common,-z,combreloc,-z,relro,-z,now,--relax,--hash-style=gnu' LIBS='-lintl -lrecode' cd util && make CC='x86_64-gentoo-linux-musl-gcc' CFLAGS='-march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -ffast-math -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char' \ LDFLAGS='-march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -Wl,-O1,--as-needed,--sort-common,-z,combreloc,-z,relro,-z,now,--relax,--hash-style=gnu' Building fortune/fortune.man ... done. make[1]: Entering directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/util' x86_64-gentoo-linux-musl-gcc -march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -ffast-math -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -c -o strfile.o strfile.c In file included from strfile.c:82: strfile.h:46:2: error: unknown type name ‘u_int32_t’ 46 | u_int32_t str_version; /* version number */ | ^~~~~~~~~ strfile.h:47:2: error: unknown type name ‘u_int32_t’ 47 | u_int32_t str_numstr; /* # of strings in the file */ | ^~~~~~~~~ strfile.h:48:2: error: unknown type name ‘u_int32_t’ 48 | u_int32_t str_longlen; /* length of longest string */ | ^~~~~~~~~ strfile.h:49:2: error: unknown type name ‘u_int32_t’ 49 | u_int32_t str_shortlen; /* length of shortest string */ | ^~~~~~~~~ strfile.h:53:2: error: unknown type name ‘u_int32_t’ 53 | u_int32_t str_flags; /* bit field for flags */ | ^~~~~~~~~ strfile.h:54:2: error: unknown type name ‘u_int8_t’ 54 | u_int8_t stuff[4]; /* long aligned space */ | ^~~~~~~~ strfile.c: In function ‘main’: strfile.c:516:32: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] 516 | printf("Longest string: %lu byte%s\n", Tbl.str_longlen, | ~~^ ~~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %u strfile.c:518:33: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] 518 | printf("Shortest string: %lu byte%s\n", Tbl.str_shortlen, | ~~^ ~~~~~~~~~~~~~~~~ | | | | | int | long unsigned int | %u make[1]: *** [: strfile.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/util' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/util' x86_64-gentoo-linux-musl-gcc -march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -ffast-math -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -c -o rot.o rot.c make[1]: Leaving directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/util' make[1]: Entering directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/util' x86_64-gentoo-linux-musl-gcc -march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -ffast-math -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -c -o unstr.o unstr.c make[1]: Leaving directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/util' make: *** [Makefile:113: util-bin] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/fortune' x86_64-gentoo-linux-musl-gcc -march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -ffast-math -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util -c -o fortune.o fortune.c fortune.c: In function ‘getargs’: fortune.c:237:20: warning: implicit declaration of function ‘re_comp’; did you mean ‘regcomp’? [-Wimplicit-function-declaration] 237 | #define RE_COMP(p) re_comp(p) | ^~~~~~~ fortune.c:238:23: note: in definition of macro ‘BAD_COMP’ 238 | #define BAD_COMP(f) ((f) != NULL) | ^ fortune.c:1098:15: note: in expansion of macro ‘RE_COMP’ 1098 | if (BAD_COMP(RE_COMP(pat))) | ^~~~~~~ fortune.c:238:26: warning: comparison between pointer and integer 238 | #define BAD_COMP(f) ((f) != NULL) | ^~ fortune.c:1098:6: note: in expansion of macro ‘BAD_COMP’ 1098 | if (BAD_COMP(RE_COMP(pat))) | ^~~~~~~~ fortune.c: In function ‘matches_in_list’: fortune.c:239:20: warning: implicit declaration of function ‘re_exec’; did you mean ‘regexec’? [-Wimplicit-function-declaration] 239 | #define RE_EXEC(p) re_exec(p) | ^~~~~~~ fortune.c:1571:4: note: in expansion of macro ‘RE_EXEC’ 1571 | RE_EXEC(output) ) | ^~~~~~~ fortune.c: In function ‘add_file’: fortune.c:672:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 672 | strncpy (fp->name, file, strlen (file) + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c:672:30: note: length computed here 672 | strncpy (fp->name, file, strlen (file) + 1); | ^~~~~~~~~~~~~ fortune.c:675:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 675 | strncpy (fp->path, path, strlen (path) + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortune.c:675:30: note: length computed here 675 | strncpy (fp->path, path, strlen (path) + 1); | ^~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/fortune' make[1]: Entering directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/fortune' x86_64-gentoo-linux-musl-gcc -march=native -O3 -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=both -pipe -frecord-gcc-switches -Wl,-O1,--as-needed,--sort-common,-z,combreloc,-z,relro,-z,now,--relax,--hash-style=gnu -o fortune fortune.o -lintl -lrecode /usr/lib/gcc/x86_64-gentoo-linux-musl/10.1.0/../../../../x86_64-gentoo-linux-musl/bin/ld: cannot find -lintl collect2: error: ld returned 1 exit status make[1]: *** [Makefile:11: fortune] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1/fortune' make: *** [Makefile:103: fortune-bin] Error 2 * ERROR: games-misc/fortune-mod-1.99.1-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-misc/fortune-mod-1.99.1-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-misc/fortune-mod-1.99.1-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/temp/environment'. * Working directory: '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1' * S: '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r3/work/fortune-mod-1.99.1'