[MacPorts] #63341: librsvg @2.50.5: error: linker `/opt/local/bin/clang-mp-11` not found

MacPorts noreply at macports.org
Wed Aug 4 12:35:23 UTC 2021


#63341: librsvg @2.50.5: error: linker `/opt/local/bin/clang-mp-11` not found
--------------------+---------------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  librsvg, rust
--------------------+---------------------------
 It looks like the rust compiler is hardcoded to use clang-11 as a linker,
 but doesn't put a dependency on clang-11.
 {{{
      Running `/opt/local/bin/rustc --crate-name build_script_build
 --edition=2018
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.50.5/vendor/getrandom-0.1.16/build.rs
 --error-format=json --json=diagnostic-rendered-ansi --crate-type bin
 --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C
 debuginfo=2 -C debug-assertions=off --cfg 'feature="std"' -C
 metadata=e6d36847a1bc9408 -C extra-filename=-e6d36847a1bc9408 --out-dir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.50.5/target/release/build
 /getrandom-e6d36847a1bc9408 -L
 dependency=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.50.5/target/release/deps
 --cap-lints allow`
 error: linker `/opt/local/bin/clang-mp-11` not found
   |
   = note: No such file or directory (os error 2)

 error: aborting due to previous error
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63341>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list