Your message dated Sun, 14 Sep 2025 15:51:12 +0000
with message-id <[email protected]>
and subject line Bug#1098041: fixed in units 2.24-2
has caused the Debian Bug report #1098041,
regarding units: 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 [email protected]
immediately.)


-- 
1098041: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098041
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:units
Version: 2.24-1
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/units_2.24-1_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

[...]
      |                ^~~~~
parse.tab.c:70:25: note: declared here
   70 | #define yylex           unitslex
      |                         ^~~~~~~~
parse.y:48:5: note: in expansion of macro ‘yylex’
   48 | int yylex();
      |     ^~~~~
parse.y: At top level:
parse.tab.c:70:25: error: conflicting types for ‘unitslex’; have 
‘int(UNITSSTYPE *, struct commtype *)’
   70 | #define yylex           unitslex
      |                         ^~~~~~~~
parse.y:342:5: note: in expansion of macro ‘yylex’
  342 | int yylex(YYSTYPE *lvalp, struct commtype *comm)
      |     ^~~~~
parse.tab.c:70:25: note: previous declaration of ‘unitslex’ with type 
‘int(void)’
   70 | #define yylex           unitslex
      |                         ^~~~~~~~
parse.y:48:5: note: in expansion of macro ‘yylex’
   48 | int yylex();
      |     ^~~~~
parse.y: In function ‘unitslex’:
parse.y:399:7: error: too many arguments to function ‘strchr’; expected 0, have 
2
  399 |   if (strchr(number_start,*inptr)){  /* prevent "nan" from being 
recognized */
      |       ^~~~~~ ~~~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
parse.y:405:22: error: too many arguments to function ‘strchr’; expected 0, 
have 2
  405 |       if (*endloc && strchr(number_start,*endloc))
      |                      ^~~~~~ ~~~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
parse.y:430:34: error: too many arguments to function ‘strchr’; expected 0, 
have 2
  430 |       (length==1 || length==2 && strchr("23456789",inptr[1]))){
      |                                  ^~~~~~ ~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
parse.y:447:7: error: too many arguments to function ‘strchr’; expected 0, have 
2
  447 |   if (strchr(nonunitstart,*inptr)){
      |       ^~~~~~ ~~~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
parse.y:451:7: error: too many arguments to function ‘strchr’; expected 0, have 
2
  451 |   if (strchr(nonunitend, inptr[length-1])){
      |       ^~~~~~ ~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
parse.y:518:7: error: too many arguments to function ‘strchr’; expected 0, have 
2
  518 |   if (strchr("23456789",inptr[length-1]) && !hassubscript(name)) {
      |       ^~~~~~ ~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
parse.y:522:9: error: too many arguments to function ‘strchr’; expected 0, have 
2
  522 |     if (strchr(number_start, name[length-1])){
      |         ^~~~~~ ~~~~~~~~~~~~
units.h:57:12: note: declared here
   57 |      char *strchr();
      |            ^~~~~~
make[1]: *** [Makefile:82: parse.tab.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:82: units.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/units-2.24'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: units
Source-Version: 2.24-2
Done: Stephen Kitt <[email protected]>

We believe that the bug you reported is fixed in the latest version of
units, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated units 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 [email protected])


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

Format: 1.8
Date: Sun, 14 Sep 2025 17:30:38 +0200
Source: units
Architecture: source
Version: 2.24-2
Distribution: unstable
Urgency: medium
Maintainer: Stephen Kitt <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Closes: 1098041
Changes:
 units (2.24-2) unstable; urgency=medium
 .
   * Force C17 to allow building with GCC 15 (which defaults to C23).
     Closes: #1098041.
   * Remove the old FSF address from debian/copyright.
   * Standards-Version 4.7.2, no further change required.
Checksums-Sha1:
 c1ad7ff2cdf89a4ddece983ddcf7b89f1381b500 2061 units_2.24-2.dsc
 a49ac29be2467755cae28d294cd9f7a0b776f0fd 9048 units_2.24-2.debian.tar.xz
 28a45e00f964cb53b570936a06150e324833c94f 7546 units_2.24-2_source.buildinfo
Checksums-Sha256:
 d60b644536b8201d3d8ea43e6a90db43dabd3346c9393938edd035dcd4881f4b 2061 
units_2.24-2.dsc
 74d9c5693fddfa5b340b22221bf94c963ae8cccf0dd4cba43dc7f738f2bc8365 9048 
units_2.24-2.debian.tar.xz
 2a3d135cda51dda8f6e81fe9de92b9fc3aa889c853a7e2422b80a8c1fdfb5967 7546 
units_2.24-2_source.buildinfo
Files:
 b3ead7ac7ba439b0b902c0720ff29d51 2061 utils optional units_2.24-2.dsc
 f1dbc6b287afa0c2b9a84115cfc53af1 9048 utils optional units_2.24-2.debian.tar.xz
 210c44e12018f02ac846ec207d3c40db 7546 utils optional 
units_2.24-2_source.buildinfo

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

iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmjG37MACgkQgNMC9Yht
g5w3QA//e9d8ccxUFrUhqKrdfNied70zyZhiY4ocgzotG2xAZYVivZgDfaK5wBKZ
s7jYfk8fJcGDwKzePcbaYbca7VOeKrHNGmOM1LGip+4vvVkp1xLnuDRbqein97Af
ySOQbFW7XrgzKnzQ8NcO5fAehvSMRF3b8VLs3Smkaj+B9eQLZ+2IqBR4Vba+V6QL
gE4GzIviF22pOoHWr/3w6c/y2MtHaiDNXv4ZN1T6w14PHHtJCcOgB5MqiY01Tnkd
Sv1vsvjAnY3D3wrVgDzlTY8nonept+4Q5iMxQvhTXPqzXfTbWNLBVKTtUn9fqDcT
r5HNthB3btxHsE1b9M3wQJiQvK1hYOdaeU1Aj3BBVCVjR3VBPGZq5+Nn1Vj1wztL
S8Sb0uQHqn8KATwZs1d1QDax52KNbC/bcu7N6eqix72slWi1NjOEYZ7Gkn7TgSQO
EAvYne0M7BcT2XsNmOHUCYpd8k+zSLbKWs7MmkoTXo1okyqLqT63HCJfsq3kL8cC
a4ThKvwdMPvu6hhQJWHOiXngtAjDeHBg8U3DbOjDqCFIXckoyVVwEShGVuMusjIc
vtaNE9naRSBXjIk+jHyEjvX1NVax8PxOW5EiJXiOp9T1ccWZbc/ivESbaoxbYGCF
FW1vHhOgDED2nbvxuhBmVYIW3TcpADgptu9VKPzjjlU2qD7VBm0=
=If40
-----END PGP SIGNATURE-----

Attachment: pgpwcM2fAhmN7.pgp
Description: PGP signature


--- End Message ---

Reply via email to