Skip to content

Instantly share code, notes, and snippets.

@bschonec
Last active July 29, 2022 16:45
Show Gist options
  • Save bschonec/740b16de5fac56e759b0b266eff96e1e to your computer and use it in GitHub Desktop.
Save bschonec/740b16de5fac56e759b0b266eff96e1e to your computer and use it in GitHub Desktop.
unning with gitlab-runner 15.2.0 (7f093137)
on brian UtxsTs47
Preparing the "docker" executor
00:01
Using Docker executor with image ruby:2.7.2 ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image ruby:2.7.2 ...
Using docker image sha256:e6c92ed2f03be9788b80944e148783bef8e7d0fa8d9755b62e9f03429e85a327 for ruby:2.7.2 with digest ruby@sha256:1dd0106849233fcd913b7c4608078fa1a53a5e3ce1af2a55e4d726b0d8868e2f ...
Preparing environment
00:01
Running on runner-utxsts47-project-25-concurrent-0 via nfiv-schon-02d...
Getting source from Git repository
00:01
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/SchoneckerB/rspec/.git/
Checking out ff22ee4b as failed_bundle...
Removing vendor/
Skipping Git submodules setup
Restoring cache
00:00
Checking cache for default-non_protected...
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted.
Successfully extracted cache
Executing "step_script" stage of the job script
00:11
Using docker image sha256:e6c92ed2f03be9788b80944e148783bef8e7d0fa8d9755b62e9f03429e85a327 for ruby:2.7.2 with digest ruby@sha256:1dd0106849233fcd913b7c4608078fa1a53a5e3ce1af2a55e4d726b0d8868e2f ...
$ bundle -v
Bundler version 2.1.4
$ rm Gemfile.lock || true
rm: cannot remove 'Gemfile.lock': No such file or directory
$ # Update system gems if requested. This is useful to temporarily workaround troubles in the test runner
$ # Set `rubygems_version` in the .sync.yml to set a value
$ # Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set
$ [ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION
$ gem --version
3.1.4
$ bundle -v
Bundler version 2.1.4
$ bundle install --without system_tests --path vendor/bundle --jobs $(nproc)
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'system_tests'`, and stop using this flag
The dependency puppet-module-win-default-r2.7 (~> 1.0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32 x64-mingw32`.
The dependency puppet-module-win-dev-r2.7 (~> 1.0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32 x64-mingw32`.
The dependency puppet-module-win-system-r2.7 (~> 1.0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32 x64-mingw32`.
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.......
Fetching rake 13.0.6
Installing rake 13.0.6
Fetching public_suffix 4.0.7
Installing public_suffix 4.0.7
Fetching addressable 2.8.0
Installing addressable 2.8.0
Installing diff-lcs 1.5.0
Fetching unf_ext 0.0.8.2
Installing unf_ext 0.0.8.2 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/builds/SchoneckerB/rspec/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2/ext/unf_ext
/usr/local/bin/ruby -I /usr/local/lib/ruby/2.7.0 -r
./siteconf20220729-16-gsh7um.rb extconf.rb
checking for -lstdc++... *** 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/bin/$(RUBY_BASE_NAME)
--with-static-libstdc++
--without-static-libstdc++
--with-stdc++-dir
--without-stdc++-dir
--with-stdc++-include
--without-stdc++-include=${stdc++-dir}/include
--with-stdc++-lib
--without-stdc++-lib=${stdc++-dir}/lib
--with-stdc++lib
--without-stdc++lib
/usr/local/lib/ruby/2.7.0/mkmf.rb:471:in `try_do': The compiler failed to
generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/local/lib/ruby/2.7.0/mkmf.rb:564:in `try_link0'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:582:in `try_link'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:801:in `try_func'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:1029:in `block in have_library'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:971:in `block in checking_for'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:361:in `block (2 levels) in postpone'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:331:in `open'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:361:in `block in postpone'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:331:in `open'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:357:in `postpone'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:970:in `checking_for'
from /usr/local/lib/ruby/2.7.0/mkmf.rb:1024:in `have_library'
from extconf.rb:6:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can
be found here:
/builds/SchoneckerB/rspec/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
/builds/SchoneckerB/rspec/vendor/bundle/ruby/2.7.0/gems/unf_ext-0.0.8.2 for
inspection.
Results logged to
/builds/SchoneckerB/rspec/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.2/gem_make.out
An error occurred while installing unf_ext (0.0.8.2), and Bundler cannot
continue.
Make sure that `gem install unf_ext -v '0.0.8.2' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
puppet-module-posix-dev-r2.7 was resolved to 1.1.1, which depends on
puppet-blacksmith was resolved to 6.1.1, which depends on
rest-client was resolved to 2.1.0, which depends on
http-cookie was resolved to 1.0.5, which depends on
domain_name was resolved to 0.5.20190701, which depends on
unf was resolved to 0.1.4, which depends on
unf_ext
ERROR: Job failed: exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment