singularityhub / singularityhub.github.io

Container tools for scientific computing! Docs at https://singularityhub.github.io/singularityhub-docs
https://singularityhub.github.io
68 stars 9 forks source link

Final image does not exist after build complete message #221

Closed ftabaro closed 4 years ago

ftabaro commented 4 years ago

Links

Version of Singularity

Tried both with 3.2.1 and 3.4.2

Behavior when Building Locally

Locally on 3.5.3 builds correctly

Error on Singularity Hub

Build completes, final image does not exist and log file prints more compilation commands.

INFO:  Build complete: /root/build/container.sif
ERROR Final image does not exist.

gcc -I"/usr/local/lib64/R/include" -DNDEBUG -I/usr/local/include -fvisibility=hidden -fpic -g -O2 -c slice-assign-array.c -o slice-assign-array.o

gcc -I"/usr/local/lib64/R/include" -DNDEBUG -I/usr/local/include -fvisibility=hidden -fpic -g -O2 -c slice-assign.c -o slice-assign.o
...

Full log: https://www.dropbox.com/s/awfkejpcx3w2gbs/shub.txt?dl=0

What do you think is going on?

Some async error? Shub searching for image before actual container compilation finishes?

ftabaro commented 4 years ago

Seems related to #215 but the error is there also with builder 3.4.2.

ftabaro commented 4 years ago

The same recipe in a simpler repository (a single recipe file, no folders or other fancy stuff) builds fine with 3.4.2 builder.

vsoch commented 4 years ago

It’s 100% #215 - please follow that issue, and note the comment that the builder will be updated within a week or so. Closing here for duplicate issue.