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

Bug#1097310: marked as done (loadwatch: ftbfs with GCC-15)



Your message dated Fri, 03 Oct 2025 20:38:58 +0000
with message-id <E1v4mYM-003aJG-34@fasolo.debian.org>
and subject line Bug#1097310: fixed in loadwatch 1.0+1.1alpha1-9
has caused the Debian Bug report #1097310,
regarding loadwatch: 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.)


-- 
1097310: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097310
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:loadwatch
Version: 1.0+1.1alpha1-8
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/loadwatch_1.0+1.1alpha1-8_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 binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:3: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.in:3: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:3: the top level
configure.in:14: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:14: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:14: the top level
configure.in:21: warning: AC_OUTPUT should be used without arguments.
configure.in:21: You should run autoupdate.
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
   dh_auto_configure
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for elf_begin in -lelf... no
checking for kstat_open in -lkstat... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unistd.h... (cached) yes
checking for kstat.h... no
checking for pid_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/loadwatch-1.0+1.1alpha1'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/loadwatch-1.0+1.1alpha1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o loadwatch.o loadwatch.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/loadwatch-1.0+1.1alpha1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o lw-ctl.o lw-ctl.c
loadwatch.c: In function ‘main’:
loadwatch.c:297:24: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  297 |     handler.sa_handler = &cleanup;
      |                        ^
loadwatch.c:48:1: note: ‘cleanup’ declared here
   48 | cleanup()
      | ^~~~~~~
In file included from loadwatch.c:7:
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make[1]: *** [<builtin>: loadwatch.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/reproducible-path/loadwatch-1.0+1.1alpha1'
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: loadwatch
Source-Version: 1.0+1.1alpha1-9
Done: Adrian Bunk <bunk@debian.org>

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

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated loadwatch 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, 03 Oct 2025 23:16:06 +0300
Source: loadwatch
Architecture: source
Version: 1.0+1.1alpha1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1097310
Changes:
 loadwatch (1.0+1.1alpha1-9) unstable; urgency=medium
 .
   * QA upload.
   * Build with -std=gnu17 to workaround FTBFS with GCC 15.
     (Closes: #1097310)
Checksums-Sha1:
 6a7319c3e8587081e7b58706edadd4c36d277a8e 1848 loadwatch_1.0+1.1alpha1-9.dsc
 cc7bdd983eb752bac0ccbeadaf849cba868bb555 6236 loadwatch_1.0+1.1alpha1-9.debian.tar.xz
Checksums-Sha256:
 195a697ee77b4c97774e27ee43c2f0e6c602b6ca0340e04079e87e3f56dccc6d 1848 loadwatch_1.0+1.1alpha1-9.dsc
 6671717d6c3965903bf6c1503afe9e059bc329379aa3c646c59f39ef7d8d9865 6236 loadwatch_1.0+1.1alpha1-9.debian.tar.xz
Files:
 dd087703849941395dba7447adcf0205 1848 utils optional loadwatch_1.0+1.1alpha1-9.dsc
 bc6c7adf032184668b91104c5d445bf5 6236 utils optional loadwatch_1.0+1.1alpha1-9.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjgL/QACgkQiNJCh6LY
mLHEVw//ab6cXqG8nEeCtawzQhzqmAkLhxGL1M6mZSu7L9ewwIeKz0vQnZQugiXj
msuIvrhDSUCsIYRIBkFbcfMN8upRwCQT53goJoZPgYpkW0/WThHDEaZpO4qYlQy0
Eh4jctXZYdPW8g38sdJlgklYFROUamqOMploYQXcPUllEsohEkuue7V5+ArycyLN
5wwJgI2bEkt2hYjjuEOW5TT2sfyOU0lP9meC12uTWD8N4sa7Nf9DvwGsbnNodmAg
vWf0Yg5QyeWVI3lRJKjuSEC02FY+j6OS+xRGXTDbTF7/123geDjadQWxqtGHiw9G
15zf41JH8UqjqRE1HJaNX1lXrJrzrCTS8RxS5pWsIH/e71u570DDMvhV0+zNqyXQ
b8T10We4yYxL7ZwzmzVbcK7idXaeKkKpxo39DcrAPBdyj/Q/pWsJIomo7sBdrndI
uZbzdSzUkEiSZMxs7a6AHls31DtAi4u2LdoWTaiqAQgKFnfzSQAYqSI1FSoJRSRr
EBuzhHlLEHEsDQzuoNWlrKM1Zrq3aCGSRN+6nnJxWdTDVheQqx5BBmqgaFcRmg8N
jBNH59Bp4CZ8UXIahXe0tJiKV2skEJbKdORHrBdGmpnlt5zJOb0UK7dUqDGJYAvy
o9XxuPL5KKABmPyhTTw+cq4YGmv21HILmh/+vKz8LCAp2tt4cWw=
=TrGs
-----END PGP SIGNATURE-----

Attachment: pgpCv6D7FVIxo.pgp
Description: PGP signature


--- End Message ---

Reply to: