Package: src:capistrano Version: 3.11.0-2 Severity: serious Tags: ftbfs patch
Dear maintainer: I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby debian/rules override_dh_auto_install make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_install dh_ruby --install /<<PKGBUILDDIR>>/debian/capistrano dh_ruby --install Invalid gemspec in [capistrano.gemspec]: No such file or directory - git ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â Install files â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ install -d /<<PKGBUILDDIR>>/debian/capistrano/usr/bin install -D -m755 /<<PKGBUILDDIR>>/bin/cap /<<PKGBUILDDIR>>/debian/capistrano/usr/bin/cap install -D -m755 /<<PKGBUILDDIR>>/bin/capify /<<PKGBUILDDIR>>/debian/capistrano/usr/bin/capify install -d /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/upload_task.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/upload_task.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/defaults.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/defaults.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/immutable_task.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/immutable_task.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/setup.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/setup.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/plugin.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/plugin.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/install.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/install.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/hg.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/hg.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/git.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/git.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/plugin.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/plugin.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/tasks/svn.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/tasks/svn.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/tasks/hg.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/tasks/hg.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/tasks/git.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/tasks/git.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm/svn.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm/svn.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/proc_helpers.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/proc_helpers.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/i18n.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/i18n.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/application.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/application.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/host_filter.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/host_filter.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/scm_resolver.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/scm_resolver.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/server.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/server.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/null_filter.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/null_filter.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/plugin_installer.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/plugin_installer.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/variables.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/variables.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/question.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/question.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/filter.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/filter.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/validated_variables.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/validated_variables.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/role_filter.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/role_filter.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/empty_filter.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/empty_filter.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration/servers.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration/servers.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/dsl/task_enhancements.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/dsl/task_enhancements.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/dsl/stages.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/dsl/stages.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/dsl/env.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/dsl/env.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/dsl/paths.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/dsl/paths.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/doctor.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/doctor.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/all.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/all.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/deploy.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/deploy.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/version.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/version.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/tasks/install.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/tasks/install.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/tasks/deploy.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/tasks/deploy.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/tasks/console.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/tasks/console.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/tasks/doctor.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/tasks/doctor.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/tasks/framework.rake /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/tasks/framework.rake install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/scm.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/scm.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/doctor/gems_doctor.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/doctor/gems_doctor.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/doctor/environment_doctor.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/doctor/environment_doctor.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/doctor/servers_doctor.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/doctor/servers_doctor.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/doctor/variables_doctor.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/doctor/variables_doctor.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/doctor/output_helpers.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/doctor/output_helpers.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/configuration.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/configuration.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/dsl.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/dsl.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/console.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/console.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/framework.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/framework.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/version_validator.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/version_validator.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/dotfile.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/dotfile.rb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/templates/stage.rb.erb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/templates/stage.rb.erb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/templates/Capfile /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/templates/Capfile install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano/templates/deploy.rb.erb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano/templates/deploy.rb.erb install -D -m644 /<<PKGBUILDDIR>>/lib/capistrano.rb /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/capistrano.rb install -D -m644 /<<PKGBUILDDIR>>/lib/Capfile /<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby/Capfile dh_installchangelogs -pcapistrano /<<PKGBUILDDIR>>/CHANGELOG.md upstream Rewriting shebang line of /<<PKGBUILDDIR>>/debian/capistrano/usr/bin/capify Rewriting shebang line of /<<PKGBUILDDIR>>/debian/capistrano/usr/bin/cap ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â Install Rubygems integration metadata â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ generating gemspec at /<<PKGBUILDDIR>>/debian/capistrano/usr/share/rubygems-integration/all/specifications/capistrano-3.11.0.gemspec /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â Run tests for ruby2.5 from debian/ruby-tests.rake â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ RUBYLIB=/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb ** Invoke task (first_time) ** Execute task ** Invoke not_loaded_task (first_time) ** Execute not_loaded_task Randomized with seed 34915 .** Invoke namespace:task (first_time) ** Invoke namespace:before_task (first_time) ** Execute namespace:before_task ** Execute namespace:task ** Invoke namespace:after_task (first_time) ** Execute namespace:after_task .** Invoke task (first_time) ** Invoke before_task (first_time) ** Execute before_task ** Execute task ** Invoke after_task (first_time) ** Execute after_task .** Invoke task (first_time) ** Invoke before_task (first_time) ** Execute before_task ** Execute task ** Invoke after_task (first_time) ** Execute after_task .** Invoke task (first_time) ** Invoke before_task_custom (first_time) ** Execute before_task_custom ** Execute task ** Invoke after_task_custom (first_time) ** Execute after_task_custom .** Invoke task (first_time) ** Execute task .FFFF...[Deprecation Notice] Future versions of Capistrano will not load the Git SCM plugin by default. To silence this deprecation warning, add the following to your Capfile after `require "capistrano/deploy"`: require "capistrano/scm/git" install_plugin Capistrano::SCM::Git .[Deprecation Notice] Future versions of Capistrano will not load the Git SCM plugin by default. To silence this deprecation warning, add the following to your Capfile after `require "capistrano/deploy"`: require "capistrano/scm/git" install_plugin Capistrano::SCM::Git ......................................................................................................................................................**.............Skipping task `A'. Capistrano tasks may only be invoked once. Since task `A' was previously invoked, invoke("A") at /<<PKGBUILDDIR>>/spec/lib/capistrano/dsl_spec.rb:84 will be skipped. If you really meant to run this task again, use invoke!("A") THIS BEHAVIOR MAY CHANGE IN A FUTURE VERSION OF CAPISTRANO. Please join the conversation here if this affects you. https://github.com/capistrano/capistrano/issues/1686 ..................................................................................................................................................................................................... Pending: (Failures listed here are expected and do not affect your suite's status) 1) Capistrano::Application provides a --format option which enables the choice of output formatting # Not yet implemented # ./spec/lib/capistrano/application_spec.rb:6 2) Capistrano::Application provides a --trace option which enables SSHKit/NetSSH trace output # Not yet implemented # ./spec/lib/capistrano/application_spec.rb:4 Failures: 1) Capistrano::Doctor::OutputHelpers formats tables with indent, aligned columns and per-row color Failure/Error: expect { table(data, &block) }.to output(expected_output).to_stdout Mocha::ExpectationError: unexpected invocation: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("GEM_SKIP") satisfied expectations: - allowed any number of times, not yet invoked: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("SSHKIT_COLOR") # ./spec/lib/capistrano/doctor/output_helpers_spec.rb:43:in `block (2 levels) in <module:Doctor>' 2) Capistrano::Doctor::OutputHelpers overrides puts to indent 4 spaces per line Failure/Error: expect { puts("one\ntwo") }.to output(" one\n two\n").to_stdout Mocha::ExpectationError: unexpected invocation: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("GEM_SKIP") satisfied expectations: - allowed any number of times, not yet invoked: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("SSHKIT_COLOR") # ./spec/lib/capistrano/doctor/output_helpers_spec.rb:23:in `block (2 levels) in <module:Doctor>' 3) Capistrano::Doctor::OutputHelpers prints titles in blue with newlines and without indentation Failure/Error: output("\e[0;34;49m\nHello!\n\e[0m\n").to_stdout Mocha::ExpectationError: unexpected invocation: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("GEM_SKIP") satisfied expectations: - allowed any number of times, not yet invoked: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("SSHKIT_COLOR") # ./spec/lib/capistrano/doctor/output_helpers_spec.rb:14:in `block (2 levels) in <module:Doctor>' 4) Capistrano::Doctor::OutputHelpers prints warnings in yellow with 4-space indentation Failure/Error: output(" \e[0;33;49mYikes!\e[0m\n").to_stdout Mocha::ExpectationError: unexpected invocation: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("GEM_SKIP") satisfied expectations: - allowed any number of times, not yet invoked: {"DEB_HOST_GNU_SYSTEM"=>"linux-gnu", "DEB_TARGET_GNU_CPU"=>"x86_64", "DEB_BUILD_ARCH_BITS"=>"64", "DEB_HOST_ARCH_OS"=>"linux", "USER"=>"buildd", "CXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_MULTIARCH"=>"x86_64-linux-gnu", "DEB_BUILD_GNU_TYPE"=>"x86_64-linux-gnu", "OBJCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_HOST_ARCH_ABI"=>"base", "LD_LIBRARY_PATH"=>"/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/libeatmydata", "DEB_BUILD_ARCH_CPU"=>"amd64", "DEB_HOST_ARCH_LIBC"=>"gnu", "DH_INTERNAL_OPTIONS"=>"-i\x1E-O--buildsystem=ruby", "HOME"=>"/sbuild-nonexistent", "FAKEROOTKEY"=>"1720231651", "APT_CONFIG"=>"/var/lib/sbuild/apt.conf", "SCHROOT_CHROOT_NAME"=>"buster-eatmydata", "LDFLAGS"=>"-Wl,-z,relro", "DEB_BUILD_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH_BITS"=>"64", "SCHROOT_UID"=>"924", "MAKEFLAGS"=>"w", "DEB_BUILD_GNU_SYSTEM"=>"linux-gnu", "DEB_BUILD_ARCH_OS"=>"linux", "DEB_TARGET_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_TARGET_ARCH_CPU"=>"amd64", "LOGNAME"=>"buildd", "DEB_BUILD_ARCH_LIBC"=>"gnu", "DEB_BUILD_ARCH_ABI"=>"base", "RUBYLIB"=>"/<<PKGBUILDDIR>>/debian/capistrano/usr/lib/ruby/vendor_ruby:.", "DEB_TARGET_ARCH_ENDIAN"=>"little", "DH_INTERNAL_OVERRIDE"=>"dh_auto_install", "XDG_SESSION_ID"=>"83558", "DEB_HOST_ARCH"=>"amd64", "DEB_TARGET_GNU_SYSTEM"=>"linux-gnu", "DEB_HOST_GNU_CPU"=>"x86_64", "PATH"=>"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "CFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "XDG_RUNTIME_DIR"=>"/run/user/924", "DEB_TARGET_ARCH_OS"=>"linux", "FAKED_MODE"=>"unknown-is-root", "MAKELEVEL"=>"2", "SCHROOT_COMMAND"=>"dpkg-buildpackage -us -uc -A -rfakeroot", "SOURCE_DATE_EPOCH"=>"1541569895", "FCFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_SESSION_ID"=>"buster-eatmydata-fa3ad0d5-e77c-40dc-834a-02fc9ff7ce67", "DEB_HOST_MULTIARCH"=>"x86_64-linux-gnu", "SCHROOT_ALIAS_NAME"=>"buster-eatmydata", "LD_PRELOAD"=>"libfakeroot-sysv.so:libeatmydata.so", "OBJCXXFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security", "DEB_TARGET_ARCH_ABI"=>"base", "DEB_TARGET_ARCH_LIBC"=>"gnu", "DH_INTERNAL_BUILDFLAGS"=>"1", "CPPFLAGS"=>"-Wdate-time -D_FORTIFY_SOURCE=2", "SCHROOT_USER"=>"buildd", "DEB_BUILD_OPTIONS"=>"parallel=1", "SCHROOT_GROUP"=>"buildd", "SHELL"=>"/bin/sh", "DEB_HOST_ARCH_BITS"=>"64", "DEB_BUILD_ARCH"=>"amd64", "DEB_BUILD_GNU_CPU"=>"x86_64", "DEB_HOST_GNU_TYPE"=>"x86_64-linux-gnu", "DEB_HOST_ARCH_CPU"=>"amd64", "PWD"=>"/<<PKGBUILDDIR>>", "LC_ALL"=>"POSIX", "DEB_RULES_REQUIRES_ROOT"=>"binary-targets", "GEM_PATH"=>"debian/capistrano/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all", "FFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "DEB_BUILD_MULTIARCH"=>"x86_64-linux-gnu", "GCJFLAGS"=>"-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong", "SCHROOT_GID"=>"924", "MFLAGS"=>"-w", "DEB_HOST_ARCH_ENDIAN"=>"little", "DEB_TARGET_ARCH"=>"amd64"}.[]("SSHKIT_COLOR") # ./spec/lib/capistrano/doctor/output_helpers_spec.rb:19:in `block (2 levels) in <module:Doctor>' Finished in 0.5472 seconds (files took 1.32 seconds to load) 376 examples, 4 failures, 2 pending Failed examples: rspec ./spec/lib/capistrano/doctor/output_helpers_spec.rb:26 # Capistrano::Doctor::OutputHelpers formats tables with indent, aligned columns and per-row color rspec ./spec/lib/capistrano/doctor/output_helpers_spec.rb:22 # Capistrano::Doctor::OutputHelpers overrides puts to indent 4 spaces per line rspec ./spec/lib/capistrano/doctor/output_helpers_spec.rb:12 # Capistrano::Doctor::OutputHelpers prints titles in blue with newlines and without indentation rspec ./spec/lib/capistrano/doctor/output_helpers_spec.rb:17 # Capistrano::Doctor::OutputHelpers prints warnings in yellow with 4-space indentation Randomized with seed 34915 /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed ERROR: Test "ruby2.5" failed. Exiting. dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/capistrano returned exit code 1 make[1]: *** [debian/rules:7: override_dh_auto_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:4: binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- This is happening randomly. Sometimes it fails, sometimes it does not, but the failure rate is so high that we can't say that the package "builds from source and without failure". I have put several build logs from my own autobuilders here: https://people.debian.org/~sanvila/build-logs/capistrano/ The random failures also happen in reproducible-builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/capistrano.html If the package is useful "as is" and this failure does not mean that the package is broken, I would just disable the failing tests, as in the patch below. There will be plenty of time after the release of buster to fix the tests, report them upstream, etc. but at least in the meantime we will be able to build the package without failures. (I suspect these failures could be related to the ones in Bug #907996). If, on the other hand, the failing tests means the package is broken and you need a test machine to reproduce the failures, please contact me privately and I will gladly offer a machine where this happens easily. Thanks. --- a/spec/lib/capistrano/doctor/output_helpers_spec.rb +++ b/spec/lib/capistrano/doctor/output_helpers_spec.rb @@ -9,39 +9,6 @@ module Capistrano # Force color for the purpose of these tests before { ENV.stubs(:[]).with("SSHKIT_COLOR").returns("1") } - it "prints titles in blue with newlines and without indentation" do - expect { title("Hello!") }.to\ - output("\e[0;34;49m\nHello!\n\e[0m\n").to_stdout - end - - it "prints warnings in yellow with 4-space indentation" do - expect { warning("Yikes!") }.to\ - output(" \e[0;33;49mYikes!\e[0m\n").to_stdout - end - - it "overrides puts to indent 4 spaces per line" do - expect { puts("one\ntwo") }.to output(" one\n two\n").to_stdout - end - - it "formats tables with indent, aligned columns and per-row color" do - data = [ - ["one", ".", "1"], - ["two", "..", "2"], - ["three", "...", "3"] - ] - block = proc do |record, row| - row.yellow if record.first == "two" - row << record[0] - row << record[1] - row << record[2] - end - expected_output = <<-OUT - one . 1 - \e[0;33;49mtwo .. 2\e[0m - three ... 3 - OUT - expect { table(data, &block) }.to output(expected_output).to_stdout - end end end end
_______________________________________________ Pkg-ruby-extras-maintainers mailing list Pkg-ruby-extras-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers