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

Bug#984099: marked as done (libebml: ftbfs with GCC-11)



Your message dated Tue, 12 Oct 2021 20:49:06 +0000
with message-id <E1maOhu-000AH8-DR@fasolo.debian.org>
and subject line Bug#984099: fixed in libebml 1.4.2-2
has caused the Debian Bug report #984099,
regarding libebml: 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.)


-- 
984099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984099
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libebml
Version: 1.4.2-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/libebml_1.4.2-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.

[...]
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/ebml.dir/build.make CMakeFiles/ebml.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ebml.dir/DependInfo.cmake --color=
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ebml.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ebml.dir/depend.internal".
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ebml.dir/depend.internal".
Scanning dependencies of target ebml
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/ebml.dir/build.make CMakeFiles/ebml.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  4%] Building CXX object CMakeFiles/ebml.dir/src/EbmlContexts.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlContexts.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlContexts.cpp
[ 12%] Building CXX object CMakeFiles/ebml.dir/src/EbmlBinary.cpp.o
[ 12%] Building CXX object CMakeFiles/ebml.dir/src/Debug.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/Debug.cpp.o -c /<<PKGBUILDDIR>>/src/Debug.cpp
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlBinary.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlBinary.cpp
[ 16%] Building CXX object CMakeFiles/ebml.dir/src/EbmlCrc32.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlCrc32.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlCrc32.cpp
[ 20%] Building CXX object CMakeFiles/ebml.dir/src/EbmlDate.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlDate.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlDate.cpp
[ 25%] Building CXX object CMakeFiles/ebml.dir/src/EbmlDummy.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlDummy.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlDummy.cpp
[ 29%] Building CXX object CMakeFiles/ebml.dir/src/EbmlElement.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlElement.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlElement.cpp
[ 33%] Building CXX object CMakeFiles/ebml.dir/src/EbmlFloat.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlFloat.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlFloat.cpp
[ 37%] Building CXX object CMakeFiles/ebml.dir/src/EbmlHead.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlHead.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlHead.cpp
[ 41%] Building CXX object CMakeFiles/ebml.dir/src/EbmlMaster.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlMaster.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlMaster.cpp
[ 45%] Building CXX object CMakeFiles/ebml.dir/src/EbmlSInteger.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlSInteger.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlSInteger.cpp
[ 50%] Building CXX object CMakeFiles/ebml.dir/src/EbmlStream.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlStream.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlStream.cpp
[ 54%] Building CXX object CMakeFiles/ebml.dir/src/EbmlString.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlString.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlString.cpp
[ 58%] Building CXX object CMakeFiles/ebml.dir/src/EbmlSubHead.cpp.o
/usr/bin/c++ -Debml_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/ebml.dir/src/EbmlSubHead.cpp.o -c /<<PKGBUILDDIR>>/src/EbmlSubHead.cpp
/<<PKGBUILDDIR>>/src/EbmlString.cpp: In member function ‘virtual filepos_t libebml::EbmlString::ReadData(libebml::IOCallback&, libebml::ScopeMode)’:
/<<PKGBUILDDIR>>/src/EbmlString.cpp:147:41: error: ‘numeric_limits’ is not a member of ‘std’
  147 |     auto Buffer = (GetSize() + 1 < std::numeric_limits<std::size_t>::max()) ? new (std::nothrow) char[GetSize() + 1] : nullptr;
      |                                         ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/EbmlString.cpp:147:67: error: expected primary-expression before ‘>’ token
  147 |     auto Buffer = (GetSize() + 1 < std::numeric_limits<std::size_t>::max()) ? new (std::nothrow) char[GetSize() + 1] : nullptr;
      |                                                                   ^
