* Package: app-admin/newsyslog-1.1.0.81-r1:0 * 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-r1/work >>> Source unpacked in /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work >>> Preparing source in /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work/newsyslog-1.1.0.81 ... * Applying newsyslog-1.1.0.81-html.patch ... [ ok ] * Applying newsyslog-1.1.0.81-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/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-r1 --htmldir=/usr/share/doc/newsyslog-1.1.0.81-r1/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.10/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.10/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-r1/work/newsyslog-1.1.0.81 ... make -j4 make all-am make[1]: Entering directory '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work/newsyslog-1.1.0.81' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c setgroupent.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c setpassent.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c sig2str.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c str2sig.c /bin/sh ./mksigname.sh ./siglist.in sys_signame.c (soelim -I . newsyslog.conf.5so > newsyslog.conf.5) || (rm -f newsyslog.conf.5; exit 1) (soelim -I . newsyslog.8so > newsyslog.8) || (rm -f newsyslog.8; exit 1) (tbl newsyslog.conf.5 | nroff -mdoc > newsyslog.conf.cat5) || (rm -f newsyslog.conf.cat5; exit 1) (tbl newsyslog.8 | nroff -mdoc > newsyslog.cat8) || (rm -f newsyslog.cat8; exit 1) (tbl newsyslog.conf.5 | groff -mdoc -Tps > newsyslog.conf.5.ps) || (rm -f newsyslog.conf.5.ps; exit 1) (tbl newsyslog.8 | groff -mdoc -Tps > newsyslog.8.ps) || (rm -f newsyslog.8.ps; exit 1) (tbl newsyslog.conf.5 | nroff -mhtml > newsyslog.conf.5.html) || (rm -f newsyslog.conf.5.html; exit 1) (tbl newsyslog.8 | nroff -mhtml > newsyslog.8.html) || (rm -f newsyslog.8.html; exit 1) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c newsyslog.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -c sys_signame.c newsyslog.c: In function ‘main’: newsyslog.c:325:13: warning: implicit declaration of function ‘setgroupent’; did you mean ‘setprotoent’? [-Wimplicit-function-declaration] 325 | if (setgroupent(1) != 1) { | ^~~~~~~~~~~ | setprotoent newsyslog.c:332:13: warning: implicit declaration of function ‘setpassent’; did you mean ‘sethostent’? [-Wimplicit-function-declaration] 332 | if (setpassent(1) != 1) { | ^~~~~~~~~~ | sethostent newsyslog.c:381:29: 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:37: 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:45: 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:29: warning: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration] 549 | p = strptime(optarg, "%H:%M", &tms); | ^~~~~~~~ | strftime newsyslog.c:549:27: 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:29: 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:13: warning: implicit declaration of function ‘str2sig’ [-Wimplicit-function-declaration] 2098 | if (str2sig(sig, &n) != -1) | ^~~~~~~ newsyslog.c: In function ‘do_trim’: newsyslog.c:1433:32: 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 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o newsyslog newsyslog.o setgroupent.o setpassent.o sig2str.o str2sig.o sys_signame.o make[1]: Leaving directory '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work/newsyslog-1.1.0.81' >>> Source compiled. >>> Test phase [not enabled]: app-admin/newsyslog-1.1.0.81-r1 >>> Install app-admin/newsyslog-1.1.0.81-r1 into /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image make -j4 DESTDIR=/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image catmandir=/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install install make[1]: Entering directory '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work/newsyslog-1.1.0.81' /bin/mkdir -p /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat5 test -z "/usr/share/man/man5" || /bin/mkdir -p "/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/usr/share/man/man5" test -z "/usr/share/man/man8" || /bin/mkdir -p "/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/usr/share/man/man8" /bin/mkdir -p /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat8 test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/usr/bin" /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 newsyslog.conf.cat5 /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat5/newsyslog.conf.0 /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 newsyslog.cat8 /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat8/newsyslog.0 /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c 'newsyslog' '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/usr/bin/newsyslog' /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 './newsyslog.8' '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/usr/share/man/man8/newsyslog.8' /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 './newsyslog.conf.5' '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image/usr/share/man/man5/newsyslog.conf.5' make[1]: Leaving directory '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work/newsyslog-1.1.0.81' >>> Completed installing app-admin/newsyslog-1.1.0.81-r1 into /var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image * Final size of build directory: 1212 KiB (1.1 MiB) * Final size of installed tree: 164 KiB * QA Notice: This ebuild installs into paths that should be created at runtime. * To fix, simply do not install into these directories. Instead, your package * should create dirs on the fly at runtime as needed via init scripts/etc... * * var/tmp * var/tmp/portage * var/tmp/portage/app-admin * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1 * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat8 * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat8/newsyslog.0 * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat5 * var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/dont-install/cat5/newsyslog.conf.0 * * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * * newsyslog.c:325:13: warning: implicit declaration of function ‘setgroupent’; did you mean ‘setprotoent’? [-Wimplicit-function-declaration] * newsyslog.c:332:13: warning: implicit declaration of function ‘setpassent’; did you mean ‘sethostent’? [-Wimplicit-function-declaration] * newsyslog.c:381:29: warning: implicit declaration of function ‘sig2str’ [-Wimplicit-function-declaration] * newsyslog.c:549:29: warning: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration] * newsyslog.c:764:29: warning: implicit declaration of function ‘flock’; did you mean ‘clock’? [-Wimplicit-function-declaration] * newsyslog.c:2098:13: warning: implicit declaration of function ‘str2sig’ [-Wimplicit-function-declaration] * * Please file a bug about this at https://bugs.gentoo.org/ * with the maintainer of the package. * * ERROR: app-admin/newsyslog-1.1.0.81-r1::gentoo failed: * install aborted due to severe warnings shown above * * Call stack: * misc-functions.sh, line 670: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 90gcc-warnings, line 197: Called gcc_warn_check * 90gcc-warnings, line 183: Called die * The specific snippet of code: * die "install aborted due to severe warnings shown above" * * If you need support, post the output of `emerge --info '=app-admin/newsyslog-1.1.0.81-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/newsyslog-1.1.0.81-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-admin:newsyslog-1.1.0.81-r1:20221120-124225.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/image' * S: '/var/tmp/portage/app-admin/newsyslog-1.1.0.81-r1/work/newsyslog-1.1.0.81'