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

Bug#1097625: marked as done (pnm2ppa: ftbfs with GCC-15)



Your message dated Sun, 14 Sep 2025 11:44:21 +0000
with message-id <E1uxl9Z-006W2H-0o@fasolo.debian.org>
and subject line Bug#1097625: fixed in pnm2ppa 1.13-14
has caused the Debian Bug report #1097625,
regarding pnm2ppa: 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.)


-- 
1097625: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097625
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:pnm2ppa
Version: 1.13-13
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/pnm2ppa_1.13-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

[...]
../ppa.c:478:40: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  478 |                     if (compressed_len > final_len)
      |                                        ^
../ppa.c:485:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  485 |     if (compressed_len > final_len)
      |                        ^
make[3]: *** [Makefile:627: dither.o] Error 1
../cutswath.c: In function ‘read_black_image’:
../cutswath.c:780:34: warning: variable ‘after_color’ set but not used [-Wunused-but-set-variable]
  780 |   BOOLEAN  got_nonblank = false, after_color = false, ignore_color = false;
      |                                  ^~~~~~~~~~~
../cutswath.c: In function ‘r2l_black_sweep’:
../cutswath.c:1080:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 1080 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
../ppa.c: In function ‘ppa_print_sweep’:
../ppa.c:670:10: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  670 |        i < nozzle_data_size; i++, pc += 16) {
      |          ^
../cutswath.c: In function ‘l2r_black_sweep’:
../cutswath.c:1219:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 1219 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
make[3]: *** [Makefile:627: ppa.o] Error 1
../cutswath.c: In function ‘l2r_color_sweep’:
../cutswath.c:1931:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 1931 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
../cutswath.c: In function ‘r2l_color_sweep’:
../cutswath.c:2154:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 2154 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
In file included from ../pnm2ppa.c:34:
../global.h:30:3: error: cannot use keyword ‘false’ as enumeration constant
   30 | { false = 0, true = 1 }
      |   ^~~~~
../global.h:30:3: note: ‘false’ is a keyword with ‘-std=c23’ onwards
In file included from ../gamma.c:26:
../global.h:30:3: error: cannot use keyword ‘false’ as enumeration constant
   30 | { false = 0, true = 1 }
      |   ^~~~~
../global.h:30:3: note: ‘false’ is a keyword with ‘-std=c23’ onwards
In file included from ../image.c:29:
../global.h:30:3: error: cannot use keyword ‘false’ as enumeration constant
   30 | { false = 0, true = 1 }
      |   ^~~~~
../global.h:30:3: note: ‘false’ is a keyword with ‘-std=c23’ onwards
../pnm2ppa.c: In function ‘print_pnm’:
../pnm2ppa.c:120:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  120 |             fgets (line, 1024, fptr);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
../image.c: In function ‘remallocBuffer’:
../image.c:280:60: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  280 |     if (image->bufpos + image->buflines * linesize + bytes < image->bufsize)
      |                                                            ^
../image.c:294:64: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  294 |         if (image->bufpos + image->buflines * linesize + bytes < image->bufsize)
      |                                                                ^
make[3]: *** [Makefile:627: gamma.o] Error 1
make[3]: *** [Makefile:627: cutswath.o] Error 1
make[3]: *** [Makefile:627: pnm2ppa.o] Error 1
make[3]: *** [Makefile:627: image.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/pnm2ppa-1.13/build'
make[2]: *** [Makefile:705: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/pnm2ppa-1.13/build'
make[1]: *** [Makefile:495: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/pnm2ppa-1.13/build'
dh_auto_build: error: cd build && make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: pnm2ppa
Source-Version: 1.13-14
Done: Thorsten Alteholz <debian@alteholz.de>

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

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated pnm2ppa 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: Sun, 14 Sep 2025 10:35:51 +0200
Source: pnm2ppa
Architecture: source
Version: 1.13-14
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1097625 1101122
Changes:
 pnm2ppa (1.13-14) unstable; urgency=medium
 .
   * add 0006-gcc15.patch (Closes: #1097625)
   * add debconf translation INTL:ca (Closes: #1101122)
     (Thanks a lot to Carles Pina i Estany)
Checksums-Sha1:
 790bd6a0688ecce1aeffb4523278bcab75ac96cf 2073 pnm2ppa_1.13-14.dsc
 b8b132b8d2ac47a8ebd61c1db1f65cf673ad378e 29796 pnm2ppa_1.13-14.debian.tar.xz
 adbe3f561d5de87fdf3292ddacbf913db1eea45e 6235 pnm2ppa_1.13-14_amd64.buildinfo
Checksums-Sha256:
 c723c0790d78ef61ffa91242d4d6460a3eeaf14ac871f829b60fbb35cd6c1393 2073 pnm2ppa_1.13-14.dsc
 9cca92f2e1f26730f9a47469854c678b41fe0dccbf8ed055ffce9146596fb7af 29796 pnm2ppa_1.13-14.debian.tar.xz
 abdfbc367a9812bc802cf12cc3abdb70311a0277d7de3cb6c51f96abcdec2b05 6235 pnm2ppa_1.13-14_amd64.buildinfo
Files:
 f01022c22084ce8a52767de19aa27e38 2073 text optional pnm2ppa_1.13-14.dsc
 34f90507056cd4ab70c42a09b3cf688d 29796 text optional pnm2ppa_1.13-14.debian.tar.xz
 ee283b0ccbefd43dc907621ed1a87170 6235 text optional pnm2ppa_1.13-14_amd64.buildinfo

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

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmjGgvJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYRwZqEAC5V4I9CGi2x8m7dehTFrX2VXdPe3Xp
jli6attzC6SPr8T2SoBl15d/n/xDtDv/cn2JdFyYDlf0nSQ9UF6vHHP+PX7gx8+S
0+FQrTW5ROL/cZDKjxBXn9JuZLKrN2FvxOsyx0ybUfDMI8FmgQvM417TIXxuBsfg
llPLH5ROcD4837p9IfRjOJB1nPd6DNouVM0HPFSdGVVV+DU1dZUBtUiGS0N1qc3/
RRsfH1OVM8KIx2tU54+0GYt4xbJZaOawn8dgNfQ7LXxIcRGWrPUh7iMxNwJtF0eK
VNwlrSGqUUfhDsGjDCHQDKv/QKMkdrQsNcJq7NfjZ3ofwVNjnMGrK0gPc2Y//G8C
d6k69TnnM2wRvlAMd8TRDSW/ngC9rHv3utaPGqI/6l+ahvZNAimWlic6DtLilcJI
CuCBF99k0J9aBsiqMMBziiOnE9fesYDq0VCnLcEdjXjhc+t+Vl5A+xjbmMWUB0H1
3jnEPWDxH+eu3fPN2Qdb+1JazwIindAKXvMB/8fWLvQ1pH9ln9AbVR1nAZw4LYbV
fYYAMVOoW51RHnJGLGqYWm8rvnbb0V94D22tgxRV8KCv/ki3R53Mj6dy8N9pUDe+
U2XuPNe17g3s3INaIK5os3LT11dyiqbo51bjWxfKaT0ooMS1gau5+TYDyoaJeWlJ
nyTfP1r5NQv6/Q==
=aaD3
-----END PGP SIGNATURE-----

Attachment: pgp4ZNr8zHm5h.pgp
Description: PGP signature


--- End Message ---

Reply to: