No, I recommend figuring out why the RUSTUP_HOME environment variable in 
~/.new_local/bin/jhbuild isn't finding your rust installation and fixing it so 
that it does. If you can also figure out how to get gtk-osx-setup.sh to 
configure jhbuild correctly in the first place I'll gladly apply it.

Regards,
John Ralls


> On Aug 25, 2021, at 1:37 PM, David Price <da...@dcprice.ca> wrote:
> 
> 
> Hi
> 
> I already have Rust installed (~/.rustup) and have been using it for a while. 
> Do you recommend uninstalling it, then re-running jhbuild?
> 
>     David
> 
> 
> 
> On 2021-08-25 4:24 p.m., John Ralls wrote:
>> 
>>> On Aug 25, 2021, at 12:28 PM, David Price via gtk-osx-users-list 
>>> <gtk-osx-users-list@gnome.org> wrote:
>>> 
>>> 
>>> Hello again. Sorry to bother you again but I have another problem, this 
>>> time in 31/33 librsvg.
>>> 
>>> I tried rerunning the phase build but it still failed.
>>> 
>>> 
>>> 
>>> 
>>> *** Building librsvg *** [31/33]
>>> make -j 5
>>> make  all-recursive
>>> make[1]: Entering directory 
>>> '/Users/david/.cache/jhbuild/build/librsvg-2.51.0'
>>> Making all in .
>>> make[2]: Entering directory 
>>> '/Users/david/.cache/jhbuild/build/librsvg-2.51.0'
>>>   CC       _rsvg_dummy.lo
>>> cd /Users/david/gtk/source/librsvg-2.51.0 &&     \
>>> PKG_CONFIG_ALLOW_CROSS=1                        \
>>> PKG_CONFIG='/Users/david/gtk/inst/bin/pkg-config'         \
>>> CARGO_TARGET_DIR=/Users/david/.cache/jhbuild/build/librsvg-2.51.0/target    
>>>          \
>>> cargo --locked build   --release --bin rsvg-convert
>>> error: no override and no default toolchain set
>>> make[2]: *** [Makefile:1599: 
>>> /Users/david/.cache/jhbuild/build/librsvg-2.51.0/target/release/rsvg-convert]
>>>  Error 1
>>> make[2]: *** Waiting for unfinished jobs....
>>> make[2]: Leaving directory 
>>> '/Users/david/.cache/jhbuild/build/librsvg-2.51.0'
>>> make[1]: *** [Makefile:1105: all-recursive] Error 1
>>> make[1]: Leaving directory 
>>> '/Users/david/.cache/jhbuild/build/librsvg-2.51.0'
>>> make: *** [Makefile:738: all] Error 2
>>> *** Error during phase build of librsvg: ########## Error running make -j 5 
>>>  *** [31/33]
>>> 
>>>   [1] Rerun phase build
>>>   [2] Ignore error and continue to install
>>>   [3] Give up on module
>>>   [4] Start shell
>>>   [5] Reload configuration
>>>   [6] Go to phase "wipe directory and start over"
>>>   [7] Go to phase "configure"
>>>   [8] Go to phase "clean"
>>>   [9] Go to phase "distclean"
>>> choice:
>> Rust can't find its toolchain. It would normally look in $RUSTUP_HOME; in a 
>> clean macOS that's set in ~/.new_local/bin/jhbuild to ~/.new_local and the 
>> toolchains should be in ~/.new_local/toolchains. In the unlikely event that 
>> you already had rust installed gtk-osx-setup.sh would have tried to use the 
>> already-installed one instead.
>> 
>> Regards,
>> John Ralls
>> 

_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Reply via email to