[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097782: marked as done (redland-bindings: ftbfs with GCC-15)



Your message dated Sat, 25 Oct 2025 09:37:42 +0000
with message-id <E1vCaiU-00DwtM-2q@fasolo.debian.org>
and subject line Bug#1097782: fixed in redland-bindings 1.0.17.1+dfsg-7
has caused the Debian Bug report #1097782,
regarding redland-bindings: ftbfs with GCC-15
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 owner@bugs.debian.org
immediately.)


-- 
1097782: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097782
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:redland-bindings
Version: 1.0.17.1+dfsg-6
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
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/redland-bindings_1.0.17.1+dfsg-6_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

[...]
/usr/include/ruby-3.3.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’
   31 | # define RBIMPL_CAST(expr) (expr)
      |                             ^~~~
redland_wrap.c:2059:66: note: in expansion of macro ‘RUBY_METHOD_FUNC’
 2059 |     if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
      |                                                                  ^~~~~~~~~~~~~~~~
/usr/include/ruby-3.3.0/ruby/internal/iterator.h:364:62: note: expected ‘VALUE (*)(VALUE,  VALUE)’ {aka ‘long unsigned int (*)(long unsigned int,  long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’}
  364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2);
      |                                                      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
redland_wrap.c:1974:1: note: ‘SWIG_ruby_failed’ declared here
 1974 | SWIG_ruby_failed(void)
      | ^~~~~~~~~~~~~~~~
redland_wrap.c: In function ‘_wrap_librdf_node_to_string’:
redland_wrap.c:3595:3: warning: ‘librdf_node_to_string’ is deprecated [-Wdeprecated-declarations]
 3595 |   result = (char *)librdf_node_to_string(arg1);
      |   ^~~~~~
In file included from /usr/include/librdf.h:399,
                 from /usr/include/redland.h:30,
                 from redland_wrap.c:1869:
/usr/include/rdf_node.h:171:16: note: declared here
  171 | unsigned char *librdf_node_to_string(librdf_node* node);
      |                ^~~~~~~~~~~~~~~~~~~~~
redland_wrap.c: In function ‘_wrap_librdf_statement_to_string’:
redland_wrap.c:4092:3: warning: ‘librdf_statement_to_string’ is deprecated [-Wdeprecated-declarations]
 4092 |   result = (char *)librdf_statement_to_string(arg1);
      |   ^~~~~~
In file included from /usr/include/librdf.h:401:
/usr/include/rdf_statement.h:115:16: note: declared here
  115 | unsigned char *librdf_statement_to_string(librdf_statement *statement);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
redland_wrap.c: In function ‘_wrap_librdf_parser_guess_name’:
redland_wrap.c:6237:3: warning: ‘librdf_parser_guess_name’ is deprecated [-Wdeprecated-declarations]
 6237 |   result = (char *)librdf_parser_guess_name((char const *)arg1,(char const *)arg2,(char const *)arg3);
      |   ^~~~~~
In file included from /usr/include/librdf.h:404:
/usr/include/rdf_parser.h:111:13: note: declared here
  111 | const char* librdf_parser_guess_name(const char *mime_type, const unsigned char *buffer, const unsigned char *identifier);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
redland_wrap.c: In function ‘_wrap_librdf_query_results_to_file’:
redland_wrap.c:6907:3: warning: ‘librdf_query_results_to_file’ is deprecated [-Wdeprecated-declarations]
 6907 |   result = (int)librdf_query_results_to_file(arg1,(char const *)arg2,arg3,arg4);
      |   ^~~~~~
In file included from /usr/include/librdf.h:408:
/usr/include/rdf_query.h:103:5: note: declared here
  103 | int librdf_query_results_to_file(librdf_query_results *query_results, const char *name, librdf_uri *format_uri, librdf_uri *base_uri);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
redland_wrap.c: In function ‘_wrap_librdf_query_results_to_string’:
redland_wrap.c:7011:3: warning: ‘librdf_query_results_to_string’ is deprecated [-Wdeprecated-declarations]
 7011 |   result = (char *)librdf_query_results_to_string(arg1,arg2,arg3);
      |   ^~~~~~
/usr/include/rdf_query.h:95:16: note: declared here
   95 | unsigned char* librdf_query_results_to_string(librdf_query_results *query_results, librdf_uri *format_uri, librdf_uri *base_uri);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redland_wrap.c: In function ‘_wrap_librdf_stream_get_context’:
redland_wrap.c:7750:3: warning: ‘librdf_stream_get_context’ is deprecated [-Wdeprecated-declarations]
 7750 |   result = (librdf_node *)librdf_stream_get_context(arg1);
      |   ^~~~~~
In file included from /usr/include/librdf.h:407:
/usr/include/rdf_stream.h:98:7: note: declared here
   98 | void* librdf_stream_get_context(librdf_stream* stream);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:780: redland_wrap.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/redland-bindings-1.0.17.1+dfsg/ruby'
make[2]: *** [Makefile:499: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/redland-bindings-1.0.17.1+dfsg/ruby'
dh_auto_build: error: cd ruby && make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:22: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/redland-bindings-1.0.17.1+dfsg'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: redland-bindings
Source-Version: 1.0.17.1+dfsg-7
Done: Adrian Bunk <bunk@debian.org>

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

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated redland-bindings 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 24 Oct 2025 20:17:20 +0300
Source: redland-bindings
Architecture: source
Version: 1.0.17.1+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1097782 1102853
Changes:
 redland-bindings (1.0.17.1+dfsg-7) unstable; urgency=medium
 .
   * QA upload.
   * Build with -std=gnu17 to workaround FTBFS with GCC 15.
     (Closes: #1097782)
   * Add perl-xs-dev to Build-Depends. (Closes: #1102853)
Checksums-Sha1:
 c5c66ce1fe94b40b0c658927e557a78dedd025ce 2084 redland-bindings_1.0.17.1+dfsg-7.dsc
 1a460e3172837038c10eb285d250bec5fd826641 6892 redland-bindings_1.0.17.1+dfsg-7.debian.tar.xz
Checksums-Sha256:
 e4bea2e0c855b8a3bc20bbc0c18ef3d2fe7902cf85e97ea288898b025c58f8bf 2084 redland-bindings_1.0.17.1+dfsg-7.dsc
 272f93110a39dbc2b74d3682b36b3867bb2f1bd55c57a89677ee5bf018151dd7 6892 redland-bindings_1.0.17.1+dfsg-7.debian.tar.xz
Files:
 8d860bce47d5c839006dc21c4c3310f6 2084 devel optional redland-bindings_1.0.17.1+dfsg-7.dsc
 9b1ea1d8adbd27e95e10a3dae8e1957a 6892 devel optional redland-bindings_1.0.17.1+dfsg-7.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmj8k2MACgkQiNJCh6LY
mLFPrQ//QyTSw2J7HymrvBsFFLl4omyB23jIFfx4fWs4aCkRSmWH2AxzcTBWnpST
K6ZGl5n3XUlvezmvmbV4q0uYw/lC42/YU+nWlRFjiH+V4IU7tias4jWn0CHmlXPS
KhHWqmQgwnHIVEOxMdeiUnj3VPL8zzVn6J5GKw2bnjBbNlrq5/8f3FyVvXE193Vw
dbmlzS8HjhnKzvWVZhfpmaBdV3DVcjJAGfxC+eZ+gUAZWaBVwLcCEr/yl89Dl59g
739gKGnBklxrZv2SPt85XnbOZtXdd6jSm3a8bV4WXbJy0C5Wre7uj0vzd1mTyUwg
ubERkW2nu7evN9FizEeMW2OIwx0Lqt0x0WlDMQM26xeWPSxYoh6Ulnepeq8t/fMP
8d/8D4odt7w/fMOFi5OXvhh9O0+V1iJX+65ORm9WFpzJncb6ucTYrhRQZPuRfg5E
pAjPWubcFwJhSKcMb+w4Bir0kGQ98I1t2k3LUWDmBsHhBIaPNnOWjWRSCQhEUYHH
Skd6xAF8S7Q9FBalr2wrJBjMLPzxl09L7g3QOZLYlziGaJ0lFy5xqRi0VgC5UBEy
4/stQhkEEPGmqlh94i2f5WSxYbnhun7y3O3fjUU/sHQp3bgDADl5HLU5gZ++DKAT
wJ6o/QnCdoWNDqZBG4PCitVjKMayyCzIurCs+rHr0YhzRCR59ZE=
=SFR8
-----END PGP SIGNATURE-----

Attachment: pgpj6t9DrrBMV.pgp
Description: PGP signature


--- End Message ---

Reply to: