Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem cbor, that is added in version 0.19.3 makes this gem incompatible with Alpine linux. #303

Open
dmitry-goncharuk opened this issue Mar 10, 2022 · 1 comment

Comments

@dmitry-goncharuk
Copy link

gem install aptible-cli
Successfully installed thor-0.20.3
Successfully installed sync-0.5.0
Successfully installed tins-1.31.0
Successfully installed term-ansicolor-1.7.1
Successfully installed rchardet-1.8.0
Successfully installed git-1.9.1
Successfully installed numerizer-0.1.1
Successfully installed chronic_duration-0.10.6
Building native extensions. This could take a while...
ERROR:  Error installing aptible-cli:
	ERROR: Failed to build gem native extension.
    current directory: /usr/lib/ruby/gems/3.0.0/gems/cbor-0.5.9.6/ext/cbor
/usr/bin/ruby -I /usr/lib/ruby/3.0.0 -r ./siteconf20220310-51-mml072.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.
extconf failed, exit code 1
Gem files will remain installed in /usr/lib/ruby/gems/3.0.0/gems/cbor-0.5.9.6 for inspection.
Results logged to /usr/lib/ruby/gems/3.0.0/extensions/x86_64-linux-musl/3.0.0/cbor-0.5.9.6/gem_make.out

Aren't such changes to depedencies should be introduced as minor version increase?
Or even as a major increase, since it breaks backward compatibility on certain OS?

@vitamin4ik
Copy link

Confirm the issue. Current fix - install and use aptible-cli version 0.19.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants