Bug 263531 - lang/plexil: Fails to build with GCC 11: error: ISO C++17 does not allow dynamic exception specifications
Summary: lang/plexil: Fails to build with GCC 11: error: ISO C++17 does not allow dyna...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
URL: http://package18.nyi.freebsd.org/data...
Keywords:
Depends on:
Blocks: 258378
  Show dependency treegraph
 
Reported: 2022-04-24 19:09 UTC by Lorenzo Salvadore
Modified: 2022-04-24 19:43 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2022-04-24 19:09:53 UTC
Building port with GCC 11 gives the following error message (full log in URL):

In file included from Array.hh:30,
                 from Array.cc:27:
ValueType.hh:157:5: error: ISO C++17 does not allow dynamic exception specifications
  157 |     throw (ParserException);
      |     ^~~~~
ValueType.hh:161:5: error: ISO C++17 does not allow dynamic exception specifications
  161 |     throw (ParserException)
      |     ^~~~~
gmake[3]: *** [Makefile:569: libPlexilValue_la-Array.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
In file included from Array.hh:30,
                 from ArrayImpl.hh:30,
                 from ArrayImpl.cc:27:
ValueType.hh:157:5: error: ISO C++17 does not allow dynamic exception specifications
  157 |     throw (ParserException);
      |     ^~~~~
ValueType.hh:161:5: error: ISO C++17 does not allow dynamic exception specifications
  161 |     throw (ParserException)
      |     ^~~~~
gmake[3]: *** [Makefile:576: libPlexilValue_la-ArrayImpl.lo] Error 1
Comment 1 Gerald Pfeifer freebsd_committer freebsd_triage 2022-04-24 19:21:29 UTC
Note, this blocks the update of GCC_DEFAULT from GCC 10 to GCC 11 (where
GCC 12 is going to be released soon).

Also, maybe once this is addressed USE_GCC can be removed in favor of 
using the default clang compiler?
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-04-24 19:43:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0dbe6a8466dd62cb74de254ecc058badcab264f5

commit 0dbe6a8466dd62cb74de254ecc058badcab264f5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-04-24 19:41:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-04-24 19:42:21 +0000

    lang/plexil: Update 4.5.0-RC2 -> 4.5.0-RC3

    PR:             263531

 lang/plexil/Makefile  | 15 +++++++++++----
 lang/plexil/distinfo  |  6 +++---
 lang/plexil/pkg-plist | 12 +++++++++---
 3 files changed, 23 insertions(+), 10 deletions(-)
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2022-04-24 19:43:40 UTC
Closing: the port doesn't depend on GCC any more.