Re: [gtk-osx-users] OSX Mojave Multiple errors



  🐍   β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰ 2/2 β€” 00:00:46
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing jhbuild configuration at /Users/guy/.config/jhbuildrc
Installing jhbuild custom configuration at /Users/guy/.config/jhbuildrc-custom
Robs-Air:gtk-osx guy$ jhbuild bootstrap-gtk-osx
Loading .env environment variables…
Traceback (most recent call last):
  File "/Users/guy/Source/jhbuild/jhbuild/config.py", line 194, in load
    execfile(filename, config)
  File "/Users/guy/.config/jhbuildrc", line 462, in <module>
    execfile(_user_rc)
  File "/Users/guy/.config/jhbuildrc-custom", line 112, in <module>
    setup_sdk()
  File "/Users/guy/.config/jhbuildrc", line 249, in setup_sdk
    sdkdir = _popen("xcrun --show-sdk-path")
  File "/Users/guy/.config/jhbuildrc", line 41, in _popen
    raise RuntimeError, "Failed to close %s stream" % cmd_arg
RuntimeError: Failed to close xcrun --show-sdk-path stream
jhbuild: could not load config file

Robs-Air:gtk-osx guy$ 
----- Original Message -----
From: "John Ralls" <jralls ceridwen us>
To: "Rob Downer" <rob orbitalsystems co uk>
Cc: "gtk-osx-users-list" <gtk-osx-users-list gnome org>
Sent: Tuesday, 14 January, 2020 16:20:18
Subject: Re: [gtk-osx-users] OSX Mojave Multiple errors

On Jan 14, 2020, at 12:56 AM, Rob <rob orbitalsystems co uk> wrote:

Robs-Air:gtk-osx guy$ jhbuild bootstrap-gtk-osx
Loading .env environment variables…
*** Checking out xz *** [1/15]
wget --continue http://tukaani.org/xz/xz-5.2.4.tar.bz2 -O /Users/guy/gtk/source/pkgs/xz-5.2.4.tar.bz2
--2020-01-14 08:55:12--  http://tukaani.org/xz/xz-5.2.4.tar.bz2
Resolving tukaani.org... 84.34.147.45
Connecting to tukaani.org|84.34.147.45|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://tukaani.org/xz/xz-5.2.4.tar.bz2 [following]
https://tukaani.org/xz/xz-5.2.4.tar.bz2: HTTPS support not compiled in.
*** Error during phase checkout of xz: ########## Error running wget --continue 
http://tukaani.org/xz/xz-5.2.4.tar.bz2 -O /Users/guy/gtk/source/pkgs/xz-5.2.4.tar.bz2 *** [1/15]

 [1] Rerun phase checkout
 [2] Ignore error and continue to configure
 [3] Give up on module
 [4] Start shell
 [5] Reload configuration
 [6] Go to phase "wipe directory and start over"
choice: ^CInterrupted
Robs-Air:gtk-osx guy$ echo$PATH
-bash: 
echo/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/guy/.new_local/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Developer/CommandLineTools:/Applications/VMware:
 No such file or directory
Robs-Air:gtk-osx guy$ 
Robs-Air:gtk-osx guy$ which python
/usr/bin/python
Robs-Air:gtk-osx guy$ which curl
/usr/bin/curl


I missed the "Error running wget". That's not provided by Apple so normally jhbuild falls back to curl and 
that does support https. You'll need to either get wget that does support https or make it so jhbuild doesn't 
find it, perhaps by adjusting the path.

I haven't tested with a root-installed python3 either, so you're on your own with that installation. Since 
jhbuild seems to run OK as long as you don't misspell its commands maybe it's not a problem.

Regards,
John Ralls


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]