* Package: dev-ruby/pg-0.18.4-r1 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux ruby_targets_ruby22 ruby_targets_ruby23 test userland_GNU x86 * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... * Running unpack phase for all ... * Unpacking .gem file... ... [ ok ] * Uncompressing metadata ... [ ok ] * Unpacking data.tar.gz ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-ruby/pg-0.18.4-r1/work >>> Preparing source in /var/tmp/portage/dev-ruby/pg-0.18.4-r1/work ... * Running prepare phase for all ... * Running source copy phase for ruby22 ... * Running source copy phase for ruby23 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/pg-0.18.4-r1/work ... * Running configure phase for ruby22 ... checking for pg_config... yes Using config values from /usr/bin/pg_config checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for pg_config_manual.h... yes checking for PQconnectdb() in -lpq... yes checking for PQconnectionUsedPassword()... yes checking for PQisthreadsafe()... yes checking for PQprepare()... yes checking for PQexecParams()... yes checking for PQescapeString()... yes checking for PQescapeStringConn()... yes checking for PQescapeLiteral()... yes checking for PQescapeIdentifier()... yes checking for PQgetCancel()... yes checking for lo_create()... yes checking for pg_encoding_to_char()... yes checking for pg_char_to_encoding()... yes checking for PQsetClientEncoding()... yes checking for PQlibVersion()... yes checking for PQping()... yes checking for PQsetSingleRowMode()... yes checking for PQconninfo()... yes checking for rb_encdb_alias()... yes checking for rb_enc_alias()... no checking for rb_thread_call_without_gvl()... yes checking for rb_thread_call_with_gvl()... yes checking for rb_thread_fd_select()... yes checking for rb_w32_wrap_io_handle()... no checking for rb_str_modify_expand()... yes checking for rb_hash_dup()... yes checking for PGRES_COPY_BOTH in libpq-fe.h... yes checking for PGRES_SINGLE_TUPLE in libpq-fe.h... yes checking for PG_DIAG_TABLE_NAME in libpq-fe.h... yes checking for struct pgNotify.extra in libpq-fe.h... yes checking for unistd.h... yes checking for inttypes.h... yes checking for ruby/st.h... yes checking for C99 variable length arrays... yes creating extconf.h creating Makefile * Running configure phase for ruby23 ... checking for pg_config... yes Using config values from /usr/bin/pg_config checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for pg_config_manual.h... yes checking for PQconnectdb() in -lpq... yes checking for PQconnectionUsedPassword()... yes checking for PQisthreadsafe()... yes checking for PQprepare()... yes checking for PQexecParams()... yes checking for PQescapeString()... yes checking for PQescapeStringConn()... yes checking for PQescapeLiteral()... yes checking for PQescapeIdentifier()... yes checking for PQgetCancel()... yes checking for lo_create()... yes checking for pg_encoding_to_char()... yes checking for pg_char_to_encoding()... yes checking for PQsetClientEncoding()... yes checking for PQlibVersion()... yes checking for PQping()... yes checking for PQsetSingleRowMode()... yes checking for PQconninfo()... yes checking for rb_encdb_alias()... yes checking for rb_enc_alias()... no checking for rb_thread_call_without_gvl()... yes checking for rb_thread_call_with_gvl()... yes checking for rb_thread_fd_select()... yes checking for rb_w32_wrap_io_handle()... no checking for rb_str_modify_expand()... yes checking for rb_hash_dup()... yes checking for PGRES_COPY_BOTH in libpq-fe.h... yes checking for PGRES_SINGLE_TUPLE in libpq-fe.h... yes checking for PG_DIAG_TABLE_NAME in libpq-fe.h... yes checking for struct pgNotify.extra in libpq-fe.h... yes checking for unistd.h... yes checking for inttypes.h... yes checking for ruby/st.h... yes checking for C99 variable length arrays... yes creating extconf.h creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/pg-0.18.4-r1/work ... * Running compile phase for ruby22 ... make --jobs 5 --load-average 7.95 V=1 -C ext 'CFLAGS=-O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC' 'archflag=-Wl,-O1 -Wl,--as-needed' make: Entering directory '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/work/ruby22/pg-0.18.4/ext' i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o gvl_wrappers.o -c gvl_wrappers.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_mri_type.o -c pg_type_map_by_mri_type.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_in_ruby.o -c pg_type_map_in_ruby.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_class.o -c pg_type_map_by_class.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_coder.o -c pg_coder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_errors.o -c pg_errors.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_oid.o -c pg_type_map_by_oid.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_binary_decoder.o -c pg_binary_decoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_copy_coder.o -c pg_copy_coder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_connection.o -c pg_connection.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_result.o -c pg_result.c pg_connection.c: In function ‘wait_socket_readable’: pg_connection.c:2394:3: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] gettimeofday(&currtime, NULL); ^~~~~~~~~~~~ i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map.o -c pg_type_map.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_binary_encoder.o -c pg_binary_encoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_all_strings.o -c pg_type_map_all_strings.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_text_decoder.o -c pg_text_decoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_column.o -c pg_type_map_by_column.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_text_encoder.o -c pg_text_encoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o util.o -c util.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.2.0/i686-linux -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg.o -c pg.c rm -f pg_ext.so i686-pc-linux-gnu-gcc -shared -o pg_ext.so gvl_wrappers.o pg_type_map_by_mri_type.o pg_type_map_in_ruby.o pg_type_map_by_class.o pg_coder.o pg_errors.o pg_type_map_by_oid.o pg_binary_decoder.o pg_copy_coder.o pg_connection.o pg_result.o pg_type_map.o pg_binary_encoder.o pg_type_map_all_strings.o pg_text_decoder.o pg_type_map_by_column.o pg_text_encoder.o util.o pg.o -L/usr/lib/postgresql-10/lib -L. -L/usr/lib -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-rpath,/usr/lib/postgresql-10/lib -lruby22 -lpq -lpthread -lgmp -ldl -lcrypt -lm -lc make: Leaving directory '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/work/ruby22/pg-0.18.4/ext' * Running compile phase for ruby23 ... make --jobs 5 --load-average 7.95 V=1 -C ext 'CFLAGS=-O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC' 'archflag=-Wl,-O1 -Wl,--as-needed' make: Entering directory '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/work/ruby23/pg-0.18.4/ext' i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o gvl_wrappers.o -c gvl_wrappers.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_mri_type.o -c pg_type_map_by_mri_type.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_in_ruby.o -c pg_type_map_in_ruby.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_class.o -c pg_type_map_by_class.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_coder.o -c pg_coder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_errors.o -c pg_errors.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_oid.o -c pg_type_map_by_oid.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_binary_decoder.o -c pg_binary_decoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_copy_coder.o -c pg_copy_coder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_connection.o -c pg_connection.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_result.o -c pg_result.c pg_connection.c: In function ‘wait_socket_readable’: pg_connection.c:2394:3: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] gettimeofday(&currtime, NULL); ^~~~~~~~~~~~ i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map.o -c pg_type_map.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_binary_encoder.o -c pg_binary_encoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_all_strings.o -c pg_type_map_all_strings.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_text_decoder.o -c pg_text_decoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_type_map_by_column.o -c pg_type_map_by_column.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg_text_encoder.o -c pg_text_encoder.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o util.o -c util.c i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/i686-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-10 -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=pentium4m -mtune=pentium4m -fPIC -o pg.o -c pg.c rm -f pg_ext.so i686-pc-linux-gnu-gcc -shared -o pg_ext.so gvl_wrappers.o pg_type_map_by_mri_type.o pg_type_map_in_ruby.o pg_type_map_by_class.o pg_coder.o pg_errors.o pg_type_map_by_oid.o pg_binary_decoder.o pg_copy_coder.o pg_connection.o pg_result.o pg_type_map.o pg_binary_encoder.o pg_type_map_all_strings.o pg_text_decoder.o pg_type_map_by_column.o pg_text_encoder.o util.o pg.o -L. -L/usr/lib -L/usr/lib/postgresql-10/lib -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-rpath,/usr/lib/postgresql-10/lib -lruby23 -lpq -lpthread -lgmp -ldl -lcrypt -lm -lc make: Leaving directory '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/work/ruby23/pg-0.18.4/ext' * Running compile phase for all ... >>> Source compiled. >>> Test phase: dev-ruby/pg-0.18.4-r1 * Running test phase for ruby22 ... Run options: include {:focus=>true} exclude {:windows=>true} All examples were filtered out; ignoring {:focus=>true} Randomized with seed 52430 Setting up test database for PG Running initdb Creating the test DB .....Tearing down test database Lingering connections remain: [19556] {} -- [19558] {} -- [19554] {} -- [19553] {} -- [19555] {} -- No pidfile (#) Setting up test database for PG::TypeMapByOid Creating the test DB .............Tearing down test database Lingering connections remain: [19771] {} -- [19773] {} -- [19769] {} -- [19768] {} -- [19770] {} -- No pidfile (#) Setting up test database for PG::TypeMapByClass Creating the test DB ..........Tearing down test database Lingering connections remain: [19952] {} -- [19954] {} -- [19950] {} -- [19949] {} -- [19951] {} -- No pidfile (#) Setting up test database for PG::TypeMapInRuby Creating the test DB ...........Tearing down test database Lingering connections remain: [20258] {} -- [20256] {} -- [20254] {} -- [20253] {} -- [20255] {} -- No pidfile (#) Setting up test database for PG::TypeMap Creating the test DB ..Tearing down test database Lingering connections remain: [20493] {} -- [20495] {} -- [20491] {} -- [20490] {} -- [20492] {} -- No pidfile (#) Setting up test database for PG::Result Creating the test DB ..............................................Tearing down test database Lingering connections remain: [21260] {} -- [21258] {} -- [21256] {} -- [21255] {} -- [21257] {} -- No pidfile (#) Setting up test database for PG::Type derivations Creating the test DB ........................................................................................Tearing down test database Lingering connections remain: [21895] {} -- [21893] {} -- [21891] {} -- [21890] {} -- [21892] {} -- No pidfile (#) Setting up test database for PG::Connection Creating the test DB ........................................F..............*............................F............WARNING: there is no transaction in progress ....WARNING: there is no transaction in progress ...WARNING: there is already a transaction in progress WARNING: there is no transaction in progress ......WARNING: there is already a transaction in progress WARNING: there is no transaction in progress .WARNING: there is already a transaction in progress WARNING: there is no transaction in progress ..WARNING: there is already a transaction in progress WARNING: there is no transaction in progress ..WARNING: there is already a transaction in progress WARNING: there is no transaction in progress ......Tearing down test database Lingering connections remain: [22396] {} -- [22394] {} -- [22392] {} -- [22391] {} -- [22393] {} -- No pidfile (#) Setting up test database for Basic type mapping Creating the test DB ...............Tearing down test database Lingering connections remain: [31515] {} -- [31513] {} -- [31511] {} -- [31510] {} -- [31512] {} -- No pidfile (#) Setting up test database for PG::TypeMapByMriType Creating the test DB .........Tearing down test database Lingering connections remain: [32529] {} -- [32531] {} -- [32527] {} -- [32526] {} -- [32528] {} -- No pidfile (#) Setting up test database for PG::TypeMapByColumn Creating the test DB ..................Tearing down test database Lingering connections remain: [955] {} -- [957] {} -- [953] {} -- [952] {} -- [954] {} -- Pending: (Failures listed here are expected and do not affect your suite's status) 1) PG::Connection discards previous results (if any) before waiting on an #async_exec # Not yet implemented # ./spec/pg/connection_spec.rb:803 Failures: 1) PG::Connection doesn't leave stale server connections after finish Failure/Error: expect( res[0]['n'] ).to eq( '1' ) expected: "1" got: "2" (compared using ==) # ./spec/pg/connection_spec.rb:224:in `block (2 levels) in ' # ./spec/helpers.rb:29:in `block in included' 2) PG::Connection type casting shouldn't type map params unless requested Failure/Error: expect{ @conn.exec_params( "SELECT $1", [5] ) }.to raise_error(PG::IndeterminateDatatype) expected PG::IndeterminateDatatype but nothing was raised # ./spec/pg/connection_spec.rb:1397:in `block (3 levels) in ' # ./spec/helpers.rb:29:in `block in included' Finished in 56.81 seconds (files took 0.63076 seconds to load) 338 examples, 2 failures, 1 pending Failed examples: rspec ./spec/pg/connection_spec.rb:218 # PG::Connection doesn't leave stale server connections after finish rspec ./spec/pg/connection_spec.rb:1396 # PG::Connection type casting shouldn't type map params unless requested Randomized with seed 52430 * ERROR: dev-ruby/pg-0.18.4-r1::gentoo failed (test phase): * rspec failed * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 4326: Called ruby-ng_src_test * environment, line 4038: Called _ruby_each_implementation 'each_ruby_test' * environment, line 435: Called _ruby_invoke_environment 'ruby22' 'each_ruby_test' * environment, line 560: Called each_ruby_test * environment, line 792: Called ruby-ng_rspec * environment, line 3997: Called die * The specific snippet of code: * ${RUBY} -S rspec-${version} ${rspec_params} ${files} || die "rspec failed" * * If you need support, post the output of `emerge --info '=dev-ruby/pg-0.18.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/pg-0.18.4-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =pg-0.18.4 * The complete build log is located at '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/work/ruby22/pg-0.18.4' * S: '/var/tmp/portage/dev-ruby/pg-0.18.4-r1/work/ruby22/pg-0.18.4'