[MacPorts] #72163: eigen3 @3.4.0_1+blas+gcc5+universal: can't read "universal_archs_to_use": no such variable

MacPorts noreply at macports.org
Wed Mar 12 20:37:39 UTC 2025


#72163: eigen3 @3.4.0_1+blas+gcc5+universal: can't read "universal_archs_to_use":
no such variable
-------------------------+----------------------
  Reporter:  ar-an-ribe  |      Owner:  eborisch
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:              |   Keywords:
      Port:  eigen3      |
-------------------------+----------------------

Comment (by ar-an-ribe):

 Replying to [comment:2 eborisch]:
 > Not quite sure what to make of this. The portfile
 [https://github.com/macports/macports-
 ports/blob/2454f8fd911451bdc77e805b2716cdbef88bd477/math/eigen3/Portfile#L115
 explicitly checks] to see if ''universal_archs_to_use'' exists:
 > {{{#!tcl
 > pre-destroot {
 >     set build_suffix {}
 >     if {![info exists universal_archs_to_use]} {
 >         lappend build_suffix ""
 >     } else {
 >         set dash "-"
 >         foreach arch ${universal_archs_to_use} {
 >             lappend build_suffix ${dash}${arch}
 >         }
 >     }
 >     …
 > }
 > }}}

 Is this `pre-destroot` section executed before the configuration phase?
 (I’m not familiar with such MacPorts internals.)

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


More information about the macports-tickets mailing list