[Pkg-puppet-devel] Bug#956300: facter: FTBFS if bundler is installed

Antonio Terceiro terceiro at debian.org
Thu Apr 9 15:09:00 BST 2020


Source: facter
Version: 3.11.0-4
Severity: important
Tags: ftbfs
Justification: fails to build from source if bundler is installed

----------------8<----------------8<----------------8<-----------------
	cd obj-x86_64-linux-gnu && make -j1 test ARGS\+=-j1
Running tests...
/usr/bin/ctest --force-new-ctest-process -j1
Test project /home/terceiro/src/debian/facter/obj-x86_64-linux-gnu
    Start 1: libfacter tests
1/2 Test #1: libfacter tests ..................   Passed    2.43 sec
    Start 2: libfacter specs
2/2 Test #2: libfacter specs ..................***Failed    0.23 sec
bundler: failed to load command: rspec (/usr/bin/rspec)
Bundler::GemNotFound: Could not find gem 'rake (~> 10.1.0)' in any of the gem sources listed in your Gemfile.
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/resolver.rb:290:in `block in verify_gemfile_dependencies_are_found!'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/resolver.rb:258:in `each'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/resolver.rb:258:in `verify_gemfile_dependencies_are_found!'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/resolver.rb:49:in `start'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/resolver.rb:22:in `resolve'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/definition.rb:258:in `resolve'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/definition.rb:170:in `specs'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/definition.rb:237:in `specs_for'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/definition.rb:226:in `requested_specs'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/runtime.rb:101:in `block in definition_method'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/runtime.rb:20:in `setup'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler.rb:149:in `setup'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/setup.rb:20:in `block in <top (required)>'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/ui/shell.rb:136:in `with_level'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/ui/shell.rb:88:in `silence'
  /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/setup.rb:20:in `<top (required)>'
----------------8<----------------8<----------------8<-----------------

rspec is being run as `bundle exec rspec`, but the dependencies
specified in the Gemfile are not compatible with what we have in Debian
unstable at the moment.

Also, if bundler in installed but ruby-rspec is not, it will also fail.

On the buildds this does not look like a problem, because bundler is not
installed so the check in CMakeLists.txt never adds this test to the
final list of tests to run.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20200409/97cb47a3/attachment.sig>


More information about the Pkg-puppet-devel mailing list