Closed sverhoeven closed 4 years ago
Ran ansible-playbook -i inventory.yml jupyter.yml
with all tasks except singularity role commented out.
This gave:
TASK [singularity : Make] ********************************************************************************************************************************************************************
fatal: [jupyter.ewatercycle.org]: FAILED! => {"changed": false, "cmd": "/usr/bin/make", "msg": "
========================================================================
A non-backwards compatible change has been added to the build system and
it's necessary to start fresh.
Please remove the build directory ("builddir" by default) and run
mconfig again.
========================================================================
========================================================================
A non-backwards compatible change has been added to the build system and
it's necessary to start fresh.
Please remove the build directory ("builddir" by default) and run
mconfig again.
========================================================================
exit status 1
make: *** [singularity.conf] Error 1", "rc": 2, "stderr": "
========================================================================
A non-backwards compatible change has been added to the build system and
it's necessary to start fresh.
Please remove the build directory ("builddir" by default) and run
mconfig again.
========================================================================
========================================================================
A non-backwards compatible change has been added to the build system and
it's necessary to start fresh.
Please remove the build directory ("builddir" by default) and run
mconfig again.
========================================================================
exit status 1
make: *** [singularity.conf] Error 1
", "stderr_lines": ["", "========================================================================", "A non-backwards compatible change has been added to the build system and", "it's necessary to start fresh.", "", "Please remove the build directory ("builddir" by default) and run", "mconfig again.", "========================================================================", "", "", "========================================================================", "A non-backwards compatible change has been added to the build system and", "it's necessary to start fresh.", "", "Please remove the build directory ("builddir" by default) and run", "mconfig again.", "========================================================================", "", "exit status 1", "make: *** [singularity.conf] Error 1"], "stdout": " CSCOPE
DEPENDS
GEN singularity.conf from /etc/singularity/singularity.conf
Usage: go run ... [infile] <outfile>
Makefile:352: recipe for target 'singularity.conf' failed
", "stdout_lines": [" CSCOPE", " DEPENDS", " GEN singularity.conf from /etc/singularity/singularity.conf", "Usage: go run ... [infile] <outfile>", "Makefile:352: recipe for target 'singularity.conf' failed"]}
Removed file from /root/go/src/github.com/sylabs/singularity
so unarchive would be in changed state and reran ansible.
Now error is:
TASK [singularity : mconfig] *****************************************************************************************************************************************************************
fatal: [jupyter.ewatercycle.org]: FAILED! => {"changed": true, "cmd": ["./mconfig", "--sysconfdir=/etc"], "delta": "0:00:00.471528", "end": "2020-02-18 11:38:52.224888", "msg": "non-zero return code", "rc": 1, "start": "2020-02-18 11:38:51.753360", "stderr": "", "stderr_lines": [], "stdout": "Configuring for project `singularity' with languages: C, Golang
=> running pre-basechecks project specific checks ...
=> running base system checks ...
checking: host C compiler... cc
checking: host C++ compiler... c++
checking: host Go compiler (at least version 1.13)... not found!
mconfig: could not complete configuration", "stdout_lines": ["Configuring for project `singularity' with languages: C, Golang", "=> running pre-basechecks project specific checks ...", "=> running base system checks ...", " checking: host C compiler... cc", " checking: host C++ compiler... c++", " checking: host Go compiler (at least version 1.13)... not found!", "mconfig: could not complete configuration"]}
So also need to upgrade Go from 1.11.5 to 1.13
Be clearing the go and singularity unarchive dir the build was succesfull.
The grpc4bmi library requires Singularity 3.1.0, while 3.0.3 is installed.
We should update the singularity version.