[MacPorts] #65375: p5-io-compress-brotli: build uses "cc" instead of selected compiler
MacPorts
noreply at macports.org
Tue Jun 21 02:03:12 UTC 2022
#65375: p5-io-compress-brotli: build uses "cc" instead of selected compiler
--------------------+-----------------------------------
Reporter: larryv | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: p5-io-compress-brotli
--------------------+-----------------------------------
Despite the best efforts of the post-configure phase to patch in the path
to the correct compiler, the build still invokes `cc`:
{{{
:info:configure ---> Patching Makefile: s|^(CC *=).*|\1 /usr/bin/clang|
[...]
:info:build cc -fPIC -O2 -Ic/include \
:info:build -c c/common/dictionary.c -o
bin/obj/c/common/dictionary.o
:info:build cc -fPIC -O2 -Ic/include -c c/common/dictionary.c -o
bin/obj/c/common/dictionary.o
:info:build cc: Error: You should be using ${configure.cc}
:info:build See https://trac.macports.org/wiki/UsingTheRightCompiler
:info:build gmake[1]: *** [Makefile:42: bin/obj/c/common/dictionary.o]
Error 1
}}}
(It fails because my installation is configured as per
UsingTheRightCompiler#testing.)
--
Ticket URL: <https://trac.macports.org/ticket/65375>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list