Your message dated Sat, 27 Jul 2024 01:51:48 +0000
with message-id <e1sxwb6-007818...@fasolo.debian.org>
and subject line Bug#1075481: fixed in ruby-tokyocabinet 1.31-7
has caused the Debian Bug report #1075481,
regarding ruby-tokyocabinet: 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 ow...@bugs.debian.org
immediately.)


-- 
1075481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075481
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ruby-tokyocabinet
Version: 1.31-6
Severity: important
Tags: sid trixie
User: debian-...@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-tokyocabinet_1.31-6_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

[...]
tokyocabinet.c: In function ‘tdbqry_init’:
/usr/include/ruby-3.1.0/ruby/internal/anyargs.h:287:135: error: passing 
argument 3 of ‘rb_define_method_00’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  287 | #define rb_define_method(klass, mid, func, arity)           
RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), 
(func), (arity))
      |                                                                         
                                                              ^~~~~~
      |                                                                         
                                                              |
      |                                                                         
                                                              VALUE (*)(VALUE,  
VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}
tokyocabinet.c:3167:3: note: in expansion of macro ‘rb_define_method’
 3167 |   rb_define_method(cls_tdbqry, "proc", tdbqry_proc, 0);
      |   ^~~~~~~~~~~~~~~~
/usr/include/ruby-3.1.0/ruby/internal/anyargs.h:276:21: note: expected ‘VALUE 
(*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of 
type ‘VALUE (*)(VALUE,  VALUE)’ {aka ‘long unsigned int (*)(long unsigned int,  
long unsigned int)’}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/usr/include/ruby-3.1.0/ruby/internal/anyargs.h:254:41: note: in definition of 
macro ‘RBIMPL_ANYARGS_DECL’
  254 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, 
VALUE(*)(VALUE), int); \
      |                                         ^~~
make[1]: *** [Makefile:246: tokyocabinet.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
~~~~~~~~~~~~~~~~~~~~~ ↓ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
have_header: checking for tcutil.h... -------------------- yes

LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest 
-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. 
-Wdate-time -D_FORTIFY_SOURCE=2   -I. -I/usr/local/include -Wall -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=BUILDDIR=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -O2 conftest.c  -L. 
-L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now 
-fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -L. 
-L/usr/local/lib     -ltokyocabinet -lz -lbz2 -lpthread -lm -lc -lruby-3.1  -lm 
 -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc 
-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. 
-Wdate-time -D_FORTIFY_SOURCE=2   -I. -I/usr/local/include -Wall -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=BUILDDIR=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -O2   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <tcutil.h>
/* 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-tokyocabinet (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-tokyocabinet 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 ---
Source: ruby-tokyocabinet
Source-Version: 1.31-7
Done: Jérôme Charaoui <jer...@riseup.net>

We believe that the bug you reported is fixed in the latest version of
ruby-tokyocabinet, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1075...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérôme Charaoui <jer...@riseup.net> (supplier of updated ruby-tokyocabinet 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 26 Jul 2024 21:11:06 -0400
Source: ruby-tokyocabinet
Architecture: source
Version: 1.31-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Jérôme Charaoui <jer...@riseup.net>
Closes: 1075481
Changes:
 ruby-tokyocabinet (1.31-7) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster (oldstable)
 .
   [ Jérôme Charaoui ]
   * d/control: drop obsolete X?-Ruby-Versions
   * d/control: use ${ruby:Depends} substvar
   * d/patches: add patch to fix ftbfs with gcc-14 (Closes: #1075481)
Checksums-Sha1:
 b6a6784b5ba64a43d239ee84cd91bb3a56739e3d 1565 ruby-tokyocabinet_1.31-7.dsc
 2edfab0f4409f0bb68d197bf5a6e71f32447ce50 4980 
ruby-tokyocabinet_1.31-7.debian.tar.xz
 d2d5c363dd425125c3feedc7c2098deed5e3c35e 9031 
ruby-tokyocabinet_1.31-7_amd64.buildinfo
Checksums-Sha256:
 3180f1e5ed5ee5389a534911962aa0480b541741841f6cf0276cea16c8b6d80f 1565 
ruby-tokyocabinet_1.31-7.dsc
 baf9554f3230213b163ffce55f22440ca6b3e61f80369d5d19b98ffc57145be4 4980 
ruby-tokyocabinet_1.31-7.debian.tar.xz
 0d446ef1494722c031e35d0c7a0ba56a6369c42ba074539c0d9bb30a631ba2be 9031 
ruby-tokyocabinet_1.31-7_amd64.buildinfo
Files:
 6aa21152747f4d2ae7c7775abe988b4d 1565 ruby optional 
ruby-tokyocabinet_1.31-7.dsc
 f2909c90c7076cf53e7862f346950e57 4980 ruby optional 
ruby-tokyocabinet_1.31-7.debian.tar.xz
 4e17539d74d817daa0ac6e8e603ba79c 9031 ruby optional 
ruby-tokyocabinet_1.31-7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQTAq04Rv2xblqv/eu5pxS9ljpiFQgUCZqRM1wAKCRBpxS9ljpiF
QgWvAP94hMX7ISerImX81D22YEYWzV6GeG8Lo2cIUpS+yCP3uwEAhRO60/5axzbK
96KVDSZzRPoSesrm0VDNKFR1p7UUlAw=
=RFCF
-----END PGP SIGNATURE-----

Attachment: pgpsGGKaRGU0g.pgp
Description: PGP signature


--- End Message ---

Reply via email to