Friday, November 29, 2024

Re: NEW: comms/zigbee2mqtt [was Re: Node ports and specifically zigbee2mqtt]

hyttyspurkki$ make patch
===> zigbee2mqtt-1.41.0 depends on: node-* -> node-20.17.0v0
===> zigbee2mqtt-1.41.0 depends on: xz->=5.4.0 -> xz-5.6.2
===> Verifying specs: c++ c++abi pthread m
===> found c++.10.0 c++abi.7.0 pthread.27.1 m.10.1
===> Checking files for zigbee2mqtt-1.41.0
`/usr/ports/distfiles/zigbee2mqtt-1.41.0.tar.gz' is up to date.
`/usr/ports/distfiles/zigbee2mqtt-1.41.0-vendor.tar.xz' is up to date.
>> (SHA256) zigbee2mqtt-1.41.0.tar.gz: OK
>> (SHA256) zigbee2mqtt-1.41.0-vendor.tar.xz: OK
===> Extracting for zigbee2mqtt-1.41.0
- installing npm deps from cache to WRKDIR
cd /usr/ports/pobj/zigbee2mqtt-1.41.0/zigbee2mqtt-1.41.0; env -i HOME=/usr/ports/pobj/zigbee2mqtt-1.41.0 PATH=$PATH npm install --include=dev --cache=/usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

added 649 packages in 3m

90 packages are looking for funding
run `npm fund` for details
===> Patching for zigbee2mqtt-1.41.0
===> Applying OpenBSD patch patch-data_configuration_yaml
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: data/configuration.yaml
|--- data/configuration.yaml.orig
|+++ data/configuration.yaml
--------------------------
Patching file data/configuration.yaml using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 25.
done
===> Compiler link: clang -> /usr/bin/clang
===> Compiler link: clang++ -> /usr/bin/clang++
===> Compiler link: cc -> /usr/bin/cc
===> Compiler link: c++ -> /usr/bin/c++
hyttyspurkki$ make fake
===> Generating configure for zigbee2mqtt-1.41.0
===> Configuring for zigbee2mqtt-1.41.0
===> Building for zigbee2mqtt-1.41.0
cd /usr/ports/pobj/zigbee2mqtt-1.41.0/zigbee2mqtt-1.41.0; env -i HOME=/usr/ports/pobj/zigbee2mqtt-1.41.0 PATH=$PATH npm run build --cache=/usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache

> zigbee2mqtt@1.41.0 build
> tsc && node index.js writehash

