[MacPorts] #60194: rust at 1.42.0: ld: symbol(s) not found for architecture x86_64
MacPorts
noreply at macports.org
Mon Mar 16 18:25:38 UTC 2020
#60194: rust at 1.42.0: ld: symbol(s) not found for architecture x86_64
------------------------+--------------------
Reporter: nasyxx | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.99
Keywords: rust clang | Port: rust
------------------------+--------------------
When updating rust from 1.41.1 to 1.42.0, it failed with:
{{{
---> Computing dependencies for rust
Warning: Your DNS servers incorrectly claim to know the address of
nonexistent hosts. This may cause checksum mismatches for some ports. See
this page for more information:
<https://trac.macports.org/wiki/MisbehavingServers>
---> Building rust
Error: Failed to build rust: command execution failed
Error: See /Users/Nasy/.macports/var/macports/logs/_Users_Nasy_
.macports_macports-ports_lang_rust/rust/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
When I looked deeper into the log, I found that the error was like this
(including the line number of the log)
{{{
3749 :info:build ld: symbol(s) not found for architecture
x86_64
3750 :info:build clang: error: linker command failed with exit
code 1 (use -v to see invocation)
3751 :info:build
3752 :info:build error: aborting due to previous error
3753 :info:build error: could not compile `rustc_driver`.
}}}
I have installed `llvm-9.0 at 9.0.1+ocaml+polly`
--
Ticket URL: <https://trac.macports.org/ticket/60194>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list