[MacPorts] #57424: petsc: FCFLAGS and FFLAGS are both set, but with different values

MacPorts noreply at macports.org
Sun Dec 30 18:18:02 UTC 2018


#57424: petsc: FCFLAGS and FFLAGS are both set, but with different values
-------------------------+------------------------
  Reporter:  ryandesign  |      Owner:  seanfarley
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  petsc       |
-------------------------+------------------------

Comment (by FraPsiZeta):

 Replying to [comment:3 jjstickel]:
 > I can confirm the workaround in #57358#comment:11 worked for me. I
 installed petsc with these variants:
 > {{{
 > port -u install petsc +gfortran -mpich +openmpi +sundials -accelerate
 +openblas
 > }}}
 > where I already had openmpi-default +gcc8 installed.

 To this day the problem persist

 {{{
 *******************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
 details):
 -------------------------------------------------------------------------------
  FCFLAGS and FFLAGS are both set, but with different values (FCFLAGS=-pipe
 -m64, FFLAGS=-pipe -Os -m64)
 *******************************************************************************
 }}}

 I tried the workaround in #57358, i've guessed that the position in which
 the line needs to be add in the file (opt/local/../../math/petsc/Portfile)
 is irrelevant. If that is the case (and if didn't screw anything up) is
 there another solution to this problem? I tried your variants, as well as
 without any, can't understand what the problem is (by the way, no other
 ports are installed, just the dependecies needed for petsc)

-- 
Ticket URL: <https://trac.macports.org/ticket/57424#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list