* Package: mail-client/mailx-8.1.2.20180807 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bsd-mailx_8.1.2-0.20180807cvs.orig.tar.xz to /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work >>> Unpacking bsd-mailx_8.1.2-0.20180807cvs-1.debian.tar.xz to /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work >>> Source unpacked in /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work >>> Preparing source in /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig ... * Applying patches from /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/debian/patches ... * 00-Makefiles.patch ... [ ok ] * 01-Fix-includes.patch ... [ ok ] * 02-Base-fixes-1.patch ... [ ok ] * 03-Base-fixes-2.patch ... [ ok ] * 04-Add-custom-header.patch ... [ ok ] * 05-Mailx-fixes.patch ... [ ok ] * 06-Use-lockf-instead-of-flock.patch ... [ ok ] * 07-Initialize-head-struct.patch ... [ ok ] * 08-Use-liblockfile-library.patch ... [ ok ] * 09-Saved-mbox-message.patch ... [ ok ] * 10-Reply-To-header.patch ... [ ok ] * 11-Showname-option.patch ... [ ok ] * 12-REPLYTO-can-be-set-in-.mailrc-too.patch ... [ ok ] * 13-Mailx-concatenates-messages.patch ... [ ok ] * 14-Truncate-mailbox-instead-of-deleting-it.patch ... [ ok ] * 15-No-space-left-in-tmp.patch ... [ ok ] * 16-Stdin-not-a-tty.patch ... [ ok ] * 18-Wait-for-sendmail.patch ... [ ok ] * 19-Fix-compilation-on-Hurd.patch ... [ ok ] * 20-Don-t-delete-temporary-file.patch ... [ ok ] * 21-Use-wordexpr-instead-of-echo.patch ... [ ok ] * 22-Replace-newlines-with-spaces.patch ... [ ok ] * 24-False-cant-send-email-errors.patch ... [ ok ] * 25-Fix-confusing-error.patch ... [ ok ] * 26-Add-missing-include.patch ... [ ok ] * 27-Use-FOPEN_MAX.patch ... [ ok ] * 28-Fix-gcc-warning.patch ... [ ok ] * 29-Document-two-dashes-separator.patch ... [ ok ] * 30-Add-missing-includes.patch ... [ ok ] * 31-Do-not-call-pledge.patch ... [ ok ] * 32-Fix-FTBFS-on-Hurd.patch ... [ ok ] * 33-Add-MIME-headers.patch ... [ ok ] * 34-Fix-strnvis.patch ... [ ok ] * 35-Fix-new-warnings-and-error.patch ... [ ok ] * Applying mailx-8.1.2.20050715-offsetof.patch ... patching file def.h Hunk #1 succeeded at 107 (offset 10 lines). patching file edit.c Hunk #1 succeeded at 133 with fuzz 1 (offset 22 lines). patching file fio.c [ ok ] * Applying mailx-8.1.2.20180807-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig ... >>> Source configured. >>> Compiling source in /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig ... make -j1 CC=x86_64-gentoo-linux-musl-gcc 'EXTRAFLAGS=-O2 -pipe -march=native' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c version.c -o version.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c aux.c -o aux.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c cmd1.c -o cmd1.o cmd1.c: In function ‘folders’: cmd1.c:488:33: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1021 [-Wformat-truncation=] 488 | snprintf(cmd, sizeof(cmd), "cd %s; %s %s", dirname, value("LISTER"), | ^~ ~~~~~~~ cmd1.c:488:2: note: ‘snprintf’ output 7 or more bytes (assuming 4102) into a destination of size 1024 488 | snprintf(cmd, sizeof(cmd), "cd %s; %s %s", dirname, value("LISTER"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | files && *files ? files : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c cmd2.c -o cmd2.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c cmd3.c -o cmd3.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c cmdtab.c -o cmdtab.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c collect.c -o collect.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c edit.c -o edit.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c fio.c -o fio.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c getname.c -o getname.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c head.c -o head.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c v7.local.c -o v7.local.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c lex.c -o lex.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c list.c -o list.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c main.c -o main.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c names.c -o names.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c popen.c -o popen.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c quit.c -o quit.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c send.c -o send.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c strings.c -o strings.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c temp.c -o temp.o x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c tty.c -o tty.o tty.c: In function ‘tty_insert’: tty.c:351:6: warning: implicit declaration of function ‘CCEQ’ [-Wimplicit-function-declaration] 351 | if (CCEQ(t->keys[VERASE], c)) { | ^~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_BSD_SOURCE -DDEBIAN -g -Wall -c vars.c -o vars.o x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mail version.o aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o head.o v7.local.o lex.o list.o main.o names.o popen.o quit.o send.o strings.o temp.o tty.o vars.o -llockfile -lbsd /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../libc.so: warning: This function cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008. /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: tty.o: in function `tty_insert': /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig/tty.c:351: undefined reference to `CCEQ' /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig/tty.c:356: undefined reference to `CCEQ' /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig/tty.c:369: undefined reference to `CCEQ' collect2: error: ld returned 1 exit status make: *** [Makefile:30: mail] Error 1 * ERROR: mail-client/mailx-8.1.2.20180807::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-client/mailx-8.1.2.20180807::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-client/mailx-8.1.2.20180807::gentoo'`. * The complete build log is located at '/var/log/portage/mail-client:mailx-8.1.2.20180807:20200425-225502.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-client/mailx-8.1.2.20180807/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-client/mailx-8.1.2.20180807/temp/environment'. * Working directory: '/var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig' * S: '/var/tmp/portage/mail-client/mailx-8.1.2.20180807/work/bsd-mailx-8.1.2-0.20180807cvs.orig'