* Package: dev-libs/mongo-c-driver-0.7.1-r1 * Repository: gentoo * Maintainer: ultrabug@gentoo.org bugs@bergstroem.nu,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mongo-c-driver-0.7.1.tar.gz to /var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work >>> Source unpacked in /var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work >>> Preparing source in /var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work/mongo-c-driver-0.7.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work/mongo-c-driver-0.7.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work/mongo-c-driver-0.7.1 ... make -j1 x86_64-pc-linux-gnu-gcc -o src/bcon.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/bcon.c src/bcon.c:37:12: warning: ‘bcon_error’ defined but not used [-Wunused-function] static int bcon_error(bson *b, const bcon *bc, size_t i, bcon_error_t err) { ^ src/bcon.c:378:13: warning: ‘bcon_json_print’ defined but not used [-Wunused-function] static void bcon_json_print(bcon *bc, int n) { ^ x86_64-pc-linux-gnu-gcc -o src/bson.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/bson.c x86_64-pc-linux-gnu-gcc -o src/encoding.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/encoding.c x86_64-pc-linux-gnu-gcc -o src/gridfs.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/gridfs.c x86_64-pc-linux-gnu-gcc -o src/md5.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/md5.c x86_64-pc-linux-gnu-gcc -o src/mongo.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/mongo.c x86_64-pc-linux-gnu-gcc -o src/numbers.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/numbers.c x86_64-pc-linux-gnu-gcc -o src/env.os -c -std=c99 -pedantic -march=native -O2 -pipe -Wall -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/env.c src/env.c: In function ‘mongo_env_socket_connect’: src/env.c:319:21: error: storage size of ‘ai_hints’ isn’t known struct addrinfo ai_hints; ^ src/env.c:340:5: warning: implicit declaration of function ‘getaddrinfo’ [-Wimplicit-function-declaration] status = getaddrinfo( host, port_str, &ai_hints, &ai_list ); ^ src/env.c:342:9: warning: implicit declaration of function ‘gai_strerror’ [-Wimplicit-function-declaration] bson_errprintf( "getaddrinfo failed: %s", gai_strerror( status ) ); ^ src/env.c:347:60: error: dereferencing pointer to incomplete type for ( ai_ptr = ai_list; ai_ptr != NULL; ai_ptr = ai_ptr->ai_next ) { ^ src/env.c:348:36: error: dereferencing pointer to incomplete type conn->sock = socket( ai_ptr->ai_family, ai_ptr->ai_socktype, ai_ptr->ai ^ src/env.c:348:55: error: dereferencing pointer to incomplete type conn->sock = socket( ai_ptr->ai_family, ai_ptr->ai_socktype, ai_ptr->ai ^ src/env.c:348:76: error: dereferencing pointer to incomplete type conn->sock = socket( ai_ptr->ai_family, ai_ptr->ai_socktype, ai_ptr->ai_protoc ^ src/env.c:354:45: error: dereferencing pointer to incomplete type status = connect( conn->sock, ai_ptr->ai_addr, ai_ptr->ai_addrlen ); ^ src/env.c:354:62: error: dereferencing pointer to incomplete type status = connect( conn->sock, ai_ptr->ai_addr, ai_ptr->ai_addrlen ); ^ src/env.c:368:20: error: dereferencing pointer to incomplete type if ( ai_ptr->ai_protocol == IPPROTO_TCP ) { ^ src/env.c:381:5: warning: implicit declaration of function ‘freeaddrinfo’ [-Wimplicit-function-declaration] freeaddrinfo( ai_list ); ^ src/env.c:319:21: warning: unused variable ‘ai_hints’ [-Wunused-variable] struct addrinfo ai_hints; ^ Makefile:209: recipe for target 'src/env.os' failed make: *** [src/env.os] Error 1 * ERROR: dev-libs/mongo-c-driver-0.7.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/mongo-c-driver-0.7.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/mongo-c-driver-0.7.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:mongo-c-driver-0.7.1-r1:20160416-225333.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work/mongo-c-driver-0.7.1' * S: '/var/tmp/portage/dev-libs/mongo-c-driver-0.7.1-r1/work/mongo-c-driver-0.7.1'