/<<PKGBUILDDIR>>/src/EbmlString.cpp:147:70: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  147 |     auto Buffer = (GetSize() + 1 < std::numeric_limits<std::size_t>::max()) ? new (std::nothrow) char[GetSize() + 1] : nullptr;
      |                                                                      ^~~
      |                                                                      std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /<<PKGBUILDDIR>>/ebml/EbmlEndian.h:41,
                 from /<<PKGBUILDDIR>>/ebml/EbmlTypes.h:38,
                 from /<<PKGBUILDDIR>>/ebml/EbmlString.h:41,
                 from /<<PKGBUILDDIR>>/src/EbmlString.cpp:38:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/<<PKGBUILDDIR>>/src/EbmlString.cpp:157:17: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
  157 |       delete [] Buffer;
      |                 ^~~~~~
make[3]: *** [CMakeFiles/ebml.dir/build.make:241: CMakeFiles/ebml.dir/src/EbmlString.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:98: CMakeFiles/ebml.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libebml
Source-Version: 1.4.2-2
Done: Sebastian Ramacher <sramacher@debian.org>

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

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated libebml 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 22:19:43 +0200
Source: libebml
Architecture: source
Version: 1.4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 984099
Changes:
 libebml (1.4.2-2) unstable; urgency=medium
 .
   * Team upload
   * debian/patches: Apply upstream patch to fix build with GCC 11 (Closes:
     #984099)
   * debian/control:
     - Bump Standards-Version
     - Remove B-D already satisfied in buster
     - Remove obsolete Breaks+Replaces
   * debian/rules: Remove dh_makeshlibs override as the version is satisfied in
     bullseye
Checksums-Sha1:
 a3c09a8f122e0875fd8ec9f67ac2a04771b9f017 2079 libebml_1.4.2-2.dsc
 85c1cc4edc3b6bb1264d9818941f119ef204a27b 5948 libebml_1.4.2-2.debian.tar.xz
Checksums-Sha256:
 d6eeeb233adb91e00242f51f92383435a3b9b27b09696dad72fc5f461b456e5b 2079 libebml_1.4.2-2.dsc
 00d89a0869114905773d46975873f5734451fad2ae67493b916b330061468b9e 5948 libebml_1.4.2-2.debian.tar.xz
Files:
 33beca10fba608c87f8d63189fd4c5b9 2079 devel optional libebml_1.4.2-2.dsc
 5dfc34439799dff59510beccef7434ec 5948 devel optional libebml_1.4.2-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAmFl7vcACgkQafL8UW6n
GZMr7A//VMP1O1U4oAp0jGT6v95p8xOfmlQURZI/J/+85QsKBOKpr8tMVwyHJSKD
y63q7ws4IwFNg1DReVkEYT2Qp95W9Q1sgl9C1q0x/bSIOwJmJ6rGYu0U+M1yVGIY
02Sp9AUa+K0xo8nTNjW+o6eH35W+6+LhLaencTmUNwf9RGhmyK54XcO7mKUm1ZEJ
stc2PP/z65zpnrMSnvci54Ny41+8LJPCm5TeLW9SWBk/byPKlhluwB2pFKoELnQA
RW1ZPDgG8c+tfbIyZZ8XGNkK7oOS9D8o91xcClNyLyRfY2GlpA2hCN7/L1BVubkw
K+ng5LH3MvGM+n4qhryRhBpW7oun6EkhfdvQMDu5dSH5I52LXMCl1y4BVFLDaPy+
KR48ldGw6tFMxelL2CXIcZg5gq0AjeWK12ncXpmojf4ysavKQ2TIsFGz1DNyPF2D
HiNhAI310GFIFmJa64JAPZUX7uJ+wACxWlwK/+sh0z6i8ogY2hZuYPW5ypYiBSVp
ONJpeybFOFnhpNNO8QuVMlLV4uO2UAGfhiHQowvddyqKFCEhLj/xwcD+1e5v+h4S
LHauC4WG7/8m/+nRLlPPmXlOoAoAi3kKJN8RG5b+J1qLBdIbrD7RUTmpDgYPLhrd
UY75FwWZR0eZuLeipDEhhbILFTV7W40PqJ4s0sKd9CBtncilcSA=
=5MtQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: