[Pkg-puppet-devel] Bug#950955: puppet-lint: FTBFS on unstable: undefined method `branch_coverage?' for SimpleCov:Module (NoMethodError)
Gabriel Filion
gabriel at koumbit.org
Sat Feb 8 23:44:20 GMT 2020
On 2020-02-08 1:32 p.m., Antonio Terceiro wrote:
> Source: puppet-lint
> Version: 2.3.6-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source
hmmm simplecov is vendored for the test runs?
maybe the version of simplecov isn't compatible with ruby 2.7 ?
upstream has released newer versions of puppet-lint. currently the most
recent version is 2.4.2. should we try and bump puppet-lint's packaged
version?
> After running the actual tests, something happens that makes the build
> crash.
>
> ----------------8<----------------8<----------------8<-----------------
> Finished in 1.34 seconds (files took 0.26891 seconds to load)
> 819 examples, 0 failures
>
> /usr/lib/ruby/vendor_ruby/simplecov-html.rb:20:in `initialize': undefined method `branch_coverage?' for SimpleCov:Module (NoMethodError)
> from /usr/lib/ruby/vendor_ruby/simplecov/result.rb:48:in `new'
> from /usr/lib/ruby/vendor_ruby/simplecov/result.rb:48:in `format!'
> from /usr/lib/ruby/vendor_ruby/simplecov/configuration.rb:182:in `block in at_exit'
> from /usr/lib/ruby/vendor_ruby/simplecov.rb:200:in `run_exit_tasks!'
> from /usr/lib/ruby/vendor_ruby/simplecov/defaults.rb:27:in `block in <top (required)>'
> /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.5" failed. Exiting.
> dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/puppet-lint returned exit code 1
> make: *** [debian/rules:15: binary] Error 25
> dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
> ----------------8<----------------8<----------------8<-----------------
>
> See full build log attached.
>
> -- 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-3-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20200208/7e464649/attachment.sig>
More information about the Pkg-puppet-devel
mailing list