[MacPorts] #65179: py-libxml2, py-Pillow, py-gdbm: need to either blacklist gcc-4* or patch out -Wno-unused-result
MacPorts
noreply at macports.org
Sun Jun 5 09:42:32 UTC 2022
#65179: py-libxml2, py-Pillow, py-gdbm: need to either blacklist gcc-4* or patch
out -Wno-unused-result
-------------------------+-------------------------------------------------
Reporter: | Owner: MarcusCalhoun-Lopez
barracuda156 |
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, snowleopard,
Port: py-libxml2 | rosetta
py-Pillow |
-------------------------+-------------------------------------------------
Comment (by barracuda156):
Replying to [comment:7 kencu]:
> is it somewhere in py-cython that where the flag Wno-unused-result
originates? I have not as yet been able to see exactly where that flag
gets thrown in, but it's some python build support port I guess.
>
> blacklisting older compilers is one way around this, but TBH it is not
really a great way around it, as that can then come back to bite you when
you are no longer able to bootstrap any more.
>
> Sometimes it's the only way out, though.
If it is thrown in by some build dependency, then patching it out should
be easy enough. If not, then patching it out of every single port that
uses it, I guess, is out of possibility, practically.
--
Ticket URL: <https://trac.macports.org/ticket/65179#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list