Package: src:ruby-gsl Version: 2.1.0.3+dfsg1-5 Severity: important Tags: sid trixie User: [email protected] 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/ruby-gsl_2.1.0.3+dfsg1-5_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 [...] | VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)} blas2.c:1085:3: note: in expansion of macro ‘rb_define_module_function’ 1085 | rb_define_module_function(module, "dsyr2", rb_gsl_blas_dsyr2_a, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} 273 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:41: note: in definition of macro ‘RBIMPL_ANYARGS_DECL’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:337:142: error: passing argument 3 of ‘rb_define_module_function_04’ from incompatible pointer type [-Wincompatible-pointer-types] 337 | #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) | ^~~~~~ | | | VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)} blas2.c:1086:3: note: in expansion of macro ‘rb_define_module_function’ 1086 | rb_define_module_function(module, "zher2!", rb_gsl_blas_zher2, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} 273 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:41: note: in definition of macro ‘RBIMPL_ANYARGS_DECL’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:337:142: error: passing argument 3 of ‘rb_define_module_function_04’ from incompatible pointer type [-Wincompatible-pointer-types] 337 | #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) | ^~~~~~ | | | VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)} blas2.c:1087:3: note: in expansion of macro ‘rb_define_module_function’ 1087 | rb_define_module_function(module, "zher2", rb_gsl_blas_zher2_a, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} 273 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.1.0/ruby/internal/anyargs.h:258:41: note: in definition of macro ‘RBIMPL_ANYARGS_DECL’ 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ | ^~~ make[1]: *** [Makefile:246: blas2.o] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/gsl-2.1.0.3/ext/gsl_native' ERROR: Error installing /tmp/d20240702-1054136-bpbiel/gsl-2.1.0.3.gem: ERROR: Failed to build gem native extension. current directory: /<<PKGBUILDDIR>>/debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/gsl-2.1.0.3/ext/gsl_native /usr/bin/ruby3.1 -I/usr/lib/ruby/vendor_ruby extconf.rb current directory: /<<PKGBUILDDIR>>/debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/gsl-2.1.0.3/ext/gsl_native make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\= sitearchdir\=./.gem.20240702-1054141-r7un72 sitelibdir\=./.gem.20240702-1054141-r7un72 clean current directory: /<<PKGBUILDDIR>>/debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/gsl-2.1.0.3/ext/gsl_native make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\= sitearchdir\=./.gem.20240702-1054141-r7un72 sitelibdir\=./.gem.20240702-1054141-r7un72 Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /<<PKGBUILDDIR>>/debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/gsl-2.1.0.3 for inspection. Results logged to /<<PKGBUILDDIR>>/debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/extensions/x86_64-linux/3.1.0/gsl-2.1.0.3/gem_make.out /usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-gsl/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 /tmp/d20240702-1054136-bpbiel/gsl-2.1.0.3.gem (Gem2Deb::CommandFailed) from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:213:in `block in run_gem' from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:212:in `run_gem' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:121:in `block in install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:69:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:69:in `install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:28:in `build' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:54:in `block in install' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:52:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:52: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 /<<BUILDDIR>>/ruby-gsl-2.1.0.3\+dfsg1/debian/ruby-gsl returned exit code 1 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 _______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
