[DRE-maint] Bug#1075458: ruby-curses: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:42:28 BST 2024
Package: src:ruby-curses
Version: 1.4.4-1
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/ruby-curses_1.4.4-1_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
[...]
38: #define HAVE_WTOUCHLN 1
39: #define HAVE_IS_LINETOUCHED 1
40: #define HAVE_IS_WINTOUCHED 1
41: #define HAVE_DEF_PROG_MODE 1
42: #define HAVE_RESET_PROG_MODE 1
43: #define HAVE_TIMEOUT 1
44: #define HAVE_WTIMEOUT 1
45: #define HAVE_NODELAY 1
46: #define HAVE_INIT_COLOR 1
47: #define HAVE_WCOLOR_SET 1
48: #define HAVE_USE_DEFAULT_COLORS 1
49: #define HAVE_ASSUME_DEFAULT_COLORS 1
50: #define HAVE_NEWPAD 1
51: #define HAVE_UNGET_WCH 1
52: #define HAVE_GET_WCH 1
53: #define HAVE_WGET_WCH 1
54: #define SIZEOF_CHTYPE SIZEOF_UNSIGNED_INT
55: #define TYPEOF_CHTYPE unsigned int
56: #define PRI_CHTYPE_PREFIX PRI_INT_PREFIX
57: #define CHTYPE2NUM UINT2NUM
58: #define NUM2CHTYPE NUM2UINT
59: #define _XOPEN_SOURCE_EXTENDED 1
60: #define HAVE_ESCDELAY 1
61: #define HAVE_TABSIZE 1
62: #define HAVE_COLORS 1
63: #define HAVE_COLOR_PAIRS 1
64: #define HAVE_FUNC_CURSES_VERSION 1
65: #define HAVE_NCURSESW_MENU_H 1
66: #define HAVE_MENU 1
67: #define HAVE_NCURSESW_FORM_H 1
68: #define HAVE_FORM 1
69: #define HAVE_FORM_DRIVER_W 1
70: #define CURSES_SIZEOF_WINDOW 0
71: #define CURSES_SIZEOF_MEVENT sizeof(MEVENT)
72: #define CURSES_SIZEOF_ITEM 0
73: #define CURSES_SIZEOF_MENU sizeof(MENU)
74: #define CURSES_SIZEOF_FIELD sizeof(FIELD)
75: #define CURSES_SIZEOF_FORM sizeof(FORM)
76: #endif
/* end */
/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:119:in `run': make failed, exit code 2 (Gem::InstallError)
from /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:53:in `block in make'
from /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:45:in `each'
from /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:45:in `make'
from /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:42: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.1 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>> debian/ruby-curses (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:57:in `block in install_files_and_build_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54: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 /<<PKGBUILDDIR>>/debian/ruby-curses returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-ruby-extras-maintainers
mailing list