Package: src:ruby-rotp Version: 6.3.0-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202602/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:ruby-rotp, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean debian/rules:16: warning: overriding recipe for target 'override_dh_installdocs' debian/rules:9: warning: ignoring old recipe for target 'override_dh_installdocs' dh clean --buildsystem=ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' debian/rules:16: warning: overriding recipe for target 'override_dh_installdocs' debian/rules:9: warning: ignoring old recipe for target 'override_dh_installdocs' rm -rf debian/yardocs; rm -rf .yardoc; dh_clean rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/ruby-rotp.substvars debian/files rm -fr -- debian/ruby-rotp/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules binary debian/rules:16: warning: overriding recipe for target 'override_dh_installdocs' debian/rules:9: warning: ignoring old recipe for target 'override_dh_installdocs' dh binary --buildsystem=ruby dh_update_autotools_config -O--buildsystem=ruby dh_autoreconf -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure dh_auto_build -O--buildsystem=ruby dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test rm -fr -- /tmp/dh-xdg-rundir-u6tLe2UR create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby rm -f -- debian/ruby-rotp.substvars rm -fr -- debian/.debhelper/generated/ruby-rotp/ debian/ruby-rotp/ debian/tmp/ dh_auto_install --destdir=debian/ruby-rotp/ -O--buildsystem=ruby install -m0755 -d /<<PKGBUILDDIR>>/debian/ruby-rotp dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-rotp ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â ruby-rotp: Install files â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ install -d /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/bin install -D -m755 /<<PKGBUILDDIR>>/bin/rotp /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/bin/rotp install -d /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/arguments.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/arguments.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/base32.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/base32.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/cli.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/cli.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/hotp.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/hotp.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/otp/uri.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/otp/uri.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/otp.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/otp.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/totp.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/totp.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp/version.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp/version.rb install -D -m644 /<<PKGBUILDDIR>>/lib/rotp.rb /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby/rotp.rb Rewriting shebang line of /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/bin/rotp ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â ruby-rotp: Install Rubygems integration metadata â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-rotp/usr/share/rubygems-integration/all/specifications/rotp-6.3.0.gemspec dh_installchangelogs -pruby-rotp /<<PKGBUILDDIR>>/CHANGELOG.md upstream install -m0755 -d debian/ruby-rotp/usr/share/doc/ruby-rotp install -p -m0644 debian/.debhelper/generated/ruby-rotp/dh_installchangelogs.dch.trimmed debian/ruby-rotp/usr/share/doc/ruby-rotp/changelog.Debian install -p -m0644 /<<PKGBUILDDIR>>/CHANGELOG.md debian/ruby-rotp/usr/share/doc/ruby-rotp/changelog /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â Run tests for ruby3.3 from debian/ruby-tests.rake â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-rotp/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rotp/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation ROTP::Arguments without options #help shows the help text #options has the default options unknown arguments #options is in help mode knows about the problem no arguments #options is in help mode asking for help #options is in help mode generating a counter based secret #options is in hmac mode knows the secret generating a counter based secret #options is in hmac mode knows the secret generating a time based secret #options is in time mode knows the secret ROTP::Base32 .random without arguments is 20 bytes (160 bits) long (resulting in a 32 character base32 code) is base32 charset with arguments returns the appropriate byte length code alias to older random_base32 is base32 charset .decode corrupt input data raises a sane error valid input data correctly decodes a string correctly decode strings with trailing bits (not a multiple of 8) with padding correctly decodes a string .encode encode input data correctly encodes data ROTP::CLI generating a TOTP prints the corresponding token generating a TOTP with sha256 digest prints the corresponding token generating a TOTP with no secret prints the corresponding token generating a TOTP with bad base32 secret prints the corresponding token trying to generate an unsupport type prints the corresponding token generating a HOTP prints the corresponding token generating a HOTP prints the corresponding token ROTP::HOTP #at only the counter as argument generates a string OTP invalid counter raises an error RFC compatibility matches the RFC documentation examples #verify numeric token raises an error string token is true RFC compatibility verifies and does not allow reuse with retries counter outside than retries is false counter exactly in retry range is true counter in retry range is true counter ahead of token is false #provisioning_uri created from the otp instance data allow passing a name to override the OTP name also accepts a custom counter value with non-standard provisioning_params includes the issuer as parameter (FAILED - 1) Failures: 1) ROTP::HOTP#provisioning_uri with non-standard provisioning_params includes the issuer as parameter Failure/Error: let(:params) { CGI.parse URI.parse(uri).query } NoMethodError: undefined method `parse' for class CGI # ./spec/lib/rotp/hotp_spec.rb:113:in `block (3 levels) in <top (required)>' # ./spec/lib/rotp/hotp_spec.rb:135:in `block (4 levels) in <top (required)>' Finished in 0.02137 seconds (files took 0.14299 seconds to load) 42 examples, 1 failure Failed examples: rspec ./spec/lib/rotp/hotp_spec.rb:134 # ROTP::HOTP#provisioning_uri with non-standard provisioning_params includes the issuer as parameter Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. Line Coverage: 93.8% (242 / 258) Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed /usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed) from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby' from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild' from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install' from /usr/bin/dh_ruby:89:in `<main>' dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-rotp returned exit code 1 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

