Bug 255391

Summary: lang/gcc10: gfortran 10.2 cannot build science/cgnslib v4.2.0
Product: Ports & Packages Reporter: Thierry Thomas <thierry>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: fortran, gerald
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99982

Description Thierry Thomas freebsd_committer 2021-04-25 13:55:43 UTC
Due the GCC bug reported at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99982
the port science/cgnslib cannot be upgraded to v4.2.0: see also
https://github.com/CGNS/CGNS/releases/tag/v4.2.0

Trying to build it anyway brings this message:
  Fortran mapping (cg_goto_f) is broken for the specified gfortran version.

                             !!! IT'S ADVISABLE TO AVOID VERSION 10.2 !!!

It seems that this bug is not yet fixed upstream, but when it will be available, please back-port the fix or upgrade when possible.
Comment 1 Gerald Pfeifer freebsd_committer 2021-04-25 15:01:27 UTC
Thanks for the report and reference.  I have the upgrade of lang/gcc10
to GCC 10.3 in the works and plan to commit in the following week, alas
you (and the upstream report) indicate this doesn't yet address the issue.

I'll keep on eye on the upstream report and will backport a fix once it
develops if possible.