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

Bug#984135: marked as done (flwrap: ftbfs with GCC-11)



Your message dated Tue, 27 Apr 2021 05:50:04 +0000
with message-id <E1lbGbk-000HUc-VT@fasolo.debian.org>
and subject line Bug#984135: fixed in flwrap 1.3.5-2
has caused the Debian Bug report #984135,
regarding flwrap: 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.)


-- 
984135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984135
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:flwrap
Version: 1.3.5-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/flwrap_1.3.5-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.

[...]
checking for _Bool... yes
checking for size_t... yes
checking for strstr... yes
checking for fltk-config... /usr/bin/fltk-config
checking for fluid... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands

Configuration summary:

  Version ..................... 1.3.5

  Target OS ................... linux-gnu

  Static linking .............. no
  CPU optimizations ........... none
  Debugging ................... no


   dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make  all-am
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -DHAVE_CONFIG_H -I.  -I. -I./include  -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   -pipe -Wall -fexceptions -O2 -ffast-math -finline-functions -fomit-frame-pointer   -DNDEBUG -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o flwrap-flwrap.o `test -f 'flwrap.cxx' || echo './'`flwrap.cxx
In file included from flwrap.cxx:61:
./include/base64.h:24:9: error: reference to ‘byte’ is ambiguous
   24 |         byte dtable[256];
      |         ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/string:40,
                 from flwrap.cxx:36:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
  404 |   enum class byte : unsigned char;
      |                              ^~~~
In file included from flwrap.cxx:61:
./include/base64.h:15:23: note:                 ‘typedef unsigned char byte’
   15 | typedef unsigned char byte;
      |                       ^~~~
./include/base64.h:25:9: error: reference to ‘byte’ is ambiguous
   25 |         byte etable[256];
      |         ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/string:40,
                 from flwrap.cxx:36:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
  404 |   enum class byte : unsigned char;
      |                              ^~~~
In file included from flwrap.cxx:61:
./include/base64.h:15:23: note:                 ‘typedef unsigned char byte’
   15 | typedef unsigned char byte;
      |                       ^~~~
make[3]: *** [Makefile:640: flwrap-flwrap.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:390: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:389: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 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: flwrap
Source-Version: 1.3.5-2
Done: tony mancill <tmancill@debian.org>

We believe that the bug you reported is fixed in the latest version of
flwrap, 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 984135@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 flwrap 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: Mon, 26 Apr 2021 22:11:23 -0700
Source: flwrap
Architecture: source
Version: 1.3.5-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 974621 984135
Changes:
 flwrap (1.3.5-2) experimental; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Use secure copyright file specification URI.
   * Set debhelper-compat version in Build-Depends.
   * Set upstream metadata fields: Archive, Bug-Submit (from ./configure).
 .
   [ Christoph Berg ]
   * Drop alternative B-D on libfltk1.1-dev. (Closes: #974621)
 .
   [ tony mancill ]
   * Add patch for FTBFS with GCC 11 (Closes: #984135)
   * Use debhelper-compat 13
   * Bump Standards-Version to 4.5.1
   * Set Rules-Requires-Root: no in debian/control
   * Upload to experimental.
Checksums-Sha1:
 ea4fe8e6d8afdd7fc7ab498d6e37d752f6ff599f 1932 flwrap_1.3.5-2.dsc
 86088aef83fc2c1e2f4717bfd133397a837a3b3f 2924 flwrap_1.3.5-2.debian.tar.xz
 861a5c9c9cd69da700d740b75bf5fe03429abb2b 7961 flwrap_1.3.5-2_amd64.buildinfo
Checksums-Sha256:
 ac699764e72c71230260ae2a376337b497bf8b2e29849a55cd6992ab8d6ceafe 1932 flwrap_1.3.5-2.dsc
 5e4489905606cd333c5f54eb9edb667e666964666d0b9d0c9c2acf05d3be1967 2924 flwrap_1.3.5-2.debian.tar.xz
 49ab6255c6e1cbe19d6798724ba34693f3e4a693b7913f351019575ad88f3acc 7961 flwrap_1.3.5-2_amd64.buildinfo
Files:
 9f3ebaa107fdb643010b748e1cca78c8 1932 hamradio optional flwrap_1.3.5-2.dsc
 424675b306d629e56b322e16fbe716c8 2924 hamradio optional flwrap_1.3.5-2.debian.tar.xz
 a527731a68fb42456bacd5ce97f6519c 7961 hamradio optional flwrap_1.3.5-2_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmCHn3UUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpb6UQ/9GQ5RonKbceLk/hKxnxL4mGQ3pp8P
bp1oFFJA6vj6xqQ+YAFRCfe/lAehivQw0kXV4HTCmLdQy4ySVcg7JrnLVL/uOiVk
MbvBQRY6aKLbaQZca9iYCMBRMfrqkcKa79yi2QEIpx3dKDnQBEwOpU46XJxCRTHa
FgVEaTCFSkqEzlnyDHyai25taljgTvLIX5LDeZ8t6NRasdrg2cE9X1hThWCGV2LF
Qw42hWN7G5zmeQHdit/ZLlQKbsArFT5AKC+8CxpzNMmm2Q/5KJEUPoiUdYerH/Rf
ZETG0Y5vzm41aFYlUE6O2ZzwT7JoplXH+xkaNYsEJUAjZpf9YrYNfJ9Z28qnDWqf
GHfU4cpWReykKefwVbc+X37KoCLr7RfjtVIPbssaNrRuTt2/vMUdCE92wzfh0hVt
ib6D4nYMulYRelVNnYaUq2ryxAaz5GLy7SRdIkF5qETDPD7H2IMNRLYe+d4fE1FD
fOoyfxt6TFeIiJ/F2SgfYVnANqQljq87Bz1HFr6+9TckojrX3xRJkP2nQgKF4SJk
/80iubYXH9WnWLFxRgovDLrTgyl8WuQDWAU3BZU/toUvnY1tNlgUffCLzMY7XEDl
WRFRwPNNwehTqWeXFap8uFDaUYlCL3N2ADElVVhvMRxGi8xk3KQwEKQR+6HWJPcC
Zi4l2Fhmq+WLJF8=
=yeBy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: