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

Fails to build gem native extension #51

Open
andsel opened this issue Jul 3, 2023 · 0 comments
Open

Fails to build gem native extension #51

andsel opened this issue Jul 3, 2023 · 0 comments

Comments

@andsel
Copy link

andsel commented Jul 3, 2023

Build scan:
https://app.travis-ci.com/github/logstash-plugins/logstash-input-couchdb_changes/jobs/605312471

https://app.travis-ci.com/github/logstash-plugins/logstash-input-couchdb_changes/jobs/613875610

Repro line:

Reproduces locally?:
Yes running:

export ELASTIC_STACK_VERSION=8.x
.ci/docker-setup.sh

Applicable branches:
main

Failure history:

Failure excerpt:

Fetching http_parser.rb 0.8.0
Installing http_parser.rb 0.8.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/http_parser.rb-0.8.0/ext/ruby_http_parser
/usr/share/logstash/vendor/jruby/bin/jruby -I
/usr/share/logstash/vendor/jruby/lib/ruby/stdlib -r
./siteconf20230703-7-anor4x.rb extconf.rb
creating Makefile
current directory:
/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/http_parser.rb-0.8.0/ext/ruby_http_parser
make DESTDIR\= clean
sh: 1: exec: make: not found
current directory:
/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/http_parser.rb-0.8.0/ext/ruby_http_parser
make DESTDIR\=
sh: 1: exec: make: not found
make failed, exit code 127
Gem files will remain installed in
/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/http_parser.rb-0.8.0
for inspection.
Results logged to
/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/extensions/universal-java-17/2.6.0/http_parser.rb-0.8.0/gem_make.out
An error occurred while installing http_parser.rb (0.8.0), and Bundler cannot
continue.
Make sure that `gem install http_parser.rb -v '0.8.0' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
  ftw was resolved to 0.0.49, which depends on
    http_parser.rb
ERROR: Service 'logstash' failed to build: The command '/bin/sh -c bundle install --with test ci' returned a non-zero code: 5
The command ".ci/docker-setup.sh" failed and exited with 1 during .
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

1 participant