* Package: app-admin/logrotate-3.15.1  * Repository: gentoo  * Maintainer: zlogene@gentoo.org  * USE: abi_x86_64 acl amd64 cron elibc_glibc kernel_linux userland_GNU  * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking logrotate-3.15.1.tar.gz to /dev/shm/portage/app-admin/logrotate-3.15.1/work >>> Source unpacked in /dev/shm/portage/app-admin/logrotate-3.15.1/work >>> Preparing source in /dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1 ... * Applying logrotate-3.15.0-ignore-hidden.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1 ... * econf: updating logrotate-3.15.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating logrotate-3.15.1/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/logrotate-3.15.1 --htmldir=/usr/share/doc/logrotate-3.15.1/html --libdir=/usr/lib64 --with-acl --without-selinux --with-state-file-path=/var/lib/misc/logrotate.status configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) 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 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 ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for poptParseArgvString in -lpopt... yes checking for acl_get_file in -lacl... yes checking for asprintf... yes checking for fork... yes checking for madvise... yes checking for qsort... yes checking for strndup... yes checking for strptime... yes checking for utimensat... yes checking for vfork... yes checking for vsyslog... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating logrotate.8 config.status: creating logrotate.spec config.status: creating config.h config.status: executing depfiles commands logrotate 3.15.1 SELinux support: no ACL support: yes default mail command: /bin/mail compress command: /bin/gzip uncompress command: /bin/gunzip compress extension: .gz statefile path: /var/lib/misc/logrotate.status >>> Source configured. >>> Compiling source in /dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1 ... make -j1 make all-recursive make[1]: Entering directory '/dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1' Making all in . make[2]: Entering directory '/dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include config.h -Wall -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -c -o config.o config.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include config.h -Wall -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -c -o log.o log.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include config.h -Wall -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -c -o logrotate.o logrotate.c In file included from /usr/include/string.h:494, from logrotate.c:14: In function 'strncat', inlined from 'prerotateSingleLog' at logrotate.c:1485:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logrotate.c: In function 'prerotateSingleLog': logrotate.c:1477:26: note: length computed here 1477 | size_t baseLen = strlen(rotNames->baseName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from logrotate.c:14: In function 'strncat', inlined from 'prerotateSingleLog' at logrotate.c:1504:9: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logrotate.c: In function 'prerotateSingleLog': logrotate.c:1505:17: note: length computed here 1505 | strlen(rotNames->baseName) - strlen(log->extension)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o logrotate config.o log.o logrotate.o -lacl -lpopt /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: logrotate.o:(.bss+0x10): multiple definition of `logs'; config.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:495: logrotate] Error 1 make[2]: Leaving directory '/dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1' make[1]: *** [Makefile:620: all-recursive] Error 1 make[1]: Leaving directory '/dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1' make: *** [Makefile:394: all] Error 2 * ERROR: app-admin/logrotate-3.15.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-admin/logrotate-3.15.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/logrotate-3.15.1::gentoo'`. * The complete build log is located at '/dev/shm/portage/app-admin/logrotate-3.15.1/temp/build.log'. * The ebuild environment file is located at '/dev/shm/portage/app-admin/logrotate-3.15.1/temp/environment'. * Working directory: '/dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1' * S: '/dev/shm/portage/app-admin/logrotate-3.15.1/work/logrotate-3.15.1'