yegor256 / 0rsk

Online Risk Manager
https://www.0rsk.com
MIT License
20 stars 2 forks source link

[#32] update dependencies #99

Closed pnatashap closed 7 months ago

pnatashap commented 7 months ago
pnatashap commented 7 months ago

@yegor256 please take a look

yegor256 commented 7 months ago

@rultor merge

rultor commented 7 months ago

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 7 months ago

@rultor merge

@pnatashap @yegor256 Oops, I failed. You can see the full log here (spent 3min)

  libpq-dev libpq5
2 upgraded, 0 newly installed, 0 to remove and 183 not upgraded.
Need to get 290 kB of archives.
After this operation, 6,144 B of additional disk space will be used.

0% [Working]

Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq-dev amd64 14.10-0ubuntu0.22.04.1 [147 kB]

1% [1 libpq-dev 2,604 B/147 kB 2%]

51% [Working]

Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq5 amd64 14.10-0ubuntu0.22.04.1 [143 kB]

51% [2 libpq5 2,604 B/143 kB 2%]

100% [Working]

Fetched 290 kB in 1s (352 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 92586 files and directories currently installed.)
Preparing to unpack .../libpq-dev_14.10-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq-dev (14.10-0ubuntu0.22.04.1) over (14.8-0ubuntu0.22.04.1) ...
Preparing to unpack .../libpq5_14.10-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq5:amd64 (14.10-0ubuntu0.22.04.1) over (14.8-0ubuntu0.22.04.1) ...
Setting up libpq5:amd64 (14.10-0ubuntu0.22.04.1) ...
Setting up libpq-dev (14.10-0ubuntu0.22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Fetching openssl-3.2.0.gem
Building native extensions with: '--with-openssl-dir=/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl'
This could take a while...
ERROR:  Error installing openssl:
    ERROR: Failed to build gem native extension.

    current directory: /usr/local/rvm/gems/ruby-3.0.1/gems/openssl-3.2.0/ext/openssl
/usr/local/rvm/rubies/ruby-3.0.1/bin/ruby -I /usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0 -r ./siteconf20240204-2206-ltjo1s.rb extconf.rb --with-openssl-dir\=/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/local/rvm/rubies/ruby-3.0.1/bin/$(RUBY_BASE_NAME)
    --with-openssl-dir
    --with-openssl-include
    --without-openssl-include=${openssl-dir}/include
    --with-openssl-lib
    --without-openssl-lib=${openssl-dir}/lib
extconf.rb:33:in `<main>': OpenSSL library directory could not be found in '/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl/lib'. You might want to fix this error in one of the following ways. (RuntimeError)
  * Recompile OpenSSL by configuring it with --libdir=lib  to specify the OpenSSL library directory.
  * Recompile Ruby by configuring it with --libdir=<dir> to specify the Ruby library directory.
  * Compile this openssl gem with --with-openssl-include=<dir> and --with-openssl-lib=<dir> options to specify the OpenSSL include and library directories.

extconf failed, exit code 1

Gem files will remain installed in /usr/local/rvm/gems/ruby-3.0.1/gems/openssl-3.2.0 for inspection.
Results logged to /usr/local/rvm/gems/ruby-3.0.1/extensions/x86_64-linux/3.0.0/openssl-3.2.0/gem_make.out
container 32cf1c06fcee6ce271a48b7760c175b82fa7b3e3674a3ef6f2bedd11d5417509 is dead
Sun Feb  4 05:29:16 PM CET 2024
yegor256 commented 7 months ago

@rultor merge

rultor commented 7 months ago

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 7 months ago

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 5min)

yegor256 commented 7 months ago

@pnatashap thanks a lot!