* Package: app-shells/rrs-1.70-r2 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking rrs-1.70.tar.gz to /var/tmp/portage/app-shells/rrs-1.70-r2/work >>> Source unpacked in /var/tmp/portage/app-shells/rrs-1.70-r2/work >>> Preparing source in /var/tmp/portage/app-shells/rrs-1.70-r2/work/rrs-1.70 ... * Applying rrs-1.70-asneeded.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-shells/rrs-1.70-r2/work/rrs-1.70 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-shells/rrs-1.70-r2/work/rrs-1.70 ... make -j1 generic 'CFLAGS=-O2 -pipe -march=native' 'LDEXTRA=-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed' CC=x86_64-pc-linux-gnu-gcc rm -f *.o *.a core rrs x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -o rrs rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc -L/usr/local/lib -lstdc++ -lm -lutil -lssl -lcrypto rrs.c: In function ‘main’: rrs.c:1985:29: warning: implicit declaration of function ‘SSLv2_server_method’; did you mean ‘SSLv23_server_method’? [-Wimplicit-function-declaration] sslmethod = SSLv2_server_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_server_method rrs.c:1985:27: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] sslmethod = SSLv2_server_method(); ^ rrs.c:1987:29: warning: implicit declaration of function ‘SSLv3_server_method’; did you mean ‘SSLv23_server_method’? [-Wimplicit-function-declaration] sslmethod = SSLv3_server_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_server_method rrs.c:1987:27: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] sslmethod = SSLv3_server_method(); ^ rrs.c:1989:17: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations] sslmethod = TLSv1_server_method(); ^~~~~~~~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/crypto.h:22, from rrs.c:108: /usr/include/openssl/ssl.h:1628:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ rrs.c:1989:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] sslmethod = TLSv1_server_method(); ^ rrs.c:1991:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "[?] huh? rrs_ssl = 0x%08x\n", (unsigned int)sslmethod); ^ rrs.c:1996:29: warning: implicit declaration of function ‘SSLv2_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration] sslmethod = SSLv2_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method rrs.c:1996:27: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] sslmethod = SSLv2_client_method(); ^ rrs.c:1998:29: warning: implicit declaration of function ‘SSLv3_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration] sslmethod = SSLv3_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method rrs.c:1998:27: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] sslmethod = SSLv3_client_method(); ^ rrs.c:2000:17: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] sslmethod = TLSv1_client_method(); ^~~~~~~~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/crypto.h:22, from rrs.c:108: /usr/include/openssl/ssl.h:1629:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ rrs.c:2000:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] sslmethod = TLSv1_client_method(); ^ rrs.c:2002:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "[?] huh? rrs_ssl = 0x%08x\n", (unsigned int)sslmethod); ^ rrs.c: In function ‘foreachline’: rrs.c:452:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(charbuf, 1, 1, strm); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c: In function ‘connecting_pty_shell’: rrs.c:968:29: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(sd, buf, cnt); ^~~~~~~~~~~~~~~~~~~ rrs.c:976:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf, cnt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1046:37: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(sd, &ccbuf[rlen], 2 - rlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1077:45: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(sd, &ccbuf[(2+rlen)], 2 - rlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1099:29: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(master_fd, buf, rlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1103:29: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(master_fd, memp+copied, rlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1106:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(master_fd, buf, cnt); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c: In function ‘listener’: rrs.c:1459:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(listener_clisd, gbuf, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1481:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(listener_clisd, remote_command, strlen(remote_command)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1482:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(listener_clisd, Nter, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1524:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(listener_clisd, gbuf, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1555:25: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(listener_clisd, gbuf, cnt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:1599:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, gbuf, cnt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c: In function ‘main’: rrs.c:2116:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(gbuf, sizeof(gbuf)-1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrs.c:2141:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(gbuf, sizeof(gbuf)-1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ twofish2.cc: In member function ‘void TwoFish::flushOutput(char*, int)’: twofish2.cc:368:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] write( sockfd, b, len ); ~~~~~^~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-shells/rrs-1.70-r2/temp/cctmgZnG.o: In function `main': rrs.c:(.text.startup+0xd85): undefined reference to `SSLv2_server_method' rrs.c:(.text.startup+0xd9a): undefined reference to `SSLv2_client_method' rrs.c:(.text.startup+0xe31): undefined reference to `SSLv3_server_method' rrs.c:(.text.startup+0xe46): undefined reference to `SSLv3_client_method' collect2: error: ld returned 1 exit status make: *** [Makefile:50: compile-generic] Error 1 * ERROR: app-shells/rrs-1.70-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-shells/rrs-1.70-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-shells/rrs-1.70-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-shells:rrs-1.70-r2:20190101-153028.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-shells/rrs-1.70-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-shells/rrs-1.70-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-shells/rrs-1.70-r2/work/rrs-1.70' * S: '/var/tmp/portage/app-shells/rrs-1.70-r2/work/rrs-1.70'