[MacPorts] #65905: pango won't build, issue with clang ? (OSX BigSur, Xcode 13.2.1 )
MacPorts
noreply at macports.org
Wed Jan 18 16:42:57 UTC 2023
#65905: pango won't build, issue with clang ? (OSX BigSur, Xcode 13.2.1 )
---------------------------------+------------------------
Reporter: jamesstuartgunning | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: pango |
---------------------------------+------------------------
Comment (by ryandesign):
Replying to [ticket:65905 jamesstuartgunning]:
> {{{
> :info:build warning: unknown -Werror warning specifier: '-Wno-error
,-Wimplicit-fallthrough' [-Wunknown-warning-option]
> :info:build ../pango-1.50.7/pango/pangofc-fontmap.c:1684:43: error: use
of undeclared identifier 'FC_VARIABLE'
> :info:build FC_VARIABLE,
> :info:build ^
> :info:build ../pango-1.50.7/pango/pangofc-fontmap.c:1728:63: error: use
of undeclared identifier 'FC_VARIABLE'
> :info:build variable = FcPatternGetBool
(fontset->fonts[i], FC_VARIABLE, 0, &variable);
> }}}
As far as I can tell `FC_VARIABLE` was added in fontconfig 2.13.1 so it
should exist. What version of fontconfig do you have installed? Try
running:
{{{
port -v installed fontconfig
/opt/local/bin/fc-cache --version
}}}
The version currently in MacPorts is 2.14.1.
Please always attach the main.log file when you file a bug report.
> It may be a clang issue with not implementing/using `-Wno-error
,-Wimplicit-fallthrough`?
That doesn't matter here. `-Wno-error,-Wimplicit-fallthrough` instructs
the compiler that, if it generates an implicit fallthrough warning, it
should not consider that to be an error. In response, your compiler has
warned you that it cannot generate an implicit fallthrough warning, which
is fine.
--
Ticket URL: <https://trac.macports.org/ticket/65905#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list