Package Details: webthings-gateway 1.0.0-3

Git Clone URL: https://aur.archlinux.org/webthings-gateway.git (read-only, click to copy)
Package Base: webthings-gateway
Description: WebThings Gateway
Upstream URL: https://webthings.io/gateway/
Licenses: MPL2
Submitter: mrstegeman
Maintainer: None
Last Packager: mrstegeman
Votes: 3
Popularity: 0.000000
First Submitted: 2019-11-29 06:50 (UTC)
Last Updated: 2021-02-04 07:19 (UTC)

Dependencies (14)

Required by (0)

Sources (7)

Latest Comments

Adriction commented on 2020-07-27 17:03 (UTC)

Well I sorted it out.

Apparently node outputting KILLED and exiting is often caused by running out of memory.

And I was testing on a 2G VM. Assigning 4G did the trick.

Cheers

Adriction commented on 2020-07-27 16:36 (UTC) (edited on 2020-07-27 16:37 (UTC) by Adriction)

Wait I lied

node -v -> v10.20.1

I looked on the wrong machine

Adriction commented on 2020-07-27 16:29 (UTC) (edited on 2020-07-27 16:31 (UTC) by Adriction)

Well I was trusting pamac to resolve dependencies but it seems no node version is installed..

Is the nodejs package (14.5.0-1) the one I should install?

mrstegeman commented on 2020-07-27 15:57 (UTC)

What version of node are you using to build? I've never seen webpack die like that.

Adriction commented on 2020-07-27 15:02 (UTC)

When I want to build this package I get the following error happening in build(). I can't seem to find the cause. Does someone have an idea?

Preparing... Cloning webthings-gateway build files... Checking webthings-gateway dependencies... Resolving dependencies... Checking inter-conflicts...

Building webthings-gateway...
==> Making package: webthings-gateway 0.12.0-1 (Mo 27 Jul 2020 16:31:00 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found webthings-gateway-0.12.0.tar.gz
  -> Found webthings-gateway.conf
  -> Found webthings-gateway.install
  -> Found webthings-gateway.profile
  -> Found webthings-gateway.service
  -> Found webthings-gateway.sh
  -> Found webthings-gateway.sysusers
==> Validating source files with sha256sums...
    webthings-gateway-0.12.0.tar.gz ... Passed
    webthings-gateway.conf ... Passed
    webthings-gateway.install ... Passed
    webthings-gateway.profile ... Passed
    webthings-gateway.service ... Passed
    webthings-gateway.sh ... Passed
    webthings-gateway.sysusers ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting webthings-gateway-0.12.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...

> sqlite3@4.1.1 install /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
[sqlite3] Success: "/var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" is installed via remote

> segfault-handler@1.3.0 install /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/segfault-handler
> node-gyp rebuild

make: Entering directory '/var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/segfault-handler/build'
  CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
In file included from ../src/segfault-handler.cpp:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
 2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:54,
                 from ../src/segfault-handler.cpp:2:
../src/segfault-handler.cpp: At global scope:
/home/ad/.cache/node-gyp/10.20.1/include/node/node.h:573:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  573 |       (node::addon_register_func) (regfunc),                          \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ad/.cache/node-gyp/10.20.1/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
  607 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/segfault-handler.cpp:346:3: note: in expansion of macro ‘NODE_MODULE’
  346 |   NODE_MODULE(segfault_handler, init)
      |   ^~~~~~~~~~~
In file included from /home/ad/.cache/node-gyp/10.20.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/segfault-handler.cpp:2:
/home/ad/.cache/node-gyp/10.20.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/ad/.cache/node-gyp/10.20.1/include/node/node_object_wrap.h:84:78:   required from here
/home/ad/.cache/node-gyp/10.20.1/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
 9502 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ad/.cache/node-gyp/10.20.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/home/ad/.cache/node-gyp/10.20.1/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  SOLINK_MODULE(target) Release/obj.target/segfault-handler.node
  COPY Release/segfault-handler.node
make: Leaving directory '/var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/segfault-handler/build'

> fsevents@1.2.12 install /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

make: Entering directory '/var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/chokidar/node_modules/fsevents/build'
  SOLINK_MODULE(target) Release/obj.target/.node
  COPY Release/.node
make: Leaving directory '/var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/chokidar/node_modules/fsevents/build'

> optipng-bin@6.0.0 postinstall /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> jpegtran-bin@4.0.0 postinstall /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully

> gifsicle@5.0.0 postinstall /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/gifsicle
> node lib/install.js

  ⚠ Response code 404 (Not Found)
  ⚠ gifsicle pre-build test failed
  ℹ compiling from source
  ✔ gifsicle built successfully

> core-js@3.6.4 postinstall /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js@2.6.11 postinstall /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/node_modules/@babel/polyfill/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

added 1862 packages in 32.537s
ℹ 「atl」: Using typescript@3.8.3 from typescript
ℹ 「atl」: Using tsconfig.json from /var/tmp/pamac-build-ad/webthings-gateway/src/gateway-0.12.0/tsconfig.json
ℹ 「atl」: Checking started in a separate process...
ℹ 「atl」: Time: 3684ms
/var/tmp/pamac-build-ad/webthings-gateway/PKGBUILD: line 50:  4054 Killed                  ./node_modules/.bin/webpack
==> ERROR: A failure occurred in build().
    Aborting...