Your message dated Mon, 29 Sep 2025 18:51:30 +0000
with message-id <[email protected]>
and subject line Bug#1097313: fixed in lookup 1.08b-15
has caused the Debian Bug report #1097313,
regarding lookup: 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.)


-- 
1097313: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097313
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:lookup
Version: 1.08b-14
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/lookup_1.08b-14_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

[...]
dh_clean
 debian/rules binary
dh_testdir
# Add here commands to compile the package.
dh_auto_build CFLAGS="-Wall -g -DUSE_VSNPRINTF -O3"
        make -j8
make[1]: Entering directory '/build/reproducible-path/lookup-1.08b'
gcc -c -o virtfile.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/virtfile.c
gcc -c -o euc.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/euc.c
gcc -c -o fuzzkana.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/fuzzkana.c
/bin/rm -f lib/system.h
gcc -c -o input.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/input.c
gcc -c -o jregex.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/jregex.c
gcc -c -o kanaid.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/kanaid.c
gcc -c -o output.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/output.c
echo '/* this file generated by Makefile */'      > tmp;
echo '#ifndef __SYSTEM_H__ /*file wrapper*/'    >> tmp;
echo '#define __SYSTEM_H__'                     >> tmp;
if echo '#include <strings.h>' | gcc -E - >/dev/null 2>&1; then\
        echo '#define _HAVE_STRINGS_H_'          >> tmp; \
else true; fi
lib/virtfile.c: In function ‘LoadPage’:
lib/virtfile.c:126:27: warning: passing argument 2 of ‘read’ discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
  126 |      if (i = read(v->fd, p->text, PAGE_SIZE), i < 0)
      |                          ~^~~~~~
In file included from lib/config.h:6,
                 from lib/virtfile.c:15:
/usr/include/unistd.h:371:38: note: expected ‘void *’ but argument is of type 
‘const unsigned char *’
  371 | extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur
      |                                ~~~~~~^~~~~
if echo '#include <sys/termio.h>' | gcc -E - >/dev/null 2>&1; then\
        echo '#define _HAVE_SYS_TERMIO_H_'       >> tmp; \
else true; fi
if echo '#include <termio.h>' | gcc -E - >/dev/null 2>&1; then\
        echo '#define _HAVE_TERMIO_H_'       >> tmp; \
else true; fi
gcc -c -o replace.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/replace.c
gcc -c -o romaji2kana.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ 
lib/romaji2kana.c
gcc -c -o strsave.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/strsave.c
if echo '#include <sys/stdtypes.h>' | gcc -E - >/dev/null 2>&1; then\
        echo '#define _HAVE_SYS_STDTYPES_H_'     >> tmp; \
else true; fi
gcc -c -o xmalloc.o   -g     
-ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. -Ilib/ lib/xmalloc.c
if echo '#include <sys/fcntl.h>' | gcc -E - >/dev/null 2>&1; then\
        echo '#define _HAVE_SYS_FCNTL_H_'        >> tmp; \
else true; fi
gcc   -g     -ffile-prefix-map=/build/reproducible-path/lookup-1.08b=. 
-Wdate-time -D_FORTIFY_SOURCE=2  -c -o eval.o eval.c
if echo '#include <fcntl.h>' | gcc -E - >/dev/null 2>&1; then\
        echo '#define _HAVE_FCNTL_H_'            >> tmp; \
