* Package: net-misc/sslwrap-2.0.6-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking sslwrap-2.0.6.tar.gz to /var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work >>> Preparing source in /var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work/sslwrap206 ... * Applying sslwrap-2.0.6-build.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work/sslwrap206 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work/sslwrap206 ... make -j1 x86_64-pc-linux-gnu-gcc -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -o sslwrap s_server.c s_socket.c s_cb.c -DFLAT_INC -DOPENSSL="\"openssl/\"" `pkg-config --libs openssl` s_server.c: In function ‘get_dh512’: s_server.c:184:4: error: dereferencing pointer to incomplete type ‘DH’ {aka ‘struct dh_st’} dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL); ^~ s_server.c: In function ‘main’: s_server.c:275:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] meth=SSLv23_server_method(); ^ In file included from s_server.c:127: apps.h:124:43: warning: implicit declaration of function ‘SSLeay_add_all_algorithms’; did you mean ‘SSLeay_add_ssl_algorithms’? [-Wimplicit-function-declaration] # define apps_startup() do_pipe_sig(); SSLeay_add_all_algorithms(); ^~~~~~~~~~~~~~~~~~~~~~~~~ s_server.c:285:2: note: in expansion of macro ‘apps_startup’ apps_startup(); ^~~~~~~~~~~~ s_server.c:401:11: warning: implicit declaration of function ‘SSLv2_server_method’; did you mean ‘SSLv23_server_method’? [-Wimplicit-function-declaration] { meth=SSLv2_server_method(); } ^~~~~~~~~~~~~~~~~~~ SSLv23_server_method s_server.c:401:10: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] { meth=SSLv2_server_method(); } ^ s_server.c:405:11: warning: implicit declaration of function ‘SSLv3_server_method’; did you mean ‘SSLv23_server_method’? [-Wimplicit-function-declaration] { meth=SSLv3_server_method(); } ^~~~~~~~~~~~~~~~~~~ SSLv23_server_method s_server.c:405:10: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] { meth=SSLv3_server_method(); } ^ s_server.c:465:3: warning: implicit declaration of function ‘ERR_print_errors’; did you mean ‘SSL_get_error’? [-Wimplicit-function-declaration] ERR_print_errors(bio_err); ^~~~~~~~~~~~~~~~ SSL_get_error s_server.c:473:43: warning: passing argument 2 of ‘SSL_CTX_set_info_callback’ from incompatible pointer type [-Wincompatible-pointer-types] if (state) SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback); ^~~~~~~~~~~~~~~~~~~~~~ In file included from s_server.c:131: /usr/include/openssl/ssl.h:652:39: note: expected ‘void (*)(const SSL *, int, int)’ {aka ‘void (*)(const struct ssl_st *, int, int)’} but argument is of type ‘void (*)(SSL *, int, int)’ {aka ‘void (*)(struct ssl_st *, int, int)’} void (*cb) (const SSL *ssl, int type, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int val)); ~~~~~~~~ s_server.c: In function ‘print_stats’: s_server.c:574:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d client connects (SSL_connect())\n", ~~^ %4ld s_server.c:576:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d client connects that finished\n", ~~^ %4ld s_server.c:578:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d server accepts (SSL_accept())\n", ~~^ %4ld s_server.c:580:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d server accepts that finished\n", ~~^ %4ld s_server.c:582:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d session cache hits\n",SSL_CTX_sess_hits(ssl_ctx)); ~~^ %4ld s_server.c:583:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d session cache misses\n",SSL_CTX_sess_misses(ssl_ctx)); ~~^ %4ld s_server.c:584:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d session cache timeouts\n",SSL_CTX_sess_timeouts(ssl_ctx)); ~~^ %4ld s_server.c:585:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] BIO_printf(bio,"%4d callback cache hits\n",SSL_CTX_sess_cb_hits(ssl_ctx)); ~~^ %4ld s_server.c: In function ‘sv_body’: s_server.c:732:3: error: too few arguments to function ‘CRYPTO_free’ CRYPTO_free(buf); ^~~~~~~~~~~ In file included from /usr/include/openssl/bio.h:20, from /usr/include/openssl/lhash.h:18, from s_server.c:124: /usr/include/openssl/crypto.h:279:6: note: declared here void CRYPTO_free(void *ptr, const char *file, int line); ^~~~~~~~~~~ s_server.c: In function ‘tmp_rsa_cb’: s_server.c:869:3: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] rsa_tmp=RSA_generate_key(512,RSA_F4,NULL,NULL); ^~~~~~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/lhash.h:17, from s_server.c:124: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ s_server.c: In function ‘sv_body’: s_server.c:716:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(s_out,buf, ^~~~~~~~~~~~~~~~ (unsigned int)i); ~~~~~~~~~~~~~~~~ s_socket.c: In function ‘do_server’: s_socket.c:308:21: error: too few arguments to function ‘CRYPTO_free’ if (name != NULL) CRYPTO_free(name); ^~~~~~~~~~~ In file included from /usr/include/openssl/buffer.h:15, from apps.h:68, from s_socket.c:66: /usr/include/openssl/crypto.h:279:6: note: declared here void CRYPTO_free(void *ptr, const char *file, int line); ^~~~~~~~~~~ s_cb.c: In function ‘verify_callback’: s_cb.c:104:13: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX’ {aka ‘struct x509_store_ctx_st’} switch (ctx->error) ^~ s_cb.c: In function ‘bio_dump_cb’: s_cb.c:191:32: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘BIO *’ {aka ‘struct bio_st *’} [-Wformat=] BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~^ bio,argp,argi,ret,ret); ~~~ s_cb.c:191:39: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘char *’ [-Wformat=] BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~~^ %08s bio,argp,argi,ret,ret); ~~~~ s_cb.c:191:63: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~^ %lX bio,argp,argi,ret,ret); ~~~ s_cb.c:198:31: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘BIO *’ {aka ‘struct bio_st *’} [-Wformat=] BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~^ bio,argp,argi,ret,ret); ~~~ s_cb.c:198:38: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘char *’ [-Wformat=] BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~~^ %08s bio,argp,argi,ret,ret); ~~~~ s_cb.c:198:62: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~^ %lX bio,argp,argi,ret,ret); ~~~ make: *** [Makefile:6: all] Error 1 * ERROR: net-misc/sslwrap-2.0.6-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/sslwrap-2.0.6-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/sslwrap-2.0.6-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:sslwrap-2.0.6-r2:20190104-012936.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/sslwrap-2.0.6-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/sslwrap-2.0.6-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work/sslwrap206' * S: '/var/tmp/portage/net-misc/sslwrap-2.0.6-r2/work/sslwrap206'