[DRE-maint] Bug#1074986: gem2deb: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:27:24 BST 2024
Package: src:gem2deb
Version: 2.2.3
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/gem2deb_2.2.3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
test: with gemspec should obtain gem name from gemspec. : .: (0.000532)
test: with gemspec should obtain gem version from gemspec. :.: (0.000574)
test: with gemspec should obtain homepage from gemspec. : .: (0.000914)
test: with gemspec should obtain long detect from gemspec. :.: (0.000602)
test: with gemspec should obtain short description from gemspec. : .: (0.000545)
test: with gemspec should obtain test files list from gemspec. : .: (0.002486)
test: with gemspec should resist bindir being false. : .: (0.000574)
test: with gemspec should use whatever directory gemspec says as bindir. : .: (0.000847)
test: with gemspec should use whatever programs the gemspec says. : .: (0.001829)
test: without gemspec should have no dependencies. :.: (0.000366)
test: without gemspec should have no homepage. : .: (0.000572)
test: without gemspec should have no long description. : .: (0.000211)
test: without gemspec should have no short description. : .: (0.000183)
test: without gemspec should have no test files. : .: (0.000202)
test: without gemspec should provide a fallback version number. : .: (0.000280)
test: without gemspec should provide a gem name from source dir. : .: (0.000200)
test: without gemspec should read version number from source dir name when available. : .: (0.000513)
test: without gemspec should use all programs under bin/. : .: (0.001131)
test: without gemspec should use bin/ as bindir. : .: (0.000211)
PackageNameMappingTest:
test: PackageNameMapping should strip architecture qualifier off package names. : .: (0.051144)
test: converting gem name to package name without a cache should convert foo to ruby-foo. : .: (0.000718)
test: converting gem name to package name without a cache should convert foo-bar_baz to ruby-foo-bar-baz. : .: (0.000865)
test: using data from installed packages should have data for mocha. : .: (0.070716)
SecureCodeTest:
test: SecureCode should not interpolate variables into shell commands. : .: (0.004061)
SourceTest:
test: determining debhelper compat level should always be a number. : .: (0.000904)
test: determining debhelper compat level should detect from Build-Depends with multiple lines. : .: (0.000299)
test: determining debhelper compat level should detect from Build-Depends. :.: (0.000401)
test: determining debhelper compat level should detect from DH_COMPAT. : .: (0.001510)
test: determining debhelper compat level should detect from debian/compat. :.: (0.000498)
test: selecting package layout should default to single-binary. : .: (0.000394)
test: selecting package layout should detect multibinary. : .: (0.000590)
test: selecting package layout should ignore packages without X-DhRuby-Root when one of them has it. : .: (0.000398)
TestRunnerTest:
test: TestRunner should detect a test runner for test/sample/ruby-autopkgtest-example. : .: (0.002291)
test: TestRunner should detect a test runner for test/sample/test_runner/no_tests. :.: (0.000589)
test: TestRunner should detect a test runner for test/sample/test_runner/rake/fail. : .: (0.000304)
test: TestRunner should detect a test runner for test/sample/test_runner/rake/pass. : .: (0.000661)
test: TestRunner should detect a test runner for test/sample/test_runner/rake/with_rakelib. : .: (0.000365)
test: TestRunner should detect a test runner for test/sample/test_runner/rb/fail. : .: (0.000213)
test: TestRunner should detect a test runner for test/sample/test_runner/rb/pass. : .: (0.000611)
test: TestRunner should detect a test runner for test/sample/test_runner/yaml/fail. : .: (0.000657)
test: TestRunner should detect a test runner for test/sample/test_runner/yaml/pass. : .: (0.000300)
test: TestRunner should exit 0 when testing test/sample/ruby-autopkgtest-example. : .: (0.092041)
test: TestRunner should exit 0 when testing test/sample/test_runner/rake/pass. : .: (0.325655)
test: TestRunner should exit 0 when testing test/sample/test_runner/rake/with_rakelib. : .: (0.399146)
test: TestRunner should exit 0 when testing test/sample/test_runner/rb/pass. : .: (0.088941)
test: TestRunner should exit 0 when testing test/sample/test_runner/yaml/pass. : .: (0.233170)
test: TestRunner should exit 1 when testing test/sample/test_runner/rake/fail. : .: (0.392056)
test: TestRunner should exit 1 when testing test/sample/test_runner/rb/fail. : .: (0.096430)
test: TestRunner should exit 1 when testing test/sample/test_runner/yaml/fail. : .: (0.201462)
test: TestRunner should exit 77 when testing test/sample/test_runner/no_tests. : .: (0.000856)
Finished in 39.633643102 seconds.
-------------------------------------------------------------------------------
191 tests, 186 assertions, 0 failures, 18 errors, 0 pendings, 0 omissions, 0 notifications
90.5759% passed
-------------------------------------------------------------------------------
4.82 tests/s, 4.69 assertions/s
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/unit/dh_make_ruby_test.rb" "test/unit/dh_ruby_test.rb" "test/unit/extension_builder_test.rb" "test/unit/gem2deb_test.rb" "test/unit/gem2tgz_test.rb" "test/unit/gem_installer_test.rb" "test/unit/installer_test.rb" "test/unit/metadata_test.rb" "test/unit/package_name_mapping_test.rb" "test/unit/secure_code_test.rb" "test/unit/source_test.rb" "test/unit/test_runner_test.rb" "test/unit/yaml_test.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => test:unit
(See full trace by running task with --trace)
make[1]: *** [debian/rules:22: ruby3.1] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-ruby-extras-maintainers
mailing list