Re: [MacPorts] #68473: libpixman @0.42.2: error: expected identifier before ‘__attribute__’
MacPorts
noreply at macports.org
Thu Oct 19 13:31:42 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 mascguy):
Replying to [comment:7 ryandesign]:
> 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.
I tend not to trust the results, when overriding `os.major`. And indeed,
on my 10.5 VM, this is what I see:
{{{
$ port info --line --name --depends_build libpixman
libpixman pkgconfig,meson,ninja
}}}
Per the port log:
{{{
:debug:configure Using compiler 'Xcode GCC 4.2'
}}}
And the build works just fine.
So, this doesn't necessarily appear to be an issue with GCC 4.2. Unless
I'm missing something...?
--
Ticket URL: <https://trac.macports.org/ticket/68473#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list