logstash-plugins / logstash-input-couchdb_changes

This plugin captures the _changes stream from a CouchDB instance
Apache License 2.0
27 stars 22 forks source link

Fails to build gem native extension #51

Open andsel opened 1 year ago

andsel commented 1 year ago

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 .