[MacPorts] #62534: giflib5 @5.2.1: clang: error: no such file or directory: 'dgif_lib.o'
MacPorts
noreply at macports.org
Thu Mar 25 09:49:17 UTC 2021
#62534: giflib5 @5.2.1: clang: error: no such file or directory: 'dgif_lib.o'
-------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: giflib5 |
-------------------------+-------------------------
Comment (by ryandesign):
Adding the makefile portgroup has made it use the right compiler, yes, but
it's still not using -arch flags, and the build still fails on some
builders possibly because of parallel build issues:
https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/41388/steps
/install-port/logs/stdio
Just adding the makefile portgroup is often not enough. Because each
project's makefile is different, you have to compare the makefile to the
way the portgroup works and maybe change some of the options the portgroup
exposes or maybe even patch the makefile before it will behave correctly.
Fortunately the build fails when using the newly-added universal variant,
so fixing it doesn't require increasing the revision.
You could disable parallel building or try to figure out in what way the
makefile's dependency declarations are wrong and try to fix them.
--
Ticket URL: <https://trac.macports.org/ticket/62534#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list