Re: [gtk-osx-users] Another jhbuild problem
- From: John Ralls <jralls ceridwen us>
- To: David Price <david dcprice ca>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Another jhbuild problem
- Date: Thu, 26 Aug 2021 09:55:36 -0700
Very good.
RUSTUP isn't RUSTUP_HOME, which needs to point to where the toolchains live, something I didn't really
understand when I wrote that section of gtk-osx-setup.sh. I think I know how to fix it.
Regards,
John Ralls
On Aug 26, 2021, at 4:21 AM, David Price <david dcprice ca> wrote:
Hello
Success!
I changed the relevant line in jhbuild to read : export RUSTUP_HOME="/Users/david/.rustup"
and jhbuild finished building successfully.
The "which rustup" command in my Terminal returns /Users/david/.cargo/bin/rustup
whereas I changed jhbuild to look for the .rustup directory, not the .cargo one.
I noticed the gtk-osx-setup.sh also uses RUSTUP='which rustup' so perhaps it is using the .cargo directory
as well.
Thank you for your help, John.
David
On 2021-08-25 11:05 p.m., John Ralls wrote:
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 <david 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]