Re: Error: Failed to build librsvg: command execution failed

2021-10-13 Thread Michael Newman via macports-users

> On Oct 13, 2021, at 20:28, Christopher Jones  wrote:
> 
> In the meantime if you are in a hurry installing macports clang 11 should 
> also fix things.

I wasn't in a hurry, but I wanted to try this. It worked. 

Thank you very much.

Mike



Re: Error: Failed to build librsvg: command execution failed

2021-10-13 Thread Christopher Jones


> On 13 Oct 2021, at 1:54 pm, Michael Newman  wrote:
> 
>> On Oct 13, 2021, at 18:12, Lenore Horner > > wrote:
>> 
>> Do you have /opt/local/bin/clang-mp-11? 
> 
> Axe:~ mnewman$ ls /opt/local/bin/clang-mp-11
> ls: /opt/local/bin/clang-mp-11: No such file or directory
> 
> 
>> On Oct 13, 2021, at 19:31, Christopher Jones > > wrote:
>> 
>> oh, and to be sure please first run `sudo port sync` t make sure your ports 
>> are fully up to date….
> 
> Axe:~ mnewman$ sudo port sync
> Password:
> --->  Updating the ports tree
> Error: Synchronization of the local ports tree failed doing rsync
> port sync failed: Synchronization of 1 source failed


Maybe not an issue here, but the above is a problem I don’t personally see so 
you should look into it...

> 
> 
>> On Oct 13, 2021, at 19:30, Christopher Jones > > wrote:
>> 
>> Please run `port info librsvg rust` and post what that returns.
> 
> Axe:~ mnewman$ port info librsvg rust
> librsvg @2.52.1_1 (graphics, gnome)
> Variants: quartz, universal, x11
> 
> Description:  GNOME implementation of rsvg.
> Homepage: https://wiki.gnome.org/Projects/LibRsvg 
> 
> 
> Extract Dependencies: xz
> Build Dependencies:   pkgconfig, rust, cargo
> Library Dependencies: glib2, cairo, pango, gdk-pixbuf2, libxml2, vala,
>   gobject-introspection
> Platforms:darwin
> License:  (GPL-2+ or LGPL-2+)
> Maintainers:  Email: dev...@macports.org 
> , GitHub: dbevans
>   Email: masc...@macports.org 
> , GitHub: mascguy
>   Policy: openmaintainer
> --
> rust @1.55.0_3 (lang, devel)
> Sub-ports:rust-compiler-wrap, rust-src
> 
> Description:  Rust is a curly-brace, block-structured expression
>   language. It visually resembles the C language family, 
> but
>   differs significantly in syntactic and semantic details.
>   Its design is oriented toward concerns of "programming 
> in
>   the large", that is, of creating and maintaining
>   boundaries -- both abstract and operational -- that
>   preserve large-system integrity, availability and
>   concurrency.
> Homepage: https://www.rust-lang.org 
> 
> Build Dependencies:   git, cmake, cctools, python39, openssl, pkgconfig, 
> ninja,
>   gmake
> Library Dependencies: libffi, libgit2, openssl
> Platforms:darwin
> License:  (MIT or Apache-2) and BSD and zlib and NCSA and 
> Permissive
> Maintainers:  Email: g...@macports.org , 
> GitHub: g5pw
>   Email: herby.gil...@gmail.com 
> , GitHub: herbygillot
>   Policy: openmaintainer

right, the above is what I expected.

I can reproduce here on my 10.13 machine using the binary tarballs, and in fact 
if I look at the build logs for those tarballs

https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/124766/steps/install-port/logs/stdio/text
 


you can see the build was indeed configured to use macports clang-11, which is 
why its needed at runtime with rustc. 

If though I start a new build by hand, it doesn’t use macports clang 11 and 
instead uses Xcode clang (the norm on  ’newer’ systems).

I don’t know why, but it seems then there is a mis-match between what the port 
now thinks it needs, and what was used for the last binary tarball. I’ll commit 
a rev-bump just to trigger a rebuild and hopefully that will fix things.

In the meantime if you are in a hurry installing macports clang 11 should also 
fix things.

Chris


> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Error: Failed to build librsvg: command execution failed

2021-10-13 Thread Michael Newman via macports-users
> On Oct 13, 2021, at 18:12, Lenore Horner  wrote:
> 
> Do you have /opt/local/bin/clang-mp-11? 

Axe:~ mnewman$ ls /opt/local/bin/clang-mp-11
ls: /opt/local/bin/clang-mp-11: No such file or directory


> On Oct 13, 2021, at 19:31, Christopher Jones  wrote:
> 
> oh, and to be sure please first run `sudo port sync` t make sure your ports 
> are fully up to date….

Axe:~ mnewman$ sudo port sync
Password:
--->  Updating the ports tree
Error: Synchronization of the local ports tree failed doing rsync
port sync failed: Synchronization of 1 source failed


> On Oct 13, 2021, at 19:30, Christopher Jones  wrote:
> 
> Please run `port info librsvg rust` and post what that returns.

Axe:~ mnewman$ port info librsvg rust
librsvg @2.52.1_1 (graphics, gnome)
Variants: quartz, universal, x11

Description:  GNOME implementation of rsvg.
Homepage: https://wiki.gnome.org/Projects/LibRsvg

Extract Dependencies: xz
Build Dependencies:   pkgconfig, rust, cargo
Library Dependencies: glib2, cairo, pango, gdk-pixbuf2, libxml2, vala,
  gobject-introspection
Platforms:darwin
License:  (GPL-2+ or LGPL-2+)
Maintainers:  Email: dev...@macports.org, GitHub: dbevans
  Email: masc...@macports.org, GitHub: mascguy
  Policy: openmaintainer
--
rust @1.55.0_3 (lang, devel)
Sub-ports:rust-compiler-wrap, rust-src

Description:  Rust is a curly-brace, block-structured expression
  language. It visually resembles the C language family, but
  differs significantly in syntactic and semantic details.
  Its design is oriented toward concerns of "programming in
  the large", that is, of creating and maintaining
  boundaries -- both abstract and operational -- that
  preserve large-system integrity, availability and
  concurrency.
Homepage: https://www.rust-lang.org

Build Dependencies:   git, cmake, cctools, python39, openssl, pkgconfig, ninja,
  gmake
Library Dependencies: libffi, libgit2, openssl
Platforms:darwin
License:  (MIT or Apache-2) and BSD and zlib and NCSA and Permissive
Maintainers:  Email: g...@macports.org, GitHub: g5pw
  Email: herby.gil...@gmail.com, GitHub: herbygillot
  Policy: openmaintainer




Re: Error: Failed to build librsvg: command execution failed

2021-10-13 Thread Christopher Jones
oh, and to be sure please first run `sudo port sync` t make sure your ports are 
fully up to date….

> On 13 Oct 2021, at 1:30 pm, Christopher Jones  
> wrote:
> 
> 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 > > 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 
>>> >> > 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 
>>> 
>>> A bug report (#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
>>> 
>>> 
>> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Error: Failed to build librsvg: command execution failed

2021-10-13 Thread Christopher Jones
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  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 
>> > > 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 
>> 
>> A bug report (#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
>> 
>> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Error: Failed to build librsvg: command execution failed

2021-10-13 Thread Lenore Horner
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 
>  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 
> 
> A bug report (#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
> 
>