Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2022 09:45:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        fortran@FreeBSD.org
Subject:   [Bug 266196] science/octopus: Fails to build with GCC 12: Fatal Error: Sorry, polymorphic arrays not yet supported for firstprivate compilation terminated.
Message-ID:  <bug-266196-37611-0QOxjpta9S@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266196-37611@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266196-37611@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266196

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_19h30=
m16s/logs/octopus-11.4_2.log

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266196-37611-0QOxjpta9S>