* Package: net-mail/mboxgrep-0.7.9-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie split-usr ssp userland_GNU * 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-r1/work >>> Source unpacked in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work >>> Preparing source in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9 ... * Applying mboxgrep-0.7.9-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9 ... ./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 --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes 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 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: creating src/Makefile config.status: creating src/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9 ... make -j1 cd src; make make[1]: Entering directory '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9/src' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c info.c 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); | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c mh.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c scan.c scan.c: In function ‘scan_mailbox’: scan.c:244:20: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types] 244 | len = gzwrite (tmpp, (msg->headers+quux), | ^~~~ | | | FILE * {aka struct _IO_FILE *} In file included from /usr/include/zlib.h:34, from scan.c:50: /usr/include/zlib.h:1447:29: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ {aka ‘struct _IO_FILE *’} 1447 | ZEXTERN int ZEXPORT gzwrite _Z_OF((gzFile file, | ^~~~~ scan.c:251:16: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | gzwrite(tmpp, "\n", 1); | ^~~~ | | | FILE * {aka struct _IO_FILE *} In file included from /usr/include/zlib.h:34, from scan.c:50: /usr/include/zlib.h:1447:29: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ {aka ‘struct _IO_FILE *’} 1447 | ZEXTERN int ZEXPORT gzwrite _Z_OF((gzFile file, | ^~~~~ scan.c:256:19: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [-Wincompatible-pointer-types] 256 | len = gzwrite(tmpp, (msg->body+quux), | ^~~~ | | | FILE * {aka struct _IO_FILE *} In file included from /usr/include/zlib.h:34, from scan.c:50: /usr/include/zlib.h:1447:29: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ {aka ‘struct _IO_FILE *’} 1447 | ZEXTERN int ZEXPORT gzwrite _Z_OF((gzFile file, | ^~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c maildir.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c mbox.c mbox.c: In function ‘mbox_open’: mbox.c:168:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 168 | fgets (buffer, BUFSIZ, mp->fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c misc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from misc.c:27: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c wrap.c wrap.c: In function ‘m_gzdopen’: wrap.c:114:8: warning: assignment to ‘struct gzFile_s **’ from incompatible pointer type ‘gzFile’ {aka ‘struct gzFile_s *’} [-Wincompatible-pointer-types] 114 | blah = gzdopen (fildes, mode); | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c getopt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c getopt1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -I. -I. -c md5.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mboxgrep info.o main.o mh.o scan.o maildir.o mbox.o misc.o wrap.o getopt.o getopt1.o md5.o -lbz2 -lz -L/usr/lib64 -lpcre /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: main.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: mh.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: scan.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: maildir.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: mbox.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: misc.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: wrap.o: multiple definition of 'config' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: info.o: previous definition here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:42: mboxgrep] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9/src' make: *** [Makefile:23: all] Error 2 * ERROR: net-mail/mboxgrep-0.7.9-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/mboxgrep-0.7.9-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/mboxgrep-0.7.9-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:mboxgrep-0.7.9-r1:20200506-030515.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9' * S: '/var/tmp/portage/net-mail/mboxgrep-0.7.9-r1/work/mboxgrep-0.7.9'