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

Bug#1096715: marked as done (gkrellm-thinkbat: ftbfs with GCC-15)



Your message dated Fri, 26 Sep 2025 21:22:51 +0000
with message-id <E1v2Ftz-001xCm-10@fasolo.debian.org>
and subject line Bug#1096715: fixed in gkrellm-thinkbat 0.2.3-2
has caused the Debian Bug report #1096715,
regarding gkrellm-thinkbat: 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.)


-- 
1096715: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096715
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:gkrellm-thinkbat
Version: 0.2.3-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/gkrellm-thinkbat_0.2.3-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

[...]
   dh_auto_build
	make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/reproducible-path/gkrellm-thinkbat-0.2.3'
gcc `pkg-config gtk+-2.0 --cflags` -fPIC -DVERSION=\"0.2.3\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gkrellm-thinkbat-0.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I. -Wall -pedantic -O2 -c collect_data.c
collect_data.c: In function ‘read_battery_data’:
collect_data.c:75:18: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   75 |         design = read_from_file(file);
      |                  ^~~~~~~~~~~~~~ ~~~~
In file included from collect_data.c:27:
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:78:21: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   78 |         remaining = read_from_file(file);
      |                     ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:81:21: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   81 |         power_now = read_from_file(file);
      |                     ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:84:21: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   84 |         power_avg = read_from_file(file);
      |                     ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:87:21: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   87 |         last_full = read_from_file(file);
      |                     ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:90:34: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   90 |         remaining_running_time = read_from_file(file);
      |                                  ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:93:35: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   93 |         remaining_charging_time = read_from_file(file);
      |                                   ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c:96:14: error: too many arguments to function ‘read_from_file’; expected 0, have 1
   96 |         ac = read_from_file(file);
      |              ^~~~~~~~~~~~~~ ~~~~
collect_data.h:7:5: note: declared here
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c: At top level:
collect_data.c:157:5: error: conflicting types for ‘read_from_file’; have ‘int(char *)’
  157 | int read_from_file(char *file)
      |     ^~~~~~~~~~~~~~
collect_data.h:7:5: note: previous declaration of ‘read_from_file’ with type ‘int(void)’
    7 | int read_from_file();
      |     ^~~~~~~~~~~~~~
collect_data.c: In function ‘read_battery_data’:
collect_data.c:62:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   62 |         fscanf(fp, "%s", state);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:21: collect_data.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/gkrellm-thinkbat-0.2.3'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: gkrellm-thinkbat
Source-Version: 0.2.3-2
Done: Adrian Bunk <bunk@debian.org>

We believe that the bug you reported is fixed in the latest version of
gkrellm-thinkbat, 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 1096715@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 gkrellm-thinkbat 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, 26 Sep 2025 20:47:32 +0300
Source: gkrellm-thinkbat
Architecture: source
Version: 0.2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1096715
Changes:
 gkrellm-thinkbat (0.2.3-2) unstable; urgency=medium
 .
   * QA upload.
   * Build with -std=gnu17 to workaround FTBFS with GCC 15
     in GKrellM headers. (Closes: #1096715)
   * debian/control: Remove link to dead Homepage.
Checksums-Sha1:
 f8dce258cf480a7b80a63aa977594e695c08bf74 1911 gkrellm-thinkbat_0.2.3-2.dsc
 3b1db5a1d155e8d07aba2756752439dd9c5081e7 3204 gkrellm-thinkbat_0.2.3-2.debian.tar.xz
Checksums-Sha256:
 dded4e2ad0debb1caf6a2765e6650f284635b1e4147f3f7b6acfdb33bb39e04a 1911 gkrellm-thinkbat_0.2.3-2.dsc
 64ef5b25797161b0a3052a7634e84244879b814aba965d4b9e26b75a53b451c9 3204 gkrellm-thinkbat_0.2.3-2.debian.tar.xz
Files:
 4c440771399efdfd316a1fafb60e5118 1911 x11 optional gkrellm-thinkbat_0.2.3-2.dsc
 aa4d4ef418b18bf663877b569a50bb07 3204 x11 optional gkrellm-thinkbat_0.2.3-2.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjW/o4ACgkQiNJCh6LY
mLEpqg//TCMBAtb0GmCROAZgfip9/VBwC4w7cDHoU3yInh1AzpN2indKwvP8go3W
BTIYOJanseSun6s5kQT1XvdkR9PFdZRpQbXSCdMWi+Y3zkYlQ4Kz49Ikfsk45V2+
UMDPMxn24HkfE4lo82MbYMmo6H6HQhoSpg5RM2hMq0d5hBErHLr1D3XQwKUt/vKm
LGtAbE0daAmQHkDWnlaE6dfmdl1MOFWhS7FGxh1QQjJwWnHzsls37LNd8vZGUAno
Lt/yocjr83oQ/A2giObptlb6FVZGNf1haMvuEccA8WCtxjgYOboR6LvvvhQvku0F
iDnAH1QJkEnfHU/WXeFunzzgFInbjwdirgN1vczMtD5n2pfC3RvLvNVzUNegEh7M
ESDeQZLaoSRQlFpN5BA3Tl4AxTYXa+l9L7DsghdmhBNyCIypFgZ+d1YMYcFTnRWP
yl7X4D+OZcVFAWViixNzPjUFiNay7Jg49yFNwrUJMbbRpHt4sru4Oo3Fbp+Bq7C5
90Gt5oFSpBZ/+rUzqhAMXr+28BpE3idvB/Tgob7ikUdwBlMvMCciZkt0eAOUvXNj
Pvw/4C56n1IOzBWKKqvTf/Jai/liYmetQzTbX3lPSR3UjFMKggIMIvbPVRc4w2la
PcU3YxJUqUwhvM9Ur6d/uX622tafMEIKkCCZ2b95fmcE34mhT20=
=I4Kl
-----END PGP SIGNATURE-----

Attachment: pgp0WdgvG9U8W.pgp
Description: PGP signature


--- End Message ---

Reply to: