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

Bug#1096702: marked as done (ghostscript: ftbfs with GCC-15)



Your message dated Sun, 07 Sep 2025 02:49:10 +0000
with message-id <E1uv5So-006njj-1w@fasolo.debian.org>
and subject line Bug#1096702: fixed in ghostscript 10.05.1~dfsg-3
has caused the Debian Bug report #1096702,
regarding ghostscript: 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.)


-- 
1096702: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096702
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:ghostscript
Version: 10.04.0~dfsg-2
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/ghostscript_10.04.0~dfsg-2_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

[...]
checking for working fork... yes
checking for working vfork... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for bzero... yes
checking for dup2... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for modf... yes
checking for pow... yes
checking for putenv... yes
checking for rint... yes
checking for setenv... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking minimum memory pointer alignment... done
checking for sqrtf... yes
checking for strnlen... yes
checking byteswap support... yes
checking for byteswap.h... yes
checking whether to explicitly disable strict aliasing... yes
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
dh_auto_build -- so 
	make -j1 so
make[2]: Entering directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make -f Makefile so-subtarget BUILDDIRPREFIX=so
make[3]: Entering directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make -f Makefile GS_DOT_O= REALMAIN_OBJ= GS_XE=./sobin/libgs.so.10.04 GPCL_XE=./sobin/libno_gpcl6.so.10.04 GXPS_XE=./sobin/libno_gxps.so.10.04 GPDF_XE=./sobin/libno_gpdf.so.10.04 GPDL_XE=./sobin/libno_gpdl.so.10.04 DISPLAY_DEV=./soobj/display.dev BUILDDIRPREFIX=so GENOPT='' LDFLAGS='-Wl,-z,relro  '\
 CFLAGS='-O2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -DHAVE_SNPRINTF  -DBUILD_PDF=1 -I./pdf -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ghostscript-10.04.0~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHAVE_RESTRICT=1  -DUSE_LIBPAPER -I/usr/include/x86_64-linux-gnu -I/usr/include/webp   -fno-strict-aliasing -DHAVE_POPEN_PROTO=1  ' prefix=/usr\
 directories
make[4]: Entering directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make[4]: Leaving directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make -f Makefile GS_DOT_O= REALMAIN_OBJ= GS_XE=./sobin/libgs.so.10.04 GPCL_XE=./sobin/libno_gpcl6.so.10.04 GXPS_XE=./sobin/libno_gxps.so.10.04 GPDF_XE=./sobin/libno_gpdf.so.10.04 GPDL_XE=./sobin/libno_gpdl.so.10.04 DISPLAY_DEV=./soobj/display.dev BUILDDIRPREFIX=so GENOPT='' LDFLAGS='-Wl,-z,relro  '\
 CFLAGS='-O2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -DHAVE_SNPRINTF  -DBUILD_PDF=1 -I./pdf -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ghostscript-10.04.0~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHAVE_RESTRICT=1  -DUSE_LIBPAPER -I/usr/include/x86_64-linux-gnu -I/usr/include/webp   -fno-strict-aliasing -DHAVE_POPEN_PROTO=1  ' prefix=/usr\
 ./soobj/aux/echogs ./soobj/aux/genarch
make[4]: Entering directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
gcc   -O2 -DNDEBUG -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -DHAVE_SNPRINTF  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ghostscript-10.04.0~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHAVE_RESTRICT=1 -fno-strict-aliasing -DHAVE_POPEN_PROTO=1  -I./base -o ./soobj/aux/echogs ./base/echogs.c  -lm -ldl  -lidn  -lpaper -ltiff  -rdynamic -lfontconfig -lfreetype  -lfreetype  -lopenjp2  -lexpat -lz
In file included from ./base/echogs.c:18:
./base/stdpre.h:348:13: error: ‘bool’ cannot be defined via ‘typedef’
  348 | typedef int bool;
      |             ^~~~
./base/stdpre.h:348:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
./base/stdpre.h:348:1: warning: useless type name in empty declaration
  348 | typedef int bool;
      | ^~~~~~~