else true; fi
eval.c:51:22: error: expected identifier or ‘(’ before ‘true’
   51 | static unsigned long true = 1;
      |                      ^~~~
eval.c:52:22: error: expected identifier or ‘(’ before ‘false’
   52 | static unsigned long false = 0;
      |                      ^~~~~
eval.c:69:38: error: lvalue required as unary ‘&’ operand
   69 |   { NAME("true"),     UNSIGNED_LONG, &true },
      |                                      ^
eval.c:70:38: error: lvalue required as unary ‘&’ operand
   70 |   { NAME("false"),    UNSIGNED_LONG, &false },
      |                                      ^
make[1]: *** [<builtin>: eval.o] Error 1
make[1]: *** Waiting for unfinished jobs....
echo '#endif /* file wrapper */'                >> tmp;
mv tmp lib/system.h
make[1]: Leaving directory '/build/reproducible-path/lookup-1.08b'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:27: build-stamp] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: lookup
Source-Version: 1.08b-15
Done: Ludovic Drolez <[email protected]>

We believe that the bug you reported is fixed in the latest version of
lookup, 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.
Ludovic Drolez <[email protected]> (supplier of updated lookup 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: SHA256

Format: 1.8
Date: Sun, 28 Sep 2025 12:12:00 +0200
Source: lookup
Architecture: source
Version: 1.08b-15
Distribution: unstable
Urgency: medium
Maintainer: Ludovic Drolez <[email protected]>
Changed-By: Ludovic Drolez <[email protected]>
Closes: 1097313
Changes:
 lookup (1.08b-15) unstable; urgency=medium
 .
   * Fix FTBFS with GCC 15:
     - Avoid naming clashes with C boolean keywords by
       renaming local variables 'true'/'false' to
       'eval_true_value'/'eval_false_value' and updating the
       symbol table. (add patch: gcc15-true-false.patch). Closes: #1097313
     - Silence const warning in lib/virtfile.c by casting the
       read(2) buffer to void*. (add patch: read-const-cast.patch)
Checksums-Sha1:
 c5e6540a535ee62b45cfb5341c1a76e871bb784a 1344 lookup_1.08b-15.dsc
 b1c66409a43d11a5872fe259bed2e1fddb4032ae 10852 lookup_1.08b-15.debian.tar.xz
 cadf2fd2062072bc348a85d8bb726587aaca014f 5391 lookup_1.08b-15_amd64.buildinfo
Checksums-Sha256:
 22f8a728c60cf39e7de42eb480c6e264346f5f0c361574116d25f961f963a656 1344 
lookup_1.08b-15.dsc
 cfa1c4def768f1be31ef715d0b117d3bb27400f8af91a525201ad9ef969e7a37 10852 
lookup_1.08b-15.debian.tar.xz
 2bdb41e041e56b36f0566ecd46fa3c6132243b62baa76fcb1d6e184cadc89e02 5391 
lookup_1.08b-15_amd64.buildinfo
Files:
 6d7aa85f8343f729bdadc406710b4193 1344 text optional lookup_1.08b-15.dsc
 bf94c7be2f7c9173e7259cae3396470c 10852 text optional 
lookup_1.08b-15.debian.tar.xz
 a5c6dd33ed12da6d7feb802247ce768c 5391 text optional 
lookup_1.08b-15_amd64.buildinfo

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

iQFHBAEBCAAxFiEEKrWNbKjxjlSqtxlZi3UoEkf5wXwFAmjaz78THGxkcm9sZXpA
ZGViaWFuLm9yZwAKCRCLdSgSR/nBfOsbB/4swcDwq/F+70AHowAOEkiTnIaPIAct
0g/XB87FCqCi+ywNKw9utgUrtEVv/EMBaM4NSjb2gI9P+JMI0BzaAzc+OVg65vW3
e5Qyvu5H7Ev50wszz5VP131EJ+gGiiK+WKs4KlcXPeRDERVCkPIR6hgpDqAXfvUg
0ZOV3xWpJf8ae9xTzzNrOVE5rQyoJFWNGvht8SKSSilQbgWXvfPKvv23jBBhMs5n
0LdJ9FFj9XlZFeBOLGnGR4JoPy5Mi9DEfvXz56bK2zdKoZ16/dT602O8wSaopbRm
fURoD56SLn4qKxM2iUir4orpZkhl7C4AMGIn0Zz9xhmJzTN6GQlvkg+3
=3Mfs
-----END PGP SIGNATURE-----

Attachment: pgpKVcXBYt_DN.pgp
Description: PGP signature


--- End Message ---

Reply via email to