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

Bug#984196: marked as done (libopendbx: ftbfs with GCC-11)



Your message dated Mon, 18 Oct 2021 12:18:39 +0000
with message-id <E1mcRbD-000DgK-06@fasolo.debian.org>
and subject line Bug#984196: fixed in libopendbx 1.4.6-16
has caused the Debian Bug report #984196,
regarding libopendbx: 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.)


-- 
984196: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984196
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libopendbx
Version: 1.4.6-15
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/libopendbx_1.4.6-15_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.

[...]
  193 |         unsigned long Result_Impl::columnPos( const string& name ) throw( std::exception )
      |                                                                    ^~~~~
odbx_impl.cpp:216:67: error: ISO C++17 does not allow dynamic exception specifications
  216 |         const string Result_Impl::columnName( unsigned long pos ) throw( std::exception )
      |                                                                   ^~~~~
odbx_impl.cpp:233:63: error: ISO C++17 does not allow dynamic exception specifications
  233 |         odbxtype Result_Impl::columnType( unsigned long pos ) throw( std::exception )
      |                                                               ^~~~~
odbx_impl.cpp:245:69: error: ISO C++17 does not allow dynamic exception specifications
  245 |         unsigned long Result_Impl::fieldLength( unsigned long pos ) throw( std::exception )
      |                                                                     ^~~~~
odbx_impl.cpp:257:66: error: ISO C++17 does not allow dynamic exception specifications
  257 |         const char* Result_Impl::fieldValue( unsigned long pos ) throw( std::exception )
      |                                                                  ^~~~~
odbx_impl.cpp:268:61: error: ISO C++17 does not allow dynamic exception specifications
  268 |         Lob_Iface* Result_Impl::getLob( const char* value ) throw( std::exception )
      |                                                             ^~~~~
odbx_impl.cpp:283:48: error: ISO C++17 does not allow dynamic exception specifications
  283 |         Stmt_Impl::Stmt_Impl( odbx_t* handle ) throw( std::exception )
      |                                                ^~~~~
odbx_impl.cpp:304:79: error: ISO C++17 does not allow dynamic exception specifications
  304 |         StmtSimple_Impl::StmtSimple_Impl( odbx_t* handle, const string& sql ) throw( std::exception ) : Stmt_Impl( handle )
      |                                                                               ^~~~~
odbx_impl.cpp:329:44: error: ISO C++17 does not allow dynamic exception specifications
  329 |         StmtSimple_Impl::StmtSimple_Impl() throw( std::exception ) : Stmt_Impl( NULL )
      |                                            ^~~~~
odbx_impl.cpp:368:50: error: ISO C++17 does not allow dynamic exception specifications
  368 |         Result_Iface* StmtSimple_Impl::execute() throw( std::exception )
      |                                                  ^~~~~
odbx_impl.cpp:380:55: error: ISO C++17 does not allow dynamic exception specifications
  380 |         inline void StmtSimple_Impl::_exec_noparams() throw( std::exception )
      |                                                       ^~~~~
odbx_impl.cpp:455:89: error: ISO C++17 does not allow dynamic exception specifications
  455 |         Conn_Impl::Conn_Impl( const char* backend, const char* host, const char* port ) throw( std::exception )
      |                                                                                         ^~~~~
odbx_impl.cpp:483:106: error: ISO C++17 does not allow dynamic exception specifications
  483 |         void Conn_Impl::bind( const char* database, const char* who, const char* cred, odbxbind method ) throw( std::exception )
      |                                                                                                          ^~~~~
odbx_impl.cpp:497:34: error: ISO C++17 does not allow dynamic exception specifications
  497 |         void Conn_Impl::unbind() throw( std::exception )
      |                                  ^~~~~
odbx_impl.cpp:511:34: error: ISO C++17 does not allow dynamic exception specifications
  511 |         void Conn_Impl::finish() throw( std::exception )
      |                                  ^~~~~
odbx_impl.cpp:531:54: error: ISO C++17 does not allow dynamic exception specifications
  531 |         bool Conn_Impl::getCapability( odbxcap cap ) throw( std::exception )
      |                                                      ^~~~~
odbx_impl.cpp:548:66: error: ISO C++17 does not allow dynamic exception specifications
  548 |         void Conn_Impl::getOption( odbxopt option, void* value ) throw( std::exception )
      |                                                                  ^~~~~
odbx_impl.cpp:560:66: error: ISO C++17 does not allow dynamic exception specifications
  560 |         void Conn_Impl::setOption( odbxopt option, void* value ) throw( std::exception )
      |                                                                  ^~~~~
odbx_impl.cpp:572:90: error: ISO C++17 does not allow dynamic exception specifications
  572 |         string& Conn_Impl::escape( const char* from, unsigned long fromlen, string& to ) throw( std::exception )
      |                                                                                          ^~~~~
odbx_impl.cpp:597:77: error: ISO C++17 does not allow dynamic exception specifications
  597 |         Stmt_Iface* Conn_Impl::create( const string& sql, Stmt::Type type ) throw( std::exception )
      |                                                                             ^~~~~
odbx_impl.cpp:610:70: error: ISO C++17 does not allow dynamic exception specifications
  610 |         inline char* Conn_Impl::_resize( char* buffer, size_t size ) throw( std::exception )
      |                                                                      ^~~~~
make[3]: *** [Makefile:571: libopendbxplus_la-odbx_impl.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:521: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:426: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:47: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libopendbx
Source-Version: 1.4.6-16
Done: David Bürgin <dbuergin@gluet.ch>

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

Debian distribution maintenance software
pp.
David Bürgin <dbuergin@gluet.ch> (supplier of updated libopendbx 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: Sun, 17 Oct 2021 10:39:05 +0200
Source: libopendbx
Architecture: source
Version: 1.4.6-16
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: David Bürgin <dbuergin@gluet.ch>
Closes: 984196
Changes:
 libopendbx (1.4.6-16) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with GCC-11 (Closes: #984196):
     - Build with -std=c++11 in CXXFLAGS.
   * Adjust symbols in libopendbx1.symbols according to dpkg-gensymbols output.
   * Bump Standards-Version to 4.6.0 without further changes.
Checksums-Sha1:
 da7adc1a7a00f63c34319b5475e20283a6a6552d 2613 libopendbx_1.4.6-16.dsc
 4d220a80d9d67059bd1bbd01a45bc5cac4e8c08f 77792 libopendbx_1.4.6-16.debian.tar.xz
 e35eb620d9ab3a49284e6a37940d1e318bc1cb8f 8499 libopendbx_1.4.6-16_source.buildinfo
Checksums-Sha256:
 e55e95f2d3b66e960751e619f484d93f3bac3c27f1b436b76ea1c61149a27fb6 2613 libopendbx_1.4.6-16.dsc
 ff5714fb4feeffd6f80ae5e061676657ea0f2c1a840e6b1e1841f545e7d4f203 77792 libopendbx_1.4.6-16.debian.tar.xz
 c7718f59955a77e17f5742315ce5db02f259954c86e9739513b769c4c60ea5b5 8499 libopendbx_1.4.6-16_source.buildinfo
Files:
 a8cd729ad737009a2a734b3d1aeac7cb 2613 libs optional libopendbx_1.4.6-16.dsc
 046f10831c1187151e07e5a0461415a9 77792 libs optional libopendbx_1.4.6-16.debian.tar.xz
 ca33a2a057902356149c9d769bc5252e 8499 libs optional libopendbx_1.4.6-16_source.buildinfo

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

iQGzBAEBCgAdFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmFtYIsACgkQH1x6i0VW
QxSCjwv+I1t/80kqTJ3aKPha/fy6n8JaiYlhsdYZZaTvB5+dzL1hT8Ohbi52641+
dCrsGAOV0MwcRm0jMJckzbHlGMlH3j9s4cWxmi5AKgmmcV1Tn6bzwWpiL1l0vkab
9FN4b0NmGuaYBdKz5oaR7+oTwLYa9TRH70fn/9+lP4dsyh31Jg4kY8Nv9WmQhtfI
zX8kivOqJEbGjFNw5RaVnV4HthHlhRF2M/29tqOSf07r0krJUxCA1W3rl0dLoAGB
D+bOQtyx+J17nIP/LS81I9FEKOo++v/vCdpnWySTYvCpBDlwJupjcYE8he4D2/5Y
kvNkdqd5eJ7bhYT042ZyukT6oAimtrla56hWbcaqC6/vv9S18aF+aPu2+UzaTBxZ
fy/6NBUOmBdxzxhyI5zJhXahh4kLKo3okM7/Ag8bFlKnIXOdW4ajoN17UmDSCM8r
oUazeQsgbDzJ25CCNwF8wzJaT34o7UUBH8nCEWcawXpw7nK2lfCh8398l4V32F/d
C4PrNFaP
=D6tb
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: