* Package: app-admin/logsurfer+-1.8-r4:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking logsurfer-1.8.tar.gz to /var/tmp/portage/app-admin/logsurfer+-1.8-r4/work >>> Source unpacked in /var/tmp/portage/app-admin/logsurfer+-1.8-r4/work >>> Preparing source in /var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8 ... ./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 --with-etcdir=/etc creating cache ./config.cache checking for gcc... clang checking whether we are using GNU C... yes checking for a BSD compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... clang -E checking for AIX... no checking for -lgen... no checking whether cross-compiling... yes checking for ANSI C header files... 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 for sys/time.h... yes checking for stdlib.h... yes checking for malloc.h... yes checking for string.h... yes checking for strings.h... yes checking for limits.h... yes checking for unistd.h... yes checking for sys/resource.h... yes checking for pid_t... yes checking for working const... yes checking for working alloca.h... yes checking for alloca... yes checking for strchr... yes checking for index... yes checking for memmove... yes checking for bcopy... yes checking etcdir... /etc updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating man/Makefile creating config.h >>> Source configured. '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/temp/clang14.log' -> '/var/tmp/clang/app-admin/logsurfer+-1.8-r4/clang14.log' '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/temp/clang15.log' -> '/var/tmp/clang/app-admin/logsurfer+-1.8-r4/clang15.log' >>> Compiling source in /var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8 ... make -j4 for subdir in man src; do \ echo making all in $subdir ; \ (cd $subdir; make prefix='/usr' bindir='/usr/bin' mandir='/usr/share/man' CPPFLAGS='-DVERSION=\"1.8\" -DWARN_ROOT' CC='clang' CFLAGS='-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' DEF_DUMPFILE='/dev/null' DEF_CONFFILE='/etc/logsurfer.conf' LIBS='' INSTALL='/usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c' INSTALL_PROGRAM='/usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c' INSTALL_DATA='/usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644' DEFS='-DHAVE_CONFIG_H' all); \ done making all in man make[1]: Entering directory '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8/man' sed -e "s,@DUMPFILE@,/dev/null," \ -e "s,@CONFFILE@,/etc/logsurfer.conf," < logsurfer.1.in > logsurfer.1 sed -e "s,@DUMPFILE@,/dev/null," \ -e "s,@CONFFILE@,/etc/logsurfer.conf," < logsurfer.conf.4.in > logsurfer.conf.4 make[1]: Leaving directory '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8/man' making all in src make[1]: Entering directory '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8/src' clang -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \ -DCONFFILE=\"/etc/logsurfer.conf\" -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int context.c clang -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \ -DCONFFILE=\"/etc/logsurfer.conf\" -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int exec.c clang -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \ -DCONFFILE=\"/etc/logsurfer.conf\" -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int exit.c clang -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \ -DCONFFILE=\"/etc/logsurfer.conf\" -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int logsurfer.c context.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_context(context_def) ^ context.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_context_line(this_context_line) ^ context.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_body(this_body) ^ context.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_context(this_context) ^ context.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unlink_context(this_context) ^ context.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] close_context(context_def) ^ context.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_context(compare_regex) ^ context.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_to_context(this_context, new_context_line) ^ context.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_context_action(this_context) ^ context.c:619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void expand_context_action_macros( this_context ) ^ context.c:637:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] tp += sprintf(tp,"%d",this_context->lines); ~~ ^~~~~~~~~~~~~~~~~~~ %ld exec.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prepare_exec(cmdstring) ^ exec.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_exec(exec_tokens) ^ exec.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_pipe_line(cmd_token) ^ exec.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] collect_tokens(src) ^ exec.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_tokens(token_list) ^ exec.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_echo(echo_tokens) ^ exec.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_syslog(syslog_tokens) ^ exec.c:380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int parse_syslog_faclevel( faclevel, facility, level ) ^ exit.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logsurfer_exit(sig) ^ logsurfer.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logfile_reopen(sig) ^ logsurfer.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runasdaemon(lfd) ^ logsurfer.c:348:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ logsurfer.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(progname) ^ logsurfer.c:684:3: error: call to undeclared function 'check_context_linelimit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] check_context_linelimit(); ^ logsurfer.c:684:3: note: did you mean 'check_context_timeout'? ./context.h:24:7: note: 'check_context_timeout' declared here void check_context_timeout(); ^ logsurfer.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 5 warnings and 1 error generated. make[1]: *** [Makefile:21: logsurfer.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 1 warning generated. 8 warnings generated. 11 warnings generated. make[1]: Leaving directory '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8/src' make: *** [Makefile:93: all] Error 2 * ERROR: app-admin/logsurfer+-1.8-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-admin/logsurfer+-1.8-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/logsurfer+-1.8-r4::gentoo'`. * The complete build log is located at '/var/log/portage/app-admin:logsurfer+-1.8-r4:20220917-212951.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8' * S: '/var/tmp/portage/app-admin/logsurfer+-1.8-r4/work/logsurfer-1.8'