[MacPorts] #63462: glib2 @2.62.6_1+quartz: ERROR: Value "gnu89" (of type "string") for combo option "C language standard to use" is not one of the choices (was: glib2 @2.62.6_1+quartz fails to configure)

MacPorts noreply at macports.org
Tue Sep 7 20:50:30 UTC 2021


#63462: glib2 @2.62.6_1+quartz: ERROR: Value "gnu89" (of type "string") for combo
option "C language standard to use" is not one of the choices
---------------------------+--------------------
  Reporter:  snarkhunter   |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:
      Port:  glib2, meson  |
---------------------------+--------------------
Changes (by ryandesign):

 * cc: SoapZA, FnControlOption (added)
 * port:  glib2 => glib2, meson


Old description:

> On Big Sur 11.5.2, glib2 doesn't get past the configuration step when
> default variants include +quartz:
>
> meson.build:655:2: ERROR: Value "gnu89" (of type "string") for combo
> option "C language standard to use" is not one of the choices. Possible
> choices are (as string): "none", "c89", "c99", "c11", "c17", "gnu99",
> "gnu11".

New description:

 On Big Sur 11.5.2, glib2 doesn't get past the configuration step when
 default variants include +quartz:

 {{{
 meson.build:655:2: ERROR: Value "gnu89" (of type "string") for combo
 option "C language standard to use" is not one of the choices. Possible
 choices are (as string): "none", "c89", "c99", "c11", "c17", "gnu99",
 "gnu11".
 }}}

--

Comment:

 This appears to have been caused by updating meson to 0.59.1. This problem
 didn't occur when using meson 0.58.1.

 glib2 is outdated. Possibly updating glib2 will solve this. However, it
 seems like a meson bug to me. Why wouldn't gnu89 be valid?

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


More information about the macports-tickets mailing list