Closed johannesmayer closed 4 years ago
hmmm. this is very strange. Are you sure you haven't run sudo update_VM.sh ...
at some point? I cannot see why the update script would do this (but then again, all bugs result in weird behaviour!)
ok maybe i did run sudo update_VM.sh
I'll download a fresh 2.1 and see what happens
Sorry for putting an unrelated error into this issue, I'll create a new issue if the answer isn't trivial.
fatal: ambiguous argument 'rel_4.0.1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
From https://github.com/UCL/STIR
8942f4e6..2a799b93 Siemens_mCT_additions -> origin/Siemens_mCT_additions
fd8b7555..dcfda6b1 master -> origin/master
* [new branch] release_4 -> origin/release_4
* [new branch] release_4.0 -> origin/release_4.0
* [new tag] rel_4.0.0 -> rel_4.0.0
* [new tag] stir_rel_4.0.0 -> stir_rel_4.0.0
error: pathspec 'rel_4.0.1' did not match any file(s) known to git.
CMake Error at /home/sirfuser/devel/buildVM/builds/STIR/tmp/STIR-gitupdate.cmake:147 (message):
Failed to checkout tag: 'rel_4.0.1'
I ran cmake in build_VM
and set the STIR tag to release_4
, then re-ran the update script and got the same error. Suppose I could modify the default STIR tag in version_config.cmake
, although that might get reset by the update script, too.
Didn't that happen last Friday as well, because the git fetch
needed to be run with git fetch --tags
? Otherwise it didn't get them... bad dog!
yup. I thought I fixed that...
oh. maybe the problem is that version_config.cmake should specify origin/rel_4.0.1
Same error. I guess it's just not doing a git fetch
?
can you create a snapshot (such that you can go back), and then do a git fetch
by hand, and see what happens?
I ran git fetch --tags
earlier (didn't think to create a snapshot, sorry) and then compilation was fine and all ctests passed.
Closing this and transferred discussion
I tested the PR for the option to install prerequisites. The script went through and no errors occured.
However, when I went to run the tests
then I receive the error
This Permission denied error does not happen when I run
instead.