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

Bug#1075346: marked as done (openwince-jtag: ftbfs with GCC-14)



Your message dated Fri, 13 Sep 2024 10:34:22 +0000
with message-id <E1sp3d8-00H0hL-0z@fasolo.debian.org>
and subject line Bug#1075346: fixed in openwince-jtag 0.5.1-11
has caused the Debian Bug report #1075346,
regarding openwince-jtag: ftbfs with GCC-14
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.)


-- 
1075346: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075346
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:openwince-jtag
Version: 0.5.1-10
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/openwince-jtag_0.5.1-10_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\"  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/openwince -I/usr/include/openwince/device -I/usr/include/openwince/arm -I.. -I../include  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c `test -f 'bsdl2jtag.c' || echo './'`bsdl2jtag.c
jtag.c: In function ‘jtag_parse_file’:
jtag.c:209:39: error: passing argument 2 of ‘getline’ from incompatible pointer type [-Wincompatible-pointer-types]
  209 |         while (go && (getline( &line, &n, f ) != -1))
      |                                       ^~
      |                                       |
      |                                       int *
In file included from /usr/include/stdio.h:960,
                 from jtag.c:27:
/usr/include/x86_64-linux-gnu/bits/stdio.h:118:36: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’
  118 | getline (char **__lineptr, size_t *__n, FILE *__stream)
      |                            ~~~~~~~~^~~
bsdl2jtag.c: In function ‘endline’:
bsdl2jtag.c:217:48: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  217 |                                 if(!strlen(att)==IR_l) {
      |                                                ^~
bsdl2jtag.c:217:36: note: add parentheses around left hand side expression to silence this warning
  217 |                                 if(!strlen(att)==IR_l) {
      |                                    ^~~~~~~~~~~~
      |                                    (           )
make[4]: *** [Makefile:333: jtag.o] Error 1
make[4]: *** Waiting for unfinished jobs....
bsdl2jtag.c: In function ‘main’:
bsdl2jtag.c:320:37: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  320 |                         if(b!='\n') fgets(line, 1023, infile);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
flash.c: In function ‘flashmsbin’:
flash.c:129:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  129 |                 fread( &sync, sizeof (char), 7, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:143:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  143 |                 fread( &start, sizeof start, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:144:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  144 |                 fread( &len, sizeof len, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:159:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  159 |                 fread( &a, sizeof a, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:160:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  160 |                 fread( &l, sizeof l, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:161:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  161 |                 fread( &c, sizeof c, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:180:25: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  180 |                         fread( &data, sizeof data, 1, f );
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:199:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  199 |                 fread( &a, sizeof a, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:200:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  200 |                 fread( &l, sizeof l, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:201:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  201 |                 fread( &c, sizeof c, 1, f );
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
flash.c:220:25: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  220 |                         fread( &data, sizeof data, 1, f );
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:354: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:267: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:222: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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: openwince-jtag
Source-Version: 0.5.1-11
Done: Andreas Beckmann <anbe@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated openwince-jtag 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: SHA256

Format: 1.8
Date: Fri, 13 Sep 2024 12:09:07 +0200
Source: openwince-jtag
Architecture: source
Version: 0.5.1-11
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1075346
Changes:
 openwince-jtag (0.5.1-11) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with -Werror=incompatible-pointer-types.  (Closes: #1075346)
Checksums-Sha1:
 81b3988044c34d33c13abd72e39df9742c8f2a6b 1959 openwince-jtag_0.5.1-11.dsc
 97e7bc0c8bc8c890f12da6a8f94adad934080e65 4584 openwince-jtag_0.5.1-11.debian.tar.xz
 33ddc6e3f261bfa6c19a31f6c55b32df725fc853 5581 openwince-jtag_0.5.1-11_source.buildinfo
Checksums-Sha256:
 ea0f76abae401fba0493fdd28aa3eb9ed4c97b2ee0e430dacabcb449feb7d05b 1959 openwince-jtag_0.5.1-11.dsc
 9ca79376f55a4a7fc00728af2c2d9b83e9fa970c28b19d67a3a51d3d2654a0d0 4584 openwince-jtag_0.5.1-11.debian.tar.xz
 525b5e9f476b546f9fba1e28241803c7e0c32673e9d69032e8952845c47ff55a 5581 openwince-jtag_0.5.1-11_source.buildinfo
Files:
 8699e24d49930a1678956ab84446d5a5 1959 embedded optional openwince-jtag_0.5.1-11.dsc
 e5f7c1f30bbeba4b74942bfcc4300de5 4584 embedded optional openwince-jtag_0.5.1-11.debian.tar.xz
 99994afd7337eb705692fc62399276a1 5581 embedded optional openwince-jtag_0.5.1-11_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmbkD5wQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCDAYD/4nqdD7HgAbtQ+jTJOLLsxySoUMTgyqZMWd
E7pp2XSt8wXwu+tyYE1woaRlzpbDteDe0UQUyeb7bSf0laCvhijsSYyeCP2nMXkK
I36lSwpNO2ws2o+G6ERDNKB3K4bCFJpch10UeUUgxLoszWEYb73rDzbbxbrRrpFZ
rw3RhEvRzAXa/moda4NMYgaUU8sd6gFN+GJch2bcVSv3AX1wvqTf0bWPmHGgPV96
cdmGllfCyXACdGP/jO4HoW0rQW19B6cJyJPKFqAfFH8BzDyfv1H78RVpSv2PpwqB
egMbUE5mO4vtfmTDBNiIROYGx1csfrrCxNjw9uzlYcBJirhxuSXgR1V1QT9JVMen
0/u/em9qwjWidOKJ5UtFqXxuNjJognMXPO3i6jmAN6UvVRod9F2iNt6kxlQUSj9z
D89ZyrTEnrTwqnABdRAT9RS5FBrvurNWpz18Zqt8Qm7Vb9j/Ym0JT+y8wpbyvpdY
MsyHVvOFYZG5YYSDGWjus5GrAX1HClfRFDawHc1WJaiGOWpoh7bEtBNc4rajnwCG
lrcVL9A5dA7kub7nX8hZzWEbGAawUnqTV0Ib//Vk/YJDxPP4wx2l5+jbxsdtN3uj
e2EUrnRDpXQ+/hF1GN+DhaDnDXu200hiu3TbqmjUxliO0SJAUuYob9TlW5pQfID+
8VsJUgwVxQ==
=PnxI
-----END PGP SIGNATURE-----

Attachment: pgp6wBO62khUC.pgp
Description: PGP signature


--- End Message ---

Reply to: