Closed christian-monch closed 2 years ago
Thanks @christian-monch for detecting this grave bug. It would prevent any build of source packages larger than 16 MB (less actually).
A (or the) solution is to add --workdir
to the singularity run
call and point it to a tmpdir on the host system
With this patch, it works for me:
diff --git a/datalad_debian/bootstrap_builder.py b/datalad_debian/bootstrap_builder.py
index aec7837..deffd49 100644
--- a/datalad_debian/bootstrap_builder.py
+++ b/datalad_debian/bootstrap_builder.py
@@ -120,6 +120,7 @@ class BootstrapBuilder(Interface):
'--containall ' \
'--writable ' \
'--no-home ' \
+ '--workdir {{tmpdir}} ' \
'{img} {cmd}'
# this is a fresh addition of the build env
This requires a new run of deb-bootstrap-builder
in the distribution builder dataset, and then a datalad deb-build-package
with --update-builder
in the package datasets.
Thx
I am building the inm7-distribution with
datalad-debian
. The current distribution file has 48 packages and 69 dsc-files. I am building binaries from all dsc-file with something like this:when the last package is built (from
rich/rich_9.9.0-1.dsc
) I receive the errorCannot write: No space left on device
, which is reproducible. More specific:I did not look into it any further yet. @aqw suggests that it is a limitation in the container environment.