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

Bug#1098126: marked as done (xcolors: ftbfs with GCC-15)



Your message dated Fri, 12 Sep 2025 15:54:58 +0000
with message-id <E1ux670-00HXpV-19@fasolo.debian.org>
and subject line Bug#1098126: fixed in xcolors 1.5a-12
has caused the Debian Bug report #1098126,
regarding xcolors: 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.)


-- 
1098126: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098126
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:xcolors
Version: 1.5a-10.1
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/xcolors_1.5a-10.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

[...]
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
test -f xcolors.c -a -f debian/rules
if test -f Makefile; then make clean; fi
rm -f build Makefile.bak Makefile
rm -rf *~ debian/xcolors debian/*~ debian/files*
dh_clean
 debian/rules binary
test -f xcolors.c -a -f debian/rules
xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
make CC="gcc" CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xcolors-1.5a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" EXTRA_LDOPTIONS="-Wl,-z,relro"
make[1]: Entering directory '/build/reproducible-path/xcolors-1.5a'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xcolors-1.5a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xcolors.o xcolors.c
xcolors.c: In function ‘do_set_color’:
xcolors.c:106:1: warning: old-style function definition [-Wold-style-definition]
  106 | do_set_color(w, colorname, foreground_flag)
      | ^~~~~~~~~~~~
xcolors.c: In function ‘set_foreground’:
xcolors.c:141:1: warning: old-style function definition [-Wold-style-definition]
  141 | set_foreground(w, event, params, num_params)
      | ^~~~~~~~~~~~~~
xcolors.c: In function ‘set_background’:
xcolors.c:152:1: warning: old-style function definition [-Wold-style-definition]
  152 | set_background(w, event, params, num_params)
      | ^~~~~~~~~~~~~~
xcolors.c: In function ‘quit_action’:
xcolors.c:163:1: warning: old-style function definition [-Wold-style-definition]
  163 | quit_action(w, event, params, num_params)
      | ^~~~~~~~~~~
xcolors.c: In function ‘main’:
xcolors.c:185:5: warning: old-style function definition [-Wold-style-definition]
  185 | int main(argc, argv)
      |     ^~~~
xcolors.c: In function ‘colordemo’:
xcolors.c:273:6: warning: old-style function definition [-Wold-style-definition]
  273 | void colordemo(parent, startcolor, nearcolor, maxdist)
      |      ^~~~~~~~~
xcolors.c:314:22: error: too many arguments to function ‘do_color’; expected 0, have 2
  314 |                 if (!do_color(parent, save_colorname))
      |                      ^~~~~~~~ ~~~~~~
xcolors.c:282:10: note: declared here
  282 |     Bool do_color();
      |          ^~~~~~~~
xcolors.c:324:13: error: too many arguments to function ‘do_color’; expected 0, have 2
  324 |       (void)do_color(parent, save_colorname);
      |             ^~~~~~~~ ~~~~~~
xcolors.c:282:10: note: declared here
  282 |     Bool do_color();
      |          ^~~~~~~~
xcolors.c: In function ‘do_color’:
xcolors.c:282:10: warning: old-style function definition [-Wold-style-definition]
xcolors.c:342:1: error: number of arguments doesn’t match prototype
  342 | {
      | ^
xcolors.c:282:10: error: prototype declaration
  282 |     Bool do_color();
      |          ^~~~~~~~
xcolors.c: In function ‘l_strcasecmp’:
xcolors.c:375:1: warning: old-style function definition [-Wold-style-definition]
  375 | l_strcasecmp(s1, s2)
      | ^~~~~~~~~~~~
xcolors.c: In function ‘colordemo’:
xcolors.c:296:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  296 |         fgets(str, 1024L, rgb);
      |         ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: xcolors.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/xcolors-1.5a'
make: *** [debian/rules:33: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: xcolors
Source-Version: 1.5a-12
Done: Alexandre Detiste <tchet@debian.org>

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

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated xcolors 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: Fri, 12 Sep 2025 17:18:11 +0200
Source: xcolors
Architecture: source
Version: 1.5a-12
Distribution: unstable
Urgency: medium
Maintainer: Alexandre Detiste <tchet@debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1098126 1114776
Changes:
 xcolors (1.5a-12) unstable; urgency=medium
 .
   * Adopt package (Closes: #1114776)
   * Add salsa CI
   * Redo lost changes from NMU
   * Patch for GCC-15 (Closes: #1098126)
Checksums-Sha1:
 90d2ee81402982be681ab655fdb7f8679a8c9050 1832 xcolors_1.5a-12.dsc
 e39c7a19ec0538c454d4b72bfe5cb4ccd1a7110f 21376 xcolors_1.5a-12.debian.tar.xz
 ad518b47929a0fdeaa3f641fb534b26b47f3e8ad 6710 xcolors_1.5a-12_source.buildinfo
Checksums-Sha256:
 7e7f1cddb61ec43467188049a445adc8352f45aa5def20a4cbc282e8c0bdb8c1 1832 xcolors_1.5a-12.dsc
 3102a36a6d0df39b14415fa6d062af4a27981537521094c54a062358a2b61327 21376 xcolors_1.5a-12.debian.tar.xz
 ea5a821827d945f759223b15d140524447a91f7994eb2c05b485242ab0675137 6710 xcolors_1.5a-12_source.buildinfo
Files:
 a8aa5f7e16dbdd8d91a09bcc83e7d33f 1832 x11 optional xcolors_1.5a-12.dsc
 306bc0f362357730f8ac983d51d93849 21376 x11 optional xcolors_1.5a-12.debian.tar.xz
 b6130427311fad23850610cfbabdd141 6710 x11 optional xcolors_1.5a-12_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjEOhoRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrYCBAAtQ+J/I9anoeCYlmwWKwVie6q7KW24/fy
nYCuSCuPB5gJshA8UMxDeCb18RxifJMgAqETwWNhm05lTvshgCytu8ZxjdlTySet
1F5AyiGr4QqTzIVpsUsBi68e2HEhuXY/xl0nzGCwk977PoDLGMlvD0+HP/9bh+E8
fNyQCBP1QxO7khHxbjp4RQDLowehIo23MFPsL660UEbRDLMiWsGuvc4/6c+O9FRo
JwkTDN9zTh4TV8c+gd02PHSKJR58D+CtKSbkPIrvYTFy7OULt7xOmNhLmPbgLxIe
ALisaTGjWuhndsw8xi6mIDn4/OlRiDVVB2U7OHLxnBJMP5t+SVZ8AVmuUbxkwx4K
GawZ9uf9Mvm0azPITqUJoH5DT5tllllaiMD4AK/eBQgEoy7zXdVG5ZlKr8J/nAOt
PBuzHkrMqKJZddJfEvvIW+Fn/hVJABpYCmWlS1kElhDnNFc4TVg4siVA6yrFTaf4
XGSId4/+UE9kbgjN5d4GRSI7qzkLRDWtfSEoyadqqaK9PvV851WV/1q8ayl7voia
PyG+yOruLBQYDgqhervDVmk98C5Uecx4zLgWixj6H08wIISyyKWpKGN++0xlIP04
z++JWUG86d7CYUEwPmoIBk/zaunBzqorE3Np/zzd6CHmaCa7rRjf3L3CyrH9mSjI
X56V9POGSxU=
=O5If
-----END PGP SIGNATURE-----

Attachment: pgpE2UrzcekaD.pgp
Description: PGP signature


--- End Message ---

Reply to: