beeware / mobile-forge

A tool to manage building cross-platform binary wheels for mobile devices
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

zsh: command not found: forge #21

Closed idbeny closed 6 months ago

idbeny commented 6 months ago

Describe the bug

After all configurations are completed, executing forge iOS shows that the foge command was not found.

Steps to reproduce

$ source ./setup-iOS.sh 3.8

Expected behavior

forge iOS xxx

Screenshots

No response

Environment

Logs

ben@bendeMacBook-Pro mobile-forge % source ./setup-iOS.sh 3.8
Using existing Python 3.8.18 environment.

You can now build packages with forge; e.g.:

Build all packages for all iOS targets:
   forge iOS

Build only the non-python packages, for all iOS targets:
   forge iOS -s non-py

Build all packages needed for a smoke test, for all iOS targets:
   forge iOS -s smoke

Build lru-dict for all iOS targets:
   forge iOS lru-dict

Build lru-dict for the ARM64 device target:
   forge iphoneos:arm64 lru-dict

Build all applicable versions of lru-dict for all iOS targets:
   forge iOS --all-versions lru-dict

(venv3.8) ben@bendeMacBook-Pro mobile-forge % forge iOS litesync
zsh: command not found: forge
(venv3.8) ben@bendeMacBook-Pro mobile-forge %

Additional context

No response

idbeny commented 6 months ago

And executing pip install -e .:

(venv3.8) ben@bendeMacBook-Pro mobile-forge % pip install -e .
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Obtaining file:///Users/ben/Work/Dev/Python/mobile-forge
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting crossenv@ git+https://github.com/freakboy3742/crossenv@iOS-support (from mobile-forge==2023.0.0)
  Cloning https://github.com/freakboy3742/crossenv (to revision iOS-support) to /private/var/folders/9l/1h4kh9kd5236t_rjrc7n7ldw0000gn/T/pip-install-dxwaehde/crossenv_03efb2f1237f4daa978f0811e545512a
  Running command git clone --filter=blob:none --quiet https://github.com/freakboy3742/crossenv /private/var/folders/9l/1h4kh9kd5236t_rjrc7n7ldw0000gn/T/pip-install-dxwaehde/crossenv_03efb2f1237f4daa978f0811e545512a
  git-lfs filter-process: git-lfs: command not found
  fatal: the remote end hung up unexpectedly
  warning: Clone succeeded, but checkout failed.
  You can inspect what was checked out with 'git status'
  and retry with 'git restore --source=HEAD :/'

  error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet https://github.com/freakboy3742/crossenv /private/var/folders/9l/1h4kh9kd5236t_rjrc7n7ldw0000gn/T/pip-install-dxwaehde/crossenv_03efb2f1237f4daa978f0811e545512a did not run successfully.
  │ exit code: 128
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/freakboy3742/crossenv /private/var/folders/9l/1h4kh9kd5236t_rjrc7n7ldw0000gn/T/pip-install-dxwaehde/crossenv_03efb2f1237f4daa978f0811e545512a did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
(venv3.8) ben@bendeMacBook-Pro mobile-forge %
idbeny commented 6 months ago

git-lfs filter-process: git-lfs: command not found

Solve: brew install git-lfs