[MacPorts] #43815: clisp @2.49: error: unknown argument: '-R/opt/local/lib' (was: failed to install clisp 2.49 on OSX 10.9.3)
MacPorts
noreply at macports.org
Sun May 25 13:46:43 PDT 2014
#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 |
-----------------------------+------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
* owner: macports-tickets@… => easieste@…
* milestone: MacPorts Future =>
* keywords: clisp clang 10.9.3 mavericks =>
Old description:
> hello there
> i failed to install common lisp on osx 10.9.3, the returned error is
> about clang
>
> ":info:build clang: error: unknown argument: '-R/opt/local/lib'
> [-Wunused-command-line-argument-hard-error-in-future]"
>
> i've tried set root $ARCHFLAGS, by
>
> export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-
> future"
>
> but nothing works.
>
> please help me, thx in advanced
New description:
hello there [[br]]
i failed to install common lisp on osx 10.9.3, the returned error is about
clang
{{{
:info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused-
command-line-argument-hard-error-in-future]
}}}
i've tried set root $ARCHFLAGS, by
{{{
export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-
future"
}}}
but nothing works.
please help me, thx in advanced
--
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.
[https://guide.macports.org/chunked/project.html#project.tickets.prerequisites
Please clean and try again] and attach the new mail.log file.
--
Ticket URL: <https://trac.macports.org/ticket/43815#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list