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

Bug#984125: marked as done (flamp: ftbfs with GCC-11)



Your message dated Wed, 13 Oct 2021 04:48:23 +0000
with message-id <E1maWBj-000F94-Ds@fasolo.debian.org>
and subject line Bug#984125: fixed in flamp 2.2.07-1
has caused the Debian Bug report #984125,
regarding flamp: ftbfs with GCC-11
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.)


-- 
984125: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984125
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:flamp
Version: 2.2.05-1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/flamp_2.2.05-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
./include/amp.h:381:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  381 |                 if (rxnumblocks == 0 || rx_ok_blocks == 0) return empty;                static char percent[6];
      |                 ^~
./include/amp.h:381:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  381 |                 if (rxnumblocks == 0 || rx_ok_blocks == 0) return empty;                static char percent[6];
      |                                                                                         ^~~~~~
In file included from ./include/flamp.h:39,
                 from flamp.cxx:62:
./include/amp.h: In member function ‘const char* cAmp::rx_sz_percent()’:
./include/amp.h:381:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  381 |                 if (rxnumblocks == 0 || rx_ok_blocks == 0) return empty;                static char percent[6];
      |                 ^~
./include/amp.h:381:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  381 |                 if (rxnumblocks == 0 || rx_ok_blocks == 0) return empty;                static char percent[6];
      |                                                                                         ^~~~~~
gcc -DHAVE_CONFIG_H -I.  -I. -I./include -I/usr/include/flxmlrpc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -I. -I./include   -pipe -Wall -fexceptions -O2 -ffast-math -finline-functions -fomit-frame-pointer   -DNDEBUG -I/usr/include/flxmlrpc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lzma/flamp-LzmaLib.o `test -f 'lzma/LzmaLib.c' || echo './'`lzma/LzmaLib.c
flamp_dialog.cxx: In function ‘void set_txt_tx_interval()’:
flamp_dialog.cxx:921:15: warning: unused variable ‘t’ [-Wunused-variable]
  921 |         float t = cnt_tx_interval_mins->value();
      |               ^
