Summary: | media-radio/fldigi-4.1.18 - ./.../sound.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Thomas Beierlein <tomjbe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 media-radio:fldigi-4.1.18:20210512-010320.log temp.tar.bz2 |
Description
Toralf Förster
2021-05-12 09:07:00 UTC
Created attachment 707400 [details]
emerge-info.txt
Created attachment 707403 [details]
emerge-history.txt
Created attachment 707406 [details]
environment
Created attachment 707409 [details]
etc.portage.tar.bz2
Created attachment 707412 [details]
logs.tar.bz2
Created attachment 707415 [details]
media-radio:fldigi-4.1.18:20210512-010320.log
Created attachment 707418 [details]
temp.tar.bz2
I just fixed gcc-11 issues on flmsg, but I don't see an upstream commit addressing fldigi. I tested that dropping the existing patch and adding "append-cxxflags $(test-flags-CXX -std=c++14)" does fix the bug for both gcc-11 and gcc-10 still works. Not sure if anybody has a cleaner solution ready. (In reply to Richard Freeman from comment #8) > I just fixed gcc-11 issues on flmsg, but I don't see an upstream commit > addressing fldigi. > > I tested that dropping the existing patch and adding "append-cxxflags > $(test-flags-CXX -std=c++14)" does fix the bug for both gcc-11 and gcc-10 > still works. > > Not sure if anybody has a cleaner solution ready. Rich, thanks for the helpful info. I can confirm that it works for using GCC as your compiler suite. Things are looking not so good for CLANG. Needs more work. (In reply to Thomas Beierlein from comment #9) > I can confirm that it works for using GCC as your compiler suite. Things are > looking not so good for CLANG. Needs more work. Wrong test settings.... CLANG should work also. Will fix in next days. ./include/sound.h:215:22: error: ISO C++17 does not allow dynamic exception specifications
215 | ~SoundPort() throw (SndException);
| ^~~~~
make[3]: *** [Makefile:6783: misc/fldigi-arq_io.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:6811: misc/fldigi-ax25_decode.o] Error 1
make[3]: *** [Makefile:6727: fldigi-main.o] Error 1
make[3]: *** [Makefile:6853: misc/fldigi-configuration.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-radio/fldigi-4.1.19/work/fldigi-4.1.19/src'
make[2]: *** [Makefile:8747: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-radio/fldigi-4.1.19/work/fldigi-4.1.19/src'
make[1]: *** [Makefile:2036: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-radio/fldigi-4.1.19/work/fldigi-4.1.19/src'
make: *** [Makefile:469: all-recursive] Error 1
* ERROR: media-radio/fldigi-4.1.19::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-radio/fldigi-4.1.19::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-radio/fldigi-4.1.19::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-radio/fldigi-4.1.19/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-radio/fldigi-4.1.19/temp/environment'.
* Working directory: '/var/tmp/portage/media-radio/fldigi-4.1.19/work/fldigi-4.1.19'
* S: '/var/tmp/portage/media-radio/fldigi-4.1.19/work/fldigi-4.1.19'
>>> Failed to emerge media-radio/fldigi-4.1.19, Log file:
(In reply to imese from comment #11) > ./include/sound.h:215:22: error: ISO C++17 does not allow dynamic exception > specifications > 215 | ~SoundPort() throw (SndException); > | ^~~~~ >..... > >>> Failed to emerge media-radio/fldigi-4.1.19, Log file: Yes we know that that is the problem (see attachments from original post). Please retest AFTER a change was made. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2d57478d976e76b25b9dd71effd0cb1f0b6f77 commit 9b2d57478d976e76b25b9dd71effd0cb1f0b6f77 Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2021-07-01 05:40:14 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2021-07-01 05:40:14 +0000 media-radio/fldigi: Fix GCC-11 compilation problems (use C++14) Closes: https://bugs.gentoo.org/789627 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> media-radio/fldigi/files/fldigi-c++11.patch | 41 ----------------------------- media-radio/fldigi/fldigi-4.1.18.ebuild | 5 ++-- media-radio/fldigi/fldigi-4.1.19.ebuild | 5 ++-- 3 files changed, 6 insertions(+), 45 deletions(-) |