Debian Bug report logs - #1097647
prime-phylo: ftbfs with GCC-15

version graph

Package: src:prime-phylo; Maintainer for src:prime-phylo is Debian Med Packaging Team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:48:40 UTC

Severity: important

Tags: forky, sid

Found in version prime-phylo/1.0.11-13

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1097647: prime-phylo: ftbfs with GCC-15
Reply-To: Matthias Klose <[email protected]>, [email protected]
Resent-From: Matthias Klose <[email protected]>
Resent-To: Debian Med Packaging Team <[email protected]>
Resent-Date: Mon, 17 Feb 2025 17:48:40 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Loop: [email protected]
X-Debian-PR-Message: report 1097647
X-Debian-PR-Package: src:prime-phylo
X-Debian-PR-Keywords: forky sid
X-Debian-PR-Source: prime-phylo
Received: via spool by [email protected] id=M.17398143532543561
          (code M); Mon, 17 Feb 2025 17:48:40 +0000
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:45:53 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
	HAS_PACKAGE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
	autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 24; hammy, 150; neutral, 242; spammy,
	0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
	0.000-+--qa-logs.debian.net, 0.000-+--UD:qa-logs.debian.net,
	0.000-+--qalogsdebiannet
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:35198)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=muffat.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk5Bp-00Afgz-4r
	for [email protected]; Mon, 17 Feb 2025 17:45:53 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:44508)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,[email protected] (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk5Bo-00GYpq-Ma
	for [email protected]; Mon, 17 Feb 2025 17:45:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:
	MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
	In-Reply-To:References; bh=AJqEPfCn0JKtMDwXx4X4GwbwJljMqtyDAas4mEnQYxw=; b=d9
	msewhgj8Pch95bncU7Sb3AOAzz/yWqUpxOtpdhVbCEvPlsN809IC489vL2yWosHF/MT5Skkk7nIMD
	+WsLwhRi5+kQ7fdakSg61v9fW9Byf8HK2pf23Cnlw8SeWrwJyhGFmVrn5hYUGAEuQJU6jiq3SBtWi
	h7nvi8sHXVrbK76SWNZASMGtv+XTA9USy5bYbzuBqb6RWaAIsA9wSpsrjTwEt6FgYR/cILUXVpzMK
	KszegeUgMtECsgg15YdwvpIDmcglkdqvrt3s0/WunjDodyxP1DDGj1GJk/5zqQwkj0/UxzWuA/h88
	Zn2cZsJXyLgMwR3/Ay9MQOY5+nf966Vg==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk5Bn-009Op1-VE
	for [email protected]; Mon, 17 Feb 2025 17:45:51 +0000
To: [email protected]
From: Matthias Klose <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
Date: Mon, 17 Feb 2025 17:45:51 +0000
Delivered-To: [email protected]
Package: src:prime-phylo
Version: 1.0.11-13
Severity: important
Tags: sid forky
User: [email protected]
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/prime-phylo_1.0.11-13_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

[...]
      | ^~~~~~~~~~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c: In function ‘seq_set_definition’:
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:327:1: warning: old-style function definition [-Wold-style-definition]
  327 | seq_set_definition(e, s)
      | ^~~~~~~~~~~~~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c: In function ‘seq_set_accession’:
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:352:1: warning: old-style function definition [-Wold-style-definition]
  352 | seq_set_accession(e, s)
      | ^~~~~~~~~~~~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c: In function ‘seq_free_comments’:
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:369:1: warning: old-style function definition [-Wold-style-definition]
  369 | seq_free_comments(c)
      | ^~~~~~~~~~~~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c: In function ‘seq_free’:
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:383:1: warning: old-style function definition [-Wold-style-definition]
  383 | seq_free(entries)
      | ^~~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/sfile/gb.tab.c: In function ‘yyparse’:
/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/sfile/gb.tab.c:1391:7: error: too many arguments to function ‘yyerror’; expected 0, have 1
 1391 |       yyerror (YY_("syntax error"));
      |       ^~~~~~~
gb.y:28:12: note: declared here
/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/sfile/gb.tab.c:1502:3: error: too many arguments to function ‘yyerror’; expected 0, have 1
 1502 |   yyerror (YY_("memory exhausted"));
      |   ^~~~~~~
gb.y:28:12: note: declared here
gb.y: At top level:
gb.y:291:1: error: conflicting types for ‘yyerror’; have ‘int(char *)’
gb.y:28:12: note: previous declaration of ‘yyerror’ with type ‘int(void)’
gb.y:310:1: error: conflicting types for ‘new_entry’; have ‘struct entry *(char *, struct string_part *)’
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/entry.h:151:21: note: previous declaration of ‘new_entry’ with type ‘struct entry *(void)’
  151 | struct entry       *new_entry();
      |                     ^~~~~~~~~
gb.y: In function ‘add_to_seq’:
gb.y:399:1: warning: old-style function definition [-Wold-style-definition]
gb.y:403:9: warning: unused variable ‘new_buf’ [-Wunused-variable]
gb.y: At top level:
gb.y:28:12: warning: ‘yyerror’ used but never defined
make[3]: *** [src/cxx/libraries/sfile/CMakeFiles/prime-phylo-sfile.dir/build.make:136: src/cxx/libraries/sfile/CMakeFiles/prime-phylo-sfile.dir/gb.tab.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
seqreader.l: In function ‘seq_read’:
seqreader.l:270:9: warning: unused variable ‘code’ [-Wunused-variable]
/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/sfile/lexer.c: At top level:
/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/sfile/lexer.c:1864:16: warning: ‘input’ defined but not used [-Wunused-function]
 1864 |     static int input  (void)
      |                ^~~~~
/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/sfile/lexer.c:1821:17: warning: ‘yyunput’ defined but not used [-Wunused-function]
 1821 |     static void yyunput (int c, char * yy_bp )
      |                 ^~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c: In function ‘seq_add_comment’:
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:303:20: warning: array subscript ‘struct comment[0]’ is partly outside array bounds of ‘unsigned char[8]’ [-Warray-bounds=]
  303 |                 tmp->text = strdup(s);
      |                    ^~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:301:38: note: object of size 8 allocated by ‘malloc’
  301 |             tmp = (struct comment *) malloc(sizeof(struct comment *));
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:304:20: warning: array subscript ‘struct comment[0]’ is partly outside array bounds of ‘unsigned char[8]’ [-Warray-bounds=]
  304 |                 tmp->next = NULL;
      |                    ^~
/build/reproducible-path/prime-phylo-1.0.11/src/cxx/libraries/sfile/sfile.c:301:38: note: object of size 8 allocated by ‘malloc’
  301 |             tmp = (struct comment *) malloc(sizeof(struct comment *));
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:413: src/cxx/libraries/sfile/CMakeFiles/prime-phylo-sfile.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/prime-phylo-1.0.11/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 14:16:29 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.