Template does not work on SHub?
Closed this issue · 2 comments
Firedrops commented
Hi, thank you for your recipes and template. We are still missing a few, so I have tried to cook them up.
However, all fail on Singularity Hub's auto builder, with error logs like this
Start Time: Tue Nov 12 04:58:16 UTC 2019.
Cloning into '/tmp/tmp_45g721o'...
warning: redirecting to https://github.com/Firedrops/qimr_mtb.git/
Already on 'master'
Your branch is up to date with 'origin/master'.
Using container recipe deffile: Singularity Recipes/Singularity.beast2
Building into existing container: /root/build
�[31m�(B�[m�[31m�(B�[mCleaning up...
Cleaning up...
DEBUG False
LOG BUILD PARAMETERS:
repo_url is set to https://www.github.com/Firedrops/qimr_mtb
repo_id is set to 193184793
response_url is set to https://singularity-hub.org/hooks/build/gce/receive
bucket_name is set to singularityhub
tag is set to beast2
container_id is set to 11564
commit is set to 7a556aa0ac6ad5fe62ea9cf1ba9e8d189a2f0c45
branch is set to master
spec_file is set to Singularity Recipes/Singularity.beast2
logging_url is set to https://singularity-hub.org/hooks/build/gce/finish
logfile is set to /tmp/.shub-log
Checking out branch master
Checking out commit 7a556aa0ac6ad5fe62ea9cf1ba9e8d189a2f0c45
Found spec file Singularity Recipes/Singularity.beast2 in repository
head: cannot open 'Singularity' for reading: No such file or directory
cat: Singularity: No such file or directory
�[33mWARNING: Non existent bind point (directory) in container: '/tmp/tmp_45g721o'
�[0mERROR: Unknown container build Singularity recipe format: Singularity
ABORT: Aborting with RETVAL=255
head: cannot open 'Singularity' for reading: No such file or directory
cat: Singularity: No such file or directory
�[33mWARNING: Non existent bind point (directory) in container: '/tmp/tmp_45g721o'
�[0mERROR: Unknown container build Singularity recipe format: Singularity
ABORT: Aborting with RETVAL=255
Image failed build: build end 2 seconds.
Return value of 1.
End Time: Tue Nov 12 04:58:24 UTC 2019.
Have you come across these before? Am I missing something in my git project?
mbhall88 commented
I think the problem seems to be the fact that you have a space character in your directory name
Using container recipe deffile: Singularity Recipes/Singularity.beast2
So, therefore, when the builder tries to run head
it thinks there is a file called Singularity
and another called Recipes/Singularity.beast2
head: cannot open 'Singularity' for reading: No such file or directory
So I would strongly recommend changing the directory name to not have a space in it.
Firedrops commented
Thanks! That appears to have been the problem.