===> Faking installation for zigbee2mqtt-1.41.0
cd /usr/ports/pobj/zigbee2mqtt-1.41.0/zigbee2mqtt-1.41.0; env -i HOME=/usr/ports/pobj/zigbee2mqtt-1.41.0 PATH=$PATH npm install --exclude=dev --global --cache=/usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache --prefix=/usr/ports/pobj/zigbee2mqtt-1.41.0/fake-aarch64/usr/local --install-links
npm error code ETIMEDOUT
npm error errno ETIMEDOUT
npm error network request to https://registry.npmjs.org/ajv failed, reason:
npm error network This is a problem related to network connectivity.
npm error network In most cases you are behind a proxy or have bad network settings.
npm error network
npm error network If you are behind a proxy, please make sure that the
npm error network 'proxy' config is set properly. See: 'npm help config'
npm error A complete log of this run can be found in: /usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache/_logs/2024-11-29T00_23_49_129Z-debug-0.log
*** Error 1 in . (Makefile:39 'do-install')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3141 '/usr/ports/pobj/zigbee2mqtt-1.41.0/fake-aarch64/.fake_done': @cd /usr/ports...)
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using npm@10.8.2
2 info using node@v20.17.0
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
4 silly config load:file:/usr/ports/pobj/zigbee2mqtt-1.41.0/.npmrc
5 silly config load:file:/usr/ports/pobj/zigbee2mqtt-1.41.0/fake-aarch64/usr/local/etc/npmrc
6 verbose title npm install
7 verbose argv "install" "--exclude" "dev" "--global" "--cache" "/usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache" "--prefix" "/usr/ports/pobj/zigbee2mqtt-1.41.0/fake-aarch64/usr/local" "--install-links"
8 verbose logfile logs-max:10 dir:/usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache/_logs/2024-11-29T00_23_49_129Z-
9 verbose logfile /usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache/_logs/2024-11-29T00_23_49_129Z-debug-0.log
10 silly packumentCache heap:1047527424 maxSize:261881856 maxEntrySize:130940928
11 silly logfile done cleaning log files
12 silly idealTree buildDeps
13 silly fetch manifest zigbee2mqtt@file:../../../../zigbee2mqtt-1.41.0
14 silly placeDep ROOT zigbee2mqtt@1.41.0 OK for: want: file:../../../../zigbee2mqtt-1.41.0
15 silly fetch manifest ajv@^8.17.1
16 silly packumentCache full:https://registry.npmjs.org/ajv cache-miss
17 silly fetch manifest bind-decorator@^1.0.11
18 silly packumentCache full:https://registry.npmjs.org/bind-decorator cache-miss
19 silly fetch manifest connect-gzip-static@3.0.1
20 silly packumentCache full:https://registry.npmjs.org/connect-gzip-static cache-miss
21 http fetch GET https://registry.npmjs.org/ajv attempt 1 failed with ETIMEDOUT
22 http fetch GET https://registry.npmjs.org/bind-decorator attempt 1 failed with ETIMEDOUT
23 http fetch GET https://registry.npmjs.org/connect-gzip-static attempt 1 failed with ETIMEDOUT
24 http fetch GET https://registry.npmjs.org/ajv attempt 2 failed with ETIMEDOUT
25 http fetch GET https://registry.npmjs.org/bind-decorator attempt 2 failed with ETIMEDOUT
26 http fetch GET https://registry.npmjs.org/connect-gzip-static attempt 2 failed with ETIMEDOUT
27 http fetch GET https://registry.npmjs.org/ajv attempt 3 failed with ETIMEDOUT
28 silly fetch manifest debounce@^2.2.0
29 silly packumentCache full:https://registry.npmjs.org/debounce cache-miss
30 http fetch GET https://registry.npmjs.org/bind-decorator attempt 3 failed with ETIMEDOUT
31 silly fetch manifest fast-deep-equal@^3.1.3
32 silly packumentCache full:https://registry.npmjs.org/fast-deep-equal cache-miss
33 http fetch GET https://registry.npmjs.org/connect-gzip-static attempt 3 failed with ETIMEDOUT
34 silly fetch manifest finalhandler@^1.3.1
35 silly packumentCache full:https://registry.npmjs.org/finalhandler cache-miss
36 http fetch GET https://registry.npmjs.org/fast-deep-equal attempt 1 failed with ETIMEDOUT
37 http fetch GET https://registry.npmjs.org/debounce attempt 1 failed with ETIMEDOUT
38 http fetch GET https://registry.npmjs.org/finalhandler attempt 1 failed with ETIMEDOUT
39 http fetch GET https://registry.npmjs.org/fast-deep-equal attempt 2 failed with ETIMEDOUT
40 http fetch GET https://registry.npmjs.org/debounce attempt 2 failed with ETIMEDOUT
41 http fetch GET https://registry.npmjs.org/finalhandler attempt 2 failed with ETIMEDOUT
42 http fetch GET https://registry.npmjs.org/fast-deep-equal attempt 3 failed with ETIMEDOUT
43 silly fetch manifest git-last-commit@^1.0.1
44 silly packumentCache full:https://registry.npmjs.org/git-last-commit cache-miss
45 http fetch GET https://registry.npmjs.org/debounce attempt 3 failed with ETIMEDOUT
46 silly fetch manifest humanize-duration@^3.32.1
47 silly packumentCache full:https://registry.npmjs.org/humanize-duration cache-miss
48 http fetch GET https://registry.npmjs.org/finalhandler attempt 3 failed with ETIMEDOUT
49 silly fetch manifest js-yaml@^4.1.0
50 silly packumentCache full:https://registry.npmjs.org/js-yaml cache-miss
51 http fetch GET https://registry.npmjs.org/git-last-commit attempt 1 failed with ETIMEDOUT
52 http fetch GET https://registry.npmjs.org/humanize-duration attempt 1 failed with ETIMEDOUT
53 http fetch GET https://registry.npmjs.org/js-yaml attempt 1 failed with ETIMEDOUT
54 http fetch GET https://registry.npmjs.org/git-last-commit attempt 2 failed with ETIMEDOUT
55 http fetch GET https://registry.npmjs.org/humanize-duration attempt 2 failed with ETIMEDOUT
56 http fetch GET https://registry.npmjs.org/js-yaml attempt 2 failed with ETIMEDOUT
57 http fetch GET https://registry.npmjs.org/git-last-commit attempt 3 failed with ETIMEDOUT
58 silly fetch manifest json-stable-stringify-without-jsonify@^1.0.1
59 silly packumentCache full:https://registry.npmjs.org/json-stable-stringify-without-jsonify cache-miss
60 http fetch GET https://registry.npmjs.org/humanize-duration attempt 3 failed with ETIMEDOUT
61 silly fetch manifest jszip@^3.10.1
62 silly packumentCache full:https://registry.npmjs.org/jszip cache-miss
63 http fetch GET https://registry.npmjs.org/js-yaml attempt 3 failed with ETIMEDOUT
64 silly fetch manifest mkdir-recursive@^0.4.0
65 silly packumentCache full:https://registry.npmjs.org/mkdir-recursive cache-miss
66 http fetch GET https://registry.npmjs.org/json-stable-stringify-without-jsonify attempt 1 failed with ETIMEDOUT
67 http fetch GET https://registry.npmjs.org/jszip attempt 1 failed with ETIMEDOUT
68 http fetch GET https://registry.npmjs.org/mkdir-recursive attempt 1 failed with ETIMEDOUT
69 http fetch GET https://registry.npmjs.org/json-stable-stringify-without-jsonify attempt 2 failed with ETIMEDOUT
70 http fetch GET https://registry.npmjs.org/jszip attempt 2 failed with ETIMEDOUT
71 http fetch GET https://registry.npmjs.org/mkdir-recursive attempt 2 failed with ETIMEDOUT
72 http fetch GET https://registry.npmjs.org/json-stable-stringify-without-jsonify attempt 3 failed with ETIMEDOUT
73 silly fetch manifest moment@^2.30.1
74 silly packumentCache full:https://registry.npmjs.org/moment cache-miss
75 http fetch GET https://registry.npmjs.org/jszip attempt 3 failed with ETIMEDOUT
76 silly fetch manifest mqtt@^5.10.1
77 silly packumentCache full:https://registry.npmjs.org/mqtt cache-miss
78 http fetch GET https://registry.npmjs.org/mkdir-recursive attempt 3 failed with ETIMEDOUT
79 silly fetch manifest object-assign-deep@^0.4.0
80 silly packumentCache full:https://registry.npmjs.org/object-assign-deep cache-miss
81 http fetch GET https://registry.npmjs.org/moment attempt 1 failed with ETIMEDOUT
82 http fetch GET https://registry.npmjs.org/mqtt attempt 1 failed with ETIMEDOUT
83 http fetch GET https://registry.npmjs.org/object-assign-deep attempt 1 failed with ETIMEDOUT
84 http fetch GET https://registry.npmjs.org/moment attempt 2 failed with ETIMEDOUT
85 http fetch GET https://registry.npmjs.org/mqtt attempt 2 failed with ETIMEDOUT
86 http fetch GET https://registry.npmjs.org/object-assign-deep attempt 2 failed with ETIMEDOUT
87 http fetch GET https://registry.npmjs.org/moment attempt 3 failed with ETIMEDOUT
88 silly fetch manifest rimraf@^6.0.1
89 silly packumentCache full:https://registry.npmjs.org/rimraf cache-miss
90 http fetch GET https://registry.npmjs.org/mqtt attempt 3 failed with ETIMEDOUT
91 silly fetch manifest semver@^7.6.3
92 silly packumentCache full:https://registry.npmjs.org/semver cache-miss
93 http fetch GET https://registry.npmjs.org/object-assign-deep attempt 3 failed with ETIMEDOUT
94 silly fetch manifest source-map-support@^0.5.21
95 silly packumentCache full:https://registry.npmjs.org/source-map-support cache-miss
96 http fetch GET https://registry.npmjs.org/rimraf attempt 1 failed with ETIMEDOUT
97 http fetch GET https://registry.npmjs.org/semver attempt 1 failed with ETIMEDOUT
98 http fetch GET https://registry.npmjs.org/source-map-support attempt 1 failed with ETIMEDOUT
99 http fetch GET https://registry.npmjs.org/rimraf attempt 2 failed with ETIMEDOUT
100 http fetch GET https://registry.npmjs.org/semver attempt 2 failed with ETIMEDOUT
101 http fetch GET https://registry.npmjs.org/source-map-support attempt 2 failed with ETIMEDOUT
102 http fetch GET https://registry.npmjs.org/rimraf attempt 3 failed with ETIMEDOUT
103 silly fetch manifest throttleit@^2.1.0
104 silly packumentCache full:https://registry.npmjs.org/throttleit cache-miss
105 http fetch GET https://registry.npmjs.org/semver attempt 3 failed with ETIMEDOUT
106 silly fetch manifest uri-js@^4.4.1
107 silly packumentCache full:https://registry.npmjs.org/uri-js cache-miss
108 http fetch GET https://registry.npmjs.org/source-map-support attempt 3 failed with ETIMEDOUT
109 silly fetch manifest winston@^3.15.0
110 silly packumentCache full:https://registry.npmjs.org/winston cache-miss
111 http fetch GET https://registry.npmjs.org/throttleit attempt 1 failed with ETIMEDOUT
112 http fetch GET https://registry.npmjs.org/uri-js attempt 1 failed with ETIMEDOUT
113 http fetch GET https://registry.npmjs.org/winston attempt 1 failed with ETIMEDOUT
114 http fetch GET https://registry.npmjs.org/throttleit attempt 2 failed with ETIMEDOUT
115 http fetch GET https://registry.npmjs.org/uri-js attempt 2 failed with ETIMEDOUT
116 http fetch GET https://registry.npmjs.org/winston attempt 2 failed with ETIMEDOUT
117 http fetch GET https://registry.npmjs.org/throttleit attempt 3 failed with ETIMEDOUT
118 silly fetch manifest winston-syslog@^2.7.1
119 silly packumentCache full:https://registry.npmjs.org/winston-syslog cache-miss
120 http fetch GET https://registry.npmjs.org/uri-js attempt 3 failed with ETIMEDOUT
121 silly fetch manifest winston-transport@^4.8.0
122 silly packumentCache full:https://registry.npmjs.org/winston-transport cache-miss
123 http fetch GET https://registry.npmjs.org/winston attempt 3 failed with ETIMEDOUT
124 silly fetch manifest ws@^8.18.0
125 silly packumentCache full:https://registry.npmjs.org/ws cache-miss
126 http fetch GET https://registry.npmjs.org/winston-syslog attempt 1 failed with ETIMEDOUT
127 http fetch GET https://registry.npmjs.org/winston-transport attempt 1 failed with ETIMEDOUT
128 http fetch GET https://registry.npmjs.org/ws attempt 1 failed with ETIMEDOUT
129 http fetch GET https://registry.npmjs.org/winston-syslog attempt 2 failed with ETIMEDOUT
130 http fetch GET https://registry.npmjs.org/winston-transport attempt 2 failed with ETIMEDOUT
131 http fetch GET https://registry.npmjs.org/ws attempt 2 failed with ETIMEDOUT
132 http fetch GET https://registry.npmjs.org/winston-syslog attempt 3 failed with ETIMEDOUT
133 silly fetch manifest zigbee-herdsman@2.1.7
134 silly packumentCache full:https://registry.npmjs.org/zigbee-herdsman cache-miss
135 http fetch GET https://registry.npmjs.org/winston-transport attempt 3 failed with ETIMEDOUT
136 silly fetch manifest zigbee-herdsman-converters@20.38.0
137 silly packumentCache full:https://registry.npmjs.org/zigbee-herdsman-converters cache-miss
138 http fetch GET https://registry.npmjs.org/ws attempt 3 failed with ETIMEDOUT
139 silly fetch manifest zigbee2mqtt-frontend@0.7.4
140 silly packumentCache full:https://registry.npmjs.org/zigbee2mqtt-frontend cache-miss
141 http fetch GET https://registry.npmjs.org/zigbee-herdsman attempt 1 failed with ETIMEDOUT
142 http fetch GET https://registry.npmjs.org/zigbee-herdsman-converters attempt 1 failed with ETIMEDOUT
143 http fetch GET https://registry.npmjs.org/zigbee2mqtt-frontend attempt 1 failed with ETIMEDOUT
144 http fetch GET https://registry.npmjs.org/zigbee-herdsman attempt 2 failed with ETIMEDOUT
145 http fetch GET https://registry.npmjs.org/zigbee-herdsman-converters attempt 2 failed with ETIMEDOUT
146 http fetch GET https://registry.npmjs.org/zigbee2mqtt-frontend attempt 2 failed with ETIMEDOUT
147 http fetch GET https://registry.npmjs.org/zigbee-herdsman attempt 3 failed with ETIMEDOUT
148 silly fetch manifest sd-notify@^2.8.0
149 silly packumentCache full:https://registry.npmjs.org/sd-notify cache-miss
150 http fetch GET https://registry.npmjs.org/zigbee-herdsman-converters attempt 3 failed with ETIMEDOUT
151 http fetch GET https://registry.npmjs.org/zigbee2mqtt-frontend attempt 3 failed with ETIMEDOUT
152 http fetch GET https://registry.npmjs.org/sd-notify attempt 1 failed with ETIMEDOUT
153 http fetch GET https://registry.npmjs.org/sd-notify attempt 2 failed with ETIMEDOUT
154 http fetch GET https://registry.npmjs.org/sd-notify attempt 3 failed with ETIMEDOUT
155 silly fetch manifest ajv@^8.17.1
156 silly packumentCache full:https://registry.npmjs.org/ajv cache-miss
157 http fetch GET https://registry.npmjs.org/ajv attempt 1 failed with ETIMEDOUT
158 http fetch GET https://registry.npmjs.org/ajv attempt 2 failed with ETIMEDOUT
159 http fetch GET https://registry.npmjs.org/ajv attempt 3 failed with ETIMEDOUT
160 silly fetch manifest bind-decorator@^1.0.11
161 silly packumentCache full:https://registry.npmjs.org/bind-decorator cache-miss
162 http fetch GET https://registry.npmjs.org/bind-decorator attempt 1 failed with ETIMEDOUT
163 http fetch GET https://registry.npmjs.org/bind-decorator attempt 2 failed with ETIMEDOUT
164 http fetch GET https://registry.npmjs.org/bind-decorator attempt 3 failed with ETIMEDOUT
165 silly fetch manifest connect-gzip-static@3.0.1
166 silly packumentCache full:https://registry.npmjs.org/connect-gzip-static cache-miss
167 http fetch GET https://registry.npmjs.org/connect-gzip-static attempt 1 failed with ETIMEDOUT
168 http fetch GET https://registry.npmjs.org/connect-gzip-static attempt 2 failed with ETIMEDOUT
169 http fetch GET https://registry.npmjs.org/connect-gzip-static attempt 3 failed with ETIMEDOUT
170 silly fetch manifest debounce@^2.2.0
171 silly packumentCache full:https://registry.npmjs.org/debounce cache-miss
172 http fetch GET https://registry.npmjs.org/debounce attempt 1 failed with ETIMEDOUT
173 http fetch GET https://registry.npmjs.org/debounce attempt 2 failed with ETIMEDOUT
174 http fetch GET https://registry.npmjs.org/debounce attempt 3 failed with ETIMEDOUT
175 silly fetch manifest fast-deep-equal@^3.1.3
176 silly packumentCache full:https://registry.npmjs.org/fast-deep-equal cache-miss
177 http fetch GET https://registry.npmjs.org/fast-deep-equal attempt 1 failed with ETIMEDOUT
178 http fetch GET https://registry.npmjs.org/fast-deep-equal attempt 2 failed with ETIMEDOUT
179 http fetch GET https://registry.npmjs.org/fast-deep-equal attempt 3 failed with ETIMEDOUT
180 silly fetch manifest finalhandler@^1.3.1
181 silly packumentCache full:https://registry.npmjs.org/finalhandler cache-miss
182 http fetch GET https://registry.npmjs.org/finalhandler attempt 1 failed with ETIMEDOUT
183 http fetch GET https://registry.npmjs.org/finalhandler attempt 2 failed with ETIMEDOUT
184 http fetch GET https://registry.npmjs.org/finalhandler attempt 3 failed with ETIMEDOUT
185 silly fetch manifest git-last-commit@^1.0.1
186 silly packumentCache full:https://registry.npmjs.org/git-last-commit cache-miss
187 http fetch GET https://registry.npmjs.org/git-last-commit attempt 1 failed with ETIMEDOUT
188 http fetch GET https://registry.npmjs.org/git-last-commit attempt 2 failed with ETIMEDOUT
189 http fetch GET https://registry.npmjs.org/git-last-commit attempt 3 failed with ETIMEDOUT
190 silly fetch manifest humanize-duration@^3.32.1
191 silly packumentCache full:https://registry.npmjs.org/humanize-duration cache-miss
192 http fetch GET https://registry.npmjs.org/humanize-duration attempt 1 failed with ETIMEDOUT
193 http fetch GET https://registry.npmjs.org/humanize-duration attempt 2 failed with ETIMEDOUT
194 http fetch GET https://registry.npmjs.org/humanize-duration attempt 3 failed with ETIMEDOUT
195 silly fetch manifest js-yaml@^4.1.0
196 silly packumentCache full:https://registry.npmjs.org/js-yaml cache-miss
197 http fetch GET https://registry.npmjs.org/js-yaml attempt 1 failed with ETIMEDOUT
198 http fetch GET https://registry.npmjs.org/js-yaml attempt 2 failed with ETIMEDOUT
199 http fetch GET https://registry.npmjs.org/js-yaml attempt 3 failed with ETIMEDOUT
200 silly fetch manifest json-stable-stringify-without-jsonify@^1.0.1
201 silly packumentCache full:https://registry.npmjs.org/json-stable-stringify-without-jsonify cache-miss
202 http fetch GET https://registry.npmjs.org/json-stable-stringify-without-jsonify attempt 1 failed with ETIMEDOUT
203 http fetch GET https://registry.npmjs.org/json-stable-stringify-without-jsonify attempt 2 failed with ETIMEDOUT
204 http fetch GET https://registry.npmjs.org/json-stable-stringify-without-jsonify attempt 3 failed with ETIMEDOUT
205 silly fetch manifest jszip@^3.10.1
206 silly packumentCache full:https://registry.npmjs.org/jszip cache-miss
207 http fetch GET https://registry.npmjs.org/jszip attempt 1 failed with ETIMEDOUT
208 http fetch GET https://registry.npmjs.org/jszip attempt 2 failed with ETIMEDOUT
209 http fetch GET https://registry.npmjs.org/jszip attempt 3 failed with ETIMEDOUT
210 silly fetch manifest mkdir-recursive@^0.4.0
211 silly packumentCache full:https://registry.npmjs.org/mkdir-recursive cache-miss
212 http fetch GET https://registry.npmjs.org/mkdir-recursive attempt 1 failed with ETIMEDOUT
213 http fetch GET https://registry.npmjs.org/mkdir-recursive attempt 2 failed with ETIMEDOUT
214 http fetch GET https://registry.npmjs.org/mkdir-recursive attempt 3 failed with ETIMEDOUT
215 silly fetch manifest moment@^2.30.1
216 silly packumentCache full:https://registry.npmjs.org/moment cache-miss
217 http fetch GET https://registry.npmjs.org/moment attempt 1 failed with ETIMEDOUT
218 http fetch GET https://registry.npmjs.org/moment attempt 2 failed with ETIMEDOUT
219 http fetch GET https://registry.npmjs.org/moment attempt 3 failed with ETIMEDOUT
220 silly fetch manifest mqtt@^5.10.1
221 silly packumentCache full:https://registry.npmjs.org/mqtt cache-miss
222 http fetch GET https://registry.npmjs.org/mqtt attempt 1 failed with ETIMEDOUT
223 http fetch GET https://registry.npmjs.org/mqtt attempt 2 failed with ETIMEDOUT
224 http fetch GET https://registry.npmjs.org/mqtt attempt 3 failed with ETIMEDOUT
225 silly fetch manifest object-assign-deep@^0.4.0
226 silly packumentCache full:https://registry.npmjs.org/object-assign-deep cache-miss
227 http fetch GET https://registry.npmjs.org/object-assign-deep attempt 1 failed with ETIMEDOUT
228 http fetch GET https://registry.npmjs.org/object-assign-deep attempt 2 failed with ETIMEDOUT
229 http fetch GET https://registry.npmjs.org/object-assign-deep attempt 3 failed with ETIMEDOUT
230 silly fetch manifest rimraf@^6.0.1
231 silly packumentCache full:https://registry.npmjs.org/rimraf cache-miss
232 http fetch GET https://registry.npmjs.org/rimraf attempt 1 failed with ETIMEDOUT
233 http fetch GET https://registry.npmjs.org/rimraf attempt 2 failed with ETIMEDOUT
234 http fetch GET https://registry.npmjs.org/rimraf attempt 3 failed with ETIMEDOUT
235 silly fetch manifest semver@^7.6.3
236 silly packumentCache full:https://registry.npmjs.org/semver cache-miss
237 http fetch GET https://registry.npmjs.org/semver attempt 1 failed with ETIMEDOUT
238 http fetch GET https://registry.npmjs.org/semver attempt 2 failed with ETIMEDOUT
239 http fetch GET https://registry.npmjs.org/semver attempt 3 failed with ETIMEDOUT
240 silly fetch manifest source-map-support@^0.5.21
241 silly packumentCache full:https://registry.npmjs.org/source-map-support cache-miss
242 http fetch GET https://registry.npmjs.org/source-map-support attempt 1 failed with ETIMEDOUT
243 http fetch GET https://registry.npmjs.org/source-map-support attempt 2 failed with ETIMEDOUT
244 http fetch GET https://registry.npmjs.org/source-map-support attempt 3 failed with ETIMEDOUT
245 silly fetch manifest throttleit@^2.1.0
246 silly packumentCache full:https://registry.npmjs.org/throttleit cache-miss
247 http fetch GET https://registry.npmjs.org/throttleit attempt 1 failed with ETIMEDOUT
248 http fetch GET https://registry.npmjs.org/throttleit attempt 2 failed with ETIMEDOUT
249 http fetch GET https://registry.npmjs.org/throttleit attempt 3 failed with ETIMEDOUT
250 silly fetch manifest uri-js@^4.4.1
251 silly packumentCache full:https://registry.npmjs.org/uri-js cache-miss
252 http fetch GET https://registry.npmjs.org/uri-js attempt 1 failed with ETIMEDOUT
253 http fetch GET https://registry.npmjs.org/uri-js attempt 2 failed with ETIMEDOUT
254 http fetch GET https://registry.npmjs.org/uri-js attempt 3 failed with ETIMEDOUT
255 silly fetch manifest winston@^3.15.0
256 silly packumentCache full:https://registry.npmjs.org/winston cache-miss
257 http fetch GET https://registry.npmjs.org/winston attempt 1 failed with ETIMEDOUT
258 http fetch GET https://registry.npmjs.org/winston attempt 2 failed with ETIMEDOUT
259 http fetch GET https://registry.npmjs.org/winston attempt 3 failed with ETIMEDOUT
260 silly fetch manifest winston-syslog@^2.7.1
261 silly packumentCache full:https://registry.npmjs.org/winston-syslog cache-miss
262 http fetch GET https://registry.npmjs.org/winston-syslog attempt 1 failed with ETIMEDOUT
263 http fetch GET https://registry.npmjs.org/winston-syslog attempt 2 failed with ETIMEDOUT
264 http fetch GET https://registry.npmjs.org/winston-syslog attempt 3 failed with ETIMEDOUT
265 silly fetch manifest winston-transport@^4.8.0
266 silly packumentCache full:https://registry.npmjs.org/winston-transport cache-miss
267 http fetch GET https://registry.npmjs.org/winston-transport attempt 1 failed with ETIMEDOUT
268 http fetch GET https://registry.npmjs.org/winston-transport attempt 2 failed with ETIMEDOUT
269 http fetch GET https://registry.npmjs.org/winston-transport attempt 3 failed with ETIMEDOUT
270 silly fetch manifest ws@^8.18.0
271 silly packumentCache full:https://registry.npmjs.org/ws cache-miss
272 http fetch GET https://registry.npmjs.org/ws attempt 1 failed with ETIMEDOUT
273 http fetch GET https://registry.npmjs.org/ws attempt 2 failed with ETIMEDOUT
274 http fetch GET https://registry.npmjs.org/ws attempt 3 failed with ETIMEDOUT
275 silly fetch manifest zigbee-herdsman@2.1.7
276 silly packumentCache full:https://registry.npmjs.org/zigbee-herdsman cache-miss
277 http fetch GET https://registry.npmjs.org/zigbee-herdsman attempt 1 failed with ETIMEDOUT
278 http fetch GET https://registry.npmjs.org/zigbee-herdsman attempt 2 failed with ETIMEDOUT
279 http fetch GET https://registry.npmjs.org/zigbee-herdsman attempt 3 failed with ETIMEDOUT
280 silly fetch manifest zigbee-herdsman-converters@20.38.0
281 silly packumentCache full:https://registry.npmjs.org/zigbee-herdsman-converters cache-miss
282 http fetch GET https://registry.npmjs.org/zigbee-herdsman-converters attempt 1 failed with ETIMEDOUT
283 http fetch GET https://registry.npmjs.org/zigbee-herdsman-converters attempt 2 failed with ETIMEDOUT
284 http fetch GET https://registry.npmjs.org/zigbee-herdsman-converters attempt 3 failed with ETIMEDOUT
285 silly fetch manifest zigbee2mqtt-frontend@0.7.4
286 silly packumentCache full:https://registry.npmjs.org/zigbee2mqtt-frontend cache-miss
287 http fetch GET https://registry.npmjs.org/zigbee2mqtt-frontend attempt 1 failed with ETIMEDOUT
288 http fetch GET https://registry.npmjs.org/zigbee2mqtt-frontend attempt 2 failed with ETIMEDOUT
289 http fetch GET https://registry.npmjs.org/zigbee2mqtt-frontend attempt 3 failed with ETIMEDOUT
290 silly fetch manifest sd-notify@^2.8.0
291 silly packumentCache full:https://registry.npmjs.org/sd-notify cache-miss
292 http fetch GET https://registry.npmjs.org/sd-notify attempt 1 failed with ETIMEDOUT
293 http fetch GET https://registry.npmjs.org/sd-notify attempt 2 failed with ETIMEDOUT
294 http fetch GET https://registry.npmjs.org/sd-notify attempt 3 failed with ETIMEDOUT
295 silly placeDep node_modules/zigbee2mqtt ajv@ OK for: zigbee2mqtt@1.41.0 want: ^8.17.1
296 silly placeDep node_modules/zigbee2mqtt bind-decorator@ OK for: zigbee2mqtt@1.41.0 want: ^1.0.11
297 silly placeDep node_modules/zigbee2mqtt connect-gzip-static@ OK for: zigbee2mqtt@1.41.0 want: 3.0.1
298 silly placeDep node_modules/zigbee2mqtt debounce@ OK for: zigbee2mqtt@1.41.0 want: ^2.2.0
299 silly placeDep node_modules/zigbee2mqtt fast-deep-equal@ OK for: zigbee2mqtt@1.41.0 want: ^3.1.3
300 silly placeDep node_modules/zigbee2mqtt finalhandler@ OK for: zigbee2mqtt@1.41.0 want: ^1.3.1
301 silly placeDep node_modules/zigbee2mqtt git-last-commit@ OK for: zigbee2mqtt@1.41.0 want: ^1.0.1
302 silly placeDep node_modules/zigbee2mqtt humanize-duration@ OK for: zigbee2mqtt@1.41.0 want: ^3.32.1
303 silly placeDep node_modules/zigbee2mqtt js-yaml@ OK for: zigbee2mqtt@1.41.0 want: ^4.1.0
304 silly placeDep node_modules/zigbee2mqtt json-stable-stringify-without-jsonify@ OK for: zigbee2mqtt@1.41.0 want: ^1.0.1
305 silly placeDep node_modules/zigbee2mqtt jszip@ OK for: zigbee2mqtt@1.41.0 want: ^3.10.1
306 silly placeDep node_modules/zigbee2mqtt mkdir-recursive@ OK for: zigbee2mqtt@1.41.0 want: ^0.4.0
307 silly placeDep node_modules/zigbee2mqtt moment@ OK for: zigbee2mqtt@1.41.0 want: ^2.30.1
308 silly placeDep node_modules/zigbee2mqtt mqtt@ OK for: zigbee2mqtt@1.41.0 want: ^5.10.1
309 silly placeDep node_modules/zigbee2mqtt object-assign-deep@ OK for: zigbee2mqtt@1.41.0 want: ^0.4.0
310 silly placeDep node_modules/zigbee2mqtt rimraf@ OK for: zigbee2mqtt@1.41.0 want: ^6.0.1
311 silly placeDep node_modules/zigbee2mqtt sd-notify@ OK for: zigbee2mqtt@1.41.0 want: ^2.8.0
312 silly placeDep node_modules/zigbee2mqtt semver@ OK for: zigbee2mqtt@1.41.0 want: ^7.6.3
313 silly placeDep node_modules/zigbee2mqtt source-map-support@ OK for: zigbee2mqtt@1.41.0 want: ^0.5.21
314 silly placeDep node_modules/zigbee2mqtt throttleit@ OK for: zigbee2mqtt@1.41.0 want: ^2.1.0
315 silly placeDep node_modules/zigbee2mqtt uri-js@ OK for: zigbee2mqtt@1.41.0 want: ^4.4.1
316 silly placeDep node_modules/zigbee2mqtt winston@ OK for: zigbee2mqtt@1.41.0 want: ^3.15.0
317 silly placeDep node_modules/zigbee2mqtt winston-syslog@ OK for: zigbee2mqtt@1.41.0 want: ^2.7.1
318 silly placeDep node_modules/zigbee2mqtt winston-transport@ OK for: zigbee2mqtt@1.41.0 want: ^4.8.0
319 silly placeDep node_modules/zigbee2mqtt ws@ OK for: zigbee2mqtt@1.41.0 want: ^8.18.0
320 silly placeDep node_modules/zigbee2mqtt zigbee-herdsman@ OK for: zigbee2mqtt@1.41.0 want: 2.1.7
321 silly placeDep node_modules/zigbee2mqtt zigbee-herdsman-converters@ OK for: zigbee2mqtt@1.41.0 want: 20.38.0
322 silly placeDep node_modules/zigbee2mqtt zigbee2mqtt-frontend@ OK for: zigbee2mqtt@1.41.0 want: 0.7.4
323 verbose type system
324 verbose stack FetchError: request to https://registry.npmjs.org/ajv failed, reason:
324 verbose stack at ClientRequest.<anonymous> (/usr/local/lib/node_modules/minipass-fetch/lib/index.js:130:14)
324 verbose stack at ClientRequest.emit (node:events:519:28)
324 verbose stack at emitErrorEvent (node:_http_client:108:11)
324 verbose stack at _destroy (node:_http_client:891:9)
324 verbose stack at onSocketNT (node:_http_client:911:5)
324 verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
325 error code ETIMEDOUT
326 error errno ETIMEDOUT
327 error network request to https://registry.npmjs.org/ajv failed, reason:
328 error network This is a problem related to network connectivity.
328 error network In most cases you are behind a proxy or have bad network settings.
328 error network
328 error network If you are behind a proxy, please make sure that the
328 error network 'proxy' config is set properly. See: 'npm help config'
329 silly unfinished npm timer reify 1732839832459
330 silly unfinished npm timer reify:loadTrees 1732839832553
331 verbose cwd /usr/ports/pobj/zigbee2mqtt-1.41.0/zigbee2mqtt-1.41.0
332 verbose os OpenBSD 7.6
333 verbose node v20.17.0
334 verbose npm v10.8.2
335 verbose exit 1
336 verbose code 1
337 error A complete log of this run can be found in: /usr/ports/pobj/zigbee2mqtt-1.41.0/npm-cache/_logs/2024-11-29T00_23_49_129Z-debug-0.log

Thanks Stuart,

You made a really nice example of node ports. I wouldn't been capable of dong that

I tried building it on my Raspberrry Pi which doesn't have much internet.

I copied the files first:
$ ls /usr/ports/distfiles/                                                                                                                        
zigbee2mqtt-1.41.0-vendor.tar.xz        zigbee2mqtt-1.41.0.tar.gz

The build went OK but fake wants something from network. I think it shouldn't do that..

Best regards,
Hannu Vuolasaho

ke 27.11.2024 klo 16.16 Zé Loff (zeloff@zeloff.org) kirjoitti:
On Wed, Nov 27, 2024 at 01:52:50PM +0000, Laurence Tratt wrote:
> On Wed, Nov 27, 2024 at 01:08:51PM +0000, Stuart Henderson wrote:
>
> Hello Stuart,
>
> >> One minor thing: I wonder if suggesting mosquitto in `pkg/DESCR` is the
> >> right thing on OpenBSD?
> >>
> >> There is a very long-standing bug (I first experienced it a few years
> >> back, and it's still present as of a week or two back) on some
> >> platforms, including OpenBSD, where mosquitto uses 100% CPU when clients
> >> disconnect [1]. It baffled me for ages!
> >>
> >> Personally, as someone experimenting with zigbee2mqtt in the last couple
> >> of weeks, I switched to rabbitmq, which seems to have no such issues.
> >>
> >> [1] https://github.com/eclipse-mosquitto/mosquitto/issues/2807
> > Interesting, I've been running mosquitto since at least 2022 and so far
> > bit's been behaving itself quite well.
>
> The problem seems to be solely about whether a client with id X
> disconnects: if it stays connected (including reconnects), there's no
> problem; if it disconnects, CPU usage can go to 100%. I've run a default
> config mosquitto and seen this problem on two machines (both with low
> mosquitto usage), though it took me ages to realise what the cause was! If
> your clients stay connected all, or at least most, of the time, I doubt
> you'd see this problem. It also seems like it might only affect BSD
> platforms, though I'm not totally certain about that.
>
>
> Laurie
>

FWIW, I've been using mosquitto for at least three years, brokering
messages between zigbee2mqtt, telegraf and some WiFi-based Shelly
devices (power meters, metered switches, metered plugs, plain
switches,...), with no problems.  I have "persistent_session = false" on
telegraf's MQTT client configuration, but I had no issues when this was
set to true anyway.

I just checked, and I can't reproduce the issue.  Running mosquitto on
host A, and with a telegraf client on host B, shutting down telegraf is
noted by mosquitto ("Client telegraf disconnected") but has no impact on
its CPU usage, everything continues as normal.  The same happens when
rebooting one of the metered switches (which also subscribes to MQTT):
mosquitto logs the disconnection, but CPU usage remains largely
unchanged.

--

No comments:

Post a Comment