Your message dated Thu, 8 Aug 2024 20:03:34 -0300
with message-id <[email protected]>
and subject line ruby-cbor: ftbfs with GCC-14
has caused the Debian Bug report #1075454,
regarding ruby-cbor: ftbfs with GCC-14
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1075454: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075454
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ruby-cbor
Version: 0.5.9.6-2
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-cbor_0.5.9.6-2_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
[...]
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/lib/cbor.rb
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/lib/cbor/version.rb
Building native extensions. This could take a while...
current directory:
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor
["/usr/bin/ruby3.1", "-I/usr/lib/ruby/vendor_ruby", "extconf.rb"]
checking for ruby/st.h... yes
checking for st.h... no
checking for rb_str_replace() in ruby.h... yes
checking for rb_big_new() in ruby.h... yes
checking for rb_intern_str() in ruby.h... yes
checking for rb_sym2str() in ruby.h... yes
checking for rb_str_intern() in ruby.h... yes
checking for rb_integer_unpack() in ruby.h... yes
creating Makefile
current directory:
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor
["make", "V=1", "CC=gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "CXX=g++
-fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "DESTDIR=",
"sitearchdir=./.gem.20240702-2620554-ypbz1c",
"sitelibdir=./.gem.20240702-2620554-ypbz1c", "clean"]
make[1]: Entering directory
'/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor'
rm -f
rm -fr cbor.so false *.o *.bak mkmf.log .*.time
make[1]: Leaving directory
'/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor'
current directory:
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor
["make", "V=1", "CC=gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "CXX=g++
-fdebug-prefix-map=/<<PKGBUILDDIR>>=.", "DESTDIR=",
"sitearchdir=./.gem.20240702-2620554-ypbz1c",
"sitelibdir=./.gem.20240702-2620554-ypbz1c"]
ERROR: Error installing /tmp/d20240702-2620549-xdwlls/cbor-0.5.9.6.gem:
ERROR: Failed to build gem native extension.
current directory:
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor
/usr/bin/ruby3.1 -I/usr/lib/ruby/vendor_ruby extconf.rb
current directory:
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor
make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\
-fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\=
sitearchdir\=./.gem.20240702-2620554-ypbz1c
sitelibdir\=./.gem.20240702-2620554-ypbz1c clean
current directory:
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor
make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\
-fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\=
sitearchdir\=./.gem.20240702-2620554-ypbz1c
sitelibdir\=./.gem.20240702-2620554-ypbz1c
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-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6
for inspection.
Results logged to
/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/extensions/x86_64-linux/3.1.0/cbor-0.5.9.6/gem_make.out
make[1]: Entering directory
'/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor'
gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I.
-I/usr/include/x86_64-linux-gnu/ruby-3.1.0
-I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I.
-DHAVE_RUBY_ST_H -DHAVE_RB_STR_REPLACE -DHAVE_RB_BIG_NEW -DHAVE_RB_INTERN_STR
-DHAVE_RB_SYM2STR -DHAVE_RB_STR_INTERN -DHAVE_RB_INTEGER_UNPACK -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -fcf-protection -fPIC -I.. -Wall -O3 -g
-std=c99 -o buffer.o -c buffer.c
gcc -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -I.
-I/usr/include/x86_64-linux-gnu/ruby-3.1.0
-I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I.
-DHAVE_RUBY_ST_H -DHAVE_RB_STR_REPLACE -DHAVE_RB_BIG_NEW -DHAVE_RB_INTERN_STR
-DHAVE_RB_SYM2STR -DHAVE_RB_STR_INTERN -DHAVE_RB_INTEGER_UNPACK -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -fcf-protection -fPIC -I.. -Wall -O3 -g
-std=c99 -o buffer_class.o -c buffer_class.c
buffer_class.c: In function ‘read_until_eof’:
buffer_class.c:270:17: error: passing argument 3 of ‘rb_rescue2’ from
incompatible pointer type [-Wincompatible-pointer-types]
270 | read_until_eof_error, (VALUE)(void*) args,
| ^~~~~~~~~~~~~~~~~~~~
| |
| VALUE (*)(VALUE) {aka long unsigned int (*)(long
unsigned int)}
In file included from /usr/include/ruby-3.1.0/ruby/ruby.h:40,
from /usr/include/ruby-3.1.0/ruby.h:38,
from compat.h:30,
from buffer_class.c:28:
/usr/include/ruby-3.1.0/ruby/internal/iterator.h:388:63: note: expected ‘VALUE
(*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long
unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned
int (*)(long unsigned int)’}
388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
(*r_proc)(VALUE, VALUE), VALUE data2, ...);
|
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:246: buffer_class.o] Error 1
make[1]: Leaving directory
'/<<PKGBUILDDIR>>/debian/ruby-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/cbor-0.5.9.6/ext/cbor'
/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-cbor/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
/tmp/d20240702-2620549-xdwlls/cbor-0.5.9.6.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 /<<PKGBUILDDIR>>/debian/ruby-cbor
returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
I just uploaded version 0.5.9.8-1 which built fine with GCC 14.
--
Lucas Kanashiro
--- End Message ---