[MacPorts] #61760: compilers PG refers to nonexistent gccdevel

MacPorts noreply at macports.org
Mon Dec 7 09:01:37 UTC 2020


#61760: compilers PG refers to nonexistent gccdevel
------------------------+--------------------
  Reporter:  Isaacych   |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  gcc-devel  |
------------------------+--------------------

Comment (by cjones051073):

 No, that change I made above is correct.

 The line

 {{{
  set compilers.gcc_default gccdevel
 }}}

 sets the default 'variant' name, *not* the port name that that variant
 uses. The variant name is 'gccdevel' and the compiler port associated to
 that is 'gcc-devel'

 The issue is previously the port name and variant name was always the
 same, and some ports had made the assumption this would always be the
 case. Octave is doing the same here and needs to be fixed to not do this.

 See

 https://github.com/macports/macports-
 ports/commit/770ac7b5057936a6631dcf952e8602fd7eb713d0#diff-
 18ddf39afeaaff209d51f90863e28c1242959b72fdd895504f6485a300d18163

 where I added a method to the PG to access the correct port depends for a
 given fortran variant, and

 https://github.com/macports/macports-
 ports/commit/a77555c71b83992dd197b205544651b3c0a808a1#diff-
 86f513d8f85457e8d4e3747d69c34953ddce490ea3287c5e95085e12f17a0087

 which uses it.

 Octave needs to do the same.

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


More information about the macports-tickets mailing list