* Package: app-admin/newsyslog-1.1.0.81 * Repository: gentoo * Maintainer: monsieurp@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking newsyslog-1.1.0.81.tar.gz to /var/tmp/portage/app-admin/newsyslog-1.1.0.81/work >>> Source unpacked in /var/tmp/portage/app-admin/newsyslog-1.1.0.81/work >>> Preparing source in /var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81 ... * Applying newsyslog-1.1.0.81-html.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81 ... ./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 --docdir=/usr/share/doc/newsyslog-1.1.0.81 --htmldir=/usr/share/doc/newsyslog-1.1.0.81/html --libdir=/usr/lib64 --with-gzip --with-newsyslog_conf=/etc/newsyslog.conf --with-syslogd_pid=/var/run/syslog.pid 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 for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... 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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether make sets $(MAKE)... (cached) yes 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 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 library containing strerror... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for string.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for sys/user.h... yes checking for sys/proc.h... no checking linux/tasks.h usability... no checking linux/tasks.h presence... no checking for linux/tasks.h... no checking linux/threads.h usability... no checking linux/threads.h presence... no checking for linux/threads.h... no checking for sys/cdefs.h... yes checking for an ANSI C-conforming const... yes checking for unsigned long long... yes checking return type of signal handlers... void checking for sys_signame declaration in signal.h... no checking for sys_nsig declaration in signal.h... no checking whether getopt is declared... yes checking whether optind is declared... yes checking whether opterr is declared... yes checking whether optarg is declared... yes checking whether optopt is declared... yes checking whether setgroupent is declared... no checking whether setpassent is declared... no checking whether sig2str is declared... no checking whether str2sig is declared... no checking whether strsignal is declared... no checking whether strchr is declared... yes checking whether strdup is declared... yes checking whether strrchr is declared... yes checking whether strtok is declared... yes checking whether exit is declared... yes checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strptime is declared... yes checking for setgroupent... no checking for setpassent... no checking for sig2str... no checking for snprintf... yes checking for str2sig... no checking for strdup... yes checking for strerror... yes checking for strptime... yes checking for strsignal... yes checking for strtok... yes checking for sys_signame... no checking for bzero... yes checking for flock... yes checking for getopt... yes checking for isnan... yes checking for isinf... yes checking for memset... yes checking for mkstemp... yes checking for rename... yes checking for strchr... yes checking for strrchr... yes checking for strtol... yes checking for strtoul... yes checking for sys_nsig... no checking if malloc debugging is wanted... no checking for name of archive compression program... gzip with .gz checking for gzip... /bin/gzip checking for name of syslogd's pid file... /var/run/syslog.pid checking for name of config file... /etc/newsyslog.conf configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.BSD config.status: creating newsyslog.conf.5so config.status: creating newsyslog.8so config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -c newsyslog.c newsyslog.c: In function ‘main’: newsyslog.c:325:6: warning: implicit declaration of function ‘setgroupent’; did you mean ‘setprotoent’? [-Wimplicit-function-declaration] 325 | if (setgroupent(1) != 1) { | ^~~~~~~~~~~ | setprotoent newsyslog.c:332:6: warning: implicit declaration of function ‘setpassent’; did you mean ‘sethostent’? [-Wimplicit-function-declaration] 332 | if (setpassent(1) != 1) { | ^~~~~~~~~~ | sethostent newsyslog.c:381:8: warning: implicit declaration of function ‘sig2str’ [-Wimplicit-function-declaration] 381 | if (sig2str(WTERMSIG(cstatus), signm) == -1) { | ^~~~~~~ newsyslog.c: In function ‘do_entry’: newsyslog.c:422:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 422 | printf("## %s [%s(%lu):%s(%lu)] 0%03o <#%u,%s%s%s%s%s>: ", | ~~^ | | | long unsigned int | %u ...... 425 | (unsigned long) (ent->uid == NO_ID) ? (write_metalog ? 0 : geteuid()) : ent->uid, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int newsyslog.c:422:31: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Wformat=] 422 | printf("## %s [%s(%lu):%s(%lu)] 0%03o <#%u,%s%s%s%s%s>: ", | ~~^ | | | long unsigned int | %u ...... 427 | (unsigned long) (ent->gid == NO_ID) ? (write_metalog ? 0 : getegid()) : ent->gid, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int newsyslog.c: In function ‘parse_options’: newsyslog.c:549:8: warning: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration] 549 | p = strptime(optarg, "%H:%M", &tms); | ^~~~~~~~ | strftime newsyslog.c:549:6: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 549 | p = strptime(optarg, "%H:%M", &tms); | ^ newsyslog.c: In function ‘parse_file’: newsyslog.c:764:8: warning: implicit declaration of function ‘flock’; did you mean ‘clock’? [-Wimplicit-function-declaration] 764 | if (flock(fd, LOCK_EX | LOCK_NB) != -1) | ^~~~~ | clock newsyslog.c: In function ‘getsig’: newsyslog.c:2098:6: warning: implicit declaration of function ‘str2sig’ [-Wimplicit-function-declaration] 2098 | if (str2sig(sig, &n) != -1) | ^~~~~~~ newsyslog.c: In function ‘do_trim’: newsyslog.c:1433:11: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result] 1433 | (void) chown(zfile2, ent->uid, ent->gid); /* XXX error check (non-fatal?) */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -c setgroupent.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -c setpassent.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -c sig2str.c sig2str.c:66:19: warning: array ‘sys_signame’ assumed to have one element 66 | const char *const sys_signame[]; /* defined in sys_signame.c */ | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -c str2sig.c str2sig.c:68:19: warning: array ‘sys_signame’ assumed to have one element 68 | const char *const sys_signame[]; /* defined in sys_signame.c */ | ^~~~~~~~~~~ /bin/sh ./mksigname.sh ./siglist.in sys_signame.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -c sys_signame.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o newsyslog newsyslog.o setgroupent.o setpassent.o sig2str.o str2sig.o sys_signame.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: str2sig.o:(.rodata+0x0): multiple definition of `sys_signame'; sig2str.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sys_signame.o:(.data.rel.ro.local+0x0): multiple definition of `sys_signame'; sig2str.o:(.rodata+0x0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:341: newsyslog] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81' make: *** [Makefile:256: all] Error 2 * ERROR: app-admin/newsyslog-1.1.0.81::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-admin/newsyslog-1.1.0.81::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/newsyslog-1.1.0.81::gentoo'`. * The complete build log is located at '/var/log/portage/app-admin:newsyslog-1.1.0.81:20200130-093801.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/newsyslog-1.1.0.81/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/newsyslog-1.1.0.81/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81' * S: '/var/tmp/portage/app-admin/newsyslog-1.1.0.81/work/newsyslog-1.1.0.81'