Re: [MacPorts] #68473: libpixman @0.42.2: error: expected identifier before ‘__attribute__’

MacPorts noreply at macports.org
Wed Oct 18 20:58:15 UTC 2023


#68473: libpixman @0.42.2: error: expected identifier before ‘__attribute__’
---------------------------+----------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  tiger, leopard
      Port:  libpixman     |
---------------------------+----------------------------

Comment (by ryandesign):

 Replying to [comment:4 mascguy]:
 > My 10.5 VM is Intel x64. I'm not certain which compiler was used though.

 I guess I can answer that myself:

 On my Monterey machine, if I run:

 {{{
 port deps libpixman os.major=10
 }}}

 it includes clang-11 which matches what our 10.6 machines used. If I run:

 {{{
 port info libpixman os.major=9
 }}}

 it includes clang-7.0 so I presume that is the compiler that was used for
 your build on 10.5 and would explain why it worked, if that version of
 clang is new enough not to have this problem that gcc 4.2.1 had.

 Since clang doesn't work on PowerPC, MacPorts is hopefully picking a gcc
 on PowerPC instead.

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


More information about the macports-tickets mailing list