Changes between Initial Version and Version 1 of Ticket #43815


Ignore:
Timestamp:
May 25, 2014, 8:46:42 PM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43815

    • Property Cc ryandesign@… added
    • Property Summary changed from failed to install clisp 2.49 on OSX 10.9.3 to clisp @2.49: error: unknown argument: '-R/opt/local/lib'
    • Property Keywords clisp clang 10.9.3 mavericks removed
    • Property Milestone changed from MacPorts Future to
    • Property Owner changed from macports-tickets@… to easieste@…
  • Ticket #43815 – Description

    initial v1  
    1 hello there
     1hello there [[br]]
    22i failed to install common lisp on osx 10.9.3, the returned error is about clang
    33
    4 ":info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused-command-line-argument-hard-error-in-future]"
     4{{{
     5:info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused-command-line-argument-hard-error-in-future]
     6}}}
    57
    68i've tried set root $ARCHFLAGS, by
    79
     10{{{
    811export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future"
     12}}}
    913
    1014but nothing works.