alfredopalhares / arch-pkgbuilds

Alfredo's Arch Linux PKGBUILDs
38 stars 23 forks source link

1.0.201 build error in Manjaro #52

Closed johnzantey closed 4 years ago

johnzantey commented 4 years ago

Hi there, been trying up upgrade but get these errors.. 1.0.200 went through flawlessly, this one not so much. TY for making this available, and hope this issue gets resolved (without me reinstalling)!

Same error with yay and/or pamac with AUR enabled

screen message:

> Joplin@1.0.201 dist /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient
> electron-builder

  • electron-builder  version=22.3.2 os=5.4.31-1-MANJARO
  • loaded configuration  file=package.json ("build" field)
  • electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies

To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
  • writing effective config  file=dist/builder-effective-config.yaml
  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=linux arch=x64 electron=7.1.14 appOutDir=dist/linux-unpacked
  • building        target=AppImage arch=x64 file=dist/Joplin-1.0.201.AppImage
  ⨯ open /home/jzantey/.cache/electron-builder/appimage/appimage-12.0.1/runtime-x64: no such file or directory
github.com/develar/app-builder/pkg/package-format/appimage.AppImage
    /Volumes/data/Documents/app-builder/pkg/package-format/appimage/appImage.go:110
github.com/develar/app-builder/pkg/package-format/appimage.ConfigureCommand.func1
    /Volumes/data/Documents/app-builder/pkg/package-format/appimage/appImage.go:59
github.com/alecthomas/kingpin.(*actionMixin).applyActions
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
0 info it worked if it ends with ok
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:222
main.main
    /Volumes/data/Documents/app-builder/main.go:90
runtime.main
    /usr/local/Cellar/go/1.13.6/libexec/src/runtime/proc.go:203
runtime.goexit
    /usr/local/Cellar/go/1.13.6/libexec/src/runtime/asm_amd64.s:1357  
  ⨯ /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient/node_modules/builder-util/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  stackTrace=
                                                                                                                                                                                                               Error: /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient/node_modules/builder-util/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                                                                                                                                                                   at ChildProcess.<anonymous> (/var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient/node_modules/builder-util/src/util.ts:239:14)
                                                                                                                                                                                                                   at Object.onceWrapper (events.js:300:26)
                                                                                                                                                                                                                   at ChildProcess.emit (events.js:210:5)
                                                                                                                                                                                                                   at maybeClose (internal/child_process.js:1021:16)
                                                                                                                                                                                                                   at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Joplin@1.0.201 dist: `electron-builder`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the Joplin@1.0.201 dist 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/jzantey/.npm/_logs/2020-04-19T01_37_48_697Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...

log file:

github.com/alecthomas/kingpin.(*Application).applyActions
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/home/jzantey/.nvm/versions/node/v12.13.0/bin/node',
1 verbose cli   '/home/jzantey/.nvm/versions/node/v12.13.0/bin/npm',
1 verbose cli   'run',
1 verbose cli   'dist'
1 verbose cli ]
2 info using npm@6.14.4
3 info using node@v12.13.0
4 verbose run-script [ 'predist', 'dist', 'postdist' ]
5 info lifecycle Joplin@1.0.201~predist: Joplin@1.0.201
6 info lifecycle Joplin@1.0.201~dist: Joplin@1.0.201
7 verbose lifecycle Joplin@1.0.201~dist: unsafe-perm in lifecycle true
8 verbose lifecycle Joplin@1.0.201~dist: PATH: /home/jzantey/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/Electro
nClient/node_modules/.bin:/home/jzantey/.nvm/versions/node/v12.13.0/bin:/home/jzantey/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/
bin/core_perl:/var/lib/snapd/snap/bin:/home/jzantey/applications
9 verbose lifecycle Joplin@1.0.201~dist: CWD: /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient
10 silly lifecycle Joplin@1.0.201~dist: Args: [ '-c', 'electron-builder' ]
11 silly lifecycle Joplin@1.0.201~dist: Returned: code: 1  signal: null
12 info lifecycle Joplin@1.0.201~dist: Failed to exec dist script
13 verbose stack Error: Joplin@1.0.201 dist: `electron-builder`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/home/jzantey/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:210:5)
13 verbose stack     at ChildProcess.<anonymous> (/home/jzantey/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:210:5)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid Joplin@1.0.201
15 verbose cwd /var/tmp/pamac-build-jzantey/joplin/src/joplin-1.0.201/ElectronClient
16 verbose Linux 5.4.31-1-MANJARO
17 verbose argv "/home/jzantey/.nvm/versions/node/v12.13.0/bin/node" "/home/jzantey/.nvm/versions/node/v12.13.0/bin/npm" "run" "dist"
18 verbose node v12.13.0
19 verbose npm  v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error Joplin@1.0.201 dist: `electron-builder`
22 error Exit status 1
23 error Failed at the Joplin@1.0.201 dist script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
alfredopalhares commented 4 years ago

@johnzantey can you try with the latest version?

johnzantey commented 4 years ago

Hi @alfredopalhares Thank you - this worked :)