* Package: net-libs/serf-1.3.8-r1  * Repository: gentoo  * Maintainer: arfrever.fta@gmail.com proxy-maint@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking serf-1.3.8.tar.bz2 to /var/tmp/portage/net-libs/serf-1.3.8-r1/work >>> Source unpacked in /var/tmp/portage/net-libs/serf-1.3.8-r1/work >>> Preparing source in /var/tmp/portage/net-libs/serf-1.3.8-r1/work/serf-1.3.8 ... * Applying serf-1.3.2-disable_linking_against_unneeded_libraries.patch ...  [ ok ] * Applying serf-1.3.8-scons_variables.patch ...  [ ok ] * Applying serf-1.3.8-tests.patch ...  [ ok ] * Applying serf-1.3.8-static-lib.patch ...  [ ok ] * Applying serf-1.3.8-openssl.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/serf-1.3.8-r1/work/serf-1.3.8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/serf-1.3.8-r1/work/serf-1.3.8 ... scons -j1 PREFIX=/usr LIBDIR=/usr/lib64 APR=SYSROOT='' /usr/bin/apr-1-config APU=SYSROOT='' /usr/bin/apu-1-config BUILD_STATIC=no AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib CC=x86_64-pc-linux-gnu-gcc CPPFLAGS= CFLAGS=-march=native -mtune=native -O2 -pipe LINKFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... x86_64-pc-linux-gnu-gcc -o context.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 context.c x86_64-pc-linux-gnu-gcc -o incoming.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 incoming.c x86_64-pc-linux-gnu-gcc -o outgoing.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 outgoing.c x86_64-pc-linux-gnu-gcc -o ssltunnel.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 ssltunnel.c x86_64-pc-linux-gnu-gcc -o buckets/aggregate_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/aggregate_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/allocator.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/allocator.c x86_64-pc-linux-gnu-gcc -o buckets/barrier_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/barrier_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/buckets.c x86_64-pc-linux-gnu-gcc -o buckets/bwtp_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/bwtp_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/chunk_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/chunk_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/dechunk_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/dechunk_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/deflate_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/deflate_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/file_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/file_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/headers_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/headers_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/iovec_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/iovec_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/limit_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/limit_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/mmap_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/mmap_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/request_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/request_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/response_body_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/response_body_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/response_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/response_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/simple_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/simple_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/socket_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/socket_buckets.c x86_64-pc-linux-gnu-gcc -o buckets/ssl_buckets.os -c -march=native -mtune=native -O2 -pipe -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -pthread -fPIC -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/usr/include/apr-1 -I/usr/include/db6.2 buckets/ssl_buckets.c buckets/ssl_buckets.c: In function 'bio_bucket_read': buckets/ssl_buckets.c:250:34: error: dereferencing pointer to incomplete type 'BIO {aka struct bio_st}' serf_ssl_context_t *ctx = bio->ptr; ^ buckets/ssl_buckets.c: At top level: buckets/ssl_buckets.c:402:1: error: variable 'bio_bucket_method' has initializer but incomplete type static BIO_METHOD bio_bucket_method = { ^ buckets/ssl_buckets.c:404:5: warning: excess elements in struct initializer "Serf SSL encryption and decryption buckets", ^ buckets/ssl_buckets.c:404:5: note: (near initialization for 'bio_bucket_method') buckets/ssl_buckets.c:405:5: warning: excess elements in struct initializer bio_bucket_write, ^ buckets/ssl_buckets.c:405:5: note: (near initialization for 'bio_bucket_method') buckets/ssl_buckets.c:406:5: warning: excess elements in struct initializer bio_bucket_read, ^ buckets/ssl_buckets.c:406:5: note: (near initialization for 'bio_bucket_method') buckets/ssl_buckets.c:409:5: warning: excess elements in struct initializer bio_bucket_ctrl, ^ buckets/ssl_buckets.c:409:5: note: (near initialization for 'bio_bucket_method') buckets/ssl_buckets.c:410:5: warning: excess elements in struct initializer bio_bucket_create, ^ buckets/ssl_buckets.c:410:5: note: (near initialization for 'bio_bucket_method') buckets/ssl_buckets.c:411:5: warning: excess elements in struct initializer bio_bucket_destroy, ^ buckets/ssl_buckets.c:411:5: note: (near initialization for 'bio_bucket_method') buckets/ssl_buckets.c:417:1: error: variable 'bio_file_method' has initializer but incomplete type static BIO_METHOD bio_file_method = { ^ buckets/ssl_buckets.c:419:5: warning: excess elements in struct initializer "Wrapper around APR file structures", ^ buckets/ssl_buckets.c:419:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c:420:5: warning: excess elements in struct initializer bio_file_write, ^ buckets/ssl_buckets.c:420:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c:421:5: warning: excess elements in struct initializer bio_file_read, ^ buckets/ssl_buckets.c:421:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c:423:5: warning: excess elements in struct initializer bio_file_gets, /* Is this called? */ ^ buckets/ssl_buckets.c:423:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c:424:5: warning: excess elements in struct initializer bio_bucket_ctrl, ^ buckets/ssl_buckets.c:424:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c:425:5: warning: excess elements in struct initializer bio_bucket_create, ^ buckets/ssl_buckets.c:425:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c:426:5: warning: excess elements in struct initializer bio_bucket_destroy, ^ buckets/ssl_buckets.c:426:5: note: (near initialization for 'bio_file_method') buckets/ssl_buckets.c: In function 'get_subject_alt_names': buckets/ssl_buckets.c:465:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen(nm->d.ia5->data) != nm->d.ia5->length) ^ In file included from /usr/include/apr-1/apr_want.h:63:0, from /usr/include/apr-1/apr_pools.h:47, from buckets/ssl_buckets.c:37: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ buckets/ssl_buckets.c: In function 'validate_server_certificate': buckets/ssl_buckets.c:566:31: warning: implicit declaration of function 'X509_get_notBefore' [-Wimplicit-function-declaration] if (X509_cmp_current_time(X509_get_notBefore(server_cert)) >= 0) { ^ buckets/ssl_buckets.c:566:31: warning: passing argument 1 of 'X509_cmp_current_time' makes pointer from integer without a cast [-Wint-conversion] In file included from /usr/include/openssl/pem.h:17:0, from /usr/include/openssl/ssl.h:55, from buckets/ssl_buckets.c:50: /usr/include/openssl/x509.h:475:5: note: expected 'const ASN1_TIME * {aka const struct asn1_string_st *}' but argument is of type 'int' int X509_cmp_current_time(const ASN1_TIME *s); ^ buckets/ssl_buckets.c:569:36: warning: implicit declaration of function 'X509_get_notAfter' [-Wimplicit-function-declaration] else if (X509_cmp_current_time(X509_get_notAfter(server_cert)) <= 0) { ^ buckets/ssl_buckets.c:569:36: warning: passing argument 1 of 'X509_cmp_current_time' makes pointer from integer without a cast [-Wint-conversion] In file included from /usr/include/openssl/pem.h:17:0, from /usr/include/openssl/ssl.h:55, from buckets/ssl_buckets.c:50: /usr/include/openssl/x509.h:475:5: note: expected 'const ASN1_TIME * {aka const struct asn1_string_st *}' but argument is of type 'int' int X509_cmp_current_time(const ASN1_TIME *s); ^ buckets/ssl_buckets.c:609:17: warning: implicit declaration of function 'X509_STORE_CTX_get_chain' [-Wimplicit-function-declaration] chain = X509_STORE_CTX_get_chain(store_ctx); ^ buckets/ssl_buckets.c:609:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] chain = X509_STORE_CTX_get_chain(store_ctx); ^ buckets/ssl_buckets.c: In function 'ssl_dyn_lock': buckets/ssl_buckets.c:1004:16: error: 'CRYPTO_LOCK' undeclared (first use in this function) if (mode & CRYPTO_LOCK) { ^ buckets/ssl_buckets.c:1004:16: note: each undeclared identifier is reported only once for each function it appears in buckets/ssl_buckets.c:1007:21: error: 'CRYPTO_UNLOCK' undeclared (first use in this function) else if (mode & CRYPTO_UNLOCK) { ^ buckets/ssl_buckets.c: In function 'ssl_lock': buckets/ssl_buckets.c:1020:16: error: 'CRYPTO_LOCK' undeclared (first use in this function) if (mode & CRYPTO_LOCK) { ^ buckets/ssl_buckets.c:1023:21: error: 'CRYPTO_UNLOCK' undeclared (first use in this function) else if (mode & CRYPTO_UNLOCK) { ^ buckets/ssl_buckets.c: In function 'cleanup_ssl': buckets/ssl_buckets.c:1036:5: warning: implicit declaration of function 'CRYPTO_set_locking_callback' [-Wimplicit-function-declaration] CRYPTO_set_locking_callback(NULL); ^ buckets/ssl_buckets.c:1037:5: warning: implicit declaration of function 'CRYPTO_set_id_callback' [-Wimplicit-function-declaration] CRYPTO_set_id_callback(NULL); ^ buckets/ssl_buckets.c:1038:5: warning: implicit declaration of function 'CRYPTO_set_dynlock_create_callback' [-Wimplicit-function-declaration] CRYPTO_set_dynlock_create_callback(NULL); ^ buckets/ssl_buckets.c:1039:5: warning: implicit declaration of function 'CRYPTO_set_dynlock_lock_callback' [-Wimplicit-function-declaration] CRYPTO_set_dynlock_lock_callback(NULL); ^ buckets/ssl_buckets.c:1040:5: warning: implicit declaration of function 'CRYPTO_set_dynlock_destroy_callback' [-Wimplicit-function-declaration] CRYPTO_set_dynlock_destroy_callback(NULL); ^ buckets/ssl_buckets.c: In function 'init_ssl_libraries': buckets/ssl_buckets.c:1074:23: warning: implicit declaration of function 'SSLeay' [-Wimplicit-function-declaration] long libver = SSLeay(); ^ buckets/ssl_buckets.c:1084:9: warning: implicit declaration of function 'CRYPTO_malloc_init' [-Wimplicit-function-declaration] CRYPTO_malloc_init(); ^ buckets/ssl_buckets.c:1085:9: warning: implicit declaration of function 'ERR_load_crypto_strings' [-Wimplicit-function-declaration] ERR_load_crypto_strings(); ^ buckets/ssl_buckets.c:1086:9: warning: implicit declaration of function 'SSL_load_error_strings' [-Wimplicit-function-declaration] SSL_load_error_strings(); ^ buckets/ssl_buckets.c:1087:9: warning: implicit declaration of function 'SSL_library_init' [-Wimplicit-function-declaration] SSL_library_init(); ^ buckets/ssl_buckets.c:1088:9: warning: implicit declaration of function 'OpenSSL_add_all_algorithms' [-Wimplicit-function-declaration] OpenSSL_add_all_algorithms(); ^ buckets/ssl_buckets.c:1091:20: warning: implicit declaration of function 'CRYPTO_num_locks' [-Wimplicit-function-declaration] numlocks = CRYPTO_num_locks(); ^ buckets/ssl_buckets.c: In function 'serf_ssl_cert_certificate': buckets/ssl_buckets.c:1718:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion] notBefore = X509_get_notBefore(cert->ssl_cert); ^ buckets/ssl_buckets.c:1725:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion] notAfter = X509_get_notAfter(cert->ssl_cert); ^ scons: *** [buckets/ssl_buckets.os] Error 1 scons: building terminated because of errors. * ERROR: net-libs/serf-1.3.8-r1::gentoo failed (compile phase): * escons failed. * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2406: Called escons * environment, line 1064: Called die * The specific snippet of code: * die "escons failed." * * If you need support, post the output of `emerge --info '=net-libs/serf-1.3.8-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/serf-1.3.8-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/serf-1.3.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/serf-1.3.8-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/serf-1.3.8-r1/work/serf-1.3.8' * S: '/var/tmp/portage/net-libs/serf-1.3.8-r1/work/serf-1.3.8'