* Package: net-mail/mboxgrep-0.7.9-r3:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mboxgrep-0.7.9.tar.gz to /var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work >>> Source unpacked in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work >>> Preparing source in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9 ... * Applying mboxgrep-0.7.9-_DEFAULT_SOURCE.patch ... [ ok ] * Applying mboxgrep-0.7.9-fno-common.patch ... [ ok ] * Applying mboxgrep-0.7.9-ldflags.patch ... [ ok ] * Applying mboxgrep-0.7.9-musl-missing-strcmp.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: mboxgrep-0.7.9/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9 ... * econf: updating mboxgrep-0.7.9/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mboxgrep-0.7.9/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/mboxgrep-0.7.9-r3 --htmldir=/usr/share/doc/mboxgrep-0.7.9-r3/html --libdir=/usr/lib64 --without-dmalloc checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for pcre-config... /usr/bin/pcre-config checking for gzopen in -lz... yes checking for BZ2_bzopen in -lbz2... yes checking for main in -ldmalloc... no checking for like_monday in -lgarfield... no checking for fcntl... yes checking for flock... yes checking for regcomp... yes checking for strptime... yes checking for ftw... yes checking for fts_open... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: creating src/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9 ... make -j4 cd src; make make[1]: Entering directory '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9/src' x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -I. -I. -c info.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -I. -I. -c main.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -I. -I. -c mh.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -I. -I. -c scan.c mh.c: In function ‘mh_read_message’: mh.c:133:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 133 | fgets (buffer, BUFSIZ, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ info.c: In function ‘print_wrap’: info.c:34:3: warning: format not a string literal and no format arguments [-Wformat-security] 34 | fprintf (stdout, str); | ^~~~~~~ scan.c: In function ‘scan_mailbox’: scan.c:244:34: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | len = gzwrite (tmpp, (msg->headers+quux), | ^~~~ | | | FILE * In file included from scan.c:50: /usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len); | ~~~~~~~^~~~ scan.c:251:23: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | gzwrite(tmpp, "\n", 1); | ^~~~ | | | FILE * /usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len); | ~~~~~~~^~~~ scan.c:256:33: error: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types] 256 | len = gzwrite(tmpp, (msg->body+quux), | ^~~~ | | | FILE * /usr/include/zlib.h:1451:36: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len); | ~~~~~~~^~~~ make[1]: *** [Makefile:39: scan.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9/src' make: *** [Makefile:23: all] Error 2 * ERROR: net-mail/mboxgrep-0.7.9-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/mboxgrep-0.7.9-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/mboxgrep-0.7.9-r3::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:mboxgrep-0.7.9-r3:20231204-155212.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9' * S: '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r3/work/mboxgrep-0.7.9'