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

Bug#1096762: marked as done (gpstrans: ftbfs with GCC-15)



Your message dated Fri, 03 Oct 2025 07:04:56 +0000
with message-id <E1v4Zqa-000VYI-31@fasolo.debian.org>
and subject line Bug#1096762: fixed in gpstrans 0.41-12
has caused the Debian Bug report #1096762,
regarding gpstrans: 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.)


-- 
1096762: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096762
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:gpstrans
Version: 0.41-11
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/gpstrans_0.41-11_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

[...]
prefs.c:219:11: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  219 |           fgets (Line, 255, preffp);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function ‘ParseError’:
main.c:129:1: warning: old-style function definition [-Wold-style-definition]
  129 | ParseError (err)
      | ^~~~~~~~~~
main.c: In function ‘AdjustTime’:
main.c:243:14: error: too many arguments to function ‘getGPSTime’; expected 0, have 1
  243 |   clockgps = getGPSTime (m);
      |              ^~~~~~~~~~  ~
In file included from main.c:35:
include/gpsinfo.h:3:6: note: declared here
    3 | long getGPSTime ();
      |      ^~~~~~~~~~
util.c: In function ‘GetLine’:
util.c:51:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   51 |       fgets (line, MAX_LINE, refNum);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:263:26: error: too many arguments to function ‘getGPSTime’; expected 0, have 1
  263 |               clockgps = getGPSTime (m);
      |                          ^~~~~~~~~~  ~
include/gpsinfo.h:3:6: note: declared here
    3 | long getGPSTime ();
      |      ^~~~~~~~~~
main.c: In function ‘TerminateHandler’:
main.c:287:1: warning: old-style function definition [-Wold-style-definition]
  287 | TerminateHandler (sig)
      | ^~~~~~~~~~~~~~~~
main.c: In function ‘main’:
main.c:310:1: warning: old-style function definition [-Wold-style-definition]
  310 | main (argc, argv)
      | ^~~~
make[2]: *** [Makefile:36: main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/stdio.h:970,
                 from include/defs.h:1,
                 from prefs.c:28:
In function ‘sprintf’,
    inlined from ‘AnalyzeLine’ at prefs.c:123:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: ‘__builtin_sprintf’ argument 3 may overlap destination object ‘key’ [-Wrestrict]
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
prefs.c: In function ‘AnalyzeLine’:
prefs.c:100:22: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  100 |      char line[255], key[255], data[255];
      |                      ^~~
In function ‘sprintf’,
    inlined from ‘AnalyzeLine’ at prefs.c:125:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: ‘__builtin_sprintf’ argument 3 may overlap destination object ‘key’ [-Wrestrict]
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
prefs.c: In function ‘AnalyzeLine’:
prefs.c:100:22: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  100 |      char line[255], key[255], data[255];
      |                      ^~~
make[2]: Leaving directory '/build/reproducible-path/gpstrans-0.41/src'
make[1]: *** [Makefile:12: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/gpstrans-0.41'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: gpstrans
Source-Version: 0.41-12
Done: Adrian Bunk <bunk@debian.org>

We believe that the bug you reported is fixed in the latest version of
gpstrans, 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 1096762@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 gpstrans 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: Thu, 02 Oct 2025 19:54:17 +0300
Source: gpstrans
Architecture: source
Version: 0.41-12
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1096762
Changes:
 gpstrans (0.41-12) unstable; urgency=medium
 .
   * QA upload.
   * Build with -std=gnu17 to workaround FTBFS with GCC 15.
     (Closes: #1096762)
   * debian/control: Remove dead Homepage link.
   * debian/control: Architecture: linux-any
Checksums-Sha1:
 f4c9124659f15b3fc904e637b98b7176d13e274b 1815 gpstrans_0.41-12.dsc
 6af755feb53a8eb1deaab13f0707b5634e4f83a3 9888 gpstrans_0.41-12.debian.tar.xz
Checksums-Sha256:
 0f730acf5b0442d670c9963a57ae4ba898848d400dc4ca9698f0933ffe00bb5f 1815 gpstrans_0.41-12.dsc
 077393327fc07a79e91f2e6cfe0f10d18c650029561c863cb7085937f131729f 9888 gpstrans_0.41-12.debian.tar.xz
Files:
 6ecc283fd19b8e0b1c77d25a7086266e 1815 misc optional gpstrans_0.41-12.dsc
 a0413d0fb4617dc70fe35ab7bc3b2f1e 9888 misc optional gpstrans_0.41-12.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjfb/8ACgkQiNJCh6LY
mLGydRAAlj4XS7rAQ282/4mERMVSL13hFITpnloasnvni+whQUZdTet/nINJ0gz1
5a5AVM4pLHBiD+4sl3YvkvDsNpgcIZOUpzABR2h+QHPMvNFCGmIYdQVFCbr9nXhH
VEhwaeuXfbvCUvkM//jIkEAkwfDgugELQ+gaMXIJpMmwa76FeXUkN51PaF0oXyaQ
6WMO39IM9F527N49c5GPIBA0nbQKyl5mOjTENhT6QDt38+7myAzqghKXoDKDFKfo
c9tszQuiKIi5zRjUwFUqmjey3TxTE7SSgqNnApCU4SKsEBTjGvoC2U4bVb/vdn68
b+UK5DXipjA+QPvxRpM/MNsV1QSh3I1UsTK6A0fcY9sdYbazUMGcE1VQ8frc+i/J
baGZ6ANgAsa6obqd7bBKPe3zpqSZsjbfCXZf2wb3BikR4VvNw3L2LKYf32iTRh3v
+PZx2+g/8x19tou3NkB2MDCvo46wj494BdNHJFN6a4CIG/B26eeIUqGCE0R1HV88
K+U5xQ00HfYggggJ8iwwMUpGLBTG6I1gyJdG2F1wjzrNvoeJhY7en1g8iS8XvDMQ
Kht157Ow4iImtlQCk4dwdrnHMCdKxwZAJXB2s4LIGTFk/J/01FoFtDrpyRHvd0Il
Brslf2R342ByyVipdROPIayLMx1Zj7J0/R/7o5YBUXmyr2MjNPU=
=OSwx
-----END PGP SIGNATURE-----

Attachment: pgplqjsKPLXoB.pgp
Description: PGP signature


--- End Message ---

Reply to: