[Bug 266196] science/octopus: Fails to build with GCC 12: Fatal Error: Sorry, polymorphic arrays not yet supported for firstprivate compilation terminated.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Nov 2022 09:45:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266196

Lorenzo Salvadore <salvadore@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
                 CC|                            |fortran@FreeBSD.org,
                   |                            |gerald@FreeBSD.org
             Status|Closed                      |Open

--- Comment #5 from Lorenzo Salvadore <salvadore@freebsd.org> ---
I am sorry, but I have to re-open this bug report: according to Antoine's
exp-run, it still fails with GCC 12.

New log:

http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-11-12_19h30m16s/logs/octopus-11.4_2.log

I think I know what is the problem here. The dependency on GCC is not pulled in
directly, but through USES=fortran, thus USE_GCC is ignored. So the issue can
probably be fixed by setting the dependency on gfortran11 explicitely and
dropping USE=fortran.
Although, in the long term it might be a better idea to improve USES=fortran so
that an explicit version can be required (I think it cannot at the moment, am I
wrong?) 

I add fortran@ and gerald@, in case they have some smarter solution to suggest.

-- 
You are receiving this mail because:
You are on the CC list for the bug.