D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/ruby-pg-1.2.3-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1EDHdL + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pg-1.2.3 + /usr/bin/gem unpack /home/iurt/rpmbuild/SOURCES/pg-1.2.3.gem Unpacked gem: '/home/iurt/rpmbuild/BUILD/pg-1.2.3' + /usr/bin/gem spec /home/iurt/rpmbuild/SOURCES/pg-1.2.3.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd pg-1.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.WGlbBj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pg-1.2.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../pg-1.2.3.gemspec Successfully built RubyGem Name: pg Version: 1.2.3 File: pg-1.2.3.gem + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'\'' --with-cxxflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'\'' --with-ldflags='\'' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'\'' ' + /usr/bin/gem install pg-1.2.3.gem -V --local --env-shebang --force --ignore-dependencies --install-dir /usr/share/gems --document=ri,rdoc --bindir /usr/bin --build-root . WARNING: You build with buildroot. Build root: /home/iurt/rpmbuild/BUILD/pg-1.2.3 Bin dir: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/bin Gem home: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/.gemtest /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/BSDL /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ChangeLog /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/Contributors.rdoc /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/History.rdoc /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/LICENSE /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/Manifest.txt /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/POSTGRES /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/README-OS_X.rdoc /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/README-Windows.rdoc /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/README.ja.rdoc /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/README.rdoc /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/Rakefile /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/Rakefile.cross /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/errorcodes.def /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/errorcodes.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/errorcodes.txt /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/extconf.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/gvl_wrappers.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/gvl_wrappers.h /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg.h /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_binary_decoder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_binary_encoder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_coder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_connection.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_copy_coder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_errors.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_record_coder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_result.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_text_decoder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_text_encoder.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_tuple.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map_all_strings.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map_by_class.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map_by_column.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map_by_mri_type.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map_by_oid.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_type_map_in_ruby.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_util.c /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/pg_util.h /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/vc/pg.sln /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/vc/pg_18/pg.vcproj /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext/vc/pg_19/pg_19.vcproj /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/basic_type_mapping.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/binary_decoder.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/coder.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/connection.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/constants.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/exceptions.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/result.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/text_decoder.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/text_encoder.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/tuple.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/lib/pg/type_map_by_column.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/data/expected_trace.out /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/data/random_binary_data /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/helpers.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/basic_type_mapping_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/connection_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/connection_sync_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/result_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/tuple_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_map_by_class_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_map_by_column_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_map_by_mri_type_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_map_by_oid_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_map_in_ruby_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_map_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg/type_spec.rb /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/spec/pg_spec.rb Building native extensions. This could take a while... current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20211126-2840203-5d647o.rb", "extconf.rb"] 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 PQsetSingleRowMode()... yes checking for PQconninfo()... yes checking for PQsslAttribute()... yes checking for PQresultVerboseErrorMessage()... yes checking for PQencryptPasswordConn()... yes checking for PQresultMemorySize()... yes checking for timegm()... yes checking for rb_gc_adjust_memory_usage()... yes checking for unistd.h... yes checking for inttypes.h... yes checking for C99 variable length arrays... yes creating extconf.h creating Makefile current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext "make \"DESTDIR=\" clean" rm -f rm -f pg_ext.so *.o *.bak mkmf.log .*.time current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext "make \"DESTDIR=\"" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o gvl_wrappers.o -c gvl_wrappers.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg.o -c pg.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_binary_decoder.o -c pg_binary_decoder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_binary_encoder.o -c pg_binary_encoder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_coder.o -c pg_coder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_connection.o -c pg_connection.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_copy_coder.o -c pg_copy_coder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_errors.o -c pg_errors.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_record_coder.o -c pg_record_coder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_result.o -c pg_result.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_text_decoder.o -c pg_text_decoder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_text_encoder.o -c pg_text_encoder.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_tuple.o -c pg_tuple.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map.o -c pg_type_map.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map_all_strings.o -c pg_type_map_all_strings.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map_by_class.o -c pg_type_map_by_class.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map_by_column.o -c pg_type_map_by_column.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map_by_mri_type.o -c pg_type_map_by_mri_type.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map_by_oid.o -c pg_type_map_by_oid.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_type_map_in_ruby.o -c pg_type_map_in_ruby.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -o pg_util.o -c pg_util.c rm -f pg_ext.so gcc -shared -o pg_ext.so gvl_wrappers.o pg.o pg_binary_decoder.o pg_binary_encoder.o pg_coder.o pg_connection.o pg_copy_coder.o pg_errors.o pg_record_coder.o pg_result.o pg_text_decoder.o pg_text_encoder.o pg_tuple.o pg_type_map.o pg_type_map_all_strings.o pg_type_map_by_class.o pg_type_map_by_column.o pg_type_map_by_mri_type.o pg_type_map_by_oid.o pg_type_map_in_ruby.o pg_util.o -L. -L/usr/lib64 -L/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lruby -lpq -lm -lc current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext "make \"DESTDIR=\" install" /usr/bin/mkdir -p . ./.gem.20211126-2840203-rx6zuz exit > .sitearchdir.time /usr/bin/install -c -m 0755 pg_ext.so ./.gem.20211126-2840203-rx6zuz current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20211126-2840203-5d647o.rb extconf.rb current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext make "DESTDIR=" clean current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext make "DESTDIR=" current directory: /home/iurt/rpmbuild/BUILD/pg-1.2.3/usr/share/gems/gems/pg-1.2.3/ext make "DESTDIR=" install Successfully installed pg-1.2.3 Parsing documentation for pg-1.2.3 Parsing sources... 1% [ 1/76] Contributors.rdoc 2% [ 2/76] History.rdoc 3% [ 3/76] LICENSE 5% [ 4/76] Manifest.txt 6% [ 5/76] POSTGRES 7% [ 6/76] README-OS_X.rdoc 9% [ 7/76] README-Windows.rdoc 10% [ 8/76] README.ja.rdoc 11% [ 9/76] README.rdoc 13% [10/76] ext/Makefile 14% [11/76] ext/errorcodes.def 15% [12/76] ext/errorcodes.rb 17% [13/76] ext/errorcodes.txt 18% [14/76] ext/extconf.h 19% [15/76] ext/extconf.rb 21% [16/76] ext/gvl_wrappers.c 22% [17/76] ext/gvl_wrappers.h 23% [18/76] ext/gvl_wrappers.o 25% [19/76] ext/pg.c 26% [20/76] ext/pg.h 27% [21/76] ext/pg.o 28% [22/76] ext/pg_binary_decoder.c 30% [23/76] ext/pg_binary_decoder.o 31% [24/76] ext/pg_binary_encoder.c 32% [25/76] ext/pg_binary_encoder.o 34% [26/76] ext/pg_coder.c 35% [27/76] ext/pg_coder.o 36% [28/76] ext/pg_connection.c 38% [29/76] ext/pg_connection.o 39% [30/76] ext/pg_copy_coder.c 40% [31/76] ext/pg_copy_coder.o 42% [32/76] ext/pg_errors.c 43% [33/76] ext/pg_errors.o 44% [34/76] ext/pg_ext.so 46% [35/76] ext/pg_record_coder.c 47% [36/76] ext/pg_record_coder.o 48% [37/76] ext/pg_result.c 50% [38/76] ext/pg_result.o 51% [39/76] ext/pg_text_decoder.c 52% [40/76] ext/pg_text_decoder.o 53% [41/76] ext/pg_text_encoder.c 55% [42/76] ext/pg_text_encoder.o 56% [43/76] ext/pg_tuple.c 57% [44/76] ext/pg_tuple.o 59% [45/76] ext/pg_type_map.c 60% [46/76] ext/pg_type_map.o 61% [47/76] ext/pg_type_map_all_strings.c 63% [48/76] ext/pg_type_map_all_strings.o 64% [49/76] ext/pg_type_map_by_class.c 65% [50/76] ext/pg_type_map_by_class.o 67% [51/76] ext/pg_type_map_by_column.c 68% [52/76] ext/pg_type_map_by_column.o 69% [53/76] ext/pg_type_map_by_mri_type.c 71% [54/76] ext/pg_type_map_by_mri_type.o 72% [55/76] ext/pg_type_map_by_oid.c 73% [56/76] ext/pg_type_map_by_oid.o 75% [57/76] ext/pg_type_map_in_ruby.c 76% [58/76] ext/pg_type_map_in_ruby.o 77% [59/76] ext/pg_util.c 78% [60/76] ext/pg_util.h 80% [61/76] ext/pg_util.o 81% [62/76] ext/vc/pg.sln 82% [63/76] ext/vc/pg_18/pg.vcproj 84% [64/76] ext/vc/pg_19/pg_19.vcproj 85% [65/76] lib/pg.rb 86% [66/76] lib/pg/basic_type_mapping.rb 88% [67/76] lib/pg/binary_decoder.rb 89% [68/76] lib/pg/coder.rb 90% [69/76] lib/pg/connection.rb 92% [70/76] lib/pg/constants.rb 93% [71/76] lib/pg/exceptions.rb 94% [72/76] lib/pg/result.rb 96% [73/76] lib/pg/text_decoder.rb 97% [74/76] lib/pg/text_encoder.rb 98% [75/76] lib/pg/tuple.rb 100% [76/76] lib/pg/type_map_by_column.rb Installing ri documentation for pg-1.2.3 Installing darkfish documentation for pg-1.2.3 Done installing documentation for pg after 4 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DRTl0K + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64 + cd pg-1.2.3 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems/ + '[' -d ./usr/lib64/gems/ruby/pg-1.2.3 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/lib64/gems/ruby/pg-1.2.3 + cp -pa ./usr/lib64/gems/ruby/pg-1.2.3/gem.build_complete ./usr/lib64/gems/ruby/pg-1.2.3/gem_make.out ./usr/lib64/gems/ruby/pg-1.2.3/mkmf.log ./usr/lib64/gems/ruby/pg-1.2.3/pg_ext.so /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/lib64/gems/ruby/pg-1.2.3 + '[' -d ./usr/bin ']' + rm -fr /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems/cache /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems/extensions /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems/gems/pg-1.2.3/ext /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems/gems/pg-1.2.3/pg.gemspec + rm -f /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/lib64/gems/ruby/pg-1.2.3/gem_make.out /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/lib64/gems/ruby/pg-1.2.3/mkmf.log + sed -i '/^#!/d' /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/share/gems/gems/pg-1.2.3/lib/pg.rb + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.2.3-1.mga9 --unique-debug-suffix -1.2.3-1.mga9.aarch64 --unique-debug-src-base ruby-pg-1.2.3-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/pg-1.2.3 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ruby-pg-1.2.3-1.mga9.aarch64/usr/lib64/gems/ruby/pg-1.2.3/pg_ext.so dwz: ./usr/lib64/gems/ruby/pg-1.2.3/pg_ext.so-1.2.3-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 652kB, size after compression: 652kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 865 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0001: file '/usr/lib64/gems/ruby/pg-1.2.3/pg_ext.so' contains a standard '/usr/lib64' in [/usr/lib64] error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DRTl0K (%install) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DRTl0K (%install) I: [iurt_root_command] ERROR: chroot