alpine 18.3 pg 1.2.3 build failed #48

Open
opened 2023-05-15 19:21:02 +00:00 by fauno · 0 comments
Owner
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/19) Installing libpq (15.3-r0)
(2/19) Installing openssl-dev (3.1.0-r4)
(3/19) Installing libpq-dev (15.3-r0)
(4/19) Installing libecpg (15.3-r0)
(5/19) Installing libecpg-dev (15.3-r0)
(6/19) Installing libxml2 (2.11.3-r0)
(7/19) Installing llvm14-libs (14.0.6-r14)
(8/19) Installing clang14-libs (14.0.6-r7)
(9/19) Installing clang14-libclang (14.0.6-r7)
(10/19) Installing clang14 (14.0.6-r7)
(11/19) Installing icu-data-en (73.1-r1)
Executing icu-data-en-73.1-r1.post-install
*
* If you need ICU with non-English locales and legacy charset support, install
* package icu-data-full.
*
(12/19) Installing icu-libs (73.1-r1)
(13/19) Installing icu (73.1-r1)
(14/19) Installing icu-dev (73.1-r1)
(15/19) Installing llvm14 (14.0.6-r14)
(16/19) Installing lz4-dev (1.9.4-r4)
(17/19) Installing zstd (1.5.5-r4)
(18/19) Installing zstd-dev (1.5.5-r4)
(19/19) Installing postgresql15-dev (15.3-r0)
Executing busybox-1.36.0-r9.trigger
OK: 659 MiB in 108 packages
Downloaded pg-1.2.3
Unpacking gem: 'pg-1.2.3' in temporary directory...
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/.gemtest
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/BSDL
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ChangeLog
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/Contributors.rdoc
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/History.rdoc
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/LICENSE
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/Manifest.txt
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/POSTGRES
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/README-OS_X.rdoc
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/README-Windows.rdoc
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/README.ja.rdoc
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/README.rdoc
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/Rakefile
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/Rakefile.cross
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/errorcodes.def
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/errorcodes.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/errorcodes.txt
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/extconf.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/gvl_wrappers.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/gvl_wrappers.h
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg.h
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_binary_decoder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_binary_encoder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_coder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_connection.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_copy_coder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_errors.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_record_coder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_result.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_text_decoder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_text_encoder.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_tuple.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_all_strings.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_class.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_column.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_mri_type.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_oid.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_in_ruby.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_util.c
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_util.h
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/vc/pg.sln
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/vc/pg_18/pg.vcproj
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/vc/pg_19/pg_19.vcproj
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/basic_type_mapping.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/binary_decoder.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/coder.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/connection.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/constants.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/exceptions.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/result.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/text_decoder.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/text_encoder.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/tuple.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/type_map_by_column.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/data/expected_trace.out
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/data/random_binary_data
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/helpers.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/basic_type_mapping_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/connection_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/connection_sync_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/result_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/tuple_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_class_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_column_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_mri_type_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_oid_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_in_ruby_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_spec.rb
/tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg_spec.rb
Building native extensions. This could take a while...
current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext
["/usr/bin/ruby", "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: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext
["make", "DESTDIR=", "sitearchdir=./.gem.20230515-18492-fh9zbi", "sitelibdir=./.gem.20230515-18492-fh9zbi", "clean"]

current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext
["make", "DESTDIR=", "sitearchdir=./.gem.20230515-18492-fh9zbi", "sitelibdir=./.gem.20230515-18492-fh9zbi"]
ERROR:  While executing gem ... (Gem::Ext::BuildError)
    ERROR: Failed to build gem native extension.

    current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext
/usr/bin/ruby extconf.rb
current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext
make DESTDIR\= sitearchdir\=./.gem.20230515-18492-fh9zbi sitelibdir\=./.gem.20230515-18492-fh9zbi clean
current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext
make DESTDIR\= sitearchdir\=./.gem.20230515-18492-fh9zbi sitelibdir\=./.gem.20230515-18492-fh9zbi
Building has failed. See above output for more information on the failure.
make failed, exit code 2

Gem files will remain installed in /tmp/d20230515-18492-k6hr1f/pg-1.2.3 for inspection.
Results logged to /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/gem_make.out
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:119:in `run'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in make'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `each'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `make'
	/usr/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:41:in `build'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:187:in `build_extension'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:221:in `block in build_extensions'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `each'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `build_extensions'
	/usr/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions'
	/usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:109:in `build_extensions'
	/usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:39:in `compile'
	/usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/commands/compile_command.rb:88:in `execute'
	/usr/lib/ruby/3.2.0/rubygems/command.rb:327:in `invoke_with_build_args'
	/usr/lib/ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command'
	/usr/lib/ruby/3.2.0/rubygems/command_manager.rb:192:in `process_args'
	/usr/lib/ruby/3.2.0/rubygems/command_manager.rb:150:in `run'
	/usr/lib/ruby/3.2.0/rubygems/gem_runner.rb:51:in `run'
	/usr/bin/gem:10:in `<main>'
compiling gvl_wrappers.c
compiling pg.c
compiling pg_binary_decoder.c
compiling pg_binary_encoder.c
compiling pg_coder.c
compiling pg_connection.c
compiling pg_copy_coder.c
compiling pg_errors.c
compiling pg_record_coder.c
compiling pg_result.c
pg_result.c: In function 'init_pg_result':
pg_result.c:1590:65: error: 'rb_cData' undeclared (first use in this function)
 1590 |         rb_cPGresult = rb_define_class_under( rb_mPG, "Result", rb_cData );
      |                                                                 ^~~~~~~~
pg_result.c:1590:65: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:248: pg_result.o] Error 1
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.18/main: No such file or directory
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.18/community: No such file or directory
(1/19) Purging postgresql15-dev (15.3-r0)
(2/19) Purging libecpg-dev (15.3-r0)
(3/19) Purging libecpg (15.3-r0)
(4/19) Purging clang14 (14.0.6-r7)
(5/19) Purging clang14-libclang (14.0.6-r7)
(6/19) Purging icu-dev (73.1-r1)
(7/19) Purging llvm14 (14.0.6-r14)
(8/19) Purging lz4-dev (1.9.4-r4)
(9/19) Purging zstd-dev (1.5.5-r4)
(10/19) Purging zstd (1.5.5-r4)
(11/19) Purging clang14-libs (14.0.6-r7)
(12/19) Purging icu (73.1-r1)
(13/19) Purging icu-libs (73.1-r1)
(14/19) Purging icu-data-en (73.1-r1)
(15/19) Purging libpq-dev (15.3-r0)
(16/19) Purging libpq (15.3-r0)
(17/19) Purging llvm14-libs (14.0.6-r14)
(18/19) Purging libxml2 (2.11.3-r0)
(19/19) Purging openssl-dev (3.1.0-r4)
Executing busybox-1.36.0-r9.trigger
OK: 369 MiB in 89 packages
``` fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz (1/19) Installing libpq (15.3-r0) (2/19) Installing openssl-dev (3.1.0-r4) (3/19) Installing libpq-dev (15.3-r0) (4/19) Installing libecpg (15.3-r0) (5/19) Installing libecpg-dev (15.3-r0) (6/19) Installing libxml2 (2.11.3-r0) (7/19) Installing llvm14-libs (14.0.6-r14) (8/19) Installing clang14-libs (14.0.6-r7) (9/19) Installing clang14-libclang (14.0.6-r7) (10/19) Installing clang14 (14.0.6-r7) (11/19) Installing icu-data-en (73.1-r1) Executing icu-data-en-73.1-r1.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (12/19) Installing icu-libs (73.1-r1) (13/19) Installing icu (73.1-r1) (14/19) Installing icu-dev (73.1-r1) (15/19) Installing llvm14 (14.0.6-r14) (16/19) Installing lz4-dev (1.9.4-r4) (17/19) Installing zstd (1.5.5-r4) (18/19) Installing zstd-dev (1.5.5-r4) (19/19) Installing postgresql15-dev (15.3-r0) Executing busybox-1.36.0-r9.trigger OK: 659 MiB in 108 packages Downloaded pg-1.2.3 Unpacking gem: 'pg-1.2.3' in temporary directory... /tmp/d20230515-18492-k6hr1f/pg-1.2.3/.gemtest /tmp/d20230515-18492-k6hr1f/pg-1.2.3/BSDL /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ChangeLog /tmp/d20230515-18492-k6hr1f/pg-1.2.3/Contributors.rdoc /tmp/d20230515-18492-k6hr1f/pg-1.2.3/History.rdoc /tmp/d20230515-18492-k6hr1f/pg-1.2.3/LICENSE /tmp/d20230515-18492-k6hr1f/pg-1.2.3/Manifest.txt /tmp/d20230515-18492-k6hr1f/pg-1.2.3/POSTGRES /tmp/d20230515-18492-k6hr1f/pg-1.2.3/README-OS_X.rdoc /tmp/d20230515-18492-k6hr1f/pg-1.2.3/README-Windows.rdoc /tmp/d20230515-18492-k6hr1f/pg-1.2.3/README.ja.rdoc /tmp/d20230515-18492-k6hr1f/pg-1.2.3/README.rdoc /tmp/d20230515-18492-k6hr1f/pg-1.2.3/Rakefile /tmp/d20230515-18492-k6hr1f/pg-1.2.3/Rakefile.cross /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/errorcodes.def /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/errorcodes.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/errorcodes.txt /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/extconf.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/gvl_wrappers.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/gvl_wrappers.h /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg.h /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_binary_decoder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_binary_encoder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_coder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_connection.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_copy_coder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_errors.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_record_coder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_result.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_text_decoder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_text_encoder.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_tuple.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_all_strings.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_class.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_column.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_mri_type.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_by_oid.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_type_map_in_ruby.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_util.c /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/pg_util.h /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/vc/pg.sln /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/vc/pg_18/pg.vcproj /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext/vc/pg_19/pg_19.vcproj /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/basic_type_mapping.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/binary_decoder.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/coder.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/connection.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/constants.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/exceptions.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/result.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/text_decoder.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/text_encoder.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/tuple.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/pg/type_map_by_column.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/data/expected_trace.out /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/data/random_binary_data /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/helpers.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/basic_type_mapping_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/connection_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/connection_sync_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/result_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/tuple_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_class_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_column_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_mri_type_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_by_oid_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_in_ruby_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_map_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg/type_spec.rb /tmp/d20230515-18492-k6hr1f/pg-1.2.3/spec/pg_spec.rb Building native extensions. This could take a while... current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext ["/usr/bin/ruby", "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: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20230515-18492-fh9zbi", "sitelibdir=./.gem.20230515-18492-fh9zbi", "clean"] current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20230515-18492-fh9zbi", "sitelibdir=./.gem.20230515-18492-fh9zbi"] ERROR: While executing gem ... (Gem::Ext::BuildError) ERROR: Failed to build gem native extension. current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext /usr/bin/ruby extconf.rb current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext make DESTDIR\= sitearchdir\=./.gem.20230515-18492-fh9zbi sitelibdir\=./.gem.20230515-18492-fh9zbi clean current directory: /tmp/d20230515-18492-k6hr1f/pg-1.2.3/ext make DESTDIR\= sitearchdir\=./.gem.20230515-18492-fh9zbi sitelibdir\=./.gem.20230515-18492-fh9zbi Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /tmp/d20230515-18492-k6hr1f/pg-1.2.3 for inspection. Results logged to /tmp/d20230515-18492-k6hr1f/pg-1.2.3/lib/gem_make.out /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:119:in `run' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in make' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `each' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `make' /usr/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:41:in `build' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:187:in `build_extension' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:221:in `block in build_extensions' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `each' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `build_extensions' /usr/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions' /usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:109:in `build_extensions' /usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:39:in `compile' /usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/commands/compile_command.rb:88:in `execute' /usr/lib/ruby/3.2.0/rubygems/command.rb:327:in `invoke_with_build_args' /usr/lib/ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command' /usr/lib/ruby/3.2.0/rubygems/command_manager.rb:192:in `process_args' /usr/lib/ruby/3.2.0/rubygems/command_manager.rb:150:in `run' /usr/lib/ruby/3.2.0/rubygems/gem_runner.rb:51:in `run' /usr/bin/gem:10:in `<main>' compiling gvl_wrappers.c compiling pg.c compiling pg_binary_decoder.c compiling pg_binary_encoder.c compiling pg_coder.c compiling pg_connection.c compiling pg_copy_coder.c compiling pg_errors.c compiling pg_record_coder.c compiling pg_result.c pg_result.c: In function 'init_pg_result': pg_result.c:1590:65: error: 'rb_cData' undeclared (first use in this function) 1590 | rb_cPGresult = rb_define_class_under( rb_mPG, "Result", rb_cData ); | ^~~~~~~~ pg_result.c:1590:65: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:248: pg_result.o] Error 1 WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.18/main: No such file or directory WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.18/community: No such file or directory (1/19) Purging postgresql15-dev (15.3-r0) (2/19) Purging libecpg-dev (15.3-r0) (3/19) Purging libecpg (15.3-r0) (4/19) Purging clang14 (14.0.6-r7) (5/19) Purging clang14-libclang (14.0.6-r7) (6/19) Purging icu-dev (73.1-r1) (7/19) Purging llvm14 (14.0.6-r14) (8/19) Purging lz4-dev (1.9.4-r4) (9/19) Purging zstd-dev (1.5.5-r4) (10/19) Purging zstd (1.5.5-r4) (11/19) Purging clang14-libs (14.0.6-r7) (12/19) Purging icu (73.1-r1) (13/19) Purging icu-libs (73.1-r1) (14/19) Purging icu-data-en (73.1-r1) (15/19) Purging libpq-dev (15.3-r0) (16/19) Purging libpq (15.3-r0) (17/19) Purging llvm14-libs (14.0.6-r14) (18/19) Purging libxml2 (2.11.3-r0) (19/19) Purging openssl-dev (3.1.0-r4) Executing busybox-1.36.0-r9.trigger OK: 369 MiB in 89 packages ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Sutty/gems#48
No description provided.