alfredopalhares / arch-pkgbuilds

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

Build fails on version 2.7.15 #115

Closed linkages closed 9 months ago

linkages commented 2 years ago

Trying to install the latest joplin from the AUR using yay and it fails. It is failing in the build() part of makepkg. Here is the output from that phase:

==> Starting build()... -> Yarn cache directory: /tmp/makepkg/build/joplin/src/yarn-cache -> Installing dependencies through Yarn 3... ➤ YN0000: ┌ Resolution step ➤ YN0061: │ rollup-plugin-replace@npm:2.2.0 is deprecated: This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained. ➤ YN0061: │ rollup-plugin-commonjs@npm:8.4.1 is deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-commonjs. ➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 ➤ YN0032: │ keytar@npm:7.9.0: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ rollup-plugin-node-resolve@npm:3.4.0 is deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve. ➤ YN0061: │ request@npm:2.79.0 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 ➤ YN0032: │ sharp@npm:0.25.4: Implicit dependencies on node-gyp are discouraged ➤ YN0032: │ sharp@npm:0.26.3: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. ➤ YN0061: │ formidable@npm:1.2.6 is deprecated: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau ➤ YN0032: │ nan@npm:2.14.2: Implicit dependencies on node-gyp are discouraged ➤ YN0032: │ nan@npm:2.15.0: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ chokidar@npm:1.7.0 is deprecated: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. ➤ YN0061: │ @joeattardi/emoji-button@npm:4.6.4 is deprecated: Emoji Button is now PicMo! Please install the 'picmo' package, see https://picmojs.com for details ➤ YN0061: │ request-promise-native@npm:1.0.9 is deprecated: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 ➤ YN0061: │ left-pad@npm:1.3.0 is deprecated: use String.prototype.padStart() ➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated ➤ YN0061: │ source-map-resolve@npm:0.6.0 is deprecated: See https://github.com/lydell/source-map-resolve#deprecated ➤ YN0061: │ source-map-resolve@npm:0.5.3 is deprecated: See https://github.com/lydell/source-map-resolve#deprecated ➤ YN0061: │ ecstatic@npm:3.3.2 is deprecated: This package is unmaintained and deprecated. See the GH Issue 259. ➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported ➤ YN0061: │ har-validator@npm:2.0.6 is deprecated: this library is no longer supported ➤ YN0032: │ node-addon-api@npm:4.3.0: Implicit dependencies on node-gyp are discouraged ➤ YN0032: │ node-addon-api@npm:3.2.1: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ @braintree/sanitize-url@npm:3.1.0 is deprecated: Potential XSS vulnerability patched in v6.0.0. ➤ YN0061: │ node-pre-gyp@npm:0.11.0 is deprecated: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future ➤ YN0061: │ highlight.js@npm:9.12.0 is deprecated: Version no longer supported. Upgrade to @latest ➤ YN0061: │ hawk@npm:3.1.3 is deprecated: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. ➤ YN0061: │ later@npm:1.2.0 is deprecated: Please upgrade to the maintained and new drop-in replacement @breejs/later at https://github.com/breejs/later 🚀 Thanks and happy hacking! 🚀 @niftylettuce ➤ YN0032: │ lzma-native@npm:8.0.6: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ uuid@npm:3.3.2 is deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. ➤ YN0061: │ source-map-url@npm:0.4.1 is deprecated: See https://github.com/lydell/source-map-url#deprecated ➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated ➤ YN0061: │ chokidar@npm:2.1.8 is deprecated: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies ➤ YN0061: │ read-package-tree@npm:5.3.1 is deprecated: The functionality that this package provided is now in @npmcli/arborist ➤ YN0061: │ @evocateur/pacote@npm:9.6.5 is deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. ➤ YN0061: │ @evocateur/npm-registry-fetch@npm:4.0.0 is deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. ➤ YN0061: │ querystring@npm:0.2.0 is deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. ➤ YN0061: │ @evocateur/libnpmaccess@npm:3.1.2 is deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. ➤ YN0061: │ cryptiles@npm:2.0.5 is deprecated: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). ➤ YN0061: │ sntp@npm:1.0.9 is deprecated: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. ➤ YN0061: │ hoek@npm:2.16.3 is deprecated: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). ➤ YN0061: │ boom@npm:2.10.1 is deprecated: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). ➤ YN0061: │ core-js@npm:2.6.12 is deprecated: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. ➤ YN0061: │ flatten@npm:1.0.3 is deprecated: flatten is deprecated in favor of utility frameworks such as lodash. ➤ YN0032: │ evp_bytestokey@npm:1.0.3: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ dmg-license@npm:1.0.11 is deprecated: Disk image license agreements are deprecated by Apple and will probably be removed in a future macOS release. Discussion at: https://github.com/argv-minus-one/dmg-license/issues/11 ➤ YN0061: │ circular-json@npm:0.3.3 is deprecated: CircularJSON is in maintenance only, flatted is its successor. ➤ YN0061: │ sane@npm:4.1.0 is deprecated: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added ➤ YN0061: │ @evocateur/libnpmpublish@npm:1.2.2 is deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. ➤ YN0032: │ node-addon-api@npm:1.7.2: Implicit dependencies on node-gyp are discouraged ➤ YN0061: │ mkdirp-promise@npm:5.0.1 is deprecated: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. ➤ YN0060: │ @joplin/app-desktop@workspace:packages/app-desktop provides react (p420ff) with version 16.13.1, which doesn't satisfy what react-test-renderer requests ➤ YN0060: │ @joplin/app-desktop@workspace:packages/app-desktop provides react-dom (pe622f) with version 16.9.0, which doesn't satisfy what re-resizable requests ➤ YN0002: │ @joplin/app-desktop@workspace:packages/app-desktop doesn't provide react-is (p0cdf0), requested by styled-components ➤ YN0060: │ @joplin/fork-htmlparser2@workspace:packages/fork-htmlparser2 provides eslint (p4ecde) with version 6.8.0, which doesn't satisfy what @typescript-eslint/eslint-plugin and some of its descendants request ➤ YN0060: │ @joplin/fork-htmlparser2@workspace:packages/fork-htmlparser2 provides eslint (p83f76) with version 6.8.0, which doesn't satisfy what @typescript-eslint/parser requests ➤ YN0060: │ @joplin/fork-htmlparser2@workspace:packages/fork-htmlparser2 provides jest (pa940f) with version 26.6.3, which doesn't satisfy what ts-jest requests ➤ YN0060: │ @joplin/server@workspace:packages/server provides sqlite3 (pe5604) with version 4.2.0, which doesn't satisfy what @rmp135/sql-ts requests ➤ YN0060: │ @joplin/server@workspace:packages/server provides sqlite3 (p05a2d) with version 4.2.0, which doesn't satisfy what knex requests ➤ YN0002: │ @octokit/rest@npm:16.43.2 doesn't provide @octokit/core (p84523), requested by @octokit/plugin-request-log ➤ YN0060: │ root@workspace:. provides eslint (p2edfe) with version 7.32.0, which doesn't satisfy what eslint-plugin-react-hooks requests ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code ➤ YN0000: └ Completed in 33s 454ms ➤ YN0000: ┌ Fetch step ➤ YN0013: │ yeoman-generator@npm:2.0.5 can't be found in the cache and will be fetched from the remote registry ➤ YN0013: │ yeoman-generator@npm:4.13.0 can't be found in the cache and will be fetched from the remote registry ➤ YN0013: │ ylru@npm:1.3.2 can't be found in the cache and will be fetched from the remote registry ➤ YN0013: │ yosay@npm:2.0.2 can't be found in the cache and will be fetched from the remote registry ➤ YN0013: │ zxcvbn@npm:4.4.2 can't be found in the cache and will be fetched from the remote registry ➤ YN0000: └ Completed in 5s 316ms ➤ YN0000: ┌ Link step ➤ YN0076: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=18f3a7 The linux-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=18f3a7 The linux-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ 7zip-bin-mac@npm:1.0.1 The linux-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ 7zip-bin-win@npm:2.2.0 The linux-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ dmg-license@npm:1.0.11 The linux-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ iconv-corefoundation@npm:1.1.7 The linux-x64 architecture is incompatible with this module, link skipped. ➤ YN0007: │ @joplin/app-clipper@workspace:packages/app-clipper must be built because it never has been before or the last one failed ➤ YN0007: │ nodemon@npm:2.0.16 must be built because it never has been before or the last one failed ➤ YN0007: │ keytar@npm:7.9.0 must be built because it never has been before or the last one failed ➤ YN0007: │ sharp@npm:0.26.3 must be built because it never has been before or the last one failed ➤ YN0007: │ sqlite3@npm:5.0.8 [ea905] must be built because it never has been before or the last one failed ➤ YN0007: │ es5-ext@npm:0.10.61 must be built because it never has been before or the last one failed ➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed ➤ YN0007: │ sharp@npm:0.25.4 must be built because it never has been before or the last one failed ➤ YN0007: │ @fortawesome/fontawesome-free@npm:5.15.4 must be built because it never has been before or the last one failed ➤ YN0007: │ electron@npm:14.1.0 must be built because it never has been before or the last one failed ➤ YN0007: │ lzma-native@npm:8.0.6 must be built because it never has been before or the last one failed ➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:0.2.36 must be built because it never has been before or the last one failed ➤ YN0007: │ ejs@npm:2.7.4 must be built because it never has been before or the last one failed ➤ YN0007: │ sqlite3@npm:4.2.0 must be built because it never has been before or the last one failed ➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed ➤ YN0007: │ @joplin/app-desktop@workspace:packages/app-desktop must be built because it never has been before or the last one failed ➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:1.2.36 must be built because it never has been before or the last one failed ➤ YN0007: │ @fortawesome/free-regular-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed ➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed ➤ YN0009: │ root@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-53da42cd/build.log) ➤ YN0000: └ Completed in 1m 55s ➤ YN0000: Failed with errors in 2m 35s ==> ERROR: A failure occurred in build(). Aborting... -> error making: joplin (joplin-desktop)

This looks like it gets to this part in the PKGBUILD:

  msg2 "Installing dependencies through Yarn 3..."
  # FSevents is on the optinal dependencies and its Mac Only
  eval $yarn_bin

and that is where yarn fails.

I have attached the build.log to this issue as well.

build.log

alfredopalhares commented 9 months ago

This has ben fixed, please reopen if necessary.