Your message dated Wed, 28 Dec 2022 16:37:17 +0000
with message-id <e1pazqb-000drl...@fasolo.debian.org>
and subject line Bug#1015322: fixed in ruby-kyotocabinet 1.34-1
has caused the Debian Bug report #1015322,
regarding ruby-kyotocabinet: FTBFS: kccommon.h:19:8: error: expected identifier 
or ‘(’ before string constant
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.)


-- 
1015322: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015322
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-kyotocabinet
Version: 1.34-0.1+rebuild1658134192
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-kyotocabinet with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> current directory: /<<PKGBUILDDIR>>
> ["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", 
> "./siteconf20220718-1652283-7agkrf.rb", "extconf.rb"]
> setting variables ...
>   $CFLAGS = -I.  -Wall -g -O2 
> -ffile-prefix-map=/build/ruby3.1-qIoNYd/ruby3.1-3.1.2=. 
> -fstack-protector-strong -Wformat -Werror=format-security -fPIC -O2
>   $LDFLAGS = -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic 
> -Wl,-export-dynamic -Wl,--no-as-needed -L. 
>   $libs =  -lkyotocabinet
> checking for kccommon.h... no
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers.  Check the mkmf.log file for more details.  You may
> need configuration options.
> 
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>       --ruby=/usr/bin/$(RUBY_BASE_NAME)3.1
>       --with-kyotocabinet-dir
>       --without-kyotocabinet-dir
>       --with-kyotocabinet-include
>       --without-kyotocabinet-include=${kyotocabinet-dir}/include
>       --with-kyotocabinet-lib
>       --without-kyotocabinet-lib=${kyotocabinet-dir}/lib
>       --with-kccommon-dir
>       --without-kccommon-dir
>       --with-kccommon-include
>       --without-kccommon-include=${kccommon-dir}/include
>       --with-kccommon-lib
>       --without-kccommon-lib=${kccommon-dir}/lib
> ~~~~~~~~~~~~~~~~~~~~~ ↓ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
> have_header: checking for kccommon.h... -------------------- no
> 
> 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.  -Wall -g -O2 
> -ffile-prefix-map=/build/ruby3.1-qIoNYd/ruby3.1-3.1.2=. 
> -fstack-protector-strong -Wformat -Werror=format-security -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. 
>      -lkyotocabinet -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.  -Wall -g -O2 
> -ffile-prefix-map=/build/ruby3.1-qIoNYd/ruby3.1-3.1.2=. 
> -fstack-protector-strong -Wformat -Werror=format-security -fPIC -O2   -c 
> conftest.c"
> In file included from conftest.c:3:
> /usr/include/kccommon.h:19:8: error: expected identifier or ‘(’ before string 
> constant
>    19 | extern "C" {
>       |        ^~~
> /usr/include/kccommon.h:25:10: fatal error: cassert: No such file or directory
>    25 | #include <cassert>
>       |          ^~~~~~~~~
> compilation terminated.
> checked program was:
> /* begin */
> 1: #include "ruby.h"
> 2: 
> 3: #include <kccommon.h>
> /* end */
> 
> --------------------
> 
> /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run': extconf 
> failed, exit code 1 (Gem::InstallError)
>       from /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in 
> `block in build'
>       from /usr/lib/ruby/3.1.0/tempfile.rb:317:in `open'
>       from /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26: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:54:in `run': /usr/bin/ruby3.1 
> /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>> 
> debian/ruby-kyotocabinet (Gem2Deb::CommandFailed)
>       from /usr/lib/ruby/vendor_ruby/gem2deb.rb:65:in `run_ruby'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54:in `block in 
> install_files_and_build_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:51:in `each'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:51:in 
> `install_files_and_build_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:28:in `install'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:86:in `block in 
> install'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `each'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `install'
>       from /usr/bin/dh_ruby:89:in `<main>'
> dh_auto_install: error: dh_ruby --install 
> /<<PKGBUILDDIR>>/debian/ruby-kyotocabinet returned exit code 1
> make: *** [debian/rules:15: binary] Error 25


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/ruby-kyotocabinet_1.34-0.1+rebuild1658134192_amd64.log

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2 (in 
experimental).
If you fail to reproduce, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-kyotocabinet
Source-Version: 1.34-1
Done: Nilesh Patra <nil...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-kyotocabinet, 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 1015...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <nil...@debian.org> (supplier of updated ruby-kyotocabinet 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: Wed, 28 Dec 2022 19:42:20 +0530
Source: ruby-kyotocabinet
Architecture: source
Version: 1.34-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Nilesh Patra <nil...@debian.org>
Closes: 1015322
Changes:
 ruby-kyotocabinet (1.34-1) unstable; urgency=medium
 .
   * Team Upload.
   * Bump debhelper-compat to 13
   * Bump Standards-Version to 4.6.2 (no changes needed)
   * Add patch to fix FTBFS with ruby3.1 (Closes: #1015322)
Checksums-Sha1:
 b331b1040a7f4a909766b991cc6abfd699e2a431 1487 ruby-kyotocabinet_1.34-1.dsc
 f20e160bee9217cd93d463a5ec3641268de42168 5116 
ruby-kyotocabinet_1.34-1.debian.tar.xz
 7c6941b745097f76663bc944933a314585856e31 9122 
ruby-kyotocabinet_1.34-1_amd64.buildinfo
Checksums-Sha256:
 831a5f62c3a72ea023a1e037ce211daaf912cf7f9273c601dd248fe76253b8eb 1487 
ruby-kyotocabinet_1.34-1.dsc
 284e36f6ff58179f981e79d87714e156914c6e0ad194d25f77bd30813aeb1da3 5116 
ruby-kyotocabinet_1.34-1.debian.tar.xz
 e30dd8f104531eb84847e1578fbed13b2f7dbd88d455fed616e6214d12c77b9f 9122 
ruby-kyotocabinet_1.34-1_amd64.buildinfo
Files:
 bd4626b5cc64958c19fd0f8cfc0d2a93 1487 ruby optional 
ruby-kyotocabinet_1.34-1.dsc
 9b4a8ee6379c36b7a63e69a67c777fd4 5116 ruby optional 
ruby-kyotocabinet_1.34-1.debian.tar.xz
 9e94f159bdfdb84ee9b347fbe396a646 9122 ruby optional 
ruby-kyotocabinet_1.34-1_amd64.buildinfo

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

iHUEARYIAB0WIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCY6xu8gAKCRAqJ5BL1yQ+
2vd6AP419OmS0HcnmDUNnkEv2cIBZXBGMHKDgqkBCIxQqSGKQwEAyLY5Rlja4YTp
ec5KU3/evQDS9SVMTadBMKh3IcMc9wg=
=2Xaa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to