HiveMinds / tw-install

Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Dockerfile build fails at the `tw-install.sh` step. #102

Open dehidehidehi opened 11 months ago

dehidehidehi commented 11 months ago

Good afternoon,

Thank you for making this project.

Building the Dockerfile with the docker build . command fails with the given output:

7.034 Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgomp1 amd64 10.5.0-1ubuntu1~20.04 [102 kB]
7.058 Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libitm1 amd64 10.5.0-1ubuntu1~20.04 [26.2 kB]
7.064 Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libatomic1 amd64 10.5.0-1ubuntu1~20.04 [9284 B]
7.068 Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan5 amd64 9.4.0-1ubuntu1~20.04.2 [2752 kB]
7.637 Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblsan0 amd64 10.5.0-1ubuntu1~20.04 [835 kB]
7.824 Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtsan0 amd64 10.5.0-1ubuntu1~20.04 [2016 kB]
8.239 Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libubsan1 amd64 10.5.0-1ubuntu1~20.04 [785 kB]
8.393 Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libquadmath0 amd64 10.5.0-1ubuntu1~20.04 [146 kB]
8.421 Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.4.0-1ubuntu1~20.04.2 [2359 kB]
8.916 Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9 amd64 9.4.0-1ubuntu1~20.04.2 [8276 kB]
10.59 Get:25 http://archive.ubuntu.com/ubuntu focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2 [5208 B]
10.59 Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.9 [71.8 kB]
10.60 Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-163.180 [1111 kB]
10.82 Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB]
10.84 Get:29 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.9 [2519 kB]
11.34 Get:30 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libstdc++-9-dev amd64 9.4.0-1ubuntu1~20.04.2 [1722 kB]
11.68 Get:31 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 g++-9 amd64 9.4.0-1ubuntu1~20.04.2 [8421 kB]
13.39 Get:32 http://archive.ubuntu.com/ubuntu focal/main amd64 g++ amd64 4:9.3.0-1ubuntu2 [1604 B]
13.39 Get:33 http://archive.ubuntu.com/ubuntu focal/main amd64 manpages-dev all 5.05-1 [2266 kB]
13.98 debconf: delaying package configuration, since apt-utils is not installed
14.04 Fetched 45.7 MB in 10s (4492 kB/s)
14.09 Selecting previously unselected package manpages.
(Reading database ... 8014 files and directories currently installed.)
14.10 Preparing to unpack .../00-manpages_5.05-1_all.deb ...
14.12 Unpacking manpages (5.05-1) ...
14.31 Selecting previously unselected package binutils-common:amd64.
14.31 Preparing to unpack .../01-binutils-common_2.34-6ubuntu1.6_amd64.deb ...
14.33 Unpacking binutils-common:amd64 (2.34-6ubuntu1.6) ...
14.50 Selecting previously unselected package libbinutils:amd64.
14.51 Preparing to unpack .../02-libbinutils_2.34-6ubuntu1.6_amd64.deb ...
14.54 Unpacking libbinutils:amd64 (2.34-6ubuntu1.6) ...
14.72 Selecting previously unselected package libctf-nobfd0:amd64.
14.72 Preparing to unpack .../03-libctf-nobfd0_2.34-6ubuntu1.6_amd64.deb ...
14.74 Unpacking libctf-nobfd0:amd64 (2.34-6ubuntu1.6) ...
14.87 Selecting previously unselected package libctf0:amd64.
14.87 Preparing to unpack .../04-libctf0_2.34-6ubuntu1.6_amd64.deb ...
14.89 Unpacking libctf0:amd64 (2.34-6ubuntu1.6) ...
15.01 Selecting previously unselected package binutils-x86-64-linux-gnu.
15.01 Preparing to unpack .../05-binutils-x86-64-linux-gnu_2.34-6ubuntu1.6_amd64.deb ...
15.03 Unpacking binutils-x86-64-linux-gnu (2.34-6ubuntu1.6) ...
15.31 Selecting previously unselected package binutils.
15.31 Preparing to unpack .../06-binutils_2.34-6ubuntu1.6_amd64.deb ...
15.32 Unpacking binutils (2.34-6ubuntu1.6) ...
15.44 Selecting previously unselected package gcc-9-base:amd64.
15.44 Preparing to unpack .../07-gcc-9-base_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
15.46 Unpacking gcc-9-base:amd64 (9.4.0-1ubuntu1~20.04.2) ...
15.60 Selecting previously unselected package libisl22:amd64.
15.60 Preparing to unpack .../08-libisl22_0.22.1-1_amd64.deb ...
15.62 Unpacking libisl22:amd64 (0.22.1-1) ...
15.80 Selecting previously unselected package libmpfr6:amd64.
15.80 Preparing to unpack .../09-libmpfr6_4.0.2-1_amd64.deb ...
15.82 Unpacking libmpfr6:amd64 (4.0.2-1) ...
15.98 Selecting previously unselected package libmpc3:amd64.
15.98 Preparing to unpack .../10-libmpc3_1.1.0-1_amd64.deb ...
15.99 Unpacking libmpc3:amd64 (1.1.0-1) ...
16.11 Selecting previously unselected package cpp-9.
16.12 Preparing to unpack .../11-cpp-9_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
16.13 Unpacking cpp-9 (9.4.0-1ubuntu1~20.04.2) ...
16.82 Selecting previously unselected package cpp.
16.82 Preparing to unpack .../12-cpp_4%3a9.3.0-1ubuntu2_amd64.deb ...
16.84 Unpacking cpp (4:9.3.0-1ubuntu2) ...
16.98 Selecting previously unselected package libcc1-0:amd64.
16.98 Preparing to unpack .../13-libcc1-0_10.5.0-1ubuntu1~20.04_amd64.deb ...
17.00 Unpacking libcc1-0:amd64 (10.5.0-1ubuntu1~20.04) ...
17.14 Selecting previously unselected package libgomp1:amd64.
17.14 Preparing to unpack .../14-libgomp1_10.5.0-1ubuntu1~20.04_amd64.deb ...
17.16 Unpacking libgomp1:amd64 (10.5.0-1ubuntu1~20.04) ...
17.31 Selecting previously unselected package libitm1:amd64.
17.31 Preparing to unpack .../15-libitm1_10.5.0-1ubuntu1~20.04_amd64.deb ...
17.33 Unpacking libitm1:amd64 (10.5.0-1ubuntu1~20.04) ...
17.47 Selecting previously unselected package libatomic1:amd64.
17.47 Preparing to unpack .../16-libatomic1_10.5.0-1ubuntu1~20.04_amd64.deb ...
17.49 Unpacking libatomic1:amd64 (10.5.0-1ubuntu1~20.04) ...
17.63 Selecting previously unselected package libasan5:amd64.
17.63 Preparing to unpack .../17-libasan5_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
17.65 Unpacking libasan5:amd64 (9.4.0-1ubuntu1~20.04.2) ...
18.04 Selecting previously unselected package liblsan0:amd64.
18.05 Preparing to unpack .../18-liblsan0_10.5.0-1ubuntu1~20.04_amd64.deb ...
18.07 Unpacking liblsan0:amd64 (10.5.0-1ubuntu1~20.04) ...
18.27 Selecting previously unselected package libtsan0:amd64.
18.27 Preparing to unpack .../19-libtsan0_10.5.0-1ubuntu1~20.04_amd64.deb ...
18.29 Unpacking libtsan0:amd64 (10.5.0-1ubuntu1~20.04) ...
18.60 Selecting previously unselected package libubsan1:amd64.
18.61 Preparing to unpack .../20-libubsan1_10.5.0-1ubuntu1~20.04_amd64.deb ...
18.63 Unpacking libubsan1:amd64 (10.5.0-1ubuntu1~20.04) ...
18.83 Selecting previously unselected package libquadmath0:amd64.
18.83 Preparing to unpack .../21-libquadmath0_10.5.0-1ubuntu1~20.04_amd64.deb ...
18.86 Unpacking libquadmath0:amd64 (10.5.0-1ubuntu1~20.04) ...
18.98 Selecting previously unselected package libgcc-9-dev:amd64.
18.98 Preparing to unpack .../22-libgcc-9-dev_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
19.00 Unpacking libgcc-9-dev:amd64 (9.4.0-1ubuntu1~20.04.2) ...
19.30 Selecting previously unselected package gcc-9.
19.30 Preparing to unpack .../23-gcc-9_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
19.32 Unpacking gcc-9 (9.4.0-1ubuntu1~20.04.2) ...
20.07 Selecting previously unselected package gcc.
20.07 Preparing to unpack .../24-gcc_4%3a9.3.0-1ubuntu2_amd64.deb ...
20.09 Unpacking gcc (4:9.3.0-1ubuntu2) ...
20.20 Selecting previously unselected package libc-dev-bin.
20.20 Preparing to unpack .../25-libc-dev-bin_2.31-0ubuntu9.9_amd64.deb ...
20.22 Unpacking libc-dev-bin (2.31-0ubuntu9.9) ...
20.34 Selecting previously unselected package linux-libc-dev:amd64.
20.34 Preparing to unpack .../26-linux-libc-dev_5.4.0-163.180_amd64.deb ...
20.36 Unpacking linux-libc-dev:amd64 (5.4.0-163.180) ...
20.60 Selecting previously unselected package libcrypt-dev:amd64.
20.61 Preparing to unpack .../27-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb ...
20.63 Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
20.76 Selecting previously unselected package libc6-dev:amd64.
20.76 Preparing to unpack .../28-libc6-dev_2.31-0ubuntu9.9_amd64.deb ...
20.78 Unpacking libc6-dev:amd64 (2.31-0ubuntu9.9) ...
21.16 Selecting previously unselected package libstdc++-9-dev:amd64.
21.16 Preparing to unpack .../29-libstdc++-9-dev_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
21.18 Unpacking libstdc++-9-dev:amd64 (9.4.0-1ubuntu1~20.04.2) ...
21.50 Selecting previously unselected package g++-9.
21.50 Preparing to unpack .../30-g++-9_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
21.52 Unpacking g++-9 (9.4.0-1ubuntu1~20.04.2) ...
22.27 Selecting previously unselected package g++.
22.27 Preparing to unpack .../31-g++_4%3a9.3.0-1ubuntu2_amd64.deb ...
22.30 Unpacking g++ (4:9.3.0-1ubuntu2) ...
22.40 Selecting previously unselected package manpages-dev.
22.40 Preparing to unpack .../32-manpages-dev_5.05-1_all.deb ...
22.43 Unpacking manpages-dev (5.05-1) ...
22.75 Setting up manpages (5.05-1) ...
22.80 Setting up binutils-common:amd64 (2.34-6ubuntu1.6) ...
22.86 Setting up linux-libc-dev:amd64 (5.4.0-163.180) ...
22.91 Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.6) ...
22.97 Setting up libgomp1:amd64 (10.5.0-1ubuntu1~20.04) ...
23.02 Setting up libmpfr6:amd64 (4.0.2-1) ...
23.07 Setting up libquadmath0:amd64 (10.5.0-1ubuntu1~20.04) ...
23.12 Setting up libmpc3:amd64 (1.1.0-1) ...
23.18 Setting up libatomic1:amd64 (10.5.0-1ubuntu1~20.04) ...
23.23 Setting up libubsan1:amd64 (10.5.0-1ubuntu1~20.04) ...
23.29 Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
23.34 Setting up libisl22:amd64 (0.22.1-1) ...
23.40 Setting up libbinutils:amd64 (2.34-6ubuntu1.6) ...
23.45 Setting up libc-dev-bin (2.31-0ubuntu9.9) ...
23.51 Setting up libcc1-0:amd64 (10.5.0-1ubuntu1~20.04) ...
23.57 Setting up liblsan0:amd64 (10.5.0-1ubuntu1~20.04) ...
23.63 Setting up libitm1:amd64 (10.5.0-1ubuntu1~20.04) ...
23.68 Setting up gcc-9-base:amd64 (9.4.0-1ubuntu1~20.04.2) ...
23.74 Setting up libtsan0:amd64 (10.5.0-1ubuntu1~20.04) ...
23.79 Setting up libctf0:amd64 (2.34-6ubuntu1.6) ...
23.85 Setting up manpages-dev (5.05-1) ...
23.90 Setting up libasan5:amd64 (9.4.0-1ubuntu1~20.04.2) ...
23.96 Setting up cpp-9 (9.4.0-1ubuntu1~20.04.2) ...
24.01 Setting up libc6-dev:amd64 (2.31-0ubuntu9.9) ...
24.07 Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.6) ...
24.13 Setting up binutils (2.34-6ubuntu1.6) ...
24.18 Setting up libgcc-9-dev:amd64 (9.4.0-1ubuntu1~20.04.2) ...
24.24 Setting up cpp (4:9.3.0-1ubuntu2) ...
24.32 Setting up gcc-9 (9.4.0-1ubuntu1~20.04.2) ...
24.38 Setting up libstdc++-9-dev:amd64 (9.4.0-1ubuntu1~20.04.2) ...
24.45 Setting up gcc (4:9.3.0-1ubuntu2) ...
24.55 Setting up g++-9 (9.4.0-1ubuntu1~20.04.2) ...
24.60 Setting up g++ (4:9.3.0-1ubuntu2) ...
24.67 update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
24.67 update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist
24.69 Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
24.84 
24.84 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
24.84 
24.88 Reading package lists...
25.81 Building dependency tree...
25.96 Reading state information...
26.09 The following additional packages will be installed:
26.09   libevent-2.1-7 libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27
26.09   libgnutlsxx28 libidn2-dev libp11-kit-dev libtasn1-6-dev libtasn1-doc
26.09   libunbound8 nettle-dev
26.09 Suggested packages:
26.09   gmp-doc libgmp10-doc libmpfr-dev dns-root-data gnutls-bin gnutls-doc
26.14 The following NEW packages will be installed:
26.14   libevent-2.1-7 libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27
26.14   libgnutls28-dev libgnutlsxx28 libidn2-dev libp11-kit-dev libtasn1-6-dev
26.14   libtasn1-doc libunbound8 nettle-dev
26.14 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
26.14 Need to get 3271 kB of archives.
26.14 After this operation, 12.4 MB of additional disk space will be used.
26.14 Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libevent-2.1-7 amd64 2.1.11-stable-1 [138 kB]
26.41 Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgmpxx4ldbl amd64 2:6.2.0+dfsg-4ubuntu0.1 [9144 B]
26.41 Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgmp-dev amd64 2:6.2.0+dfsg-4ubuntu0.1 [320 kB]
26.49 Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-openssl27 amd64 3.6.13-2ubuntu1.8 [29.8 kB]
26.50 Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunbound8 amd64 1.9.4-2ubuntu1.4 [350 kB]
26.57 Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls-dane0 amd64 3.6.13-2ubuntu1.8 [29.2 kB]
26.57 Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutlsxx28 amd64 3.6.13-2ubuntu1.8 [14.6 kB]
26.57 Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libidn2-dev amd64 2.2.0-2 [64.6 kB]
26.59 Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libp11-kit-dev amd64 0.23.20-1ubuntu0.1 [65.2 kB]
26.61 Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 libtasn1-6-dev amd64 4.16.0-2 [85.8 kB]
26.62 Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 nettle-dev amd64 3.5.1+really3.5.1-2ubuntu0.2 [987 kB]
26.88 Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutls28-dev amd64 3.6.13-2ubuntu1.8 [874 kB]
27.18 Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 libtasn1-doc all 4.16.0-2 [303 kB]
27.37 debconf: delaying package configuration, since apt-utils is not installed
27.40 Fetched 3271 kB in 1s (2987 kB/s)
27.47 Selecting previously unselected package libevent-2.1-7:amd64.
(Reading database ... 13415 files and directories currently installed.)
27.48 Preparing to unpack .../00-libevent-2.1-7_2.1.11-stable-1_amd64.deb ...
27.52 Unpacking libevent-2.1-7:amd64 (2.1.11-stable-1) ...
27.66 Selecting previously unselected package libgmpxx4ldbl:amd64.
27.66 Preparing to unpack .../01-libgmpxx4ldbl_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
27.68 Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
27.79 Selecting previously unselected package libgmp-dev:amd64.
27.79 Preparing to unpack .../02-libgmp-dev_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
27.81 Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
27.97 Selecting previously unselected package libgnutls-openssl27:amd64.
27.97 Preparing to unpack .../03-libgnutls-openssl27_3.6.13-2ubuntu1.8_amd64.deb ...
27.99 Unpacking libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.8) ...
28.13 Selecting previously unselected package libunbound8:amd64.
28.13 Preparing to unpack .../04-libunbound8_1.9.4-2ubuntu1.4_amd64.deb ...
28.16 Unpacking libunbound8:amd64 (1.9.4-2ubuntu1.4) ...
28.32 Selecting previously unselected package libgnutls-dane0:amd64.
28.33 Preparing to unpack .../05-libgnutls-dane0_3.6.13-2ubuntu1.8_amd64.deb ...
28.35 Unpacking libgnutls-dane0:amd64 (3.6.13-2ubuntu1.8) ...
28.48 Selecting previously unselected package libgnutlsxx28:amd64.
28.48 Preparing to unpack .../06-libgnutlsxx28_3.6.13-2ubuntu1.8_amd64.deb ...
28.50 Unpacking libgnutlsxx28:amd64 (3.6.13-2ubuntu1.8) ...
28.61 Selecting previously unselected package libidn2-dev:amd64.
28.61 Preparing to unpack .../07-libidn2-dev_2.2.0-2_amd64.deb ...
28.63 Unpacking libidn2-dev:amd64 (2.2.0-2) ...
28.75 Selecting previously unselected package libp11-kit-dev:amd64.
28.75 Preparing to unpack .../08-libp11-kit-dev_0.23.20-1ubuntu0.1_amd64.deb ...
28.77 Unpacking libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
28.89 Selecting previously unselected package libtasn1-6-dev:amd64.
28.90 Preparing to unpack .../09-libtasn1-6-dev_4.16.0-2_amd64.deb ...
28.92 Unpacking libtasn1-6-dev:amd64 (4.16.0-2) ...
29.04 Selecting previously unselected package nettle-dev:amd64.
29.04 Preparing to unpack .../10-nettle-dev_3.5.1+really3.5.1-2ubuntu0.2_amd64.deb ...
29.06 Unpacking nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.2) ...
29.25 Selecting previously unselected package libgnutls28-dev:amd64.
29.25 Preparing to unpack .../11-libgnutls28-dev_3.6.13-2ubuntu1.8_amd64.deb ...
29.27 Unpacking libgnutls28-dev:amd64 (3.6.13-2ubuntu1.8) ...
29.46 Selecting previously unselected package libtasn1-doc.
29.46 Preparing to unpack .../12-libtasn1-doc_4.16.0-2_all.deb ...
29.48 Unpacking libtasn1-doc (4.16.0-2) ...
29.62 Setting up libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.8) ...
29.68 Setting up libtasn1-doc (4.16.0-2) ...
29.73 Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
29.79 Setting up libevent-2.1-7:amd64 (2.1.11-stable-1) ...
29.85 Setting up libgnutlsxx28:amd64 (3.6.13-2ubuntu1.8) ...
29.90 Setting up libidn2-dev:amd64 (2.2.0-2) ...
29.96 Setting up libtasn1-6-dev:amd64 (4.16.0-2) ...
30.01 Setting up libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
30.07 Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
30.13 Setting up nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.2) ...
30.18 Setting up libunbound8:amd64 (1.9.4-2ubuntu1.4) ...
30.24 Setting up libgnutls-dane0:amd64 (3.6.13-2ubuntu1.8) ...
30.29 Setting up libgnutls28-dev:amd64 (3.6.13-2ubuntu1.8) ...
30.35 Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
30.48 
30.48 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
30.48 
30.52 Reading package lists...
31.42 Building dependency tree...
31.57 Reading state information...
31.73 The following NEW packages will be installed:
31.73   uuid-dev
32.00 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
32.00 Need to get 33.6 kB of archives.
32.00 After this operation, 172 kB of additional disk space will be used.
32.00 Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 uuid-dev amd64 2.34-0.1ubuntu9.4 [33.6 kB]
32.28 debconf: delaying package configuration, since apt-utils is not installed
32.32 Fetched 33.6 kB in 0s (82.1 kB/s)
32.36 Selecting previously unselected package uuid-dev:amd64.
(Reading database ... 13762 files and directories currently installed.)
32.37 Preparing to unpack .../uuid-dev_2.34-0.1ubuntu9.4_amd64.deb ...
32.39 Unpacking uuid-dev:amd64 (2.34-0.1ubuntu9.4) ...
32.52 Setting up uuid-dev:amd64 (2.34-0.1ubuntu9.4) ...
32.63 
32.63 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
32.63 
32.67 Reading package lists...
33.59 Building dependency tree...
33.74 Reading state information...
33.87 The following additional packages will be installed:
33.87   cmake-data libarchive13 libcurl4 libicu66 libjsoncpp1 librhash0 libuv1
33.87   libxml2 make tzdata
33.87 Suggested packages:
33.87   cmake-doc ninja-build lrzip make-doc
33.91 The following NEW packages will be installed:
33.91   cmake cmake-data libarchive13 libcurl4 libicu66 libjsoncpp1 librhash0 libuv1
33.91   libxml2 make tzdata
33.92 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
33.92 Need to get 15.7 MB of archives.
33.92 After this operation, 70.2 MB of additional disk space will be used.
33.92 Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 tzdata all 2023c-0ubuntu0.20.04.2 [301 kB]
34.78 Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB]
36.56 Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.6 [640 kB]
36.76 Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.3 [80.8 kB]
36.78 Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB]
37.11 Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.2 [327 kB]
37.17 Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.19 [235 kB]
37.22 Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB]
37.24 Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB]
37.26 Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB]
38.03 Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 make amd64 4.2.1-1.2 [162 kB]
38.20 debconf: delaying package configuration, since apt-utils is not installed
38.23 Fetched 15.7 MB in 4s (3800 kB/s)
38.32 Selecting previously unselected package tzdata.
(Reading database ... 13782 files and directories currently installed.)
38.34 Preparing to unpack .../00-tzdata_2023c-0ubuntu0.20.04.2_all.deb ...
38.36 Unpacking tzdata (2023c-0ubuntu0.20.04.2) ...
38.69 Selecting previously unselected package libicu66:amd64.
38.69 Preparing to unpack .../01-libicu66_66.1-2ubuntu2.1_amd64.deb ...
38.72 Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ...
39.56 Selecting previously unselected package libxml2:amd64.
39.56 Preparing to unpack .../02-libxml2_2.9.10+dfsg-5ubuntu0.20.04.6_amd64.deb ...
39.58 Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.6) ...
39.78 Selecting previously unselected package libuv1:amd64.
39.78 Preparing to unpack .../03-libuv1_1.34.2-1ubuntu1.3_amd64.deb ...
39.80 Unpacking libuv1:amd64 (1.34.2-1ubuntu1.3) ...
39.96 Selecting previously unselected package cmake-data.
39.96 Preparing to unpack .../04-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ...
39.99 Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ...
40.48 Selecting previously unselected package libarchive13:amd64.
40.48 Preparing to unpack .../05-libarchive13_3.4.0-2ubuntu1.2_amd64.deb ...
40.51 Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.2) ...
40.67 Selecting previously unselected package libcurl4:amd64.
40.67 Preparing to unpack .../06-libcurl4_7.68.0-1ubuntu2.19_amd64.deb ...
40.69 Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.19) ...
40.84 Selecting previously unselected package libjsoncpp1:amd64.
40.85 Preparing to unpack .../07-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ...
40.86 Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ...
41.01 Selecting previously unselected package librhash0:amd64.
41.01 Preparing to unpack .../08-librhash0_1.3.9-1_amd64.deb ...
41.04 Unpacking librhash0:amd64 (1.3.9-1) ...
41.15 Selecting previously unselected package cmake.
41.16 Preparing to unpack .../09-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ...
41.18 Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ...
41.60 Selecting previously unselected package make.
41.61 Preparing to unpack .../10-make_4.2.1-1.2_amd64.deb ...
41.63 Unpacking make (4.2.1-1.2) ...
41.77 Setting up tzdata (2023c-0ubuntu0.20.04.2) ...
41.89 debconf: unable to initialize frontend: Dialog
41.89 debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
41.89 debconf: falling back to frontend: Readline
41.96 
41.96 User defined time zone, leaving /etc/localtime unchanged.
41.97 Local time is now:      Sun Sep 24 12:17:31 UTC 2023.
41.97 Universal Time is now:  Sun Sep 24 12:17:31 UTC 2023.
41.97 Run 'dpkg-reconfigure tzdata' if you wish to change it.
41.97 
42.02 Setting up libuv1:amd64 (1.34.2-1ubuntu1.3) ...
42.08 Setting up make (4.2.1-1.2) ...
42.13 Setting up librhash0:amd64 (1.3.9-1) ...
42.19 Setting up libcurl4:amd64 (7.68.0-1ubuntu2.19) ...
42.25 Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ...
42.34 Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ...
42.40 Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
42.46 Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.6) ...
42.52 Setting up libarchive13:amd64 (3.4.0-2ubuntu1.2) ...
42.57 Setting up cmake (3.16.3-1ubuntu1.20.04.1) ...
42.63 Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
42.76 
42.76 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
42.76 
42.80 Reading package lists...
43.73 Building dependency tree...
43.88 Reading state information...
44.02 The following additional packages will be installed:
44.02   libopts25
44.05 The following NEW packages will be installed:
44.05   gnutls-bin libopts25
44.06 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
44.06 Need to get 334 kB of archives.
44.06 After this operation, 1630 kB of additional disk space will be used.
44.06 Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libopts25 amd64 1:5.18.16-3 [59.4 kB]
44.33 Get:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 gnutls-bin amd64 3.6.13-2ubuntu1.8 [275 kB]
44.55 debconf: delaying package configuration, since apt-utils is not installed
44.59 Fetched 334 kB in 0s (933 kB/s)
44.69 Selecting previously unselected package libopts25:amd64.
(Reading database ... 18559 files and directories currently installed.)
44.70 Preparing to unpack .../libopts25_1%3a5.18.16-3_amd64.deb ...
44.74 Unpacking libopts25:amd64 (1:5.18.16-3) ...
44.86 Selecting previously unselected package gnutls-bin.
44.87 Preparing to unpack .../gnutls-bin_3.6.13-2ubuntu1.8_amd64.deb ...
44.88 Unpacking gnutls-bin (3.6.13-2ubuntu1.8) ...
45.04 Setting up libopts25:amd64 (1:5.18.16-3) ...
45.09 Setting up gnutls-bin (3.6.13-2ubuntu1.8) ...
45.15 Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
45.27 
45.27 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
45.27 
45.32 Reading package lists...
46.23 Building dependency tree...
46.38 Reading state information...
46.54 The following NEW packages will be installed:
46.54   taskwarrior
46.67 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
46.67 Need to get 666 kB of archives.
46.67 After this operation, 2321 kB of additional disk space will be used.
46.67 Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 taskwarrior amd64 2.5.1+dfsg-9 [666 kB]
47.04 debconf: delaying package configuration, since apt-utils is not installed
47.08 Fetched 666 kB in 0s (1885 kB/s)
47.16 Selecting previously unselected package taskwarrior.
(Reading database ... 18588 files and directories currently installed.)
47.17 Preparing to unpack .../taskwarrior_2.5.1+dfsg-9_amd64.deb ...
47.21 Unpacking taskwarrior (2.5.1+dfsg-9) ...
47.40 Setting up taskwarrior (2.5.1+dfsg-9) ...
47.53 A configuration file could not be found in 
47.53 
47.53 Would you like a sample /root/.taskrc created, so Taskwarrior can proceed? (yes/no) Created task 1.
47.54 Cloning into 'taskserver'...
48.54 Submodule 'src/libshared' (https://github.com/GothenburgBitFactory/libshared) registered for path 'src/libshared'
48.55 Cloning into '/Taskwarrior-installation/taskserver/src/libshared'...
49.69 Submodule path 'src/libshared': checked out '1fa5dcbf53a280857e35436aef6beb6a37266e33'
49.80 -- The C compiler identification is GNU 9.4.0
49.89 -- The CXX compiler identification is GNU 9.4.0
49.90 -- Check for working C compiler: /usr/bin/cc
50.02 -- Check for working C compiler: /usr/bin/cc -- works
50.02 -- Detecting C compiler ABI info
50.13 -- Detecting C compiler ABI info - done
50.16 -- Detecting C compile features
50.16 -- Detecting C compile features - done
50.17 -- Check for working CXX compiler: /usr/bin/c++
50.29 -- Check for working CXX compiler: /usr/bin/c++ -- works
50.30 -- Detecting CXX compiler ABI info
50.43 -- Detecting CXX compiler ABI info - done
50.45 -- Detecting CXX compile features
50.45 -- Detecting CXX compile features - done
50.45 -- Configuring C++11
50.45 -- System: Linux
50.46 -- Performing Test _HAS_CXX11
50.58 -- Performing Test _HAS_CXX11 - Success
50.59 -- Performing Test _HAS_CXX0X
50.73 -- Performing Test _HAS_CXX0X - Success
50.73 -- Performing Test _HAS_GNU0X
50.87 -- Performing Test _HAS_GNU0X - Success
50.87 -- Looking for SHA1 references
50.87 -- Found SHA1 reference: 9794cff
50.87 -- Looking for GnuTLS
50.88 -- Found GnuTLS: /usr/lib/x86_64-linux-gnu/libgnutls.so  
50.88 -- Looking for timegm
51.00 -- Looking for timegm - found
51.00 -- Looking for get_current_dir_name
51.12 -- Looking for get_current_dir_name - found
51.12 -- Performing Test HAVE_TM_GMTOFF
51.25 -- Performing Test HAVE_TM_GMTOFF - Success
51.25 -- Performing Test HAVE_ST_BIRTHTIME
51.34 -- Performing Test HAVE_ST_BIRTHTIME - Failed
51.34 -- Looking for libuuid
51.34 -- Looking for uuid_unparse_lower
51.49 -- Looking for uuid_unparse_lower - found
51.49 -- Found libuuid
51.49 -- Configuring cmake.h
51.50 -- Looking for pthread.h
51.50 CMake Warning (dev) at /usr/share/cmake-3.16/Modules/CheckIncludeFile.cmake:80 (message):
51.50   Policy CMP0075 is not set: Include file check macros honor
51.50   CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
51.50   details.  Use the cmake_policy command to set the policy and suppress this
51.50   warning.
51.50 
51.50   CMAKE_REQUIRED_LIBRARIES is set to:
51.50 
51.50     /usr/lib/x86_64-linux-gnu/libuuid.so
51.50 
51.50   For compatibility with CMake 3.11 and below this check is ignoring it.
51.50 Call Stack (most recent call first):
51.50   /usr/share/cmake-3.16/Modules/FindThreads.cmake:128 (CHECK_INCLUDE_FILE)
51.50   src/CMakeLists.txt:41 (find_package)
51.50 This warning is for project developers.  Use -Wno-dev to suppress it.
51.50 
51.62 -- Looking for pthread.h - found
51.62 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
51.75 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
51.75 -- Looking for pthread_create in pthreads
51.86 -- Looking for pthread_create in pthreads - not found
51.86 -- Looking for pthread_create in pthread
51.99 -- Looking for pthread_create in pthread - found
51.99 -- Found Threads: TRUE  
51.99 -- Configuring man pages
51.99 CMake Deprecation Warning at test/CMakeLists.txt:6 (cmake_policy):
51.99   The OLD behavior for policy CMP0037 will be removed from a future version
51.99   of CMake.
51.99 
51.99   The cmake-policies(7) manual explains that the OLD behaviors of all
51.99   policies are deprecated and that a policy should be set to OLD only under
51.99   specific short-term circumstances.  Projects should be ported to the NEW
51.99   behavior and not rely on setting a policy to OLD.
51.99 
51.99 
52.01 -- Configuring done
52.03 -- Generating done
52.03 -- Build files have been written to: /Taskwarrior-installation/taskserver
52.09 Scanning dependencies of target taskd
52.11 [  2%] Building CXX object src/CMakeFiles/taskd.dir/admin.cpp.o
53.01 [  5%] Building CXX object src/CMakeFiles/taskd.dir/api.cpp.o
54.33 [  8%] Building CXX object src/CMakeFiles/taskd.dir/client.cpp.o
54.87 [ 11%] Building CXX object src/CMakeFiles/taskd.dir/ConfigFile.cpp.o
55.26 /Taskwarrior-installation/taskserver/src/ConfigFile.cpp: In copy constructor 'Config::Config(const Config&)':
55.26 /Taskwarrior-installation/taskserver/src/ConfigFile.cpp:44:1: warning: base class 'class std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >' should be explicitly initialized in the copy constructor [-Wextra]
55.26    44 | Config::Config (const Config& other)
55.26       | ^~~~~~
55.97 [ 13%] Building CXX object src/CMakeFiles/taskd.dir/config.cpp.o
56.99 [ 16%] Building CXX object src/CMakeFiles/taskd.dir/daemon.cpp.o
59.40 [ 19%] Building CXX object src/CMakeFiles/taskd.dir/diag.cpp.o
60.17 [ 22%] Building CXX object src/CMakeFiles/taskd.dir/Database.cpp.o
61.17 [ 25%] Building CXX object src/CMakeFiles/taskd.dir/help.cpp.o
61.74 [ 27%] Building CXX object src/CMakeFiles/taskd.dir/init.cpp.o
62.37 [ 30%] Building CXX object src/CMakeFiles/taskd.dir/Server.cpp.o
62.84 /Taskwarrior-installation/taskserver/src/Server.cpp: In member function 'void Server::daemonize()':
62.84 /Taskwarrior-installation/taskserver/src/Server.cpp:345:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
62.84   345 |   freopen ("/dev/null", "r", stdin);
62.84       |   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
62.84 /Taskwarrior-installation/taskserver/src/Server.cpp:346:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
62.84   346 |   freopen ("/dev/null", "w", stdout);
62.84       |   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
62.84 /Taskwarrior-installation/taskserver/src/Server.cpp:347:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
62.84   347 |   freopen ("/dev/null", "w", stderr);
62.84       |   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
63.32 [ 33%] Building CXX object src/CMakeFiles/taskd.dir/Task.cpp.o
63.76 /Taskwarrior-installation/taskserver/src/Task.cpp: In member function 'void Task::validate(bool)':
63.76 /Taskwarrior-installation/taskserver/src/Task.cpp:1477:27: warning: unused parameter 'applyDefault' [-Wunused-parameter]
63.76  1477 | void Task::validate (bool applyDefault /* = true */)
63.76       |                      ~~~~~^~~~~~~~~~~~
63.76 /Taskwarrior-installation/taskserver/src/Task.cpp: In member function 'void Task::validate_before(const string&, const string&)':
63.76 /Taskwarrior-installation/taskserver/src/Task.cpp:1664:48: warning: unused parameter 'left' [-Wunused-parameter]
63.76  1664 | void Task::validate_before (const std::string& left, const std::string& right)
63.76       |                             ~~~~~~~~~~~~~~~~~~~^~~~
63.76 /Taskwarrior-installation/taskserver/src/Task.cpp:1664:73: warning: unused parameter 'right' [-Wunused-parameter]
63.76  1664 | void Task::validate_before (const std::string& left, const std::string& right)
63.76       |                                                      ~~~~~~~~~~~~~~~~~~~^~~~~
65.45 [ 36%] Building CXX object src/CMakeFiles/taskd.dir/TLSClient.cpp.o
66.18 [ 38%] Building CXX object src/CMakeFiles/taskd.dir/TLSServer.cpp.o
66.92 [ 41%] Building CXX object src/CMakeFiles/taskd.dir/util.cpp.o
67.31 [ 44%] Linking CXX static library libtaskd.a
67.38 [ 44%] Built target taskd
67.40 Scanning dependencies of target libshared
67.42 [ 47%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Color.cpp.o
68.31 [ 50%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Datetime.cpp.o
70.33 [ 52%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Duration.cpp.o
71.15 [ 55%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/FS.cpp.o
72.60 [ 58%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/JSON.cpp.o
73.52 [ 61%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Lexer.cpp.o
74.70 [ 63%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Log.cpp.o
75.49 [ 66%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Msg.cpp.o
76.29 [ 69%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Pig.cpp.o
77.12 [ 72%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/RX.cpp.o
77.52 [ 75%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Timer.cpp.o
77.77 [ 77%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/format.cpp.o
78.57 [ 80%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/ip.cpp.o
79.07 [ 83%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/shared.cpp.o
80.14 [ 86%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/unicode.cpp.o
80.21 [ 88%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/utf8.cpp.o
80.56 [ 91%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/wcwidth6.cpp.o
80.63 [ 94%] Linking CXX static library liblibshared.a
80.70 [ 94%] Built target libshared
80.72 Scanning dependencies of target taskd_executable
80.73 [ 97%] Building CXX object src/CMakeFiles/taskd_executable.dir/taskd.cpp.o
81.54 [100%] Linking CXX executable taskd
81.68 [100%] Built target taskd_executable
81.76 [ 44%] Built target taskd
81.80 [ 94%] Built target libshared
81.84 [100%] Built target taskd_executable
81.87 Install the project...
81.88 -- Install configuration: "release"
81.88 -- Installing: /usr/local/share/doc/taskd/NEWS
81.88 -- Installing: /usr/local/share/doc/taskd/ChangeLog
81.89 -- Installing: /usr/local/share/doc/taskd/INSTALL
81.89 -- Installing: /usr/local/share/doc/taskd/AUTHORS
81.89 -- Installing: /usr/local/share/doc/taskd/COPYING
81.89 -- Installing: /usr/local/bin/taskdctl
81.89 -- Installing: /usr/local/bin/taskd
81.89 -- Installing: /usr/local/share/man/man1
81.89 -- Installing: /usr/local/share/man/man1/taskd.1
81.89 -- Installing: /usr/local/share/man/man1/taskdctl.1
81.89 -- Installing: /usr/local/share/man/man5
81.89 -- Installing: /usr/local/share/man/man5/taskdrc.5
81.91 You must specify the 'server' variable before attempting a server start, for example:
81.91   taskd config server localhost:53589
81.91 
81.91 Created /var/taskd/config
81.92 ./tw-install.sh: 36: [[: not found

[CERT INFO REMOVED BY ME FOR THIS GIT ISSUE]

83.81 Signing certificate...
83.84 Config file /var/taskd/config modified.
83.84 Config file /var/taskd/config modified.
83.84 Config file /var/taskd/config modified.
83.85 Config file /var/taskd/config modified.
83.85 Config file /var/taskd/config modified.
83.86 Config file /var/taskd/config modified.
83.86 Config file /var/taskd/config modified.
83.86 Config file /var/taskd/config modified.
83.87 Config file /var/taskd/config modified.
83.89 /usr/local/bin/taskdctl start: daemon started
83.89 1578
83.90 Created organization 'Public'
83.91 Generating a 3072 bit RSA private key...
84.11 Generating a signed certificate...
84.11 
84.11 Expiration time: Mon Sep 23 12:18:13 2024
84.11 CA expiration time: Mon Sep 23 12:18:12 2024
84.11 Warning: The time set exceeds the CA's expiration time

[CERT INFO REMOVED BY ME FOR THIS GIT ISSUE]

84.11 
84.11 Signing certificate...
84.13 Are you sure you want to add 'taskd.certificate' with a value of '/root/.task/first.cert.pem'? (yes/no) Config file /root/.taskrc modified.
84.14 Are you sure you want to add 'taskd.key' with a value of '/root/.task/first.key.pem'? (yes/no) Config file /root/.taskrc modified.
84.15 Are you sure you want to add 'taskd.ca' with a value of '/root/.task/ca.cert.pem'? (yes/no) Config file /root/.taskrc modified.
84.15 Are you sure you want to add 'taskd.server' with a value of 'localhost:53589'? (yes/no) Config file /root/.taskrc modified.
84.15 Please enter uuid
84.16 51617625-bbb3-4e1f-88bd-c40b9d13e684
84.16 Are you sure you want to add 'taskd.credentials' with a value of 'Public/First/51617625-bbb3-4e1f-88bd-c40b9d13e684'? (yes/no) Config file /root/.taskrc modified.
84.17 Please confirm that you wish to upload all your pending tasks to the Taskserver (yes/no) Sync successful.  1 changes uploaded.
84.25 Syncing with localhost:53589
84.25 
84.26 taskd_data=/var/taskd
84.26 linux_username=root
84.26 linux_group=root
84.26 ./tw-install.sh: 169: _local: not found
84.26 ./tw-install.sh: 170: _local: not found
84.26 ./tw-install.sh: 171: _local: not found
84.26 ./tw-install.sh: 172: _local: not found
84.26 touch: cannot touch '': No such file or directory
84.26 sed: can't read : No such file or directory
84.26 ./tw-install.sh: 169: _local: not found
84.26 ./tw-install.sh: 170: _local: not found
84.26 ./tw-install.sh: 171: _local: not found
84.27 ./tw-install.sh: 172: _local: not found
84.27 touch: cannot touch '': No such file or directory
84.27 sed: can't read : No such file or directory
84.27 ./tw-install.sh: 169: _local: not found
84.27 ./tw-install.sh: 170: _local: not found
84.27 ./tw-install.sh: 171: _local: not found
84.27 ./tw-install.sh: 172: _local: not found
84.27 touch: cannot touch '': No such file or directory
84.27 sed: can't read : No such file or directory
84.27 ./tw-install.sh: 169: _local: not found
84.27 ./tw-install.sh: 170: _local: not found
84.27 ./tw-install.sh: 171: _local: not found
84.28 ./tw-install.sh: 172: _local: not found
84.28 touch: cannot touch '': No such file or directory
84.28 sed: can't read : No such file or directory
84.28 
84.28 cp: cannot stat 'src/taskd.service': No such file or directory
84.28 ./tw-install.sh: 202: _local: not found
84.28 output=
84.29 sudo: systemctl: command not found
84.29 ./tw-install.sh: 207: _local: not found
84.29 output=
84.29 sudo: systemctl: command not found
84.29 ./tw-install.sh: 213: _local: not found
84.29 output=
84.29 ./tw-install.sh: 219: systemctl: not found
84.29 ./tw-install.sh: 219: _local: not found
84.29 output=
84.30 sudo: systemctl: command not found
84.30 ./tw-install.sh: 225: _local: not found
84.30 output=
84.30 140288465585472:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/home/root/.task/ca.cert.pem','r')
84.30 140288465585472:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
84.30 140288465585472:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:../crypto/x509/by_file.c:199:
84.31 certtool error 2 (No such file or directory) calling stat for '/home/root/.task/ca.cert.pem'
84.31 certtool error 2 (No such file or directory) calling stat for '/home/root/.task/first.cert.pem'
84.31 certtool error 2 (No such file or directory) calling stat for '/home/root/.task/ca.cert.pem'
84.32 certtool error 2 (No such file or directory) calling stat for '/home/root/.task/first.cert.pem'
84.32 Note that no verification profile was selected. In the future the medium profile will be enabled by default.
84.32 Use --verify-profile low to apply the default verification of NORMAL priority string.
84.32 Loaded CAs (1 available)
84.32   Subject: O=Göteborg Bit Factory,CN=localhost
84.32   Issuer: C=SE,ST=Västra Götaland,L=Göteborg,O=Göteborg Bit Factory,CN=localhost CA
84.32   Checked against: C=SE,ST=Västra Götaland,L=Göteborg,O=Göteborg Bit Factory,CN=localhost CA
84.32   Signature algorithm: RSA-SHA256
84.32   Output: Verified. The certificate is trusted. 
84.32 
84.32 Chain verification output: Verified. The certificate is trusted. 
84.32 
84.33 Note that no verification profile was selected. In the future the medium profile will be enabled by default.
84.33 Use --verify-profile low to apply the default verification of NORMAL priority string.
84.33 Loaded CAs (1 available)
84.33   Subject: O=Göteborg Bit Factory,CN=localhost
84.33   Issuer: C=SE,ST=Västra Götaland,L=Göteborg,O=Göteborg Bit Factory,CN=localhost CA
84.33   Checked against: C=SE,ST=Västra Götaland,L=Göteborg,O=Göteborg Bit Factory,CN=localhost CA
84.33   Signature algorithm: RSA-SHA256
84.33   Output: Verified. The certificate is trusted. 
84.33 
84.33 Chain verification output: Verified. The certificate is trusted. 
84.33 
84.33   Subject: O=Göteborg Bit Factory,CN=localhost
84.34 subject=CN = localhost, O = G\C3\B6teborg Bit Factory
84.34 ./tw-install.sh: 251: source: not found
------
Dockerfile:6
--------------------
   4 |     RUN apt-get update && apt-get -y install sudo && apt-get install -y git
   5 |     RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
   6 | >>> RUN chmod +x tw-install.sh && ./tw-install.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod +x tw-install.sh && ./tw-install.sh" did not complete successfully: exit code: 127
a-t-0 commented 11 months ago

Hi, thank you, a first quick response is that I have this repo on hold, because I want to refactor it using this template: https://github.com/HiveMinds/Bash-Project-Template and run my self-hosted GitLab CI on it over here: https://github.com/TruCol/Self-host-GitLab-CI-for-GitHub. (And my first guess is that I the dockerfile was a try-out, (which I acknowledge should not be in main).

But I'll briefly take a look to see if I can resolve the issue you mentioned in the next 15 minutes.

a-t-0 commented 11 months ago

Thank you for sharing the issue with detailed log. I fixed two issues with the code, and some are still open.

src/D_configure_taskserver.sh: line 177: src/taskd.service: No such file or directory cp: cannot stat 'src/taskd.service': No such file or directory output= sudo: systemctl: command not found output= sudo: systemctl: command not found output= src/D_configure_taskserver.sh: line 219: systemctl: command not found output= sudo: systemctl: command not found output= 40771AC3927F0000:error:80000002:system library:BIO_new_file:No such file or directory:../crypto/bio/bss_file.c:67:calling fopen(/home/root/.task/ca.cert.pem, r) 40771AC3927F0000:error:10000080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:75: 40771AC3927F0000:error:05880002:x509 certificate routines:X509_load_cert_crl_file_ex:system lib:../crypto/x509/by_file.c:228: Cannot open /home/root/.task/ca.cert.pem for reading Cannot open /home/root/.task/first.cert.pem for reading Cannot open /home/root/.task/ca.cert.pem for reading Cannot open /home/root/.task/first.cert.pem for reading Note that no verification profile was selected. In the future the medium profile will be enabled by default. Use --verify-profile low to apply the default verification of NORMAL priority string. Loaded CAs (1 available) Subject: CN=278d30ff6b62,O=Göteborg Bit Factory Issuer: CN=278d30ff6b62 CA,O=Göteborg Bit Factory,L=Göteborg,ST=Västra Götaland,C=SE Checked against: CN=278d30ff6b62 CA,O=Göteborg Bit Factory,L=Göteborg,ST=Västra Götaland,C=SE Signature algorithm: RSA-SHA256 Output: Verified. The certificate is trusted.

Chain verification output: Verified. The certificate is trusted.

Note that no verification profile was selected. In the future the medium profile will be enabled by default. Use --verify-profile low to apply the default verification of NORMAL priority string. Loaded CAs (1 available) Subject: CN=278d30ff6b62,O=Göteborg Bit Factory Issuer: CN=278d30ff6b62 CA,O=Göteborg Bit Factory,L=Göteborg,ST=Västra Götaland,C=SE Checked against: CN=278d30ff6b62 CA,O=Göteborg Bit Factory,L=Göteborg,ST=Västra Götaland,C=SE Signature algorithm: RSA-SHA256 Output: Verified. The certificate is trusted.

Chain verification output: Verified. The certificate is trusted.

Subject: CN=278d30ff6b62,O=Göteborg Bit Factory

subject=O = G\C3\B6teborg Bit Factory, CN = 278d30ff6b62 src/run_taskserver_at_boot.sh: line 4: crontab: command not found src/run_taskserver_at_boot.sh: line 11: crontab: command not found Cron job successfully set up. src/run_taskserver_at_boot.sh: line 14: crontab: command not found Error, cronjob was not found. The command '/bin/sh -c chmod +x tw-install.sh && ./tw-install.sh' returned a non-zero code: 5



I do not intent on fixing these errors before I fix the CI. Feel free to send a pull request if you do manage to fix them!
dehidehidehi commented 11 months ago

Thanks! I'll give the fix a try and see if I find a solution.

Cheers

dehidehidehi commented 11 months ago

MR https://github.com/HiveMinds/tw-install/pull/104 Fixes Dockerfile build. It may also fix some CI bugs?

a-t-0 commented 11 months ago

Thank you for your contribution! I have merged it, and mentioned some errors that I still received upon testing your solution.