sclorg / rails-ex

Ruby Rails Example
35 stars 346 forks source link

Refresh Gemfile.lock. #160

Closed pvalena closed 1 year ago

pvalena commented 1 year ago

Test log: https://gist.github.com/pvalena/c359c9f8190312eccb9ef24e6cb1ef5e

pvalena commented 1 year ago

@jackorp PTAL.

pvalena commented 1 year ago

just FYI -- Test with Ruby 3.2:

gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include    -fPIC -O2 -flto=auto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fPIC -m64 -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 -flto=auto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fPIC -m64 -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 -flto=auto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fPIC -m64 -o pg_result.o -c 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:249: pg_result.o] Error 1

make failed, exit code 2

Gem files will remain installed in /tmp/my-app/vendor/ruby/3.2.0/gems/pg-1.2.3 for inspection.
Results logged to
/tmp/my-app/vendor/ruby/3.2.0/extensions/x86_64-linux/3.2.0/pg-1.2.3/gem_make.out

  /usr/share/rubygems/rubygems/ext/builder.rb:119:in `run'
  /usr/share/rubygems/rubygems/ext/builder.rb:51:in `block in make'
  /usr/share/rubygems/rubygems/ext/builder.rb:43:in `each'
  /usr/share/rubygems/rubygems/ext/builder.rb:43:in `make'
  /usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:41:in `build'
  /usr/share/rubygems/rubygems/ext/builder.rb:187:in `build_extension'
  /usr/share/rubygems/rubygems/ext/builder.rb:221:in `block in build_extensions'
  /usr/share/rubygems/rubygems/ext/builder.rb:218:in `each'
  /usr/share/rubygems/rubygems/ext/builder.rb:218:in `build_extensions'
  /usr/share/rubygems/rubygems/installer.rb:843:in `build_extensions'
/usr/share/gems/gems/bundler-2.4.10/lib/bundler/rubygems_gem_installer.rb:72:in
`build_extensions'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/source/rubygems.rb:200:in `install'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.4.10/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/share/gems/gems/bundler-2.4.10/lib/bundler/installer/parallel_installer.rb:156:in
`do_install'
/usr/share/gems/gems/bundler-2.4.10/lib/bundler/installer/parallel_installer.rb:147:in `block
in worker_pool'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/worker.rb:62:in `apply_func'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/worker.rb:57:in `block in process_queue'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/worker.rb:54:in `loop'
  /usr/share/gems/gems/bundler-2.4.10/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.4.10/lib/bundler/worker.rb:90:in `block (2 levels) in
create_threads'

An error occurred while installing pg (1.2.3), and Bundler cannot continue.
pvalena commented 1 year ago

Refreshed, retested: https://gist.github.com/pvalena/00e41b819554aaab0c13cf1359f09fdb

pvalena commented 1 year ago

Merging; all tests ok, versions bump should not be significant.