Dear all,
I only have 4 Gigabytes of RAM so I thought it would be fun to make launchpad compile a nightly build of clasp fpr Ubuntu I can install without fussing with a docker image. All I tried can be found at https://launchpad.net/clasp-lisp
How far I got was:
* I perhaps managed to write build instructions for debhelper that create a clasp packages * But during the build waf downloads git repositories. Which isn't possible on the build server as the virtual machine that does the actual build has no internet connection * While the virtual machine is created I have access to local git repos, though => tried to make a mirror of sicl on launchpad that can be cloned into the right directory of the source tree. * ...but the waf script still tries to clone the original git dir and fails, see https://launchpadlibrarian.net/445469670/buildlog.txt.gz
Is there any way around this?
Kind regards,
Gunter.
The error message I am getting is:
Updating git repo at 'src/lisp/kernel/contrib/sicl' fatal: No such remote 'origin' WARNING: "src/lisp/kernel/contrib/sicl" seems to be holding a checkout from a different URL (current: "", requested: "https://github.com/Bike/SICL.git"). I'm changing the 'origin' remote url to the new one. fatal: No such remote 'origin' fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.
What I hope for is a way to make a non-reachable internet non-fatal if the files and git revisions that are needed are already there.
Kind regards,
Gunter.
On 05.10.19 22:58, Gunter Königsmann wrote:
Dear all,
I only have 4 Gigabytes of RAM so I thought it would be fun to make launchpad compile a nightly build of clasp fpr Ubuntu I can install without fussing with a docker image. All I tried can be found at https://launchpad.net/clasp-lisp
How far I got was:
- I perhaps managed to write build instructions for debhelper that create a clasp packages
- But during the build waf downloads git repositories. Which isn't possible on the build server as the virtual machine that does the actual build has no internet connection
- While the virtual machine is created I have access to local git repos, though => tried to make a mirror of sicl on launchpad that can be cloned into the right directory of the source tree.
- ...but the waf script still tries to clone the original git dir and fails, see https://launchpadlibrarian.net/445469670/buildlog.txt.gz
Is there any way around this?
Kind regards,
Gunter.
...but the waf script still tries to clone the original git dir and fails, see https://launchpadlibrarian.net/445469670/buildlog.txt.gz
the waf script calls ./tools-for-build/fetch-git-revision.sh
you can look into that file and try to change it so that if the requested revision is available on the git db, then just call git checkout without a git fetch.
you may try to modify the script so that when git fetch fails then it's ignored, while hoping for the best for the upcoming git checkout.