[MacPorts] #50723: py27-scipy and py26-scipy fail during "upgrade outdated" with "must set at least one Fortran variant"

MacPorts noreply at macports.org
Sun Mar 6 08:19:10 PST 2016


#50723: py27-scipy and py26-scipy fail during "upgrade outdated" with "must set at
least one Fortran variant"
--------------------------+--------------------
  Reporter:  ebrignole@…  |      Owner:  sean@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  py-scipy     |
--------------------------+--------------------

Comment (by Eric.J.Fielding@…):

 I was getting the same error. I found that was because my py27-scipy was
 installed with the +gcc47 variant that no longer exists.


 {{{
  fielding% sudo port variants py27-scipy
 py27-scipy has the variants:
    atlas: Use MacPorts ATLAS libraries
      * conflicts with openblas
    clang37: Build using the MacPorts clang 3.7 compiler
      * conflicts with gcc49 gcc5 gcc6 llvm
    gcc48: Legacy compatibility variant
      * requires gfortran
    gcc49: Build using the MacPorts gcc 4.9 compiler
      * conflicts with clang37 gcc5 gcc6 gfortran llvm
    gcc5: Build using the MacPorts gcc 5 compiler
      * conflicts with clang37 gcc49 gcc6 gfortran llvm
    gcc6: Build using the MacPorts gcc 6 compiler
      * conflicts with clang37 gcc49 gcc5 gfortran llvm
 [+]gfortran: Build using the MacPorts gcc 5 Fortran compiler
      * conflicts with gcc49 gcc5 gcc6
    llvm: Build using the Apple native llvm-gcc 4.2 compiler
      * conflicts with clang37 gcc49 gcc5 gcc6
    openblas: Use MacPorts OpenBLAS Libraries
      * conflicts with atlas

 fielding% sudo port installed py27-scipy
 The following ports are currently installed:
   py27-scipy @0.15.1_0+gcc47
   py27-scipy @0.16.0_0+gcc47
   py27-scipy @0.16.0_1+gcc47
   py27-scipy @0.16.1_0+gcc47 (active)

 }}}

 I just had to run a port clean and then install with a current variant.


 {{{
  fielding% sudo port clean py27-scipy
 --->  Cleaning py27-scipy
  fielding% sudo port install py27-scipy +gcc49

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50723#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list