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. Please clean and try again and attach the new main.log file.