#43815: clisp @2.49: error: unknown argument: '-R/opt/local/lib' -----------------------------+------------------------ Reporter: wanghuan1406@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: clisp | -----------------------------+------------------------ Comment (by wanghuan1406@…): Replying to [comment:1 ryandesign@…]:
MacPorts deliberately ignores environment variables you set on the command line, so that won't help.
We need to remove the `-R` flag from wherever it's being inserted. It has never been supported, using it has been printing a warning for some time, and now with the latest clang it is an error to attempt to use it.
The portfile says clang is blacklisted, but doesn't say why exactly:
{{{ # Likely a project bug # TODO: Report upstream and provide a link to the bug report here. compiler.blacklist *clang* }}}
Note from the attached log that the port is erroneously using /usr/bin/cc; as of Xcode 5, that'll be clang. The port should be UsingTheRightCompiler, and also whatever clang incompatibilities exist in clisp need to be fixed.
wanghuan1406, I cannot see from the log where this compiler choice is being set, because this was not a clean build. [https://guide.macports.org/chunked/project.html#project.tickets.prerequisite... Please clean and try again] and attach the new main.log file.
hi ryandesign thanks for your reply, i've cleaned and re-build it. yes, /usr/bin/cc is symbol link file to /usr/bin/clang, {{{ wh1406@Wangs-iMac.local ~ $ clang -v Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.2.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/43815#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X