Your message dated Fri, 09 Aug 2024 11:11:25 +0100
with message-id <c029a35e247ec47267694f57f0f6f193d6804246.ca...@sermisy.org>
and subject line Re: mkcue: ftbfs with GCC-11
has caused the Debian Bug report #984237,
regarding mkcue: 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 ow...@bugs.debian.org
immediately.)
--
984237: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984237
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:mkcue
Version: 1-7
Severity: normal
Tags: sid bookworm
User: debian-...@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/mkcue_1-7_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.
[...]
62 | for (track = cdinfo.FirstTrack;
| ^~~~~~~~~~
mkcue.cc:63:42: error: ‘struct MUSICBRAINZ_CDINFO’ has no member named
‘LastTrack’
63 | track <= min(trackcount, cdinfo.LastTrack);
| ^~~~~~~~~
mkcue.cc:61:27: note: in definition of macro ‘min’
61 | #define min(x, y) ((x) < (y) ? (x) : (y))
| ^
mkcue.cc:63:42: error: ‘struct MUSICBRAINZ_CDINFO’ has no member named
‘LastTrack’
63 | track <= min(trackcount, cdinfo.LastTrack);
| ^~~~~~~~~
mkcue.cc:61:39: note: in definition of macro ‘min’
61 | #define min(x, y) ((x) < (y) ? (x) : (y))
| ^
In file included from mb.cc:38:
diskid.h:64:5: error: reference to ‘byte’ is ambiguous
64 | byte FirstTrack; // The first track on CD : normally 1
| ^~~~
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 diskid.h:29,
from mb.cc:38:
/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 mb.cc:38:
diskid.h:60:23: note: ‘typedef unsigned char byte’
60 | typedef unsigned char byte;
| ^~~~
diskid.h:65:5: error: reference to ‘byte’ is ambiguous
65 | byte LastTrack; // The last track on CD: max number 99
| ^~~~
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 diskid.h:29,
from mb.cc:38:
/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 mb.cc:38:
diskid.h:60:23: note: ‘typedef unsigned char byte’
60 | typedef unsigned char byte;
| ^~~~
mb.cc:45:37: warning: ISO C++ forbids converting a string constant to
‘MUSICBRAINZ_DEVICE’ {aka ‘char*’} [-Wwrite-strings]
45 | MUSICBRAINZ_DEVICE DEFAULT_DEVICE = "/dev/cdrom";
| ^~~~~~~~~~~~
mb.cc: In member function ‘bool DiskId::ReadTOC(MUSICBRAINZ_DEVICE,
MUSICBRAINZ_CDINFO&)’:
mb.cc:150:19: warning: ISO C++ forbids converting a string constant to ‘char*’
[-Wwrite-strings]
150 | ReportError("Cannot read table of contents.");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mb.cc:158:19: warning: ISO C++ forbids converting a string constant to ‘char*’
[-Wwrite-strings]
158 | ReportError("This disk has no tracks.");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
mb.cc:179:11: error: ‘struct MUSICBRAINZ_CDINFO’ has no member named
‘FirstTrack’
179 | cdinfo.FirstTrack = first;
| ^~~~~~~~~~
mb.cc:180:11: error: ‘struct MUSICBRAINZ_CDINFO’ has no member named ‘LastTrack’
180 | cdinfo.LastTrack = last;
| ^~~~~~~~~
make[2]: *** [<builtin>: mkcue.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [<builtin>: mb.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "CXXFLAGS=-g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security" "LDFLAGS=-Wl,-z,relro -Wl,--as-needed" returned exit
code 2
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit
status 2
--- End Message ---
--- Begin Message ---
Version: 1-8
This FTBFS has been fixed by the latest upload.
--- End Message ---