[MacPorts] #63318: makefile portgroup's compiler wrappers break bastet universal variant
MacPorts
noreply at macports.org
Fri Jul 30 01:41:04 UTC 2021
#63318: makefile portgroup's compiler wrappers break bastet universal variant
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
------------------------+--------------------
bastet used to install with the universal variant. Now it does not,
because the makefile portgroup was changed to use compiler wrappers that
contain `-arch` flags. The error is:
{{{
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-
ryandesign-fork_games_bastet/bastet/work/compwrap/cxx/usr/bin/clang++ -MM
Ui.cpp Block.cpp Well.cpp BlockPosition.cpp Config.cpp BlockChooser.cpp
BastetBlockChooser.cpp main.cpp Test.cpp> depend
clang: error: cannot use 'dependencies' output with multiple -arch options
}}}
Note that the invocation of clang++ does not have `-arch` flags, as they
are not needed and would cause problems. But the clang++ wrapper script
contains `-arch` flags, which cause the problem.
--
Ticket URL: <https://trac.macports.org/ticket/63318>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list