g++ -DHAVE_CONFIG_H -I.  -I. -I./include -I/usr/include/flxmlrpc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -I. -I./include   -pipe -Wall -fexceptions -O2 -ffast-math -finline-functions -fomit-frame-pointer   -DNDEBUG -I/usr/include/flxmlrpc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o utils/flamp-amp.o `test -f 'utils/amp.cxx' || echo './'`utils/amp.cxx
flamp.cxx: In function ‘void addfile(std::string, void*, bool, char*, char*)’:
flamp.cxx:841:15: error: ordered comparison of pointer with integer zero (‘void*’ and ‘int’)
  841 |         if(rx > 0 && !rAmp->rx_completed()) {
      |            ~~~^~~
flamp.cxx:937:15: error: ordered comparison of pointer with integer zero (‘void*’ and ‘int’)
  937 |         if(rx > 0) {
      |            ~~~^~~
make[3]: *** [Makefile:1190: flamp-flamp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from utils/amp.cxx:29:
./include/amp.h: In member function ‘const char* cAmp::rx_sz_percent()’:
./include/amp.h:381:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  381 |                 if (rxnumblocks == 0 || rx_ok_blocks == 0) return empty;                static char percent[6];
      |                 ^~
./include/amp.h:381:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  381 |                 if (rxnumblocks == 0 || rx_ok_blocks == 0) return empty;                static char percent[6];
      |                                                                                         ^~~~~~
utils/amp.cxx: In member function ‘std::string cAmp::rx_missing()’:
utils/amp.cxx:1190:61: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
 1190 |                         snprintf(number, sizeof(number), "%d", i);
      |                                                             ^
In file included from /usr/include/stdio.h:867,
                 from ./include/amp.h:26,
                 from utils/amp.cxx:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 2 and 11 bytes into a destination of size 10
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |                                    __bos (__s), __fmt, __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils/amp.cxx: In member function ‘std::string cAmp::rx_report()’:
utils/amp.cxx:1216:61: warning: ‘ ’ directive output may be truncated writing 1 byte into a region of size between 0 and 9 [-Wformat-truncation=]
 1216 |                         snprintf(number, sizeof(number), "%d ", i);
      |                                                             ^
In file included from /usr/include/stdio.h:867,
                 from ./include/amp.h:26,
                 from utils/amp.cxx:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 3 and 12 bytes into a destination of size 10
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |                                    __bos (__s), __fmt, __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:588: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:400: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: flamp
Source-Version: 2.2.07-1
Done: tony mancill <tmancill@debian.org>

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

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated flamp 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: Tue, 12 Oct 2021 21:11:10 -0700
Source: flamp
Architecture: source
Version: 2.2.07-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 984125
Changes:
 flamp (2.2.07-1) unstable; urgency=medium
 .
   * Team upload
 .
   [ Debian Janitor ]
   * Use secure copyright file specification URI.
   * Set upstream metadata fields: Archive, Bug-Submit (from
     ./configure).
 .
   [ tony mancill ]
   * New upstream version 2.2.07
     Addresses FTBFS with GCC-11 (Closes: #984125)
   * Add dependency on sensible-utils
   * Use debhelper-compat 13
   * Add typos.patch
   * Freshen debian/copyright.
   * Set Rules-Requires-Root: no in debian/control
   * Bump Standards-Version to 4.6.0
Checksums-Sha1:
 b54d8dcd174cbf201a53eb4650c938f8c89107c2 1958 flamp_2.2.07-1.dsc
 c2aff246b16e3a95a0223a8bc5277f389f452126 518713 flamp_2.2.07.orig.tar.gz
 88b662094f3f72ee56bb4c0b0be85be0582b3d3f 3420 flamp_2.2.07-1.debian.tar.xz
 3e0d260293e8f34fb28d10cb503103aa932e4343 8084 flamp_2.2.07-1_amd64.buildinfo
Checksums-Sha256:
 419cd34577c47340761a0a600005480e0e027fcdd4f4a3df7f89bb96b6108e64 1958 flamp_2.2.07-1.dsc
 807995746f11cdb3e9f2866ae544fc2d6d6b735fa57a2bcdd2f4bf8a28975a51 518713 flamp_2.2.07.orig.tar.gz
 1c11e07e5b5168a3f65ba9e3d433fc1e76f2380b06a5c0c67864f60b21a7d2f1 3420 flamp_2.2.07-1.debian.tar.xz
 7a08c65f5ad63077d3e1a8b58ddff25e8c4f657f254c89790325daac99c5b282 8084 flamp_2.2.07-1_amd64.buildinfo
Files:
 b31d2d84dbef3d6b9c15c52dbaf98e1e 1958 hamradio optional flamp_2.2.07-1.dsc
 76d6515db26486f4b71dfbf9febddd39 518713 hamradio optional flamp_2.2.07.orig.tar.gz
 4273f24c070fdf53118290c0590c3195 3420 hamradio optional flamp_2.2.07-1.debian.tar.xz
 2c64fba20a6fb6b769530a330a7ee33d 8084 hamradio optional flamp_2.2.07-1_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmFmYWcUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpa0aBAAnws2xfhBlxRY+ynCVvQ9/5pxhPIs
prEXhJphnAVjNoem0Kq+kctoOB0whLRS+1xdX3VT+dt0mZyR6oJsX8exok7el2Ge
0KExSDV724EtvCG7nyjfsiup1mKWzDkUX0KoU4gVQPhGQVNGupYkMQha7hJ6NP9P
8RFScT04T4AmkWx19WPIWNtwcdw9tUzYTRl5cuBTpdxkF0mYIJe23EOjtYEocfEV
p/i9ngtcfOoIscEsHXEX4ohmPvCjltSPG1fXpCCvm5rveX5lj7jzD0FTCc7lubwW
ME+uDA/K28ZV4eysuh6TY9FnLVKvbhL0oEqxBJyfSHf9s8qwf71BbIOnk734A9Nc
kU+IXXLpRWwlzKwRlFwPjzENN9annwhh2drL57EGGzGey+QVg/L3j4DY8rNXY7U2
Q4UArcHbsqRKQMFE/rBfXKO9VzLZ9cqwM+9ddBP/O1G9rOo+5jMcZm1906N4bUFr
4DYwTSsQ1Psp27qRtvPeUP23ju/ohtVTsmio0aVjGTbSxbdXcCdT/vDkLt/mWvpR
p0EROxlTyGBYqxXWpmbuoSvlgUkbWSDOXjZkMlXdZ4Gt+F4zJ4CvkxGVettRxBx5
mMOEznS3vJOWxRSD8GRevUJBcNrB3Dc8Z1t7inO00bqvWlojDcKZz79BPat1A4kG
bfOUi8RwenJIZPc=
=T0mq
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: