Package: src:ruby-gnome Version: 4.2.2-2 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/ruby-gnome_4.2.2-2_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] 13: } 14: 15: return !!argv[argc]; 16: } 17: int t(void) { const volatile void *volatile p; p = &(&curr_thread)[0]; return !p; } /* end */ -------------------- have_var: checking for rb_curr_thread in ruby.h,node.h... -------------------- no LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -I/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ruby-gnome-4.2.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -pthread -pthread -c conftest.c" conftest.c:4:10: fatal error: node.h: No such file or directory 4 | #include <node.h> | ^~~~~~~~ compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include <ruby.h> 4: #include <node.h> 5: 6: /*top*/ 7: extern int t(void); 8: int main(int argc, char **argv) 9: { 10: if (argc > 1000000) { 11: int (* volatile tp)(void)=(int (*)(void))&t; 12: printf("%d", (*tp)()); 13: } 14: 15: return !!argv[argc]; 16: } 17: int t(void) { const volatile void *volatile p; p = &(&rb_curr_thread)[0]; return !p; } /* end */ -------------------- /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:126:in `run': make failed, exit code 2 (Gem::InstallError) from /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:52:in `block in make' from /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:44:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:44:in `make' from /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:44:in `build' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:81:in `block in build_and_install' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:71:in `chdir' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:71:in `build_and_install' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:115:in `block in build_all_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:112:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:112:in `build_all_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:128:in `<main>' ~~~~~~~~~~~~~~~~~~~~~ ↑ mkmf.log ~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /build/reproducible-path/ruby-gnome-4.2.2/glib2 debian/ruby-glib2 (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/installer.rb:62:in `block in install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:59:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:59: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 /build/reproducible-path/ruby-gnome-4.2.2/debian/tmp returned exit code 1 make[1]: *** [debian/rules:31: override_dh_auto_install] Error 25 make[1]: Leaving directory '/build/reproducible-path/ruby-gnome-4.2.2' make: *** [debian/rules:9: binary] Error 2 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