make[4]: *** [base/unix-aux.mak:60: soobj/aux/echogs] Error 1
make[4]: Leaving directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make[3]: *** [base/unix-dll.mak:320: so-only-subtarget] Error 2
make[3]: Leaving directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make[2]: *** [base/unix-dll.mak:281: so] Error 2
make[2]: Leaving directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
dh_auto_build: error: make -j1 so returned exit code 2
make[1]: *** [debian/rules:60: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/ghostscript-10.04.0~dfsg'
make: *** [debian/rules:43: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: ghostscript
Source-Version: 10.05.1~dfsg-3
Done: Steve M. Robbins <smr@debian.org>

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

Debian distribution maintenance software
pp.
Steve M. Robbins <smr@debian.org> (supplier of updated ghostscript 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: Sat, 06 Sep 2025 21:25:01 -0500
Source: ghostscript
Architecture: source
Version: 10.05.1~dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Steve M. Robbins <smr@debian.org>
Closes: 1096702
Changes:
 ghostscript (10.05.1~dfsg-3) unstable; urgency=medium
 .
   [ Steve Robbins ]
   * [fb1ee5b] Fixes for C23.
   * [4a94390] Additional fixes for C23.  Closes: #1096702
Checksums-Sha1:
 cfc33246d82c7a80fa3e0fa6cd01b02abecb50d7 2868 ghostscript_10.05.1~dfsg-3.dsc
 79a0e25ba5e995a1e207b88180500326b34b79ab 91796 ghostscript_10.05.1~dfsg-3.debian.tar.xz
 cfcf0750cf23f17c7f00f48b4e025fd41e2a681a 14275 ghostscript_10.05.1~dfsg-3_amd64.buildinfo
Checksums-Sha256:
 719033db8858311214e075169a87311f56f4969289ccf7734bdcea373e671fd9 2868 ghostscript_10.05.1~dfsg-3.dsc
 bb646ec61db290a0e88d1b3210e5f249b8636486b9c74684fe55e188750eeed7 91796 ghostscript_10.05.1~dfsg-3.debian.tar.xz
 97aaafbcaf4c882ad8afcd33205239989daa01459d4bb9198cc347fa25556058 14275 ghostscript_10.05.1~dfsg-3_amd64.buildinfo
Files:
 795a382194412913ca9bdf742fa86f6b 2868 text optional ghostscript_10.05.1~dfsg-3.dsc
 251e81f0e7e3a5c7b0e92352386918d9 91796 text optional ghostscript_10.05.1~dfsg-3.debian.tar.xz
 4a4ac6cd319ad4e1bff3d91048a45003 14275 text optional ghostscript_10.05.1~dfsg-3_amd64.buildinfo

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

iQJDBAEBCgAtFiEEy89k8fa3rclNjyokyeVeL63I9LkFAmi87tEPHHNtckBkZWJp
YW4ub3JnAAoJEMnlXi+tyPS5I5kQAJPV037koq3CacV3E19iP+WmowpK8QmJhXO+
pGzC/p9RLc4U5E0mWZez197cR5pQQtFZhs5Hnozvg4TwpzwtVsfvpe3HoIL+XEFC
i9Mwh/JjGqyVSupY3uZhPSU+abtjIh1djQd8pG4n2AQrMVyFStDFK8GZ7fRXpMes
5SZw4+T8SpWCe7nLBZUtwlbRvW03bNWbFHzyZ+/UWYJj22Vi+Gk86UnyF9ybwvPX
Bbku8M1kiVR33Ih/8nFg/cvyruSGPbSNTzgB3SNG9eUUl0FB5AGwvkNF0Wf6CNW/
PUwM6F4KGN4mpe/E2ajyS+IubRg68G5p+m8KMymzTpq5Dy7EgsYYe9fbQV+HPwXo
ZNF0ZmSUQrmoFsGuu8A5FPrljfI0Y9lmrjTm54KCQ3m54QloHPK+idXcMe3lbGA/
c+/pMojOelf0h2+QQOh7OMAOxbJ4j80DXXCs/+mRa03CcA8XKd33z85Q+UeiN3/6
duGS+ALP3fBsTPzwJRWfLu4cT+5ihrLVO5dssEFn4VA6p0KyoKvZfDksE4fwMaZs
p6XQE3LN+cGIjc22o+idhXVkTHDFOfyowMzSyZXc6B+sESyceLKr6ltMd/csFBpT
+xR+wndpf2ZIC3IoG9eZnIoRmhRjVCLALQqCqZzzVZ2mg9U6ybcfPNRf0v4N4s3r
zFLfKEcO
=Szp5
-----END PGP SIGNATURE-----

Attachment: pgpgISxrAzkuP.pgp
Description: PGP signature


--- End Message ---

Reply to: