abims-sbr / ansible-singularity

https://galaxy.ansible.com/lecorguille/singularity
GNU General Public License v3.0
4 stars 7 forks source link

`./mconfig` or `make` failed since GOPATH is not configured properly by default #7

Open pddg opened 5 years ago

pddg commented 5 years ago

Summary

Expected

./mconfig and make are executed successfully.

Actual

mconfig

./mconfig was failed to generate Makefile with these variables.

# Default value of gantsign.golang (2.0.4)
golang_version: "1.11.5"
# Reproducible on 3.3.0 ~ 3.4.1
singularity_version: "3.3.0"

The error was raised as follows. These logs show only ubuntu bionic VM, but I tested with other versions of ubuntu. It can be reproducible.

TASK [../../ : singularity | compile the Singularity binary | mconfig] *********
task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:62
fatal: [ubuntu-1804]: FAILED! => {"changed": true, "cmd": ["./mconfig"], "delta": "0:00:00.244543", "end": "2019-09-24 12:15:41.106522", "msg": "non-zero return code", "rc": 1, "start": "2019-09-24 12:15:40.861979", "stderr": "", "stderr_lines": [], "stdout": "Configuring for project `singularity' with languages: C, Golang\n=> running pre-basechecks project specific checks ...\n=> running base system checks ...\n checking: host C compiler... cc\n checking: host C++ compiler... c++\n checking: host Go compiler (at least version go1.11)... not found!\nmconfig: 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 go1.11)... not found!", "mconfig: could not complete configuration"]}
Full logs ``` $ vagrant up --provision ubuntu-1804 Bringing machine 'ubuntu-1804' up with 'virtualbox' provider... ==> ubuntu-1804: Importing base box 'bento/ubuntu-18.04'... ==> ubuntu-1804: Matching MAC address for NAT networking... ==> ubuntu-1804: Checking if box 'bento/ubuntu-18.04' version '201906.18.0' is up to date... ==> ubuntu-1804: Setting the name of the VM: ansible-singularity_ubuntu-1804_1569327069273_42211 ==> ubuntu-1804: Clearing any previously set network interfaces... ==> ubuntu-1804: Preparing network interfaces based on configuration... ubuntu-1804: Adapter 1: nat ubuntu-1804: Adapter 2: hostonly ==> ubuntu-1804: Forwarding ports... ubuntu-1804: 22 (guest) => 2222 (host) (adapter 1) ==> ubuntu-1804: Running 'pre-boot' VM customizations... ==> ubuntu-1804: Booting VM... ==> ubuntu-1804: Waiting for machine to boot. This may take a few minutes... ubuntu-1804: SSH address: 127.0.0.1:2222 ubuntu-1804: SSH username: vagrant ubuntu-1804: SSH auth method: private key ubuntu-1804: Warning: Connection reset. Retrying... ubuntu-1804: ubuntu-1804: Vagrant insecure key detected. Vagrant will automatically replace ubuntu-1804: this with a newly generated keypair for better security. ubuntu-1804: ubuntu-1804: Inserting generated public key within guest... ubuntu-1804: Removing insecure key from the guest if it's present... ubuntu-1804: Key inserted! Disconnecting and reconnecting using new SSH key... ==> ubuntu-1804: Machine booted and ready! ==> ubuntu-1804: Checking for guest additions in VM... ==> ubuntu-1804: Setting hostname... ==> ubuntu-1804: Configuring and enabling network interfaces... ==> ubuntu-1804: Mounting shared folders... ubuntu-1804: /vagrant => /Users/pudding/ghq/github.com/pddg/ansible-singularity ==> ubuntu-1804: Running provisioner: ansible... Vagrant has automatically selected the compatibility mode '2.0' according to the Ansible version installed (2.8.5). Alternatively, the compatibility mode can be specified in your Vagrantfile: https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode ubuntu-1804: Running ansible-playbook... PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --connection=ssh --timeout=30 --limit="all" --inventory-file=/Users/pudding/ghq/github.com/pddg/ansible-singularity/.vagrant/provisioners/ansible/inventory -vv tests/vagrant.yml ansible-playbook 2.8.5 config file = None configured module search path = ['/Users/pudding/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.7.4 (default, Sep 7 2019, 18:27:02) [Clang 10.0.1 (clang-1001.0.46.4)] No config file found; using defaults PLAYBOOK: vagrant.yml ********************************************************** 1 plays in tests/vagrant.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tests/vagrant.yml:3 ok: [ubuntu-1804] TASK [apt update] ************************************************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tests/vagrant.yml:7 [WARNING]: Updating cache and auto-installing missing dependency: python-apt [WARNING]: Could not find aptitude. Using apt-get instead ok: [ubuntu-1804] => {"cache_update_time": 1569327124, "cache_updated": false, "changed": false} META: ran handlers TASK [gantsign.golang : load version vars] ************************************* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:2 ok: [ubuntu-1804] => (item=/Users/pudding/.ansible/roles/gantsign.golang/vars/../vars/versions/1.11.5.yml) => {"ansible_facts": {"golang_redis_sha256sum": "ff54aafedff961eb94792487e827515da683d61a5f9482f668008832631e5d25"}, "ansible_included_var_files": ["/Users/pudding/.ansible/roles/gantsign.golang/vars/versions/1.11.5.yml"], "ansible_loop_var": "item", "changed": false, "item": "/Users/pudding/.ansible/roles/gantsign.golang/vars/../vars/versions/1.11.5.yml"} TASK [gantsign.golang : assert version vars] *********************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:8 ok: [ubuntu-1804] => { "changed": false, "msg": "All assertions passed" } TASK [gantsign.golang : create download directory] ***************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:13 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/root/.ansible/tmp/downloads", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : download Go language SDK] ****************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:19 changed: [ubuntu-1804] => {"changed": true, "checksum_dest": null, "checksum_src": "b951c39500c4c85f57b7549ebc87281816d28f59", "dest": "/root/.ansible/tmp/downloads/go1.11.5.linux-amd64.tar.gz", "elapsed": 19, "gid": 0, "group": "root", "md5sum": "29e85fb6da54afbff4d50a3a778b4445", "mode": "0644", "msg": "OK (140132627 bytes)", "owner": "root", "size": 140132627, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1569327147.011282-85249037638000/tmpaXxJLj", "state": "file", "status_code": 200, "uid": 0, "url": "https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz"} TASK [gantsign.golang : create Go language SDK installation directory] ********* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:29 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/opt/go/1.11.5", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : install unarchive dependencies (zypper)] *************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:38 skipping: [ubuntu-1804] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [gantsign.golang : install Go language SDK] ******************************* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:47 changed: [ubuntu-1804] => {"changed": true, "dest": "/opt/go/1.11.5", "extract_results": {"cmd": ["/bin/tar", "--extract", "-C", "/opt/go/1.11.5", "-z", "--show-transformed-names", "--strip-components=1", "--owner=root", "--group=root", "-f", "/root/.ansible/tmp/downloads/go1.11.5.linux-amd64.tar.gz"], "err": "", "out": "", "rc": 0}, "gid": 0, "group": "root", "handler": "TgzArchive", "mode": "0755", "owner": "root", "size": 4096, "src": "/root/.ansible/tmp/downloads/go1.11.5.linux-amd64.tar.gz", "state": "directory", "uid": 0} TASK [gantsign.golang : make sure /etc/profile.d exists] *********************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:59 ok: [ubuntu-1804] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/profile.d", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : export Go language SDK environment variables] ********** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:68 changed: [ubuntu-1804] => {"changed": true, "checksum": "12551cd80616deb46be2ceab4aff9816c3e67b0d", "dest": "/etc/profile.d/golang.sh", "gid": 0, "group": "root", "md5sum": "b5d4ea1d184d216de65f31a9609ea693", "mode": "0644", "owner": "root", "size": 96, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1569327189.7138891-205511495385799/source", "state": "file", "uid": 0} TASK [gantsign.golang : create Ansible facts.d directory] ********************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:78 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/ansible/facts.d", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : install Go language SDK facts] ************************* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:87 changed: [ubuntu-1804] => {"changed": true, "checksum": "91d55cc9a7c35d7a132e3cc9b2315b81636d3083", "dest": "/etc/ansible/facts.d/golang.fact", "gid": 0, "group": "root", "md5sum": "a3bd453cbd86104580e28134b08dc109", "mode": "0644", "owner": "root", "size": 68, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1569327190.5101519-7467727693174/source", "state": "file", "uid": 0} TASK [gantsign.golang : re-read facts] ***************************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:96 ok: [ubuntu-1804] TASK [../../ : Gather os specific variables] *********************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:2 ok: [ubuntu-1804] => (item=/Users/pudding/ghq/github.com/pddg/ansible-singularity/vars/Debian.yml) => {"ansible_facts": {"singularity_software_base": ["build-essential", "libssl-dev", "uuid-dev", "libgpgme11-dev", "squashfs-tools", "libseccomp-dev", "pkg-config", "git"]}, "ansible_included_var_files": ["/Users/pudding/ghq/github.com/pddg/ansible-singularity/vars/Debian.yml"], "ansible_loop_var": "item", "changed": false, "item": "/Users/pudding/ghq/github.com/pddg/ansible-singularity/vars/Debian.yml"} TASK [../../ : singularity | Uninstall singularity] **************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:11 ok: [ubuntu-1804] => {"changed": false} TASK [../../ : singularity | install software base] **************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:16 changed: [ubuntu-1804] => {"attempts": 1, "cache_update_time": 1569327124, "cache_updated": false, "changed": true, "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl\n libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev\n libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot\n libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme11\n libitm1 liblsan0 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0\n libuuid1\nSuggested packages:\n debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg\n gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc\n gcc-7-multilib gcc-7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg\n libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg\n libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg bzr seccomp libstdc++-7-doc\nThe following NEW packages will be installed:\n build-essential dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl\n libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev\n libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot\n libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme-dev\n libgpgme11 libitm1 liblsan0 libmpx2 libquadmath0 libseccomp-dev\n libstdc++-7-dev libtsan0 libubsan0 pkg-config uuid-dev\nThe following packages will be upgraded:\n libuuid1\n1 upgraded, 33 newly installed, 0 to remove and 98 not upgraded.\nNeed to get 21.9 MB of archives.\nAfter this operation, 93.2 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libuuid1 amd64 2.31.1-0.4ubuntu3.4 [20.0 kB]\nGet:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.3.0-6ubuntu1~18.04.1 [47.4 kB]\nGet:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.3.0-6ubuntu1~18.04.1 [76.4 kB]\nGet:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.3.0-6ubuntu1~18.04.1 [28.0 kB]\nGet:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.3.0-6ubuntu1~18.04.1 [9184 B]\nGet:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.4.0-1ubuntu1~18.04.1 [359 kB]\nGet:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]\nGet:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.3.0-6ubuntu1~18.04.1 [288 kB]\nGet:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.4.0-1ubuntu1~18.04.1 [126 kB]\nGet:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.4.0-1ubuntu1~18.04.1 [42.5 kB]\nGet:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.3.0-6ubuntu1~18.04.1 [11.6 kB]\nGet:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]\nGet:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [2381 kB]\nGet:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.4.0-1ubuntu1~18.04.1 [7463 kB]\nGet:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]\nGet:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [1468 kB]\nGet:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04.1 [7574 kB]\nGet:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]\nGet:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]\nGet:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]\nGet:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]\nGet:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]\nGet:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]\nGet:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]\nGet:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]\nGet:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]\nGet:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan-dev amd64 2.5.1-2 [92.1 kB]\nGet:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]\nGet:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgpg-error-dev amd64 1.27-6 [94.8 kB]\nGet:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme11 amd64 1.10.0-1ubuntu2 [111 kB]\nGet:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libseccomp-dev amd64 2.4.1-0ubuntu0.18.04.2 [60.2 kB]\nGet:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]\nGet:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme-dev amd64 1.10.0-1ubuntu2 [306 kB]\nGet:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 uuid-dev amd64 2.31.1-0.4ubuntu3.4 [33.2 kB]\nFetched 21.9 MB in 48s (457 kB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 42516 files and directories currently installed.)\r\nPreparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.4_amd64.deb ...\r\nUnpacking libuuid1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.3) ...\r\nSetting up libuuid1:amd64 (2.31.1-0.4ubuntu3.4) ...\r\nSelecting previously unselected package libcc1-0:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 42516 files and directories currently installed.)\r\nPreparing to unpack .../00-libcc1-0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libgomp1:amd64.\r\nPreparing to unpack .../01-libgomp1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libitm1:amd64.\r\nPreparing to unpack .../02-libitm1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libatomic1:amd64.\r\nPreparing to unpack .../03-libatomic1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libasan4:amd64.\r\nPreparing to unpack .../04-libasan4_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package liblsan0:amd64.\r\nPreparing to unpack .../05-liblsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libtsan0:amd64.\r\nPreparing to unpack .../06-libtsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libubsan0:amd64.\r\nPreparing to unpack .../07-libubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libcilkrts5:amd64.\r\nPreparing to unpack .../08-libcilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libmpx2:amd64.\r\nPreparing to unpack .../09-libmpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libquadmath0:amd64.\r\nPreparing to unpack .../10-libquadmath0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libgcc-7-dev:amd64.\r\nPreparing to unpack .../11-libgcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package gcc-7.\r\nPreparing to unpack .../12-gcc-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking gcc-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package gcc.\r\nPreparing to unpack .../13-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...\r\nUnpacking gcc (4:7.4.0-1ubuntu2.3) ...\r\nSelecting previously unselected package libstdc++-7-dev:amd64.\r\nPreparing to unpack .../14-libstdc++-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package g++-7.\r\nPreparing to unpack .../15-g++-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking g++-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package g++.\r\nPreparing to unpack .../16-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...\r\nUnpacking g++ (4:7.4.0-1ubuntu2.3) ...\r\nSelecting previously unselected package libdpkg-perl.\r\nPreparing to unpack .../17-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...\r\nUnpacking libdpkg-perl (1.19.0.5ubuntu2.3) ...\r\nSelecting previously unselected package dpkg-dev.\r\nPreparing to unpack .../18-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ...\r\nUnpacking dpkg-dev (1.19.0.5ubuntu2.3) ...\r\nSelecting previously unselected package build-essential.\r\nPreparing to unpack .../19-build-essential_12.4ubuntu1_amd64.deb ...\r\nUnpacking build-essential (12.4ubuntu1) ...\r\nSelecting previously unselected package libfakeroot:amd64.\r\nPreparing to unpack .../20-libfakeroot_1.22-2ubuntu1_amd64.deb ...\r\nUnpacking libfakeroot:amd64 (1.22-2ubuntu1) ...\r\nSelecting previously unselected package fakeroot.\r\nPreparing to unpack .../21-fakeroot_1.22-2ubuntu1_amd64.deb ...\r\nUnpacking fakeroot (1.22-2ubuntu1) ...\r\nSelecting previously unselected package libalgorithm-diff-perl.\r\nPreparing to unpack .../22-libalgorithm-diff-perl_1.19.03-1_all.deb ...\r\nUnpacking libalgorithm-diff-perl (1.19.03-1) ...\r\nSelecting previously unselected package libalgorithm-diff-xs-perl.\r\nPreparing to unpack .../23-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...\r\nUnpacking libalgorithm-diff-xs-perl (0.04-5) ...\r\nSelecting previously unselected package libalgorithm-merge-perl.\r\nPreparing to unpack .../24-libalgorithm-merge-perl_0.08-3_all.deb ...\r\nUnpacking libalgorithm-merge-perl (0.08-3) ...\r\nSelecting previously unselected package libassuan-dev.\r\nPreparing to unpack .../25-libassuan-dev_2.5.1-2_amd64.deb ...\r\nUnpacking libassuan-dev (2.5.1-2) ...\r\nSelecting previously unselected package libfile-fcntllock-perl.\r\nPreparing to unpack .../26-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...\r\nUnpacking libfile-fcntllock-perl (0.22-3build2) ...\r\nSelecting previously unselected package libgpg-error-dev.\r\nPreparing to unpack .../27-libgpg-error-dev_1.27-6_amd64.deb ...\r\nUnpacking libgpg-error-dev (1.27-6) ...\r\nSelecting previously unselected package libgpgme11:amd64.\r\nPreparing to unpack .../28-libgpgme11_1.10.0-1ubuntu2_amd64.deb ...\r\nUnpacking libgpgme11:amd64 (1.10.0-1ubuntu2) ...\r\nSelecting previously unselected package libseccomp-dev:amd64.\r\nPreparing to unpack .../29-libseccomp-dev_2.4.1-0ubuntu0.18.04.2_amd64.deb ...\r\nUnpacking libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...\r\nSelecting previously unselected package pkg-config.\r\nPreparing to unpack .../30-pkg-config_0.29.1-0ubuntu2_amd64.deb ...\r\nUnpacking pkg-config (0.29.1-0ubuntu2) ...\r\nSelecting previously unselected package libgpgme-dev.\r\nPreparing to unpack .../31-libgpgme-dev_1.10.0-1ubuntu2_amd64.deb ...\r\nUnpacking libgpgme-dev (1.10.0-1ubuntu2) ...\r\nSelecting previously unselected package uuid-dev:amd64.\r\nPreparing to unpack .../32-uuid-dev_2.31.1-0.4ubuntu3.4_amd64.deb ...\r\nUnpacking uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...\r\nSetting up libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nProcessing triggers for install-info (6.5.0.dfsg.1-2) ...\r\nSetting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libgpg-error-dev (1.27-6) ...\r\nSetting up libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...\r\nSetting up libdpkg-perl (1.19.0.5ubuntu2.3) ...\r\nSetting up uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...\r\nSetting up liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libgpgme11:amd64 (1.10.0-1ubuntu2) ...\r\nSetting up libfile-fcntllock-perl (0.22-3build2) ...\r\nSetting up libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up dpkg-dev (1.19.0.5ubuntu2.3) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1) ...\r\nSetting up libfakeroot:amd64 (1.22-2ubuntu1) ...\r\nSetting up libassuan-dev (2.5.1-2) ...\r\nSetting up libalgorithm-diff-perl (1.19.03-1) ...\r\nProcessing triggers for man-db (2.8.3-2ubuntu0.1) ...\r\nSetting up libgpgme-dev (1.10.0-1ubuntu2) ...\r\nSetting up libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up fakeroot (1.22-2ubuntu1) ...\r\nupdate-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode\r\nSetting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libalgorithm-merge-perl (0.08-3) ...\r\nSetting up pkg-config (0.29.1-0ubuntu2) ...\r\nSetting up libalgorithm-diff-xs-perl (0.04-5) ...\r\nSetting up gcc-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up g++-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up gcc (4:7.4.0-1ubuntu2.3) ...\r\nSetting up g++ (4:7.4.0-1ubuntu2.3) ...\r\nupdate-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode\r\nSetting up build-essential (12.4ubuntu1) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl", " libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev", " libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot", " libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme11", " libitm1 liblsan0 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0", " libuuid1", "Suggested packages:", " debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg", " gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc", " gcc-7-multilib gcc-7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg", " libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg", " libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg bzr seccomp libstdc++-7-doc", "The following NEW packages will be installed:", " build-essential dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl", " libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev", " libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot", " libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme-dev", " libgpgme11 libitm1 liblsan0 libmpx2 libquadmath0 libseccomp-dev", " libstdc++-7-dev libtsan0 libubsan0 pkg-config uuid-dev", "The following packages will be upgraded:", " libuuid1", "1 upgraded, 33 newly installed, 0 to remove and 98 not upgraded.", "Need to get 21.9 MB of archives.", "After this operation, 93.2 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libuuid1 amd64 2.31.1-0.4ubuntu3.4 [20.0 kB]", "Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.3.0-6ubuntu1~18.04.1 [47.4 kB]", "Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.3.0-6ubuntu1~18.04.1 [76.4 kB]", "Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.3.0-6ubuntu1~18.04.1 [28.0 kB]", "Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.3.0-6ubuntu1~18.04.1 [9184 B]", "Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.4.0-1ubuntu1~18.04.1 [359 kB]", "Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]", "Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.3.0-6ubuntu1~18.04.1 [288 kB]", "Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.4.0-1ubuntu1~18.04.1 [126 kB]", "Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.4.0-1ubuntu1~18.04.1 [42.5 kB]", "Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.3.0-6ubuntu1~18.04.1 [11.6 kB]", "Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]", "Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [2381 kB]", "Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.4.0-1ubuntu1~18.04.1 [7463 kB]", "Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]", "Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [1468 kB]", "Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04.1 [7574 kB]", "Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]", "Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]", "Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]", "Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]", "Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]", "Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]", "Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]", "Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]", "Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]", "Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan-dev amd64 2.5.1-2 [92.1 kB]", "Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]", "Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgpg-error-dev amd64 1.27-6 [94.8 kB]", "Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme11 amd64 1.10.0-1ubuntu2 [111 kB]", "Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libseccomp-dev amd64 2.4.1-0ubuntu0.18.04.2 [60.2 kB]", "Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]", "Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme-dev amd64 1.10.0-1ubuntu2 [306 kB]", "Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 uuid-dev amd64 2.31.1-0.4ubuntu3.4 [33.2 kB]", "Fetched 21.9 MB in 48s (457 kB/s)", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 42516 files and directories currently installed.)", "Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.4_amd64.deb ...", "Unpacking libuuid1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.3) ...", "Setting up libuuid1:amd64 (2.31.1-0.4ubuntu3.4) ...", "Selecting previously unselected package libcc1-0:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 42516 files and directories currently installed.)", "Preparing to unpack .../00-libcc1-0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libgomp1:amd64.", "Preparing to unpack .../01-libgomp1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libitm1:amd64.", "Preparing to unpack .../02-libitm1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libatomic1:amd64.", "Preparing to unpack .../03-libatomic1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libasan4:amd64.", "Preparing to unpack .../04-libasan4_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package liblsan0:amd64.", "Preparing to unpack .../05-liblsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libtsan0:amd64.", "Preparing to unpack .../06-libtsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libubsan0:amd64.", "Preparing to unpack .../07-libubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package libcilkrts5:amd64.", "Preparing to unpack .../08-libcilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package libmpx2:amd64.", "Preparing to unpack .../09-libmpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libquadmath0:amd64.", "Preparing to unpack .../10-libquadmath0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libgcc-7-dev:amd64.", "Preparing to unpack .../11-libgcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package gcc-7.", "Preparing to unpack .../12-gcc-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking gcc-7 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package gcc.", "Preparing to unpack .../13-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...", "Unpacking gcc (4:7.4.0-1ubuntu2.3) ...", "Selecting previously unselected package libstdc++-7-dev:amd64.", "Preparing to unpack .../14-libstdc++-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package g++-7.", "Preparing to unpack .../15-g++-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking g++-7 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package g++.", "Preparing to unpack .../16-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...", "Unpacking g++ (4:7.4.0-1ubuntu2.3) ...", "Selecting previously unselected package libdpkg-perl.", "Preparing to unpack .../17-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...", "Unpacking libdpkg-perl (1.19.0.5ubuntu2.3) ...", "Selecting previously unselected package dpkg-dev.", "Preparing to unpack .../18-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ...", "Unpacking dpkg-dev (1.19.0.5ubuntu2.3) ...", "Selecting previously unselected package build-essential.", "Preparing to unpack .../19-build-essential_12.4ubuntu1_amd64.deb ...", "Unpacking build-essential (12.4ubuntu1) ...", "Selecting previously unselected package libfakeroot:amd64.", "Preparing to unpack .../20-libfakeroot_1.22-2ubuntu1_amd64.deb ...", "Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...", "Selecting previously unselected package fakeroot.", "Preparing to unpack .../21-fakeroot_1.22-2ubuntu1_amd64.deb ...", "Unpacking fakeroot (1.22-2ubuntu1) ...", "Selecting previously unselected package libalgorithm-diff-perl.", "Preparing to unpack .../22-libalgorithm-diff-perl_1.19.03-1_all.deb ...", "Unpacking libalgorithm-diff-perl (1.19.03-1) ...", "Selecting previously unselected package libalgorithm-diff-xs-perl.", "Preparing to unpack .../23-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...", "Unpacking libalgorithm-diff-xs-perl (0.04-5) ...", "Selecting previously unselected package libalgorithm-merge-perl.", "Preparing to unpack .../24-libalgorithm-merge-perl_0.08-3_all.deb ...", "Unpacking libalgorithm-merge-perl (0.08-3) ...", "Selecting previously unselected package libassuan-dev.", "Preparing to unpack .../25-libassuan-dev_2.5.1-2_amd64.deb ...", "Unpacking libassuan-dev (2.5.1-2) ...", "Selecting previously unselected package libfile-fcntllock-perl.", "Preparing to unpack .../26-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...", "Unpacking libfile-fcntllock-perl (0.22-3build2) ...", "Selecting previously unselected package libgpg-error-dev.", "Preparing to unpack .../27-libgpg-error-dev_1.27-6_amd64.deb ...", "Unpacking libgpg-error-dev (1.27-6) ...", "Selecting previously unselected package libgpgme11:amd64.", "Preparing to unpack .../28-libgpgme11_1.10.0-1ubuntu2_amd64.deb ...", "Unpacking libgpgme11:amd64 (1.10.0-1ubuntu2) ...", "Selecting previously unselected package libseccomp-dev:amd64.", "Preparing to unpack .../29-libseccomp-dev_2.4.1-0ubuntu0.18.04.2_amd64.deb ...", "Unpacking libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...", "Selecting previously unselected package pkg-config.", "Preparing to unpack .../30-pkg-config_0.29.1-0ubuntu2_amd64.deb ...", "Unpacking pkg-config (0.29.1-0ubuntu2) ...", "Selecting previously unselected package libgpgme-dev.", "Preparing to unpack .../31-libgpgme-dev_1.10.0-1ubuntu2_amd64.deb ...", "Unpacking libgpgme-dev (1.10.0-1ubuntu2) ...", "Selecting previously unselected package uuid-dev:amd64.", "Preparing to unpack .../32-uuid-dev_2.31.1-0.4ubuntu3.4_amd64.deb ...", "Unpacking uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...", "Setting up libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Processing triggers for install-info (6.5.0.dfsg.1-2) ...", "Setting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libgpg-error-dev (1.27-6) ...", "Setting up libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...", "Setting up libdpkg-perl (1.19.0.5ubuntu2.3) ...", "Setting up uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...", "Setting up liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libgpgme11:amd64 (1.10.0-1ubuntu2) ...", "Setting up libfile-fcntllock-perl (0.22-3build2) ...", "Setting up libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up dpkg-dev (1.19.0.5ubuntu2.3) ...", "Processing triggers for libc-bin (2.27-3ubuntu1) ...", "Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...", "Setting up libassuan-dev (2.5.1-2) ...", "Setting up libalgorithm-diff-perl (1.19.03-1) ...", "Processing triggers for man-db (2.8.3-2ubuntu0.1) ...", "Setting up libgpgme-dev (1.10.0-1ubuntu2) ...", "Setting up libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up fakeroot (1.22-2ubuntu1) ...", "update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode", "Setting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libalgorithm-merge-perl (0.08-3) ...", "Setting up pkg-config (0.29.1-0ubuntu2) ...", "Setting up libalgorithm-diff-xs-perl (0.04-5) ...", "Setting up gcc-7 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up g++-7 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up gcc (4:7.4.0-1ubuntu2.3) ...", "Setting up g++ (4:7.4.0-1ubuntu2.3) ...", "update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode", "Setting up build-essential (12.4ubuntu1) ...", "Processing triggers for libc-bin (2.27-3ubuntu1) ..."]} TASK [../../ : singularity | check Go dependencies installed] ****************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:25 ok: [ubuntu-1804] => {"changed": false, "cmd": ["bash", "-c", "go list github.com/golang/dep"], "delta": "0:00:00.050839", "end": "2019-09-24 12:15:28.079289", "failed_when_result": false, "msg": "non-zero return code", "rc": 2, "start": "2019-09-24 12:15:28.028450", "stderr": "go: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'", "stderr_lines": ["go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'"], "stdout": "", "stdout_lines": []} TASK [../../ : singularity | install Go dependencies] ************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:35 skipping: [ubuntu-1804] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [../../ : singularity | create directory for singularity] ***************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:45 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/opt/go/1.11.5/src/github.com/sylabs/", "size": 4096, "state": "directory", "uid": 0} TASK [../../ : singularity | clone the Singularity repository] ***************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:50 changed: [ubuntu-1804] => {"after": "5d9975e95fa79f2341526477e2b39d2fdfbd2921", "before": null, "changed": true} TASK [../../ : singularity | check singularity installed version] ************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:56 ok: [ubuntu-1804] => {"changed": false, "cmd": ["bash", "-c", "singularity --version | grep \"3.4.1\""], "delta": "0:00:00.007555", "end": "2019-09-24 12:15:40.577798", "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "start": "2019-09-24 12:15:40.570243", "stderr": "bash: singularity: command not found", "stderr_lines": ["bash: singularity: command not found"], "stdout": "", "stdout_lines": []} TASK [../../ : singularity | compile the Singularity binary | mconfig] ********* task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:62 fatal: [ubuntu-1804]: FAILED! => {"changed": true, "cmd": ["./mconfig"], "delta": "0:00:00.244543", "end": "2019-09-24 12:15:41.106522", "msg": "non-zero return code", "rc": 1, "start": "2019-09-24 12:15:40.861979", "stderr": "", "stderr_lines": [], "stdout": "Configuring for project `singularity' with languages: C, Golang\n=> running pre-basechecks project specific checks ...\n=> running base system checks ...\n checking: host C compiler... cc\n checking: host C++ compiler... c++\n checking: host Go compiler (at least version go1.11)... not found!\nmconfig: 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 go1.11)... not found!", "mconfig: could not complete configuration"]} PLAY RECAP ********************************************************************* ubuntu-1804 : ok=20 changed=10 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. ```

