[From nobody Wed Apr 22 19:35:05 2026
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:49:54 +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.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,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, 58; hammy, 150; neutral, 276; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
 0.000-+--UD:qa-logs.debian.net, 0.000-+--qalogsdebiannet,
 0.000-+--qa-logs.debian.net
Return-path: &lt;doko@paradis.debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:33804)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=muffat.debian.org, EMAIL=hostmaster@muffat.debian.org (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 &lt;doko@paradis.debian.org&gt;)
 id 1tk5Fi-00AhYi-De
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:49:54 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:47096)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (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 &lt;doko@paradis.debian.org&gt;)
 id 1tk5Fh-00GZEi-Um
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:49:53 +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=zlS0ztn479HLqyHE7Kx9lj+MHWxEYo7hGo5dMYzhMJk=; b=Qu
 9tCVwMpatok49Tb8Ku6gfGxyt2L25cIvqiisZ5mjbZVuCUmrthS3VRKrG6KBTy493RoGpqU/ery1D
 rzUkYMJJ7EZn+w5so1MVBqCjXJluwAZmkUv2svamWMHd+k9jJ1QcgxiAy1bEabIV4tWGOKIuHPVsT
 Hi8M2T9yQA7TsAaIb9NRHCvOq/P3KOMusiS+Kh3w87JaaT8UzytYklRwHe/7qlJxUqoRLqFVJLOsd
 fXfEu+NIz1+ojWBHmFrmaCoVBc7Ktp3Fp0qxSXVWgCS60Vz0xndACP73wAOXKc/WMK5zI7v5G29mW
 sRImexQPCV6P7GszA8OoAruvbmj11dyQ==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1tk5Fh-009PX6-6J
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:49:53 +0000
To: maintonly@bugs.debian.org
Subject: rasmol: ftbfs with GCC-15
From: Matthias Klose &lt;doko@debian.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit
Message-Id: &lt;E1tk5Fh-009PX6-6J@paradis.debian.org&gt;
Date: Mon, 17 Feb 2025 17:49:53 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:rasmol
Version: 2.7.6.0-3
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/rasmol_2.7.6.0-3_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/features.h:197:3: warning: #warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot; [-Wcpp]
  197 | # warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot;
      |   ^~~~~~~
outfile.c: In function ‘WriteR3DFile’:
outfile.c:3003:47: warning: ‘%s’ directive writing up to 79 bytes into a region of size 22 [-Wformat-overflow=]
 3003 |                         sprintf((char *)name,&quot;%s&quot;,buffer);
      |                                               ^~  ~~~~~~
In file included from /usr/include/stdio.h:970,
                 from outfile.c:191:
In function ‘sprintf’,
    inlined from ‘WriteR3DLabels’ at outfile.c:3003:4,
    inlined from ‘WriteR3DFile’ at outfile.c:4269:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 1 and 80 bytes into a destination of size 22
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -g -O2 -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rasmol-2.7.6.0/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection        -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -Wno-deprecated-declarations -DGTKWIN -DGTK3 -DRASMOLDIR=\&quot;/usr/share/rasmol/\&quot; -DTHIRTYTWOBIT            -D_USE_RASMOL_H_  -I/usr/include/cbflib -I/usr/include/cbf -I/usr/include/hdf5/serial            -I/usr/include           -I/usr/include           -I/usr/include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o script.o script.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h:11,
                 from rasmol.h:134,
                 from script.c:164:
/usr/include/features.h:197:3: warning: #warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot; [-Wcpp]
  197 | # warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot;
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rasmol-2.7.6.0/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection        -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -Wno-deprecated-declarations -DGTKWIN -DGTK3 -DRASMOLDIR=\&quot;/usr/share/rasmol/\&quot; -DTHIRTYTWOBIT            -D_USE_RASMOL_H_  -I/usr/include/cbflib -I/usr/include/cbf -I/usr/include/hdf5/serial            -I/usr/include           -I/usr/include           -I/usr/include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o infile.o infile.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h:11,
                 from rasmol.h:134,
                 from infile.c:196:
/usr/include/features.h:197:3: warning: #warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot; [-Wcpp]
  197 | # warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot;
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rasmol-2.7.6.0/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection        -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -Wno-deprecated-declarations -DGTKWIN -DGTK3 -DRASMOLDIR=\&quot;/usr/share/rasmol/\&quot; -DTHIRTYTWOBIT            -D_USE_RASMOL_H_  -I/usr/include/cbflib -I/usr/include/cbf -I/usr/include/hdf5/serial            -I/usr/include           -I/usr/include           -I/usr/include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tokens.o tokens.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from tokens.c:194:
/usr/include/features.h:197:3: warning: #warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot; [-Wcpp]
  197 | # warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot;
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rasmol-2.7.6.0/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection        -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -I/usr/include/vte-2.91 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -Wno-deprecated-declarations -DGTKWIN -DGTK3 -DRASMOLDIR=\&quot;/usr/share/rasmol/\&quot; -DTHIRTYTWOBIT            -D_USE_RASMOL_H_  -I/usr/include/cbflib -I/usr/include/cbf -I/usr/include/hdf5/serial            -I/usr/include           -I/usr/include           -I/usr/include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o cif_fract.o cif_fract.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h:11,
                 from rasmol.h:134,
                 from cif_fract.c:197:
/usr/include/features.h:197:3: warning: #warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot; [-Wcpp]
  197 | # warning &quot;_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE&quot;
      |   ^~~~~~~
cif_fract.c: In function ‘invxfrm’:
cif_fract.c:358:19: error: conflicting types for ‘det’; have ‘double(void)’
  358 |     extern double det();
      |                   ^~~
cif_fract.c:334:8: note: previous definition of ‘det’ with type ‘double(double (*)[3])’
  334 | double det(double __far mat[3][3])
      |        ^~~
cif_fract.c:375:12: error: too many arguments to function ‘det’; expected 0, have 1
  375 |     xdet = det(mato2f);
      |            ^~~ ~~~~~~
cif_fract.c:358:19: note: declared here
  358 |     extern double det();
      |                   ^~~
make[1]: *** [&lt;builtin&gt;: cif_fract.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/rasmol-2.7.6.0/src'
make: *** [debian/rules:15: src/rasmol-gtk] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]