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

Bug#984186: marked as done (libloki: ftbfs with GCC-11)



Your message dated Tue, 19 Oct 2021 20:36:22 +0000
with message-id <E1mcvqQ-000GIu-9a@fasolo.debian.org>
and subject line Bug#984186: fixed in libloki 0.1.7-5
has caused the Debian Bug report #984186,
regarding libloki: 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.)


-- 
984186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984186
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libloki
Version: 0.1.7-4
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/libloki_0.1.7-4_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.

[...]
      |              ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../include/loki/Singleton.h:30,
                 from ../include/loki/SmallObj.h:23,
                 from SmallObj.cpp:19:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from SmallObj.cpp:19:
../include/loki/SmallObj.h: At global scope:
../include/loki/SmallObj.h:462:57: error: ISO C++17 does not allow dynamic exception specifications
  462 |         static void * operator new ( std::size_t size ) throw ( std::bad_alloc )
      |                                                         ^~~~~
In file included from ../include/loki/SmallObj.h:23,
                 from ../include/loki/SmartPtr.h:33,
                 from SmartPtr.cpp:20:
../include/loki/Singleton.h: In function ‘void Loki::SetLongevity(T*, unsigned int, Destroyer)’:
../include/loki/Singleton.h:158:14: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  158 |         std::auto_ptr<LifetimeTracker>
      |              ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../include/loki/Singleton.h:30,
                 from ../include/loki/SmallObj.h:23,
                 from ../include/loki/SmartPtr.h:33,
                 from SmartPtr.cpp:20:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ../include/loki/SmallObj.h:23,
                 from ../include/loki/SmartPtr.h:33,
                 from ../include/loki/StrongPtr.h:20,
                 from StrongPtr.cpp:16:
../include/loki/Singleton.h: In function ‘void Loki::SetLongevity(T*, unsigned int, Destroyer)’:
../include/loki/Singleton.h:158:14: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  158 |         std::auto_ptr<LifetimeTracker>
      |              ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ../include/loki/Singleton.h:30,
                 from ../include/loki/SmallObj.h:23,
                 from ../include/loki/SmartPtr.h:33,
                 from ../include/loki/StrongPtr.h:20,
                 from StrongPtr.cpp:16:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ../include/loki/SmartPtr.h:33,
                 from ../include/loki/StrongPtr.h:20,
                 from StrongPtr.cpp:16:
../include/loki/SmallObj.h: At global scope:
../include/loki/SmallObj.h:462:57: error: ISO C++17 does not allow dynamic exception specifications
  462 |         static void * operator new ( std::size_t size ) throw ( std::bad_alloc )
      |                                                         ^~~~~
In file included from ../include/loki/SmartPtr.h:33,
                 from SmartPtr.cpp:20:
../include/loki/SmallObj.h: At global scope:
../include/loki/SmallObj.h:462:57: error: ISO C++17 does not allow dynamic exception specifications
  462 |         static void * operator new ( std::size_t size ) throw ( std::bad_alloc )
      |                                                         ^~~~~
make[3]: *** [Makefile:86: SmallObj.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:86: SmartPtr.lo] Error 1
make[3]: *** [Makefile:86: StrongPtr.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:9: build-shared] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libloki
Source-Version: 0.1.7-5
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
libloki, 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 984186@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 libloki 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: Tue, 19 Oct 2021 22:04:10 +0200
Source: libloki
Architecture: source
Version: 0.1.7-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 984186
Changes:
 libloki (0.1.7-5) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with GCC 11, thanks to Lukas Märdian.  (Closes: #984186)
Checksums-Sha1:
 32a9e24d5fb8fcc609cfa090825776a418c1f454 1858 libloki_0.1.7-5.dsc
 f352ec074db0072b8f6adb34407bcfc0e7ada467 5528 libloki_0.1.7-5.debian.tar.xz
 c8e25c7fabab914a1d7e8b65df66a023ac65b035 5592 libloki_0.1.7-5_source.buildinfo
Checksums-Sha256:
 c548192ed119de2a8ca8d346246c3b906a362202acaf07056ec8d804e7972aee 1858 libloki_0.1.7-5.dsc
 4ea162d515ac9539cbdabd140aee1322376637bd68b54934a05619cab5d96fb2 5528 libloki_0.1.7-5.debian.tar.xz
 5640053e79781f98b860f57e6924003a80c8bbe92dea09e8db760198c6e23cfc 5592 libloki_0.1.7-5_source.buildinfo
Files:
 f3807d7d397cde567f7255a20d7e15f6 1858 libs optional libloki_0.1.7-5.dsc
 facdc3ea834bf8d8e2150db1a3586677 5528 libs optional libloki_0.1.7-5.debian.tar.xz
 e6a0a76881409e09b27683010fbc73ca 5592 libs optional libloki_0.1.7-5_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmFvJRMQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCIoDD/4iEwl9ym24kHn2ViL2Q2vAOGynTA4SdYbw
XvioQF6VoaRvfn0O4kG0puOOhc2vSF7JFAuSg1nuV4M9fVXGuHrz8WAuwPux5MCr
VR92s3GKf09CALMsw1gzHRKo0gNN+BDOn2fK+t2d/neBhRHCuXgyRz0TiT2+jKID
nC6uqUPAYb8DGEhhkAccO2ARzUkCrEQeUkneyU02MitrAnFLAFurfv6mw6pnL0Aa
ITTtrua73XuM0j3qTGO4hhNkK04IcTrIfmG4gzlmFM45tVWL2JK5v6t0gbSZs6CP
/UZA7G+o3U/xjjtJxss7pLkjCy62228pqbmt0mLZnq1jv1prF1B8bUbku/qhWNzr
DcvvuQNjrfsBiHRykL+EbBXOGSXjVeeflbs86aDT0ri2S0ct1LNhrYoHrVW8meU1
x4OU48VvPiTQUximA4gb3jPIJs0aaUIR/SPh9UogqQ6RL3HJcC60BjuE/DnN4Qr8
pLyKGvWNz2T/GC30VaP0wTb0a0sv5SP7cr31v4KueOKsrQIgpc79sOIVoBcDvUPc
2fd90P7LGN8SjSzRS8/I15Zwnthj1NlHeb/zckvFEhX7PgbOOlGGMjhsKR9kdHzb
C9vAtxo0FQk1IkLujMRne56eyrZbCJrmRCLhuDANVFiRHay+CeCHpH5bnAoj7aby
QB7JFaAoWQ==
=v8T6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: