** Changed in: presage (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to presage in Ubuntu.
https://bugs.launchpad.net/bugs/1988196
Title:
presage: ftbfs with GCC-11
Status in presage package in Ubuntu:
Fix Released
Status in presage package in Debian:
Fix Released
Bug description:
Imported from Debian bug http://bugs.debian.org/984297:
Package: src:presage
Version: 0.9.1-2.2
Severity: normal
Tags: sid bookworm
User: [email protected]
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/presage_0.9.1-2.2_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.
[...]
presage.h:199:33: error: ISO C++17 does not allow dynamic exception
specifications
199 | std::string context() const throw (PresageException);
| ^~~~~
presage.h:206:33: error: ISO C++17 does not allow dynamic exception
specifications
206 | bool context_change() const throw (PresageException);
| ^~~~~
presage.h:212:32: error: ISO C++17 does not allow dynamic exception
specifications
212 | std::string prefix() const throw (PresageException);
| ^~~~~
presage.h:221:58: error: ISO C++17 does not allow dynamic exception
specifications
221 | std::string config(const std::string variable) const throw
(PresageException);
| ^~~~~
presage.h:230:76: error: ISO C++17 does not allow dynamic exception
specifications
230 | void config(const std::string variable, const std::string value)
const throw (PresageException);
|
^~~~~
presage.h:239:30: error: ISO C++17 does not allow dynamic exception
specifications
239 | void save_config() const throw (PresageException);
| ^~~~~
presage.cpp:34:5: error: ISO C++17 does not allow dynamic exception
specifications
34 | throw (PresageException)
| ^~~~~
presage.cpp:45:5: error: ISO C++17 does not allow dynamic exception
specifications
45 | throw (PresageException)
| ^~~~~
presage.cpp:65:5: error: ISO C++17 does not allow dynamic exception
specifications
65 | throw (PresageException)
| ^~~~~
presage.cpp:91:5: error: ISO C++17 does not allow dynamic exception
specifications
91 | throw (PresageException)
| ^~~~~
presage.cpp:140:5: error: ISO C++17 does not allow dynamic exception
specifications
140 | throw (PresageException)
| ^~~~~
presage.cpp:147:5: error: ISO C++17 does not allow dynamic exception
specifications
147 | throw (PresageException)
| ^~~~~
presage.cpp:153:5: error: ISO C++17 does not allow dynamic exception
specifications
153 | throw (PresageException)
| ^~~~~
presage.cpp:201:5: error: ISO C++17 does not allow dynamic exception
specifications
201 | throw (PresageException)
| ^~~~~
presage.cpp:207:5: error: ISO C++17 does not allow dynamic exception
specifications
207 | throw (PresageException)
| ^~~~~
presage.cpp:213:5: error: ISO C++17 does not allow dynamic exception
specifications
213 | throw (PresageException)
| ^~~~~
presage.cpp:219:5: error: ISO C++17 does not allow dynamic exception
specifications
219 | throw (PresageException)
| ^~~~~
presage.cpp:225:5: error: ISO C++17 does not allow dynamic exception
specifications
225 | throw (PresageException)
| ^~~~~
presage.cpp:231:5: error: ISO C++17 does not allow dynamic exception
specifications
231 | throw (PresageException)
| ^~~~~
make[5]: *** [Makefile:580: libpresage_la-presage.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/lib'
make[4]: *** [Makefile:616: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lib'
make[3]: *** [Makefile:405: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:461: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:393: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp