Re: [MacPorts] #74106: giflib5 @5.2.2₃ does not build on PPC Leopard, Mac OS X 10.5.8, because of cc1: error: unrecognized command line option "-Wno-format-truncation"
MacPorts
noreply at macports.org
Thu Jul 16 09:46:24 UTC 2026
#74106: giflib5 @5.2.2₃ does not build on PPC Leopard, Mac OS X 10.5.8, because of
cc1: error: unrecognized command line option "-Wno-format-truncation"
------------------------+-------------------------
Reporter: ballapete | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Resolution: | Keywords: ppc leopard
Port: giflib5 |
------------------------+-------------------------
Comment (by PotMJ):
Replying to [comment:7 ballapete]:
> The question should be: Why is the compiler using warning options at
all? The MacPorts products are meant for end users, compiler warning
options are (or could be) useful for developers.
These warning options are useful so code can be maintained. This was
simply a case of the code never being meant for such old compilers, so it
seems best to just patch them out in the Portfile when targeting old
systems. Not a big deal, but I appreciate how annoying it is when a
dependency fails on one. I'm just sharing my fixes :-). I don't have a
PPC machine to test this on, but the library checks out 4 arch as
installed, so it should be good.
--
Ticket URL: <https://trac.macports.org/ticket/74106#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list