Not possible to run jhbuild after recent changes in gtk-osx-setup.sh
When performin gtk-osx-setup.sh
after a clean install
rm -rf .new_local Source gtk .cache/jhbuild
bash gtk-osx-setup.sh
I get the following output
Cloning into '/Users/jhbuild/Source/pyenv'...
remote: Enumerating objects: 20634, done.
remote: Counting objects: 100% (1657/1657), done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 20634 (delta 991), reused 1510 (delta 912), pack-reused 18977
Receiving objects: 100% (20634/20634), 4.20 MiB | 21.96 MiB/s, done.
Resolving deltas: 100% (13869/13869), done.
Downloading openssl-1.1.1k.tar.gz...
-> https://www.openssl.org/source/openssl-1.1.1k.tar.gz
Installing openssl-1.1.1k...
Installed openssl-1.1.1k to /Users/jhbuild/.new_local/share/pyenv/versions/3.10.0
Downloading readline-8.0.tar.gz...
-> https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz
Installing readline-8.0...
Installed readline-8.0 to /Users/jhbuild/.new_local/share/pyenv/versions/3.10.0
Downloading Python-3.10.0.tar.xz...
-> https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
Installing Python-3.10.0...
patching file aclocal.m4
patching file configure
Hunk #5 succeeded at 10537 (offset -15 lines).
python-build: use zlib from xcode sdk
Installed Python-3.10.0 to /Users/jhbuild/.new_local/share/pyenv/versions/3.10.0
Requirement already satisfied: pip in ./.new_local/share/pyenv/versions/3.10.0/lib/python3.10/site-packages (21.2.3)
Collecting pip
Using cached pip-21.3.1-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
Successfully installed pip-21.3.1
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/jhbuild/.new_local/share/pyenv/versions/3.10.0/bin/python3.10 -m pip install --upgrade pip' command.
Collecting pipenv==2020.11.15
Using cached pipenv-2020.11.15-py2.py3-none-any.whl (3.9 MB)
Requirement already satisfied: pip>=18.0 in ./.new_local/lib/python3.10/site-packages (from pipenv==2020.11.15) (21.3.1)
Collecting virtualenv
Using cached virtualenv-20.10.0-py2.py3-none-any.whl (5.6 MB)
Requirement already satisfied: setuptools>=36.2.1 in ./.new_local/share/pyenv/versions/3.10.0/lib/python3.10/site-packages (from pipenv==2020.11.15) (57.4.0)
Collecting virtualenv-clone>=0.2.5
Using cached virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Collecting certifi
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting backports.entry-points-selectable>=1.0.4
Using cached backports.entry_points_selectable-1.1.1-py2.py3-none-any.whl (6.2 kB)
Collecting distlib<1,>=0.3.1
Using cached distlib-0.3.3-py2.py3-none-any.whl (496 kB)
Collecting filelock<4,>=3.2
Using cached filelock-3.3.2-py3-none-any.whl (9.7 kB)
Collecting platformdirs<3,>=2
Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv-clone, virtualenv, certifi, pipenv
Successfully installed backports.entry-points-selectable-1.1.1 certifi-2021.10.8 distlib-0.3.3 filelock-3.3.2 pipenv-2020.11.15 platformdirs-2.4.0 six-1.16.0 virtualenv-20.10.0 virtualenv-clone-0.5.7
WARNING: Package(s) not found: typing
Cloning into '/Users/jhbuild/Source/jhbuild'...
remote: Enumerating objects: 53701, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 53701 (delta 13), reused 17 (delta 7), pack-reused 53672
Receiving objects: 100% (53701/53701), 13.69 MiB | 10.55 MiB/s, done.
Resolving deltas: 100% (41352/41352), done.
Note: switching to '30ef98f32c357ed3f2290a466c94bc728279cd1e'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Archive: /Users/jhbuild/.new_local/ninja-mac.zip
inflating: /Users/jhbuild/.new_local/bin/ninja
info: downloading installer
info: profile set to 'minimal'
info: default host triple is aarch64-apple-darwin
info: syncing channel updates for 'stable-aarch64-apple-darwin'
info: latest update on 2021-11-01, rust version 1.56.1 (59eed8a2a 2021-11-01)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
58.7 MiB / 58.7 MiB (100 %) 35.8 MiB/s in 1s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-std'
21.6 MiB / 21.6 MiB (100 %) 19.6 MiB/s in 1s ETA: 0s
info: installing component 'rustc'
58.7 MiB / 58.7 MiB (100 %) 22.0 MiB/s in 2s ETA: 0s
info: default toolchain set to 'stable-aarch64-apple-darwin'
stable-aarch64-apple-darwin installed - rustc 1.56.1 (59eed8a2a 2021-11-01)
Rust is installed now. Great!
To get started you need Cargo's bin directory (/Users/jhbuild/.new_local/bin)
in your PATH
environment variable. This has not been done automatically.
To configure your current shell, run:
source /Users/jhbuild/.new_local/env
gtk-osx-setup.sh: line 234: test: -eq: unary operator expected
Warning: Your Pipfile requires python_version 3.10, but you are using 3.8.9 (/Users/j/.local/share/v/e/bin/python).
$ pipenv --rm and rebuilding the virtual environment may resolve the issue.
$ pipenv check will surely fail.
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (179575)!
Installing dependencies from Pipfile.lock (179575)...
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing jhbuild configuration at /Users/jhbuild/.config/jhbuildrc
Notice the warning
gtk-osx-setup.sh: line 234: test: -eq: unary operator expected
Warning: Your Pipfile requires python_version 3.10, but you are using 3.8.9 (/Users/j/.local/share/v/e/bin/python).
$ pipenv --rm and rebuilding the virtual environment may resolve the issue.
$ pipenv check will surely fail.
above - I think something is wrong with pipenv. When running jhbuild
, I get the following error:
Traceback (most recent call last):
File "/Users/jhbuild/.new_local/bin/pipenv", line 5, in <module>
from pipenv import cli
ModuleNotFoundError: No module named 'pipenv'
This must be related to some of the recent gtk-osx-setup.sh
changes - I was able to build a few days ago.