You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Received a build error when running gem install backup -v 4.4.1 --verbose **
user@domain:/home/app# gem install backup -v 4.4.1 --verbose
HEAD https://api.rubygems.org/api/v1/dependencies
404 Not Found
GET https://api.rubygems.org/prerelease_specs.4.8.gz
304 Not Modified
GET https://api.rubygems.org/specs.4.8.gz
304 Not Modified
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/.document
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/.gitignore
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/Gemfile
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/LICENSE.txt
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/README.md
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/Rakefile
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/extconf.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf.cc
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/normalizer.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/table.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/trie/char_stream.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/trie/node.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/trie/searcher.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/util.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/lib/unf_ext.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/lib/unf_ext/version.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/test/helper.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/test/normalization-test.txt
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/test/test_unf_ext.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/unf_ext.gemspec
Building native extensions. This could take a while...
current directory: /root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext
/root/.rbenv/versions/2.3.8/bin/ruby -r ./siteconf20231025-192972-3ckc46.rb extconf.rb
checking for main() in -lstdc++... yes
checking for ruby/encoding.h... yes
creating Makefile
current directory: /root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext
make "DESTDIR=" clean
current directory: /root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext
make "DESTDIR="
compiling unf.cc
cc1plus: warning: command-line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++
cc1plus: warning: command-line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++
In file included from /root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby/ruby.h:1988,
from /root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby.h:33,
from unf.cc:3:
/root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby/intern.h:47:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
47 | void rb_mem_clear(register VALUE*, register long);
| ^
/root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby/intern.h:47:45: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
47 | void rb_mem_clear(register VALUE*, register long);
| ^~~~
Killed
user@domain:/home/app# linking shared-object unf_ext.so
The latest version of Ruby with which current upstream version of the gem (which is more-or-less 5.0-beta) is installing and running without any issues is 2.4.10, and this only after a small fix in my feature branch: #999
Backup versions 4.x support Ruby 2.3 at most, maybe you can run them with Ruby 2.4.
I suggest you install an older Ruby with ASDF and/or run backup inside Docker.
You can run backup with ruby up to 3.1.4 on the feature branch: #1000
3.2 support and beyond will need a new version of ovirt-engine-sdk-ruby gem: #996
What went wrong?
**Received a build error when running gem install backup -v 4.4.1 --verbose **
user@domain:/home/app# gem install backup -v 4.4.1 --verbose
HEAD https://api.rubygems.org/api/v1/dependencies
404 Not Found
GET https://api.rubygems.org/prerelease_specs.4.8.gz
304 Not Modified
GET https://api.rubygems.org/specs.4.8.gz
304 Not Modified
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/.document
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/.gitignore
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/Gemfile
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/LICENSE.txt
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/README.md
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/Rakefile
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/extconf.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf.cc
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/normalizer.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/table.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/trie/char_stream.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/trie/node.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/trie/searcher.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext/unf/util.hh
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/lib/unf_ext.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/lib/unf_ext/version.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/test/helper.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/test/normalization-test.txt
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/test/test_unf_ext.rb
/root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/unf_ext.gemspec
Building native extensions. This could take a while...
current directory: /root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext
/root/.rbenv/versions/2.3.8/bin/ruby -r ./siteconf20231025-192972-3ckc46.rb extconf.rb
checking for main() in -lstdc++... yes
checking for ruby/encoding.h... yes
creating Makefile
current directory: /root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext
make "DESTDIR=" clean
current directory: /root/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/unf_ext-0.0.6/ext/unf_ext
make "DESTDIR="
compiling unf.cc
cc1plus: warning: command-line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++
cc1plus: warning: command-line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++
In file included from /root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby/ruby.h:1988,
from /root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby.h:33,
from unf.cc:3:
/root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby/intern.h:47:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
47 | void rb_mem_clear(register VALUE*, register long);
| ^
/root/.rbenv/versions/2.3.8/include/ruby-2.3.0/ruby/intern.h:47:45: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
47 | void rb_mem_clear(register VALUE*, register long);
| ^~~~
Killed
user@domain:/home/app# linking shared-object unf_ext.so
What steps did you follow?
How is your copy of backup configured?
N/A
Tell us about the computer that runs the backup gem
Change the information below to match the details of your computer
The text was updated successfully, but these errors were encountered: