* Package: net-irc/emech-3.0.99_p3-r1: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 emech-3.0.99p3.tar.gz to /var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work >>> Source unpacked in /var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work >>> Preparing source in /var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3 ... * Applying emech-3.0.99_p3-buildfix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3 ... ./configure --with-alias --with-botnet --with-bounce --with-ctcp --with-dccfile --with-dynamode --with-dyncmd --with-greet --with-ircd_ext --with-md5 --with-newbie --with-note --with-notify --with-rawdns --with-seen --with-stats --with-telnet --with-toybox --with-trivia --without-uptime --with-web --with-wingate --without-profiling --without-redirect --without-tcl --without-session --without-debug checking system type ... Linux-x86_64 checking for C compiler ... clang checking whether clang works or not ... yes checking C compiler flags ... -g -fomit-frame-pointer -pipe -O2 checking pointer size ... 8 checking if cpu can access unaligned memory ... yes checking for inet_addr() ... yes checking for inet_aton() ... yes checking for socket() ... yes checking for crypt() ... yes checking for python ... no checking for friendly ld ... no checking for objcopy ... /usr/bin/objcopy Do you want ... Alias support? ............................. [Y/n] yes Amusing misc commands (toybox)? ............ [Y/n] yes Async DNS support? ......................... [Y/n] yes Botnet support? ............................ [Y/n] yes Channel ban support? ....................... [Y/n] CTCP? ...................................... [Y/n] yes DCC file support? .......................... [Y/n] yes Debug support? ............................. [y/N] no Dynamic channel limit (+l)? ................ [Y/n] yes Dynamic command levels support? ............ [Y/n] yes IRC proxy support? ......................... [Y/n] yes IRCD extensions support? ................... [Y/n] yes Greet support? ............................. [Y/n] yes HTTP server support? ....................... [y/N] yes MD5 password support? ...................... [Y/n] yes Newbie support? ............................ [Y/n] yes Note support? .............................. [Y/n] yes Notify support? ............................ [Y/n] yes Python scripting support? .................. [y/N] no (unsupported) Command output redirect? ................... [Y/n] no Seen support? .............................. [y/N] yes Session support? ........................... [Y/n] no Statistics support? ........................ [Y/n] yes Tcl scripting support? ..................... [y/N] no (unsupported) Telnet support? ............................ [Y/n] yes Trivia support? ............................ [y/N] yes Uptime support? ............................ [Y/n] no WinGate support? ........................... [Y/n] yes Creating src/Makefile Creating src/config.h All done. You can now "make clean install" Send your bugreports to You have read the README file I hope? >>> Source configured. '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/temp/clang14.log' -> '/var/tmp/clang/net-irc/emech-3.0.99_p3-r1/clang14.log' '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/temp/clang15.log' -> '/var/tmp/clang/net-irc/emech-3.0.99_p3-r1/clang15.log' >>> Compiling source in /var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3 ... make -j4 -C src CC=clang 'OPTIMIZE=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' make: Entering directory '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3/src' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o gencmd gencmd.c ./gencmd > mcmd.h clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c alias.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c auth.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c bounce.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c chanban.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c channel.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c core.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ctcp.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c debug.c channel.c:754:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] to_user(from,ERR_NOCHANNELS); ^~~~~~~~~~~~~~ channel.c:754:16: note: treat the string as an argument to avoid this to_user(from,ERR_NOCHANNELS); ^ "%s", ctcp.c:142:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] send_global(SPYSTR_STATUS,tmp); ^~~ ctcp.c:142:28: note: treat the string as an argument to avoid this send_global(SPYSTR_STATUS,tmp); ^ "%s", ctcp.c:173:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(s,(struct sockaddr *)&sai,&sz) < 0) ^~~ /usr/include/sys/socket.h:117:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ ctcp.c:490:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(sock,(struct sockaddr *)&sai,&sz) < 0) ^~~ /usr/include/sys/socket.h:117:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c dns.c ctcp.c:914:13: warning: address of array 'binfo->nuh' will always evaluate to 'true' [-Wpointer-bool-conversion] if (binfo->nuh) ~~ ~~~~~~~^~~ ctcp.c:924:84: warning: address of array 'binfo->nuh' will always evaluate to 'true' [-Wpointer-bool-conversion] ...>= ASSTLEVEL) ? TEXT_WHOMBOTGUID : TEXT_WHOMBOTLINE,(binfo->nuh) ? nickc... ~~~~~~~^~~ ~ dns.c:551:63: warning: address of array 'dns->host' will always evaluate to 'true' [-Wpointer-bool-conversion] ...(src == NULL && dns->ip.s_addr == 0 && dns->cname && dns->host && dns->a... ~~ ~~~~~^~~~ dns.c:669:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = recvfrom(dnssock,packet,512,0,(struct sockaddr*)&sai,&sz); ^~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c dynamode.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c function.c 5 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c greet.c function.c:1074:2: error: function definition is not allowed here { ^ function.c:1090:23: error: call to undeclared function 'path_token_check'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (*src == '/' && !path_token_check()) ^ function.c:1096:9: error: call to undeclared function 'path_token_check'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return(path_token_check() == 1 ? TRUE : FALSE); ^ 3 errors generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c help.c make: *** [Makefile:129: function.o] Error 1 make: *** Waiting for unfinished jobs.... 2 warnings generated. make: Leaving directory '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3/src' * ERROR: net-irc/emech-3.0.99_p3-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-irc/emech-3.0.99_p3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-irc/emech-3.0.99_p3-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-irc:emech-3.0.99_p3-r1:20221009-135304.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3' * S: '/var/tmp/portage/net-irc/emech-3.0.99_p3-r1/work/emech-3.0.99p3'