The error message said host Go compiler (at least version go1.11)... not found!, but it can be found. I tested this by inserting echo $(which go) instead of ./mconfig.

make

make was failed to build Singularity binary with these variables.

# Default value of gantsign.golang (2.0.4)
golang_version: "1.11.5"
# Reproducible on 3.0.0 ~ 3.2.0
singularity_version: "3.0.3"

The error was raised as follows.

TASK [../../ : singularity | compile the Singularity binary | make] ************
task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:74
fatal: [ubuntu-1804]: FAILED! => {"changed": false, "cmd": "/usr/bin/make", "msg": "go: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\nmake: *** [/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go] Error 2", "rc": 2, "stderr": "go: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\nmake: *** [/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go] Error 2\n", "stderr_lines": ["go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'", "go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'", "go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'", "make: *** [/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go] Error 2"], "stdout": "Makefile:147: recipe for target '/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go' failed\n", "stdout_lines": ["Makefile:147: recipe for target '/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go' failed"]}
Full logs ``` !  ~/g/g/p/ansible-singularity   fix/go_mod *…  vagrant up --provision ubuntu-1804 Bringing machine 'ubuntu-1804' up with 'virtualbox' provider... ==> ubuntu-1804: Importing base box 'bento/ubuntu-18.04'... ==> ubuntu-1804: Matching MAC address for NAT networking... ==> ubuntu-1804: Checking if box 'bento/ubuntu-18.04' version '201906.18.0' is up to date... ==> ubuntu-1804: Setting the name of the VM: ansible-singularity_ubuntu-1804_1569339534475_24872 ==> ubuntu-1804: Clearing any previously set network interfaces... ==> ubuntu-1804: Preparing network interfaces based on configuration... ubuntu-1804: Adapter 1: nat ubuntu-1804: Adapter 2: hostonly ==> ubuntu-1804: Forwarding ports... ubuntu-1804: 22 (guest) => 2222 (host) (adapter 1) ==> ubuntu-1804: Running 'pre-boot' VM customizations... ==> ubuntu-1804: Booting VM... ==> ubuntu-1804: Waiting for machine to boot. This may take a few minutes... ubuntu-1804: SSH address: 127.0.0.1:2222 ubuntu-1804: SSH username: vagrant ubuntu-1804: SSH auth method: private key ubuntu-1804: Warning: Connection reset. Retrying... ubuntu-1804: ubuntu-1804: Vagrant insecure key detected. Vagrant will automatically replace ubuntu-1804: this with a newly generated keypair for better security. ubuntu-1804: ubuntu-1804: Inserting generated public key within guest... ubuntu-1804: Removing insecure key from the guest if it's present... ubuntu-1804: Key inserted! Disconnecting and reconnecting using new SSH key... ==> ubuntu-1804: Machine booted and ready! ==> ubuntu-1804: Checking for guest additions in VM... ==> ubuntu-1804: Setting hostname... ==> ubuntu-1804: Configuring and enabling network interfaces... ==> ubuntu-1804: Mounting shared folders... ubuntu-1804: /vagrant => /Users/pudding/ghq/github.com/pddg/ansible-singularity ==> ubuntu-1804: Running provisioner: ansible... Vagrant has automatically selected the compatibility mode '2.0' according to the Ansible version installed (2.8.5). Alternatively, the compatibility mode can be specified in your Vagrantfile: https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode ubuntu-1804: Running ansible-playbook... PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --connection=ssh --timeout=30 --limit="all" --inventory-file=/Users/pudding/ghq/github.com/pddg/ansible-singularity/.vagrant/provisioners/ansible/inventory -vv tests/vagrant.yml ansible-playbook 2.8.5 config file = None configured module search path = ['/Users/pudding/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.7.4 (default, Sep 7 2019, 18:27:02) [Clang 10.0.1 (clang-1001.0.46.4)] No config file found; using defaults PLAYBOOK: vagrant.yml ********************************************************** 1 plays in tests/vagrant.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tests/vagrant.yml:3 ok: [ubuntu-1804] TASK [apt update] ************************************************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tests/vagrant.yml:7 [WARNING]: Updating cache and auto-installing missing dependency: python-apt [WARNING]: Could not find aptitude. Using apt-get instead ok: [ubuntu-1804] => {"cache_update_time": 1569339588, "cache_updated": false, "changed": false} META: ran handlers TASK [gantsign.golang : load version vars] ************************************* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:2 ok: [ubuntu-1804] => (item=/Users/pudding/.ansible/roles/gantsign.golang/vars/../vars/versions/1.11.5.yml) => {"ansible_facts": {"golang_redis_sha256sum": "ff54aafedff961eb94792487e827515da683d61a5f9482f668008832631e5d25"}, "ansible_included_var_files": ["/Users/pudding/.ansible/roles/gantsign.golang/vars/versions/1.11.5.yml"], "ansible_loop_var": "item", "changed": false, "item": "/Users/pudding/.ansible/roles/gantsign.golang/vars/../vars/versions/1.11.5.yml"} TASK [gantsign.golang : assert version vars] *********************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:8 ok: [ubuntu-1804] => { "changed": false, "msg": "All assertions passed" } TASK [gantsign.golang : create download directory] ***************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:13 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/root/.ansible/tmp/downloads", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : download Go language SDK] ****************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:19 changed: [ubuntu-1804] => {"changed": true, "checksum_dest": null, "checksum_src": "b951c39500c4c85f57b7549ebc87281816d28f59", "dest": "/root/.ansible/tmp/downloads/go1.11.5.linux-amd64.tar.gz", "elapsed": 3, "gid": 0, "group": "root", "md5sum": "29e85fb6da54afbff4d50a3a778b4445", "mode": "0644", "msg": "OK (140132627 bytes)", "owner": "root", "size": 140132627, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1569339611.265891-92052601060287/tmp7_aqL8", "state": "file", "status_code": 200, "uid": 0, "url": "https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz"} TASK [gantsign.golang : create Go language SDK installation directory] ********* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:29 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/opt/go/1.11.5", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : install unarchive dependencies (zypper)] *************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:38 skipping: [ubuntu-1804] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [gantsign.golang : install Go language SDK] ******************************* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:47 changed: [ubuntu-1804] => {"changed": true, "dest": "/opt/go/1.11.5", "extract_results": {"cmd": ["/bin/tar", "--extract", "-C", "/opt/go/1.11.5", "-z", "--show-transformed-names", "--strip-components=1", "--owner=root", "--group=root", "-f", "/root/.ansible/tmp/downloads/go1.11.5.linux-amd64.tar.gz"], "err": "", "out": "", "rc": 0}, "gid": 0, "group": "root", "handler": "TgzArchive", "mode": "0755", "owner": "root", "size": 4096, "src": "/root/.ansible/tmp/downloads/go1.11.5.linux-amd64.tar.gz", "state": "directory", "uid": 0} TASK [gantsign.golang : make sure /etc/profile.d exists] *********************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:59 ok: [ubuntu-1804] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/profile.d", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : export Go language SDK environment variables] ********** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:68 changed: [ubuntu-1804] => {"changed": true, "checksum": "12551cd80616deb46be2ceab4aff9816c3e67b0d", "dest": "/etc/profile.d/golang.sh", "gid": 0, "group": "root", "md5sum": "b5d4ea1d184d216de65f31a9609ea693", "mode": "0644", "owner": "root", "size": 96, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1569339638.2570271-107273439118721/source", "state": "file", "uid": 0} TASK [gantsign.golang : create Ansible facts.d directory] ********************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:78 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/ansible/facts.d", "size": 4096, "state": "directory", "uid": 0} TASK [gantsign.golang : install Go language SDK facts] ************************* task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:87 changed: [ubuntu-1804] => {"changed": true, "checksum": "91d55cc9a7c35d7a132e3cc9b2315b81636d3083", "dest": "/etc/ansible/facts.d/golang.fact", "gid": 0, "group": "root", "md5sum": "a3bd453cbd86104580e28134b08dc109", "mode": "0644", "owner": "root", "size": 68, "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1569339639.018018-195750076296125/source", "state": "file", "uid": 0} TASK [gantsign.golang : re-read facts] ***************************************** task path: /Users/pudding/.ansible/roles/gantsign.golang/tasks/main.yml:96 ok: [ubuntu-1804] TASK [../../ : Gather os specific variables] *********************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:2 ok: [ubuntu-1804] => (item=/Users/pudding/ghq/github.com/pddg/ansible-singularity/vars/Debian.yml) => {"ansible_facts": {"singularity_software_base": ["build-essential", "libssl-dev", "uuid-dev", "libgpgme11-dev", "squashfs-tools", "libseccomp-dev", "pkg-config", "git"]}, "ansible_included_var_files": ["/Users/pudding/ghq/github.com/pddg/ansible-singularity/vars/Debian.yml"], "ansible_loop_var": "item", "changed": false, "item": "/Users/pudding/ghq/github.com/pddg/ansible-singularity/vars/Debian.yml"} TASK [../../ : singularity | Uninstall singularity] **************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:11 ok: [ubuntu-1804] => {"changed": false} TASK [../../ : singularity | install software base] **************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:16 changed: [ubuntu-1804] => {"attempts": 1, "cache_update_time": 1569339588, "cache_updated": false, "changed": true, "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl\n libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev\n libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot\n libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme11\n libitm1 liblsan0 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0\n libuuid1\nSuggested packages:\n debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg\n gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc\n gcc-7-multilib gcc-7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg\n libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg\n libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg bzr seccomp libstdc++-7-doc\nThe following NEW packages will be installed:\n build-essential dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl\n libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev\n libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot\n libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme-dev\n libgpgme11 libitm1 liblsan0 libmpx2 libquadmath0 libseccomp-dev\n libstdc++-7-dev libtsan0 libubsan0 pkg-config uuid-dev\nThe following packages will be upgraded:\n libuuid1\n1 upgraded, 33 newly installed, 0 to remove and 98 not upgraded.\nNeed to get 21.9 MB of archives.\nAfter this operation, 93.2 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libuuid1 amd64 2.31.1-0.4ubuntu3.4 [20.0 kB]\nGet:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.3.0-6ubuntu1~18.04.1 [47.4 kB]\nGet:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.3.0-6ubuntu1~18.04.1 [76.4 kB]\nGet:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.3.0-6ubuntu1~18.04.1 [28.0 kB]\nGet:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.3.0-6ubuntu1~18.04.1 [9184 B]\nGet:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.4.0-1ubuntu1~18.04.1 [359 kB]\nGet:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]\nGet:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.3.0-6ubuntu1~18.04.1 [288 kB]\nGet:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.4.0-1ubuntu1~18.04.1 [126 kB]\nGet:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.4.0-1ubuntu1~18.04.1 [42.5 kB]\nGet:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.3.0-6ubuntu1~18.04.1 [11.6 kB]\nGet:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]\nGet:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [2381 kB]\nGet:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.4.0-1ubuntu1~18.04.1 [7463 kB]\nGet:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]\nGet:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [1468 kB]\nGet:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04.1 [7574 kB]\nGet:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]\nGet:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]\nGet:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]\nGet:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]\nGet:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]\nGet:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]\nGet:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]\nGet:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]\nGet:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]\nGet:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan-dev amd64 2.5.1-2 [92.1 kB]\nGet:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]\nGet:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgpg-error-dev amd64 1.27-6 [94.8 kB]\nGet:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme11 amd64 1.10.0-1ubuntu2 [111 kB]\nGet:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libseccomp-dev amd64 2.4.1-0ubuntu0.18.04.2 [60.2 kB]\nGet:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]\nGet:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme-dev amd64 1.10.0-1ubuntu2 [306 kB]\nGet:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 uuid-dev amd64 2.31.1-0.4ubuntu3.4 [33.2 kB]\nFetched 21.9 MB in 49s (446 kB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 42516 files and directories currently installed.)\r\nPreparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.4_amd64.deb ...\r\nUnpacking libuuid1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.3) ...\r\nSetting up libuuid1:amd64 (2.31.1-0.4ubuntu3.4) ...\r\nSelecting previously unselected package libcc1-0:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 42516 files and directories currently installed.)\r\nPreparing to unpack .../00-libcc1-0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libgomp1:amd64.\r\nPreparing to unpack .../01-libgomp1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libitm1:amd64.\r\nPreparing to unpack .../02-libitm1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libatomic1:amd64.\r\nPreparing to unpack .../03-libatomic1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libasan4:amd64.\r\nPreparing to unpack .../04-libasan4_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package liblsan0:amd64.\r\nPreparing to unpack .../05-liblsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libtsan0:amd64.\r\nPreparing to unpack .../06-libtsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libubsan0:amd64.\r\nPreparing to unpack .../07-libubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libcilkrts5:amd64.\r\nPreparing to unpack .../08-libcilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libmpx2:amd64.\r\nPreparing to unpack .../09-libmpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libquadmath0:amd64.\r\nPreparing to unpack .../10-libquadmath0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSelecting previously unselected package libgcc-7-dev:amd64.\r\nPreparing to unpack .../11-libgcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package gcc-7.\r\nPreparing to unpack .../12-gcc-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking gcc-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package gcc.\r\nPreparing to unpack .../13-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...\r\nUnpacking gcc (4:7.4.0-1ubuntu2.3) ...\r\nSelecting previously unselected package libstdc++-7-dev:amd64.\r\nPreparing to unpack .../14-libstdc++-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package g++-7.\r\nPreparing to unpack .../15-g++-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...\r\nUnpacking g++-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSelecting previously unselected package g++.\r\nPreparing to unpack .../16-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...\r\nUnpacking g++ (4:7.4.0-1ubuntu2.3) ...\r\nSelecting previously unselected package libdpkg-perl.\r\nPreparing to unpack .../17-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...\r\nUnpacking libdpkg-perl (1.19.0.5ubuntu2.3) ...\r\nSelecting previously unselected package dpkg-dev.\r\nPreparing to unpack .../18-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ...\r\nUnpacking dpkg-dev (1.19.0.5ubuntu2.3) ...\r\nSelecting previously unselected package build-essential.\r\nPreparing to unpack .../19-build-essential_12.4ubuntu1_amd64.deb ...\r\nUnpacking build-essential (12.4ubuntu1) ...\r\nSelecting previously unselected package libfakeroot:amd64.\r\nPreparing to unpack .../20-libfakeroot_1.22-2ubuntu1_amd64.deb ...\r\nUnpacking libfakeroot:amd64 (1.22-2ubuntu1) ...\r\nSelecting previously unselected package fakeroot.\r\nPreparing to unpack .../21-fakeroot_1.22-2ubuntu1_amd64.deb ...\r\nUnpacking fakeroot (1.22-2ubuntu1) ...\r\nSelecting previously unselected package libalgorithm-diff-perl.\r\nPreparing to unpack .../22-libalgorithm-diff-perl_1.19.03-1_all.deb ...\r\nUnpacking libalgorithm-diff-perl (1.19.03-1) ...\r\nSelecting previously unselected package libalgorithm-diff-xs-perl.\r\nPreparing to unpack .../23-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...\r\nUnpacking libalgorithm-diff-xs-perl (0.04-5) ...\r\nSelecting previously unselected package libalgorithm-merge-perl.\r\nPreparing to unpack .../24-libalgorithm-merge-perl_0.08-3_all.deb ...\r\nUnpacking libalgorithm-merge-perl (0.08-3) ...\r\nSelecting previously unselected package libassuan-dev.\r\nPreparing to unpack .../25-libassuan-dev_2.5.1-2_amd64.deb ...\r\nUnpacking libassuan-dev (2.5.1-2) ...\r\nSelecting previously unselected package libfile-fcntllock-perl.\r\nPreparing to unpack .../26-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...\r\nUnpacking libfile-fcntllock-perl (0.22-3build2) ...\r\nSelecting previously unselected package libgpg-error-dev.\r\nPreparing to unpack .../27-libgpg-error-dev_1.27-6_amd64.deb ...\r\nUnpacking libgpg-error-dev (1.27-6) ...\r\nSelecting previously unselected package libgpgme11:amd64.\r\nPreparing to unpack .../28-libgpgme11_1.10.0-1ubuntu2_amd64.deb ...\r\nUnpacking libgpgme11:amd64 (1.10.0-1ubuntu2) ...\r\nSelecting previously unselected package libseccomp-dev:amd64.\r\nPreparing to unpack .../29-libseccomp-dev_2.4.1-0ubuntu0.18.04.2_amd64.deb ...\r\nUnpacking libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...\r\nSelecting previously unselected package pkg-config.\r\nPreparing to unpack .../30-pkg-config_0.29.1-0ubuntu2_amd64.deb ...\r\nUnpacking pkg-config (0.29.1-0ubuntu2) ...\r\nSelecting previously unselected package libgpgme-dev.\r\nPreparing to unpack .../31-libgpgme-dev_1.10.0-1ubuntu2_amd64.deb ...\r\nUnpacking libgpgme-dev (1.10.0-1ubuntu2) ...\r\nSelecting previously unselected package uuid-dev:amd64.\r\nPreparing to unpack .../32-uuid-dev_2.31.1-0.4ubuntu3.4_amd64.deb ...\r\nUnpacking uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...\r\nSetting up libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nProcessing triggers for install-info (6.5.0.dfsg.1-2) ...\r\nSetting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libgpg-error-dev (1.27-6) ...\r\nSetting up libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...\r\nSetting up libdpkg-perl (1.19.0.5ubuntu2.3) ...\r\nSetting up uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...\r\nSetting up liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up libgpgme11:amd64 (1.10.0-1ubuntu2) ...\r\nSetting up libfile-fcntllock-perl (0.22-3build2) ...\r\nSetting up libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up dpkg-dev (1.19.0.5ubuntu2.3) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1) ...\r\nSetting up libfakeroot:amd64 (1.22-2ubuntu1) ...\r\nSetting up libassuan-dev (2.5.1-2) ...\r\nSetting up libalgorithm-diff-perl (1.19.03-1) ...\r\nProcessing triggers for man-db (2.8.3-2ubuntu0.1) ...\r\nSetting up libgpgme-dev (1.10.0-1ubuntu2) ...\r\nSetting up libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...\r\nSetting up fakeroot (1.22-2ubuntu1) ...\r\nupdate-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode\r\nSetting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up libalgorithm-merge-perl (0.08-3) ...\r\nSetting up pkg-config (0.29.1-0ubuntu2) ...\r\nSetting up libalgorithm-diff-xs-perl (0.04-5) ...\r\nSetting up gcc-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up g++-7 (7.4.0-1ubuntu1~18.04.1) ...\r\nSetting up gcc (4:7.4.0-1ubuntu2.3) ...\r\nSetting up g++ (4:7.4.0-1ubuntu2.3) ...\r\nupdate-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode\r\nSetting up build-essential (12.4ubuntu1) ...\r\nProcessing triggers for libc-bin (2.27-3ubuntu1) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl", " libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev", " libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot", " libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme11", " libitm1 liblsan0 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0", " libuuid1", "Suggested packages:", " debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg", " gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc", " gcc-7-multilib gcc-7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg", " libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg", " libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg bzr seccomp libstdc++-7-doc", "The following NEW packages will be installed:", " build-essential dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl", " libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan-dev", " libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libfakeroot", " libfile-fcntllock-perl libgcc-7-dev libgomp1 libgpg-error-dev libgpgme-dev", " libgpgme11 libitm1 liblsan0 libmpx2 libquadmath0 libseccomp-dev", " libstdc++-7-dev libtsan0 libubsan0 pkg-config uuid-dev", "The following packages will be upgraded:", " libuuid1", "1 upgraded, 33 newly installed, 0 to remove and 98 not upgraded.", "Need to get 21.9 MB of archives.", "After this operation, 93.2 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libuuid1 amd64 2.31.1-0.4ubuntu3.4 [20.0 kB]", "Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.3.0-6ubuntu1~18.04.1 [47.4 kB]", "Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.3.0-6ubuntu1~18.04.1 [76.4 kB]", "Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.3.0-6ubuntu1~18.04.1 [28.0 kB]", "Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.3.0-6ubuntu1~18.04.1 [9184 B]", "Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.4.0-1ubuntu1~18.04.1 [359 kB]", "Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]", "Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.3.0-6ubuntu1~18.04.1 [288 kB]", "Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.4.0-1ubuntu1~18.04.1 [126 kB]", "Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.4.0-1ubuntu1~18.04.1 [42.5 kB]", "Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.3.0-6ubuntu1~18.04.1 [11.6 kB]", "Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.3.0-6ubuntu1~18.04.1 [133 kB]", "Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [2381 kB]", "Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.4.0-1ubuntu1~18.04.1 [7463 kB]", "Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]", "Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [1468 kB]", "Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04.1 [7574 kB]", "Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]", "Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]", "Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]", "Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]", "Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]", "Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]", "Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]", "Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]", "Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]", "Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan-dev amd64 2.5.1-2 [92.1 kB]", "Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]", "Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgpg-error-dev amd64 1.27-6 [94.8 kB]", "Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme11 amd64 1.10.0-1ubuntu2 [111 kB]", "Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libseccomp-dev amd64 2.4.1-0ubuntu0.18.04.2 [60.2 kB]", "Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]", "Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgpgme-dev amd64 1.10.0-1ubuntu2 [306 kB]", "Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 uuid-dev amd64 2.31.1-0.4ubuntu3.4 [33.2 kB]", "Fetched 21.9 MB in 49s (446 kB/s)", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 42516 files and directories currently installed.)", "Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.4_amd64.deb ...", "Unpacking libuuid1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.3) ...", "Setting up libuuid1:amd64 (2.31.1-0.4ubuntu3.4) ...", "Selecting previously unselected package libcc1-0:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 42516 files and directories currently installed.)", "Preparing to unpack .../00-libcc1-0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libgomp1:amd64.", "Preparing to unpack .../01-libgomp1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libitm1:amd64.", "Preparing to unpack .../02-libitm1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libatomic1:amd64.", "Preparing to unpack .../03-libatomic1_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libasan4:amd64.", "Preparing to unpack .../04-libasan4_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package liblsan0:amd64.", "Preparing to unpack .../05-liblsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libtsan0:amd64.", "Preparing to unpack .../06-libtsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libubsan0:amd64.", "Preparing to unpack .../07-libubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package libcilkrts5:amd64.", "Preparing to unpack .../08-libcilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package libmpx2:amd64.", "Preparing to unpack .../09-libmpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libquadmath0:amd64.", "Preparing to unpack .../10-libquadmath0_8.3.0-6ubuntu1~18.04.1_amd64.deb ...", "Unpacking libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Selecting previously unselected package libgcc-7-dev:amd64.", "Preparing to unpack .../11-libgcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package gcc-7.", "Preparing to unpack .../12-gcc-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking gcc-7 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package gcc.", "Preparing to unpack .../13-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...", "Unpacking gcc (4:7.4.0-1ubuntu2.3) ...", "Selecting previously unselected package libstdc++-7-dev:amd64.", "Preparing to unpack .../14-libstdc++-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package g++-7.", "Preparing to unpack .../15-g++-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...", "Unpacking g++-7 (7.4.0-1ubuntu1~18.04.1) ...", "Selecting previously unselected package g++.", "Preparing to unpack .../16-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...", "Unpacking g++ (4:7.4.0-1ubuntu2.3) ...", "Selecting previously unselected package libdpkg-perl.", "Preparing to unpack .../17-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...", "Unpacking libdpkg-perl (1.19.0.5ubuntu2.3) ...", "Selecting previously unselected package dpkg-dev.", "Preparing to unpack .../18-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ...", "Unpacking dpkg-dev (1.19.0.5ubuntu2.3) ...", "Selecting previously unselected package build-essential.", "Preparing to unpack .../19-build-essential_12.4ubuntu1_amd64.deb ...", "Unpacking build-essential (12.4ubuntu1) ...", "Selecting previously unselected package libfakeroot:amd64.", "Preparing to unpack .../20-libfakeroot_1.22-2ubuntu1_amd64.deb ...", "Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...", "Selecting previously unselected package fakeroot.", "Preparing to unpack .../21-fakeroot_1.22-2ubuntu1_amd64.deb ...", "Unpacking fakeroot (1.22-2ubuntu1) ...", "Selecting previously unselected package libalgorithm-diff-perl.", "Preparing to unpack .../22-libalgorithm-diff-perl_1.19.03-1_all.deb ...", "Unpacking libalgorithm-diff-perl (1.19.03-1) ...", "Selecting previously unselected package libalgorithm-diff-xs-perl.", "Preparing to unpack .../23-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...", "Unpacking libalgorithm-diff-xs-perl (0.04-5) ...", "Selecting previously unselected package libalgorithm-merge-perl.", "Preparing to unpack .../24-libalgorithm-merge-perl_0.08-3_all.deb ...", "Unpacking libalgorithm-merge-perl (0.08-3) ...", "Selecting previously unselected package libassuan-dev.", "Preparing to unpack .../25-libassuan-dev_2.5.1-2_amd64.deb ...", "Unpacking libassuan-dev (2.5.1-2) ...", "Selecting previously unselected package libfile-fcntllock-perl.", "Preparing to unpack .../26-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...", "Unpacking libfile-fcntllock-perl (0.22-3build2) ...", "Selecting previously unselected package libgpg-error-dev.", "Preparing to unpack .../27-libgpg-error-dev_1.27-6_amd64.deb ...", "Unpacking libgpg-error-dev (1.27-6) ...", "Selecting previously unselected package libgpgme11:amd64.", "Preparing to unpack .../28-libgpgme11_1.10.0-1ubuntu2_amd64.deb ...", "Unpacking libgpgme11:amd64 (1.10.0-1ubuntu2) ...", "Selecting previously unselected package libseccomp-dev:amd64.", "Preparing to unpack .../29-libseccomp-dev_2.4.1-0ubuntu0.18.04.2_amd64.deb ...", "Unpacking libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...", "Selecting previously unselected package pkg-config.", "Preparing to unpack .../30-pkg-config_0.29.1-0ubuntu2_amd64.deb ...", "Unpacking pkg-config (0.29.1-0ubuntu2) ...", "Selecting previously unselected package libgpgme-dev.", "Preparing to unpack .../31-libgpgme-dev_1.10.0-1ubuntu2_amd64.deb ...", "Unpacking libgpgme-dev (1.10.0-1ubuntu2) ...", "Selecting previously unselected package uuid-dev:amd64.", "Preparing to unpack .../32-uuid-dev_2.31.1-0.4ubuntu3.4_amd64.deb ...", "Unpacking uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...", "Setting up libquadmath0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libgomp1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libatomic1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libcc1-0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libasan4:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Processing triggers for install-info (6.5.0.dfsg.1-2) ...", "Setting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libtsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libgpg-error-dev (1.27-6) ...", "Setting up libseccomp-dev:amd64 (2.4.1-0ubuntu0.18.04.2) ...", "Setting up libdpkg-perl (1.19.0.5ubuntu2.3) ...", "Setting up uuid-dev:amd64 (2.31.1-0.4ubuntu3.4) ...", "Setting up liblsan0:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up libgpgme11:amd64 (1.10.0-1ubuntu2) ...", "Setting up libfile-fcntllock-perl (0.22-3build2) ...", "Setting up libmpx2:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up dpkg-dev (1.19.0.5ubuntu2.3) ...", "Processing triggers for libc-bin (2.27-3ubuntu1) ...", "Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...", "Setting up libassuan-dev (2.5.1-2) ...", "Setting up libalgorithm-diff-perl (1.19.03-1) ...", "Processing triggers for man-db (2.8.3-2ubuntu0.1) ...", "Setting up libgpgme-dev (1.10.0-1ubuntu2) ...", "Setting up libitm1:amd64 (8.3.0-6ubuntu1~18.04.1) ...", "Setting up fakeroot (1.22-2ubuntu1) ...", "update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode", "Setting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up libalgorithm-merge-perl (0.08-3) ...", "Setting up pkg-config (0.29.1-0ubuntu2) ...", "Setting up libalgorithm-diff-xs-perl (0.04-5) ...", "Setting up gcc-7 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up g++-7 (7.4.0-1ubuntu1~18.04.1) ...", "Setting up gcc (4:7.4.0-1ubuntu2.3) ...", "Setting up g++ (4:7.4.0-1ubuntu2.3) ...", "update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode", "Setting up build-essential (12.4ubuntu1) ...", "Processing triggers for libc-bin (2.27-3ubuntu1) ..."]} TASK [../../ : singularity | check Go dependencies installed] ****************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:25 ok: [ubuntu-1804] => {"changed": false, "cmd": ["bash", "-c", "go list github.com/golang/dep"], "delta": "0:00:00.053118", "end": "2019-09-24 15:42:57.800730", "failed_when_result": false, "msg": "non-zero return code", "rc": 2, "start": "2019-09-24 15:42:57.747612", "stderr": "go: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'", "stderr_lines": ["go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'"], "stdout": "", "stdout_lines": []} TASK [../../ : singularity | install Go dependencies] ************************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:35 skipping: [ubuntu-1804] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [../../ : singularity | create directory for singularity] ***************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:45 changed: [ubuntu-1804] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/opt/go/1.11.5/src/github.com/sylabs/", "size": 4096, "state": "directory", "uid": 0} TASK [../../ : singularity | clone the Singularity repository] ***************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:50 changed: [ubuntu-1804] => {"after": "8ed39ade65934bf8cc202c7c5d3bf6ac2ae17c9d", "before": null, "changed": true} TASK [../../ : singularity | check singularity installed version] ************** task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:56 ok: [ubuntu-1804] => {"changed": false, "cmd": ["bash", "-c", "singularity --version | grep \"3.2.0\""], "delta": "0:00:00.005321", "end": "2019-09-24 15:43:07.982713", "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "start": "2019-09-24 15:43:07.977392", "stderr": "bash: singularity: command not found", "stderr_lines": ["bash: singularity: command not found"], "stdout": "", "stdout_lines": []} TASK [../../ : singularity | compile the Singularity binary | mconfig] ********* task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:62 changed: [ubuntu-1804] => {"changed": true, "cmd": ["./mconfig"], "delta": "0:00:02.482615", "end": "2019-09-24 15:43:10.678951", "rc": 0, "start": "2019-09-24 15:43:08.196336", "stderr": "", "stderr_lines": [], "stdout": "Configuring for project `singularity' with languages: C, Golang\n=> running pre-basechecks project specific checks ...\n=> running base system checks ...\n checking: host C compiler... cc\n checking: host C++ compiler... c++\n checking: host C compiler option -Wall... yes\n checking: host C compiler option -Werror... yes\n checking: host C compiler option -Wfatal-errors... yes\n checking: host C compiler option -Wno-unknown-warning-option... yes\n checking: host C compiler option -Wstrict-prototypes... yes\n checking: host C compiler option -Wpointer-arith... yes\n checking: host C compiler option -Wbad-function-cast... yes\n checking: host C compiler option -Woverlength-strings... yes\n checking: host C compiler option -Wframe-larger-than=2047... yes\n checking: host C compiler option -Wno-sign-compare... yes\n checking: host C compiler option -Wclobbered... yes\n checking: host C compiler option -Wempty-body... yes\n checking: host C compiler option -Wmissing-parameter-type... yes\n checking: host C compiler option -Wtype-limits... yes\n checking: host C compiler option -Wunused-parameter... yes\n checking: host C compiler option -Wunused-but-set-parameter... yes\n checking: host C compiler option -Wno-discarded-qualifiers... yes\n checking: host C compiler option -Wno-incompatible-pointer-types... yes\n checking: host C compiler option -pipe... yes\n checking: host C compiler option -fmessage-length=0... yes\n checking: host C compiler option -fPIC... yes\n checking: host `ar' path... ar\n checking: host `ld' path... ld\n checking: host `ranlib' path... ranlib\n checking: host `objcopy' path... objcopy\n checking: target C compiler... cc\n checking: target C++ compiler... c++\n checking: target `ar' path... ar\n checking: target `ld' path... ld\n checking: target `ranlib' path... ranlib\n checking: target `objcopy' path... objcopy\n checking: host compiles static binaries... yes\n checking: target compiles static binaries... yes\n checking: host os type... unix\n checking: host architecture... x86_64\n checking: target architecture... x86_64\n checking: host architecture word size... 64\n checking: target architecture word size... 64\n checking: project version... 3.2.0\n checking: project short version... 3.2.0\n checking: golang compiler version... 1.11\n=> running post-basechecks project specific checks ...\n checking: namespace: CLONE_NEWPID... yes\n checking: namespace: CLONE_FS... yes\n checking: namespace: CLONE_NEWNS... yes\n checking: namespace: CLONE_NEWUSER... yes\n checking: namespace: CLONE_NEWIPC... yes\n checking: namespace: CLONE_NEWNET... yes\n checking: namespace: CLONE_NEWUTS... yes\n checking: namespace: CLONE_NEWCGROUP... yes\n checking: feature: NO_NEW_PRIVS... yes\n checking: feature: MS_SLAVE... yes\n checking: feature: MS_REC... yes\n checking: feature: MS_PRIVATE... yes\n checking: user capabilities... yes\n checking: header linux/securebits.h... yes\n checking: header linux/capability.h... yes\n checking: function setns... yes\n checking: libssl+headers... yes\n checking: libuuid+headers... yes\n checking: libseccomp+headers... yes\n=> generating fragments ...\n=> building Makefile ...\n=> generating singularity.spec ...\n=> project singularity setup with :\n - host arch: x86_64\n - host wordsize: 64-bit\n - host C compiler: cc\n - host system: unix\n ---\n - target arch: x86_64\n - target wordsize: 64-bit\n - target C compiler: cc\n ---\n - config profile: release\n ---\n - SUID install: yes\n - Network plugins: yes\n ---\n - verbose: no\n ---\n - version: 3.2.0\n=> /opt/go/1.11.5/src/github.com/sylabs/singularity/builddir/Makefile ready, try:\n $ cd /opt/go/1.11.5/src/github.com/sylabs/singularity/builddir\n $ make", "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 C compiler option -Wall... yes", " checking: host C compiler option -Werror... yes", " checking: host C compiler option -Wfatal-errors... yes", " checking: host C compiler option -Wno-unknown-warning-option... yes", " checking: host C compiler option -Wstrict-prototypes... yes", " checking: host C compiler option -Wpointer-arith... yes", " checking: host C compiler option -Wbad-function-cast... yes", " checking: host C compiler option -Woverlength-strings... yes", " checking: host C compiler option -Wframe-larger-than=2047... yes", " checking: host C compiler option -Wno-sign-compare... yes", " checking: host C compiler option -Wclobbered... yes", " checking: host C compiler option -Wempty-body... yes", " checking: host C compiler option -Wmissing-parameter-type... yes", " checking: host C compiler option -Wtype-limits... yes", " checking: host C compiler option -Wunused-parameter... yes", " checking: host C compiler option -Wunused-but-set-parameter... yes", " checking: host C compiler option -Wno-discarded-qualifiers... yes", " checking: host C compiler option -Wno-incompatible-pointer-types... yes", " checking: host C compiler option -pipe... yes", " checking: host C compiler option -fmessage-length=0... yes", " checking: host C compiler option -fPIC... yes", " checking: host `ar' path... ar", " checking: host `ld' path... ld", " checking: host `ranlib' path... ranlib", " checking: host `objcopy' path... objcopy", " checking: target C compiler... cc", " checking: target C++ compiler... c++", " checking: target `ar' path... ar", " checking: target `ld' path... ld", " checking: target `ranlib' path... ranlib", " checking: target `objcopy' path... objcopy", " checking: host compiles static binaries... yes", " checking: target compiles static binaries... yes", " checking: host os type... unix", " checking: host architecture... x86_64", " checking: target architecture... x86_64", " checking: host architecture word size... 64", " checking: target architecture word size... 64", " checking: project version... 3.2.0", " checking: project short version... 3.2.0", " checking: golang compiler version... 1.11", "=> running post-basechecks project specific checks ...", " checking: namespace: CLONE_NEWPID... yes", " checking: namespace: CLONE_FS... yes", " checking: namespace: CLONE_NEWNS... yes", " checking: namespace: CLONE_NEWUSER... yes", " checking: namespace: CLONE_NEWIPC... yes", " checking: namespace: CLONE_NEWNET... yes", " checking: namespace: CLONE_NEWUTS... yes", " checking: namespace: CLONE_NEWCGROUP... yes", " checking: feature: NO_NEW_PRIVS... yes", " checking: feature: MS_SLAVE... yes", " checking: feature: MS_REC... yes", " checking: feature: MS_PRIVATE... yes", " checking: user capabilities... yes", " checking: header linux/securebits.h... yes", " checking: header linux/capability.h... yes", " checking: function setns... yes", " checking: libssl+headers... yes", " checking: libuuid+headers... yes", " checking: libseccomp+headers... yes", "=> generating fragments ...", "=> building Makefile ...", "=> generating singularity.spec ...", "=> project singularity setup with :", " - host arch: x86_64", " - host wordsize: 64-bit", " - host C compiler: cc", " - host system: unix", " ---", " - target arch: x86_64", " - target wordsize: 64-bit", " - target C compiler: cc", " ---", " - config profile: release", " ---", " - SUID install: yes", " - Network plugins: yes", " ---", " - verbose: no", " ---", " - version: 3.2.0", "=> /opt/go/1.11.5/src/github.com/sylabs/singularity/builddir/Makefile ready, try:", " $ cd /opt/go/1.11.5/src/github.com/sylabs/singularity/builddir", " $ make"]} TASK [../../ : singularity | compile the Singularity binary | make] ************ task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:74 fatal: [ubuntu-1804]: FAILED! => {"changed": false, "cmd": "/usr/bin/make", "msg": "go: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\nmake: *** [/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go] Error 2", "rc": 2, "stderr": "go: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\ngo: GOPATH entry is relative; must be absolute path: \"None\".\nFor more details see: 'go help gopath'\nmake: *** [/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go] Error 2\n", "stderr_lines": ["go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'", "go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'", "go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'", "make: *** [/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go] Error 2"], "stdout": "Makefile:147: recipe for target '/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go' failed\n", "stdout_lines": ["Makefile:147: recipe for target '/opt/go/1.11.5/src/github.com/sylabs/singularity/internal/pkg/buildcfg/config.go' failed"]} PLAY RECAP ********************************************************************* ubuntu-1804 : ok=21 changed=11 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. ```

GOPATH variable is specified as golang_gopath in this role. However, golang_gopath has no value. I inserted these lines into mani.yml.

- debug:
    var: golang_gopath

And run playbook.

TASK [../../ : debug] **********************************************************
task path: /Users/pudding/ghq/github.com/pddg/ansible-singularity/tasks/main.yml:62
ok: [ubuntu-1804] => {
    "golang_gopath": null
}

Why this happen?

I debug this behavior by modifying mconfig and other build scripts included in Singularity repository. These errors are caused by the same problem. It showed in the error message of make.

go: GOPATH entry is relative; must be absolute path: \"None\".", "For more details see: 'go help gopath'

mconfig checks that the go command is worked since Singularity 3.3.0 or later. The error has occurred at follows the line.

The line try to build the sample go file ( https://github.com/sylabs/singularity/blob/v3.3.0/mlocal/checks/version.go ). So the build fails due to the GOPATH becomes None.

It seems that gantsign.golang's variable golang_path has no value by default. So we need to specify it manually. gantsign.golang role uses the following condition to avoid GOPATH error.

This role needs an assertion or using a default value to avoid this error or add "You should specify golang_gopath manually" to README.

SpontaneousDuck commented 4 years ago

Need to override the gantsign.golang version used if you are increasing the version of singularity to make sure it has the compatible go version. Also golang_path needs to be set as stated above.