The latest test build in this PR triggered an error that I cannot understand, as the log seems quite terse:
git version 2.28.0
program finished with exit code 0
elapsedTime=0.058271
stat: No such file or directory: /srv/buildbot-master/master/workers/MasterWorker5/Builds/build/.buildbot-patchedprogram finished with exit code 2
program finished with exit code 0
git fetch -t https://github.com/flathub/flathub refs/pull/1277/head --progress
in dir /srv/buildbot-master/master/workers/MasterWorker5/Builds/build (timeout 1200 secs)
watching logfiles {}
argv: [b'git', b'fetch', b'-t', b'https://github.com/flathub/flathub', b'refs/pull/1277/head', b'--progress']
using PTY: False
remote: Enumerating objects: 20, done.
remote: Total 20 (delta 0), reused 0 (delta 0), pack-reused 20
From https://github.com/flathub/flathub
* branch refs/pull/1277/head -> FETCH_HEAD
fatal: exec 'rev-list': cd to 'shared-modules' failed: No such file or directory
Fetching submodule shared-modules
fatal: cannot chdir to '../../../shared-modules': No such file or directory
Errors during submodule fetch:
shared-modules
program finished with exit code 1
elapsedTime=5.707176
Here’s my (poor) understanding:
- git rev-list is failing because is executed before downloading the submodules?
- shared-modules submodule cannot be fetched… the
chdir '../../../shared-modules'
sounds strange. Why moving three directories back?