1
|
Keeping only last 200 lines...
|
2
|
Setting up gpg-wks-client (2.2.19-3ubuntu2.2) ...
|
3
|
Setting up gnupg (2.2.19-3ubuntu2.2) ...
|
4
|
Processing triggers for man-db (2.9.1-1) ...
|
5
|
Processing triggers for ca-certificates (20230311ubuntu0.20.04.1) ...
|
6
|
Updating certificates in /etc/ssl/certs...
|
7
|
0 added, 0 removed; done.
|
8
|
Running hooks in /etc/ca-certificates/update.d...
|
9
|
done.
|
10
|
Warning: apt-key output should not be parsed (stdout is not a terminal)
|
11
|
OK
|
12
|
deb https://deb.nodesource.com/node_16.x focal main
|
13
|
deb-src https://deb.nodesource.com/node_16.x focal main
|
14
|
|
15
|
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
16
|
|
17
|
Get:1 https://deb.nodesource.com/node_16.x focal InRelease [4583 B]
|
18
|
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
|
19
|
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
|
20
|
Get:4 https://deb.nodesource.com/node_16.x focal/main amd64 Packages [776 B]
|
21
|
Hit:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
|
22
|
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
|
23
|
Fetched 5359 B in 0s (12.1 kB/s)
|
24
|
Reading package lists...
|
25
|
Building dependency tree...
|
26
|
Reading state information...
|
27
|
143 packages can be upgraded. Run 'apt list --upgradable' to see them.
|
28
|
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
|
29
|
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
|
30
|
Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
|
31
|
Hit:4 https://deb.nodesource.com/node_16.x focal InRelease
|
32
|
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
|
33
|
Reading package lists...
|
34
|
mk-build-deps: warning: relation < is deprecated: use << or <=
|
35
|
dh_testdir
|
36
|
dh_testroot
|
37
|
dh_prep
|
38
|
dh_testdir
|
39
|
dh_testroot
|
40
|
dh_install
|
41
|
dh_installdocs
|
42
|
dh_installchangelogs
|
43
|
dh_compress
|
44
|
dh_fixperms
|
45
|
dh_installdeb
|
46
|
dh_gencontrol
|
47
|
dh_md5sums
|
48
|
dh_builddeb
|
49
|
dpkg-deb: building package 'hcw-athome-backend-build-deps' in '../hcw-athome-backend-build-deps_5.0.3_all.deb'.
|
50
|
|
51
|
The package has been created.
|
52
|
Attention, the package has been created in the current directory,
|
53
|
not in ".." as indicated by the message above!
|
54
|
Selecting previously unselected package hcw-athome-backend-build-deps.
|
55
|
(Reading database ... 26328 files and directories currently installed.)
|
56
|
Preparing to unpack hcw-athome-backend-build-deps_5.0.3_all.deb ...
|
57
|
Unpacking hcw-athome-backend-build-deps (5.0.3) ...
|
58
|
Reading package lists...
|
59
|
Building dependency tree...
|
60
|
Reading state information...
|
61
|
Starting pkgProblemResolver with broken count: 0
|
62
|
Starting 2 pkgProblemResolver with broken count: 0
|
63
|
Done
|
64
|
Correcting dependencies... Done
|
65
|
Starting pkgProblemResolver with broken count: 0
|
66
|
Starting 2 pkgProblemResolver with broken count: 0
|
67
|
Done
|
68
|
The following additional packages will be installed:
|
69
|
nodejs
|
70
|
The following NEW packages will be installed:
|
71
|
nodejs
|
72
|
0 upgraded, 1 newly installed, 0 to remove and 143 not upgraded.
|
73
|
1 not fully installed or removed.
|
74
|
Need to get 27.2 MB of archives.
|
75
|
After this operation, 128 MB of additional disk space will be used.
|
76
|
Get:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.20.2-deb-1nodesource1 [27.2 MB]
|
77
|
debconf: delaying package configuration, since apt-utils is not installed
|
78
|
Fetched 27.2 MB in 1s (47.3 MB/s)
|
79
|
Selecting previously unselected package nodejs.
|
80
|
(Reading database ...
|
81
|
(Reading database ... 5%
|
82
|
(Reading database ... 10%
|
83
|
(Reading database ... 15%
|
84
|
(Reading database ... 20%
|
85
|
(Reading database ... 25%
|
86
|
(Reading database ... 30%
|
87
|
(Reading database ... 35%
|
88
|
(Reading database ... 40%
|
89
|
(Reading database ... 45%
|
90
|
(Reading database ... 50%
|
91
|
(Reading database ... 55%
|
92
|
(Reading database ... 60%
|
93
|
(Reading database ... 65%
|
94
|
(Reading database ... 70%
|
95
|
(Reading database ... 75%
|
96
|
(Reading database ... 80%
|
97
|
(Reading database ... 85%
|
98
|
(Reading database ... 90%
|
99
|
(Reading database ... 95%
|
100
|
(Reading database ... 100%
|
101
|
(Reading database ... 26332 files and directories currently installed.)
|
102
|
Preparing to unpack .../nodejs_16.20.2-deb-1nodesource1_amd64.deb ...
|
103
|
Unpacking nodejs (16.20.2-deb-1nodesource1) ...
|
104
|
Setting up nodejs (16.20.2-deb-1nodesource1) ...
|
105
|
Setting up hcw-athome-backend-build-deps (5.0.3) ...
|
106
|
Processing triggers for man-db (2.9.1-1) ...
|
107
|
dpkg-buildpackage: info: source package hcw-athome-backend
|
108
|
dpkg-buildpackage: info: source version 5.0.3
|
109
|
dpkg-buildpackage: info: source distribution focal
|
110
|
dpkg-buildpackage: info: source changed by Olivier Bitsch <olivier.b@iabsis.com>
|
111
|
dpkg-source --before-build .
|
112
|
dpkg-buildpackage: info: host architecture amd64
|
113
|
dpkg-source: warning: relation < is deprecated: use << or <=
|
114
|
dpkg-checkbuilddeps: warning: relation < is deprecated: use << or <=
|
115
|
debian/rules clean
|
116
|
dh clean
|
117
|
dh_auto_clean
|
118
|
make -j4 clean
|
119
|
make[1]: Entering directory '/build/sources'
|
120
|
cleaning the dist directory
|
121
|
make[1]: Leaving directory '/build/sources'
|
122
|
dh_clean
|
123
|
dpkg-source -b .
|
124
|
dpkg-source: warning: relation < is deprecated: use << or <=
|
125
|
dpkg-source: info: using source format '3.0 (native)'
|
126
|
dpkg-source: info: building hcw-athome-backend in hcw-athome-backend_5.0.3.tar.xz
|
127
|
dpkg-source: info: building hcw-athome-backend in hcw-athome-backend_5.0.3.dsc
|
128
|
debian/rules binary
|
129
|
dh binary
|
130
|
dh_update_autotools_config
|
131
|
dh_autoreconf
|
132
|
dh_auto_configure
|
133
|
dh_auto_build
|
134
|
make -j4 "INSTALL=install --strip-program=true"
|
135
|
make[1]: Entering directory '/build/sources'
|
136
|
npm WARN exec The following package was not found and will be installed: yarn@1.22.21
|
137
|
yarn install v1.22.21
|
138
|
[1/5] Validating package.json...
|
139
|
[2/5] Resolving packages...
|
140
|
[3/5] Fetching packages...
|
141
|
[4/5] Linking dependencies...
|
142
|
[5/5] Building fresh packages...
|
143
|
$ patch-package
|
144
|
patch-package 8.0.0
|
145
|
Applying patches...
|
146
|
activedirectory@0.7.2 ✔
|
147
|
sails@1.2.3 ✔
|
148
|
sails@1.5.8 ✔
|
149
|
|
150
|
Warning: patch-package detected a patch file version mismatch
|
151
|
|
152
|
Don't worry! This is probably fine. The patch was still applied
|
153
|
successfully. Here's the deets:
|
154
|
|
155
|
Patch file created for
|
156
|
|
157
|
sails@1.2.3
|
158
|
|
159
|
applied to
|
160
|
|
161
|
sails@1.5.8
|
162
|
|
163
|
At path
|
164
|
|
165
|
node_modules/sails
|
166
|
|
167
|
This warning is just to give you a heads-up. There is a small chance of
|
168
|
breakage even though the patch was applied successfully. Make sure the package
|
169
|
still behaves like you expect (you wrote tests, right?) and then run
|
170
|
|
171
|
patch-package sails
|
172
|
|
173
|
to update the version in the patch file name and make this warning go away.
|
174
|
|
175
|
---
|
176
|
patch-package finished with 1 warning(s).
|
177
|
Done in 12.03s.
|
178
|
npm notice
|
179
|
npm notice New major version of npm available! 8.19.4 -> 10.2.5
|
180
|
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
|
181
|
npm notice Run `npm install -g npm@10.2.5` to update!
|
182
|
npm notice
|
183
|
make[1]: Leaving directory '/build/sources'
|
184
|
dh_auto_test
|
185
|
create-stamp debian/debhelper-build-stamp
|
186
|
dh_testroot
|
187
|
dh_prep
|
188
|
debian/rules override_dh_auto_install
|
189
|
make[1]: Entering directory '/build/sources'
|
190
|
## Prepare node_modules
|
191
|
make
|
192
|
make[2]: Entering directory '/build/sources'
|
193
|
make[2]: Nothing to be done for 'build'.
|
194
|
make[2]: Leaving directory '/build/sources'
|
195
|
## Create datadir folder
|
196
|
install -d -m0755 debian/hcw-athome-backend/usr/share/hcw-athome/backend/
|
197
|
cp -a .sailsrc app.js api config node_modules package.json public views debian/hcw-athome-backend/usr/share/hcw-athome/backend/
|
198
|
install -d -m0755 debian/hcw-athome-backend/lib/systemd/system
|
199
|
cp hcw-athome.service debian/hcw-athome-backend/lib/systemd/system
|
200
|
## Create config folder
|
201
|
install -d -m0755 debian/hcw-athome-backend/etc/hcw-athome/
|
202
|
cp .env.dist debian/hcw-athome-backend/etc/hcw-athome/hcw-athome.conf
|
203
|
cp saml.key debian/hcw-athome-backend/etc/hcw-athome/
|
204
|
## Create nginx config
|
205
|
cp nginx/nginx-common debian/hcw-athome-backend/etc/hcw-athome/
|
206
|
cp nginx/nginx-proxy debian/hcw-athome-backend/etc/hcw-athome/
|
207
|
## Copy nginx sample
|
208
|
install -d -m0755 debian/hcw-athome-backend/usr/share/doc/hcw-athome-backend/nginx-samples/
|
209
|
cp -a nginx/hcw-athome-doctor.conf debian/hcw-athome-backend/usr/share/doc/hcw-athome-backend/nginx-samples/
|
210
|
cp -a nginx/hcw-athome-patient.conf debian/hcw-athome-backend/usr/share/doc/hcw-athome-backend/nginx-samples/
|
211
|
cp -a nginx/hcw-athome-patient.conf debian/hcw-athome-backend/usr/share/doc/hcw-athome-backend/nginx-samples/
|
212
|
cp -a nginx/hcw-athome-scheduler.conf debian/hcw-athome-backend/usr/share/doc/hcw-athome-backend/nginx-samples/
|
213
|
mkdir debian/hcw-athome-backend/usr/bin/
|
214
|
cp helper/cli.py debian/hcw-athome-backend/usr/bin/hcw
|
215
|
cp: cannot stat 'helper/cli.py': No such file or directory
|
216
|
make[1]: *** [debian/rules:49: override_dh_auto_install] Error 1
|
217
|
make[1]: Leaving directory '/build/sources'
|
218
|
make: *** [debian/rules:18: binary] Error 2
|
219
|
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
|
220
|
|
221
|
### Step: publish, Method: missing
|
222
|
Error, there is no method defined for step: publish
|