* Package: net-irc/rhapsody-0.28b: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 rhapsody_0.28b.tgz to /var/tmp/portage/net-irc/rhapsody-0.28b/work >>> Source unpacked in /var/tmp/portage/net-irc/rhapsody-0.28b/work >>> Preparing source in /var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b ... * Applying rhapsody-0.28b-uclibc.patch ... [ ok ] * Applying rhapsody-0.28b-tinfo.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b ... Rhapsody IRC configure script version 0.28b. run "configure --help" to get a list of available configuration options. The OS appears to be Linux (GNU/Linux) version 6.0.11. NOT RUNNING AS ROOT. Install path is "/usr/share/rhapsody". Documentation path is "/usr/share/rhapsody/docs". You can override the default install and document path by running: configure -i -d Looking for compilers in /usr/bin... Looking for compilers in /usr/local/bin... Found gcc in /usr/bin/gcc, using gcc. Looking for curses headers in /usr/include... Found ncurses.h in /usr/include Finished creating makefile, run 'make clean' then 'make' to compile, then finally 'make install' to install. The installation step is optional. You can run rhapsody from this directory once it is compiled. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b ... make -j4 CC=clang 'LOCALFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon' cd src; make make[1]: Entering directory '/var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b/src' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o network.o network.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o misc.o misc.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o forms.o forms.c forms.c:257:12: warning: variable 'revent' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (type == F_CHECKBOX_ARRAY) revent = process_Fche... ^~~~~~~~~~~~~~~~~~~~~~~~ forms.c:259:7: note: uninitialized use occurs here if (revent == E_NEXT){ ^~~~~~ forms.c:257:8: note: remove the 'if' if its condition is always true else if (type == F_CHECKBOX_ARRAY) revent = process_Fche... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:225:12: note: initialize the variable 'revent' to silence this warning int revent; ^ = 0 1 warning generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o socks4.o socks4.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o option.o option.c option.c:1118:37: warning: passing arguments to 'create_edit_user_form' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mainform = create_edit_user_form("Favori... ^ option.c:1119:41: warning: passing arguments to 'create_edit_user_form' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else mainform = create_edit_user_form("Ignored U... ^ In file included from option.c:54: ./option.h:192:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] form *create_edit_user_form(); ^ option.c:1231:7: note: conflicting prototype is here form *create_edit_user_form(char *title, config_user *userlist){ ^ 3 warnings generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o ncolor.o ncolor.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o socks5.o socks5.c socks5.c:127:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(hostname, message + 4); ^~~~~~~~~~~ /usr/include/string.h:141:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ 1 warning generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o log.o log.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o screen.o screen.c screen.c:184:6: warning: variable 'printed' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (buffer != NULL && win != NULL){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:304:9: note: uninitialized use occurs here return(printed); ^~~~~~~ screen.c:184:2: note: remove the 'if' if its condition is always true if (buffer != NULL && win != NULL){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:184:6: warning: variable 'printed' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] if (buffer != NULL && win != NULL){ ^~~~~~~~~~~~~~ screen.c:304:9: note: uninitialized use occurs here return(printed); ^~~~~~~ screen.c:184:6: note: remove the '&&' if its condition is always true if (buffer != NULL && win != NULL){ ^~~~~~~~~~~~~~~~~ screen.c:170:63: note: initialize the variable 'printed' to silence this warning int i, j, line, linepos, linesize, strpos, strlength, printed; ^ = 0 In file included from screen.c:55: ./screen.h:158:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] transfer *add_transfer(); ^ screen.c:1521:11: note: conflicting prototype is here transfer *add_transfer(char *name){ ^ screen.c:2451:6: warning: variable 'j' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (inputline != NULL && buffer != NULL){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:2556:9: note: uninitialized use occurs here return(j); ^ screen.c:2451:2: note: remove the 'if' if its condition is always true if (inputline != NULL && buffer != NULL){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:2451:6: warning: variable 'j' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] if (inputline != NULL && buffer != NULL){ ^~~~~~~~~~~~~~~~~ screen.c:2556:9: note: uninitialized use occurs here return(j); ^ screen.c:2451:6: note: remove the '&&' if its condition is always true if (inputline != NULL && buffer != NULL){ ^~~~~~~~~~~~~~~~~~~~ screen.c:2436:10: note: initialize the variable 'j' to silence this warning int i, j; ^ = 0 5 warnings generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o parser.o parser.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o config.o config.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o dcc.o dcc.c dcc.c:413:69: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...new_fd = accept(D->dccfd, (struct sockaddr *)&clientaddr, &size); ^~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ dcc.c:479:52: warning: variable 'host' is uninitialized when used here [-Wuninitialized] proxyaddr.sin_addr = *((struct in_addr *)host->h_addr); ^~~~ dcc.c:332:22: note: initialize the variable 'host' to silence this warning struct hostent *host; ^ = NULL dcc.c:1218:69: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...new_fd = accept(D->dccfd, (struct sockaddr *)&clientaddr, &size); ^~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ dcc.c:1509:6: warning: variable 'len' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (D->type == DCC_RECEIVE){ ^~~~~~~~~~~~~~~~~~~~~~ dcc.c:1557:9: note: uninitialized use occurs here return(len); ^~~ dcc.c:1509:2: note: remove the 'if' if its condition is always true if (D->type == DCC_RECEIVE){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c:1506:9: note: initialize the variable 'len' to silence this warning int len; ^ = 0 4 warnings generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o cmenu.o cmenu.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o main.o main.c main.c:177:31: warning: passing arguments to 'add_transfer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] transferscreen = add_transfer("transfers"); ^ main.c:425:41: warning: passing 'char[2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...process_sock4_server_message(Sp, Sp->buffer, serr); ^~~~~~~~~~ ./socks4.h:1:60: note: passing argument to parameter 'message' here int process_sock4_server_message(server *S, unsigned char *message, int len); ^ main.c:428:41: warning: passing 'char[2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...process_sock5_server_message(Sp, Sp->buffer, serr); ^~~~~~~~~~ ./socks5.h:1:60: note: passing argument to parameter 'message' here int process_sock5_server_message(server *S, unsigned char *message, int len); ^ main.c:456:42: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...process_sock4_dccchat_message(DCp, buffer, serr); ^~~~~~ ./socks4.h:2:63: note: passing argument to parameter 'message' here int process_sock4_dccchat_message(dcc_chat *D, unsigned char *message, int len); ^ main.c:460:42: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...process_sock5_dccchat_message(DCp, buffer, serr); ^~~~~~ ./socks5.h:2:63: note: passing argument to parameter 'message' here int process_sock5_dccchat_message(dcc_chat *D, unsigned char *message, int len); ^ main.c:500:49: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...process_sock4_dccfile_message(currentdcc, buffer, serr); ^~~~~~ ./socks4.h:3:63: note: passing argument to parameter 'message' here int process_sock4_dccfile_message(dcc_file *D, unsigned char *message, int len); ^ main.c:503:49: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...process_sock5_dccfile_message(currentdcc, buffer, serr); ^~~~~~ ./socks5.h:3:63: note: passing argument to parameter 'message' here int process_sock5_dccfile_message(dcc_file *D, unsigned char *message, int len); ^ main.c:2300:21: warning: passing arguments to 'end_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] formcode = end_run(formkey); ^ 8 warnings generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o ctcp.o ctcp.c ctcp.c:279:25: warning: variable 'hostaddr' is uninitialized when used here [-Wuninitialized] cmdnick, inet_ntoa(hostaddr), port); ^~~~~~~~ ctcp.c:249:4: note: variable 'hostaddr' is declared here struct in_addr hostaddr; ^ ctcp.c:241:35: warning: variable 'hostaddr' is uninitialized when used here [-Wuninitialized] ...cmdnick, filename, inet_ntoa(hostaddr), port); ^~~~~~~~ ctcp.c:214:4: note: variable 'hostaddr' is declared here struct in_addr hostaddr; ^ 2 warnings generated. clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -c -o comm.o comm.c clang -g -Wall -Wno-unused -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -o rhapsody screen.o log.o network.o parser.o ctcp.o dcc.o ncolor.o main.o cmenu.o config.o forms.o option.o comm.o misc.o socks4.o socks5.o -L/usr/lib -lncurses -ltinfo ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/Scrt1.o is incompatible with elf32-i386 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/crti.o is incompatible with elf32-i386 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/12/crtbeginS.o is incompatible with elf32-i386 ld.lld: error: screen.o is incompatible with elf32-i386 ld.lld: error: log.o is incompatible with elf32-i386 ld.lld: error: network.o is incompatible with elf32-i386 ld.lld: error: parser.o is incompatible with elf32-i386 ld.lld: error: ctcp.o is incompatible with elf32-i386 ld.lld: error: dcc.o is incompatible with elf32-i386 ld.lld: error: ncolor.o is incompatible with elf32-i386 ld.lld: error: main.o is incompatible with elf32-i386 ld.lld: error: cmenu.o is incompatible with elf32-i386 ld.lld: error: config.o is incompatible with elf32-i386 ld.lld: error: forms.o is incompatible with elf32-i386 ld.lld: error: option.o is incompatible with elf32-i386 ld.lld: error: comm.o is incompatible with elf32-i386 ld.lld: error: misc.o is incompatible with elf32-i386 ld.lld: error: socks4.o is incompatible with elf32-i386 ld.lld: error: socks5.o is incompatible with elf32-i386 ld.lld: error: /lib64/libncurses.so.6 is incompatible with elf32-i386 ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:17: rhapsody] Error 1 shuffle=3314997697 make[1]: Leaving directory '/var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b/src' make: *** [Makefile:12: src/rhapsody] Error 2 shuffle=3314997697 * ERROR: net-irc/rhapsody-0.28b::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-irc/rhapsody-0.28b::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-irc/rhapsody-0.28b::gentoo'`. * The complete build log is located at '/var/log/portage/net-irc:rhapsody-0.28b:20221204-003216.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-irc/rhapsody-0.28b/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-irc/rhapsody-0.28b/temp/environment'. * Working directory: '/var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b' * S: '/var/tmp/portage/net-irc/rhapsody-0.28b/work/rhapsody-0.28b'