Error: Failed to build librsvg: command execution failed
Christopher Jones
jonesc at hep.phy.cam.ac.uk
Wed Oct 13 12:30:14 UTC 2021
That old ticket indeed has nothing to do with the issues here
The rust port does indeed require macports clang (on older systems) to be available when building with rustic. However, macOS 10.13 is not one of these (at starts with 10.12) so it shouldn’t be needing it.
Please run `port info librsvg rust` and post what that returns.
Chris
> On 13 Oct 2021, at 12:12 pm, Lenore Horner <LenoreHorner at sbcglobal.net> wrote:
>
> I’m not sure that’s the same bug (it’s 4 years old too). That one was not finding rust. The log you posted says lbrsvg prefers compilers macports-clang- anything from 5.0 up to 12 but then says it’s going to use Xcode Clang (which doesn’t make sense to me but could be just I don’t know enough) and then eventually fails because it can’t find the linker `/opt/local/bin/clang-mp-11`. I happen to have clang-12 installed via macports and do have /opt/local/bin/clang-mp-12 so I would guess it thinks you have clang-11 installed. Do you have /opt/local/bin/clang-mp-11?
> Lenore
>
>> On Oct 13, 2021, at 02:27, Michael Newman via macports-users <macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>> wrote:
>>
>> Old 2010 MacBook Air on: 10.13.6
>> MacPorts: 2.7.1
>> CLTools: 10.1.0.0.1.1539992718
>>
>> Here's the error:
>>
>> Error: Failed to build librsvg: command execution failed
>> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_librsvg/librsvg/main.log for details.
>>
>> I looked at the log, but it's above my pay grade.
>>
>> Log is here: https://pastebin.com/ncBFApfH <https://pastebin.com/ncBFApfH>
>>
>> A bug report (#56192 <https://trac.macports.org/ticket/56192>) was opened on this but closed: Resolution: → fixed
>>
>> Quite a few ports depend on librsvg:
>>
>> Axe:~ mnewman$ port echo depends:librsvg | wc -l
>> 65
>>
>> I have no idea what to do next.
>>
>> Mike Newman
>> Korat, Thailand
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211013/7f8204b8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211013/7f8204b8/attachment.bin>
More information about the macports-users
mailing list