You are not logged in.

#1 2020-05-23 19:23:15

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

[SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

I'm trying to install desktop client for Tutanota e-mail service and cannot pass through some errors occurring during the process.

$ LC_ALL=C yay -S tutanota
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  tutanota-2.15.2-1

  1 tutanota                                 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/zbyszek/.cache/yay/tutanota
:: Downloaded PKGBUILD (1/1): tutanota
  1 tutanota                                 (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: Parsing SRCINFO (1/1): tutanota
==> Making package: tutanota 2.15.2-1 (Sat May 23 21:18:23 2020)
==> Retrieving sources...
  -> Downloading tutanota-release-2.15.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   139  100   139    0     0    351      0 --:--:-- --:--:-- --:--:--   351
100 40.9M    0 40.9M    0     0  4102k      0 --:--:--  0:00:10 --:--:-- 4700k
  -> Found update-karma.patch
==> Validating source files with sha256sums...
    tutanota-release-2.15.2.tar.gz ... Passed
    update-karma.patch ... Passed
==> Making package: tutanota 2.15.2-1 (Sat May 23 21:18:34 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found tutanota-release-2.15.2.tar.gz
  -> Found update-karma.patch
==> Validating source files with sha256sums...
    tutanota-release-2.15.2.tar.gz ... Passed
    update-karma.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting tutanota-release-2.15.2.tar.gz with bsdtar
==> Starting prepare()...
patching file tutanota-tutanota-release-2.15.2/package.json
==> Sources are ready.
==> Making package: tutanota 2.15.2-1 (Sat May 23 21:18:38 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
npm WARN deprecated gulp-minify-css@0.3.13: Please use gulp-clean-css
npm WARN deprecated mkdirp@0.5.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated concat-with-sourcemaps@0.1.6: important fix in v1.0.6
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated request@2.40.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead
npm WARN deprecated samsam@1.1.2: This package has been deprecated in favour of @sinonjs/samsam
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated hawk@1.1.1: 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.
npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
npm WARN deprecated samsam@1.1.3: This package has been deprecated in favour of @sinonjs/samsam
npm WARN deprecated hoek@0.9.1: 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).
npm WARN deprecated boom@0.4.2: 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).
npm WARN deprecated cryptiles@0.2.2: 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).
npm WARN deprecated sntp@0.2.4: 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.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> core-js@2.6.11 postinstall /home/zbyszek/.cache/yay/tutanota/src/tutanota-tutanota-release-2.15.2/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 -)

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for karma@1.7.1: wanted: {"node":"0.10 || 0.12 || 4 || 5 || 6 || 7 || 8"} (current: {"node":"14.3.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: karma@1.7.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN karma-mocha@0.1.10 requires a peer of mocha@* but none is installed. You must install peer dependencies yourself.
npm WARN tutanota@2.15.2 No repository field.
npm WARN tutanota@2.15.2 license should be a valid SPDX license expression

added 750 packages from 839 contributors and audited 752 packages in 11.489s

18 packages are looking for funding
  run `npm fund` for details

found 47 vulnerabilities (21 low, 10 moderate, 16 high)
  run `npm audit fix` to fix them, or `npm audit` for details
fs.js:39
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:39:5
    at req_ (/home/zbyszek/.cache/yay/tutanota/src/tutanota-tutanota-release-2.15.2/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/home/zbyszek/.cache/yay/tutanota/src/tutanota-tutanota-release-2.15.2/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/home/zbyszek/.cache/yay/tutanota/src/tutanota-tutanota-release-2.15.2/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
    at Module.load (internal/modules/cjs/loader.js:1049:32)
    at Function.Module._load (internal/modules/cjs/loader.js:937:14)
    at Module.require (internal/modules/cjs/loader.js:1089:19)
    at require (internal/modules/cjs/helpers.js:73:18)
==> ERROR: A failure occurred in build().
    Aborting...
Error making: tutanota

Any help is appreciated.

Last edited by Zibi1981 (2020-05-24 08:01:00)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2020-05-23 20:01:34

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

tutanota has not been updated since 2018-07-30 14:35,  tutanota-desktop created 2020-03-03 17:27 appears to be building the same package from the same source.

Please post the output from makepkg in future rather than an AUR helper to eliminate the cause of the issue being use of AUR helper.

Offline

#3 2020-05-23 20:15:07

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: [SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

I've posted the output of "yay -S tutanota" command, as I always use yay when installing packages from AUR.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#4 2020-05-23 20:20:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

And loqs' point was to use makepkg when you are pasting here for help.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-05-24 07:31:56

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: [SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

But I didn't use makepkg, at least not directly. Should I ask for help elsewhere? I don't understand your point.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#6 2020-05-24 07:35:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

You always try and build with makepkg before opening a thread here. It removes a layer of abstraction, and ensures that we aren't dealing with an issue with the AUR helper, not the package.

Build tutanota-desktop with makepkg and see if that works.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2020-05-24 08:00:31

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: [SOLVED] Prob. with installing Tutanota desktop e-mail client from AUR

Thank you for clearing that out! I wasn't aware, that building package from AUR using yay may output different information when compared to "direct" building with makepkg.

It seems I was missing nvm - after installing it from AUR I got

LC_ALL=C makepkg -src 
==> Making package: tutanota-desktop 3.73.1-1 (Sun May 24 09:49:15 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading tutanota-release-3.73.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   139  100   139    0     0    288      0 --:--:-- --:--:-- --:--:--   287
100 19.1M    0 19.1M    0     0  5799k      0 --:--:--  0:00:03 --:--:-- 8530k
  -> Found tutanota-desktop
  -> Found tutanota-desktop.desktop
==> Validating source files with sha256sums...
    tutanota-release-3.73.1.tar.gz ... Passed
    tutanota-desktop ... Passed
    tutanota-desktop.desktop ... Passed
==> Extracting sources...
  -> Extracting tutanota-release-3.73.1.tar.gz with bsdtar
==> Starting build()...
Downloading and installing node v10.20.1...
Downloading https://nodejs.org/dist/v10.20.1/node-v10.20.1-linux-x64.tar.xz...
###################################################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v10.20.1 (npm v6.14.4)
Creating default alias: default -> 10.20.1 (-> v10.20.1)
Now using node v10.20.1 (npm v6.14.4)

> keytar@5.2.0 install /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/node_modules/keytar
> prebuild-install || node-gyp rebuild


> core-js@2.6.10 postinstall /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/node_modules/core-js
> node postinstall || echo "ignore"


> ejs@3.0.1 postinstall /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> core-js@3.6.4 postinstall /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/node_modules/global-agent/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> electron@8.2.3 postinstall /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/node_modules/electron
> node install.js


> tutanota@3.73.1 postinstall /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1
> electron-builder install-app-deps

  • electron-builder  version=22.3.5
  • rebuilding native dependencies  dependencies=keytar@5.2.0 platform=linux arch=x64
  • install prebuilt binary  name=keytar version=5.2.0 platform=linux arch=x64
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 WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 912 packages from 511 contributors and audited 985 packages in 33.084s

16 packages are looking for funding
  run `npm fund` for details

found 78 vulnerabilities (77 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details
started cleaning 0.004
started copying images 0.011
started tracing 0.168
started bundling 85
  > bundled build/dist/common.js
  > bundled build/dist/main.js
  > bundled build/dist/theme.js
  > bundled build/dist/worker.js
  > bundled build/dist/main-boot.js
creating language bundles
  > bundled build/dist/translations/en.js
  > bundled build/dist/translations/id.js
  > bundled build/dist/translations/lt.js
  > bundled build/dist/translations/sq.js
  > bundled build/dist/translations/sw.js
  > bundled build/dist/translations/et.js
  > bundled build/dist/translations/ms.js
  > bundled build/dist/translations/lv.js
  > bundled build/dist/translations/da.js
  > bundled build/dist/translations/hu.js
  > bundled build/dist/translations/ro.js
  > bundled build/dist/translations/cs.js
  > bundled build/dist/translations/fi.js
  > bundled build/dist/translations/gl.js
  > bundled build/dist/translations/hr.js
  > bundled build/dist/translations/nl.js
  > bundled build/dist/translations/no.js
  > bundled build/dist/translations/sl.js
  > bundled build/dist/translations/ca.js
  > bundled build/dist/translations/sv.js
  > bundled build/dist/translations/de_sie.js
  > bundled build/dist/translations/de.js
  > bundled build/dist/translations/es.js
  > bundled build/dist/translations/fr.js
  > bundled build/dist/translations/it.js
  > bundled build/dist/translations/pl.js
  > bundled build/dist/translations/pt_br.js
  > bundled build/dist/translations/pt_pt.js
  > bundled build/dist/translations/sk.js
  > bundled build/dist/translations/tr.js
  > bundled build/dist/translations/sr.js
  > bundled build/dist/translations/ja.js
  > bundled build/dist/translations/vi.js
  > bundled build/dist/translations/ar.js
  > bundled build/dist/translations/fa_ir.js
  > bundled build/dist/translations/bg.js
  > bundled build/dist/translations/el.js
  > bundled build/dist/translations/zh_tw.js
  > bundled build/dist/translations/ru.js
  > bundled build/dist/translations/uk.js
  > bundled build/dist/translations/hi.js
  > bundled build/dist/translations/zh.js
Building desktop client for v3.73.1 (linux)...
artifacts will be moved to /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/build/desktop
Updating electron-builder config...
Tracing dependencies...
Starting installer build...
  • electron-builder  version=22.3.5 os=5.6.14-arch1-1
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=build/dist/installers/builder-effective-config.yaml
  • installing production dependencies  platform=linux arch=x64 appDir=/home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/build/dist
  • packaging       platform=linux arch=x64 electron=8.2.3 appOutDir=build/dist/installers/linux-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v8.2.3/electron-v8.2.3-linux-x64.zip size=71 MB parts=8
  • downloaded      url=https://github.com/electron/electron/releases/download/v8.2.3/electron-v8.2.3-linux-x64.zip duration=20.571s
Move artifacts to /home/zbyszek/AUR/Tutanota/tutanota-desktop/src/tutanota-tutanota-release-3.73.1/build/desktop

Build time: 208.84s (09:53)
Deleted alias default - restore it with `nvm alias "default" "10.20.1"`
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "tutanota-desktop"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: tutanota-desktop 3.73.1-1 (Sun May 24 09:54:45 2020)
==> Cleaning up...

Problem solved. Thank you!


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB