Package Details: ssb-patchwork 3.16.2-1

Git Clone URL: https://aur.archlinux.org/ssb-patchwork.git (read-only)
Package Base: ssb-patchwork
Description: A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)
Upstream URL: https://github.com/ssbc/patchwork
Keywords: decentralized gossip network patchwork scuttlebutt ssb
Licenses: AGPL3
Submitter: dlandau
Maintainer: dlandau (pypper, christianbundy)
Last Packager: christianbundy
Votes: 15
Popularity: 0.298642
First Submitted: 2017-09-09 19:25
Last Updated: 2019-08-21 04:46

Latest Comments

1 2 3 4 Next › Last »

beroal commented on 2019-06-05 10:08

"env" does not output any variable name containing "NODE". Sorry, I know nothing about Node.js, Electron, or NPM, so probably, I am doing something wrong. Should we move this discussion to the forums? BTW, should this package depend on "electron" or "electron2"? "PKGBUILD" is running the "electron" command which the "electron2" package does not contain. Versions:

electron 4.1.4-1
electron2 2.0.18-1
node-gyp 4.0.0-1
nodejs 11.15.0-1
npm 6.9.0-1

christianbundy commented on 2019-06-05 01:25

@beroal: Sorry to hear you're having a rough time trying to get this installed. Could you check the output of env and ensure you don't have any NODE_ options set? The PKGBUILD should be setting a different Node version (to target Electron) and I don't think it should be trying to download headers for Node.js 11.15.0 at all.

beroal commented on 2019-06-04 22:15

@Powersource I tried to build in a clean directory. The same error.

Powersource commented on 2019-06-04 21:56

@beroal It "works for me". Could you try clearing that build dir, downloading & installing stuff again, and see if it works then?

beroal commented on 2019-06-04 18:38

I can't compile this.

==> Making package: ssb-patchwork 3.12.0-1 (Tue 04 Jun 2019 09:37:18 PM EEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v3.12.0.tar.gz
  -> Found run.sh
  -> Found ssb-patchwork.desktop
==> Validating source files with sha512sums...
    v3.12.0.tar.gz ... Passed
    run.sh ... Passed
    ssb-patchwork.desktop ... Passed
==> Extracting sources...
  -> Extracting v3.12.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...

(electron:28977): Gtk-WARNING **: 21:37:18.739: cannot open display:

> @felixrieseberg/spellchecker@4.0.8 install /var/abs/local/ssb-patchwork/src/patchwork-3.12.0/node_modules/@felixrieseberg/spellchecker > node-gyp rebuild

gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: 404 response downloading https://atom.io/download/electron/v11.15.0/node-v11.15.0-headers.tar.gz gyp ERR! stack at Request.<anonymous> (/usr/lib/node_modules/node-gyp/lib/install.js:204:14) gyp ERR! stack at Request.emit (events.js:198:15) gyp ERR! stack at Request.onRequestResponse (/usr/lib/node_modules/node-gyp/node_modules/request/request.js:1066:10) gyp ERR! stack at ClientRequest.emit (events.js:193:13) gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:560:23) gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:113:17) gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:447:22) gyp ERR! stack at TLSSocket.emit (events.js:193:13) gyp ERR! stack at addChunk (_stream_readable.js:295:12) gyp ERR! stack at readableAddChunk (_stream_readable.js:276:11) gyp ERR! System Linux 5.1.6-arch1-1-ARCH gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/abs/local/ssb-patchwork/src/patchwork-3.12.0/node_modules/@felixrieseberg/spellchecker gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v4.0.0 gyp ERR! not ok npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @felixrieseberg/spellchecker@4.0.8 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @felixrieseberg/spellchecker@4.0.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/compile/.electron-gyp/.npm/_logs/2019-06-04T18_37_30_087Z-debug.log ==> ERROR: A failure occurred in build(). Aborting...

makeworld commented on 2019-03-18 00:34

Error installing with the new update:

In file included from /home/makeworld/.node-gyp/iojs-2.0.18/src/node.h:63,
                 from ../binding.cc:1:
/home/makeworld/.node-gyp/iojs-2.0.18/deps/v8/include/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/makeworld/.node-gyp/iojs-2.0.18/src/node_object_wrap.h:85:78:   required from here
/home/makeworld/.node-gyp/iojs-2.0.18/deps/v8/include/v8.h:9199: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]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/makeworld/.node-gyp/iojs-2.0.18/deps/v8/include/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:66:61:   required from here
/home/makeworld/.node-gyp/iojs-2.0.18/deps/v8/include/v8.h:9199: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]
make: *** [sodium.target.mk:117: Release/obj.target/sodium/binding.o] Error 1
make: Leaving directory '/home/makeworld/.cache/yay/ssb-patchwork/src/patchwork-3.11.5/node_modules/sodium-native/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:197:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 5.0.0-arch1-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/makeworld/.cache/yay/ssb-patchwork/src/patchwork-3.11.5/node_modules/sodium-native
gyp ERR! node -v v11.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sodium-native@2.2.2 install: `node-gyp-build "node preinstall.js" "node postinstall.js"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the sodium-native@2.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/makeworld/.npm/_logs/2019-03-18T00_30_07_658Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
Error making: ssb-patchwork

christianbundy commented on 2019-02-13 16:37

Nevermind, it looks like I was using a Node LTS whereas you two were most likely using nodejs latest. I've pushed a fix that just installs for the Electron version, whereas previously we were installing for your current Node version and then rebuilding for the Electron version.

christianbundy commented on 2019-02-13 16:09

xanc and kode54: could you give some more information about your system? For example, could you verify that you're 100% up-to-date with pacman -Syu and let me know which versions of nodejs/npm you're using? I'd love to help debug these issues.

xanc commented on 2019-02-13 13:26

During build process, I get an error:

../../../../nan/nan_object_wrap.h:66:61: required from here /home/xan/.node-gyp/iojs-2.0.17/deps/v8/include/v8.h:9199: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] make: *** [sodium.target.mk:117: Release/obj.target/sodium/binding.o] Error 1 make: Leaving directory '/home/xan/aur/patchwork-scuttlebutt/ssb-patchwork/src/patchwork-3.11.4/node_modules/private-box/node_modules/sodium-native/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:197:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! System Linux 4.19.20-1-lts gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/xan/aur/patchwork-scuttlebutt/ssb-patchwork/src/patchwork-3.11.4/node_modules/private-box/node_modules/sodium-native gyp ERR! node -v v11.9.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sodium-native@2.2.2 install: node-gyp-build "node preinstall.js" "node postinstall.js" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sodium-native@2.2.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/xan/.npm/_logs/2019-02-13T13_25_17_583Z-debug.log ==> ERROR: S'ha produït un error a build(). Cancel·lant...

makeworld commented on 2019-01-22 02:24

@christianbundy @dlandau could you update the package to replace the some files with the work @kode54 has done? Thanks.