[MacPorts] #65128: xar @1.8.0.487.100.1: error: variable-sized object may not be initialized (was: xar fails to upgrade to @1.8.0.487.100.1 on PowerPC)

MacPorts noreply at macports.org
Sat May 7 06:01:04 UTC 2022


#65128: xar @1.8.0.487.100.1: error: variable-sized object may not be initialized
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  Schamschula
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:  powerpc, tiger, leopard,
      Port:  xar         |  snowleopard
-------------------------+-------------------------------------------------
Changes (by ryandesign):

 * owner:  (none) => Schamschula
 * status:  new => assigned


Comment:

 We saw the same error on systems as new as macOS 10.15:

 https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/98836/steps
 /install-port/logs/stdio

 but then Marius conmitted [874b9b8ca44c29b72455d722a5dd54e312c0e820
 /macports-ports] which fixed the build on all buildbot systems (10.6 and
 up). Does that help your systems? If not maybe a different `-std` needs to
 be specified. I see that Marius's fix included removing `-std=c99` and
 telling MacPorts to pick a C11 compiler, but there is no corresponding
 `-std=c11` flag in your log.

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


More information about the macports-tickets mailing list