Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orc install fails to find dependencies when run by the git (for example using git rebase -x) #42

Open
Cvelth opened this issue Sep 2, 2021 · 0 comments

Comments

@Cvelth
Copy link
Member

Cvelth commented Sep 2, 2021

Here's an example:

> git rebase -x 'orc install caliban' COMMIT_SHA
Executing: orc install caliban
[+] ERROR - Binary archive linux-x86-64/llvm/optimized/ade05a462e288c65de5ca9e858cdc425c99fba5e_50dcafd9922b0aaa5e345d8922d94d6e3e8bdc23.tar.xz for llvm@optimized not found. Try `orc update` or run `orc install -b`
Diff between current hash material and most similar available archive:
--- /root/orchestra/.orchestra/binary-archives/origin/linux-x86-64/llvm/optimized/26b0ca8b8ad38a00b387463bd2791507d4130c7e_cf349301bb6cd14edda9131743f306b0fd443880.hash-material.yml   2021-09-01 13:52:49.342290215 +0300
+++ /tmp/current_hash_material__z6ka40z 2021-09-02 15:26:04.843939230 +0300
@@ -500,7 +500,7 @@
       "ndebug": !!bool |-
         true
   "commit": |-
-    26b0ca8b8ad38a00b387463bd2791507d4130c7e
+    ade05a462e288c65de5ca9e858cdc425c99fba5e
   "default_build": |-
     optimized
   "license": |-

Use `--loglevel DEBUG` to diff against all available archives
warning: execution failed: orc install caliban@debug
You can fix the problem, and then run

  git rebase --continue

A known workaround is to unset GIT_DIR and GIT_WORK_TREE variables, for example:

> git rebase -x 'unset GIT_DIR && unset GIT_WORK_TREE && orc install caliban' COMMIT_SHA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant