* Package: games-misc/fortune-mod-1.99.1-r2 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox 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-r2/work >>> Source unpacked in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work >>> Preparing source in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/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-r2/work/fortune-mod-1.99.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1 ... make -j1 prefix= CC=x86_64-gentoo-linux-musl-gcc cd fortune && make CC='x86_64-gentoo-linux-musl-gcc' \ CFLAGS='-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -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='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' LIBS='-lintl -lrecode' make[1]: Entering directory '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/fortune' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -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:644:45: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 493 [-Wformat-truncation=] 644 | snprintf(langdir,sizeof(langdir),"%s/%s", | ^~ fortune.c:644:8: note: ‘snprintf’ output between 20 and 531 bytes into a destination of size 512 644 | snprintf(langdir,sizeof(langdir),"%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | FORTDIR,lang); | ~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~ fortune.c: In function ‘form_file_list’: fortune.c:955:43: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 493 [-Wformat-truncation=] 955 | snprintf(langdir,sizeof(langdir),"%s/%s/%s", | ^~ fortune.c:955:6: note: ‘snprintf’ output 21 or more bytes (assuming 532) into a destination of size 512 955 | snprintf(langdir,sizeof(langdir),"%s/%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 956 | FORTDIR, lang, sp); | ~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o fortune fortune.o -lintl -lrecode /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.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-r2/work/fortune-mod-1.99.1/fortune' make: *** [Makefile:103: fortune-bin] Error 2 * ERROR: games-misc/fortune-mod-1.99.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-misc/fortune-mod-1.99.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-misc/fortune-mod-1.99.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/games-misc:fortune-mod-1.99.1-r2:20200329-064649.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1' * S: '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1'