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

MacPorts noreply at macports.org
Wed Nov 3 15:01:09 UTC 2021


#63341: librsvg @2.50.5: error: linker `/opt/local/bin/clang-mp-11` not found
----------------------------+----------------------
  Reporter:  kencu          |      Owner:  mascguy
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  librsvg, rust  |
----------------------------+----------------------

Comment (by cjones051073):

 The issue here is more complex than described above. The rust port doesn't
 'hardcode' the use of macports clang, but it is based on the compiler
 blacklisting (setup via the c++17 requirements). The issue is with rust,
 unlike most other builds, the compiler used to build it is 'remembered' by
 rust, and is in turn used by rust when it runs. The problem then is there
 is a difference of opinion on whether or not mac[ports clang should be
 used on the same OS (10.13) depending on precisely which Xcode is
 installed. The build bots have an older one, which is black listed,
 however the user in question uses a newer one which isn't blacklisted. So
 the binaries are built requiring macports clang, but on the user machine
 the dep. is not set.

 I think the only sane way out here is to blacklist all possible Xcode
 clangs on 10.13...

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


More information about the macports-tickets mailing list