# singularity build lolcow.simg shub://GodloveD/lolcow
ERROR: You must install squashfs-tools to build images
ABORT: Aborting with RETVAL=255
I tested this with both root and mortal users--the same error shows up.
The Singularity version is 2.4-dist. I remember this used to work in the past.
Why does it ask for installation of squashfs-tools? I looked up the documents a bit but could not find solution.
Any help is appreciated.
Thanks,
--
Ketan
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
You don't need to have a squashfs file system on your host. You just need the tools. Basically you just need the mksquashfs command to be available. And it needs to be available from one of the following locations:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
I'm thinking of writing a PR to make the location of mksquashfs configurable in singularity.conf. But even if Greg likes the idea and it is merged it won't be in an official release for a little while.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
I would concur with both of these ideas and it shouldn't be difficult to do as it is all happening in shell scripts at this point of the process... But let us know if you have any questions.
That would be one way to do it. But in general you shouldn't, and you shouldn't have to modify the source code to get things working on your setup.Have a look at this PR. It should address your issue.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.