[MacPorts] #71654: GCC13 Blacklisted In OS 15

MacPorts noreply at macports.org
Sat Dec 28 00:52:31 UTC 2024


#71654: GCC13 Blacklisted In OS 15
----------------------------------+--------------------
  Reporter:  blueforceconsulting  |      Owner:  (none)
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:                       |
----------------------------------+--------------------

Old description:

> fpm won't install on OS15 as it is broken in gcc14. (Ticket:
> https://trac.macports.org/ticket/71644)
>
> doing the install under gcc13 would work, but gcc13 is blacklisted in
> OS15.
>
> Is it possible to take gcc13 off black list for OS 15?
>
> Thanks.
>
> Jeff

New description:

 fpm won't install on OS15 as it is broken in gcc14. (Ticket: #71644)

 doing the install under gcc13 would work, but gcc13 is blacklisted in
 OS15.

 Is it possible to take gcc13 off black list for OS 15?

 Thanks.

 Jeff

--

Comment (by ryandesign):

 I am not certain exactly what you are referring to or to which port or
 component this ticket needs to be assigned.

 Individual ports can specify that they are compatible with only a range of
 OS versions, using the `platforms` variable. The gcc13 port only states
 that it is compatible with `{darwin >= 10}`, in other words it should work
 on Darwin 10 (Mac OS X 10.6) and later, including macOS 15. Older ports
 that have not upgraded to this way of specifying compatibility might
 manually set `known_fail yes` under certain conditions. The gcc13 port
 doesn't do this.

 Individual ports can specify that they are incompatible with certain
 compilers, using the `compiler.blacklist` variable. Some ports use the
 compilers 1.0 portgroup to offer compiler variants as an alternative to
 the default compiler selection logic. The fpm port does both, using this
 code:

 {{{#!tcl
 # https://github.com/fortran-lang/fpm/issues/1059
 # Drop this block upon the next release. Also drop it from fortran PG.
 compiler.blacklist-append \
                         macports-gcc-14
 if {${os.platform} ne "darwin" || ${os.major} > 9} {
     default_variants    +gcc13
 }

 # Xcode clang of 10.7 fails with error: invalid instruction mnemonic
 'cvtsi2ssl'
 compiler.blacklist-append \
                     {clang < 500} {*gcc-[34].*} {macports-gcc-[56]}
 compilers.setup     require_fortran
 }}}

 This code seems to say that the port is incompatible with gcc14 and that
 gcc13 should be used by default on Darwin 9 (Mac OS X 10.5) or later or on
 non-Darwin operating systems, which seems to be contrary to what you claim
 you're seeing.

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


More information about the macports-tickets mailing list