Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn run docker:build:native #2155

Open
theJohnnyBrown opened this issue Feb 19, 2025 · 4 comments
Open

yarn run docker:build:native #2155

theJohnnyBrown opened this issue Feb 19, 2025 · 4 comments

Comments

@theJohnnyBrown
Copy link

Steps to reproduce

  1. Where are you starting? What can you see?
  2. What do you click?
  3. More steps…

Outcome

What did you expect?

Expected to run the docker build instructions on the readme and they would work on my Debian, X86_64 machine

What happened instead?

┌──(jb㉿sunshinetechnologyprograms)-[~/src/element-desktop/hak][develop]
└─$ git clone git@github.com:element-hq/element-desktop.git
Cloning into 'element-desktop'...
remote: Enumerating objects: 11957, done.
remote: Counting objects: 100% (189/189), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 11957 (delta 158), reused 114 (delta 112), pack-reused 11768 (from 3)
Receiving objects: 100% (11957/11957), 21.10 MiB | 1.65 MiB/s, done.
Resolving deltas: 100% (7738/7738), done.
                                                                                                                                                                              ┌──(jb㉿sunshinetechnologyprograms)-[~/src/element-desktop/hak][develop]
└─$ cd element-desktop    
                                                                                                                                                                              ┌──(jb㉿sunshinetechnologyprograms)-[~/src/element-desktop/hak/element-desktop][develop]
└─$ tsx
Welcome to Node.js v20.18.1.
Type ".help" for more information.
> 
                                                                                                                                                                              ┌──(jb㉿sunshinetechnologyprograms)-[~/src/element-desktop/hak/element-desktop][develop]
└─$ hak
                                                                                                                                                                              ┌──(jb㉿sunshinetechnologyprograms)-[~/…/element-desktop/hak/element-desktop/hak][develop]
└─$ yarn run docker:setup
yarn run v1.22.22
$ docker build --platform linux/amd64 -t element-desktop-dockerbuild dockerbuild
[+] Building 0.9s (12/12) FINISHED                                                                                                                             docker:default
 => [internal] load build definition from Dockerfile                                                                                                                     0.0s
 => => transferring dockerfile: 1.02kB                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/rust:bullseye                                                                                                         0.7s
 => [internal] load .dockerignore                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                          0.0s
 => [1/7] FROM docker.io/library/rust:bullseye@sha256:1e3f7a9fd1f278cc4be02a830745f40fe4b22f0114b2464a452c50273cc1020d                                                   0.0s
 => [internal] load build context                                                                                                                                        0.0s
 => => transferring context: 404B                                                                                                                                        0.0s
 => CACHED [2/7] RUN curl --proto "=https" -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* /yarn && ln -s /yarn/bin/yarn /usr/bin/yarn                       0.0s
 => CACHED [3/7] RUN apt-get -qq update && apt-get -y -qq dist-upgrade &&   apt-get -y -qq install --no-install-recommends   tcl   libsecret-1-dev   libsqlcipher-dev &  0.0s
 => CACHED [4/7] RUN ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip                                                                           0.0s
 => CACHED [5/7] WORKDIR /project                                                                                                                                        0.0s
 => CACHED [6/7] COPY setup.sh /setup.sh                                                                                                                                 0.0s
 => CACHED [7/7] RUN /setup.sh                                                                                                                                           0.0s
 => exporting to image                                                                                                                                                   0.0s
 => => exporting layers                                                                                                                                                  0.0s
 => => writing image sha256:1f9690c3c0a99abbddf5018c5daf413d0a3310e16ec427f22012eb3272e5f18e                                                                             0.0s
 => => naming to docker.io/library/element-desktop-dockerbuild                                                                                                           0.0s
Done in 1.11s.
                                                                                                                                                                              ┌──(jb㉿sunshinetechnologyprograms)-[~/…/element-desktop/hak/element-desktop/hak][develop]
└─$ yarn run docker:install
yarn run v1.22.22
$ scripts/in-docker.sh yarn install
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "@types/node@18.19.76" is incompatible with requested version "@types/node@^17.0.36"
warning Resolution field "@types/node@18.19.76" is incompatible with requested version "@types/node@^20.9.0"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > app-builder-lib@26.0.7" has unmet peer dependency "dmg-builder@26.0.7".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "@babel/eslint-parser@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "@babel/eslint-plugin@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-deprecate@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-jest@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-jsx-a11y@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-react@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-react-hooks@*".
[5/5] Building fresh packages...
Done in 23.41s.
Done in 24.68s.
                                                                                                                                                                              ┌──(jb㉿sunshinetechnologyprograms)-[~/…/element-desktop/hak/element-desktop/hak][develop]
└─$ yarn run docker:build:native   
yarn run v1.22.22
$ scripts/in-docker.sh yarn run hak
yarn run v1.22.22
$ tsx scripts/hak/index.ts
hak check: matrix-seshat
Error: spawn python ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Operating system

Kali

Application version

v1.11.92

How did you install the app?

from github

Homeserver

no server yet

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented Feb 20, 2025

Cannot reproduce

 ~/W/element-desktop   t3chguy/build-files-assert  scripts/in-docker.sh python --version                                                                                          Thu Feb 20 09:52:07 2025
Python 3.9.2

Shows that Python is indeed available in the docker image.

Seems like your docker may be outdated given you do not get these warnings:

 4 warnings found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 24)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 5)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 19)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 20)

worked just fine for me:

 ~/W/element-desktop   t3chguy/build-files-assert  yarn run docker:setup
yarn run v1.22.22
$ docker build --platform linux/amd64 -t element-desktop-dockerbuild dockerbuild
[+] Building 66.4s (12/12) FINISHED                                                                                                                                                            docker:colima
 => [internal] load build definition from Dockerfile                                                                                                                                                    0.0s
 => => transferring dockerfile: 1.02kB                                                                                                                                                                  0.0s
 => [internal] load metadata for docker.io/library/rust:bullseye                                                                                                                                        1.8s
 => [internal] load .dockerignore                                                                                                                                                                       0.0s
 => => transferring context: 2B                                                                                                                                                                         0.0s
 => [internal] load build context                                                                                                                                                                       0.0s
 => => transferring context: 404B                                                                                                                                                                       0.0s
 => [1/7] FROM docker.io/library/rust:bullseye@sha256:1e3f7a9fd1f278cc4be02a830745f40fe4b22f0114b2464a452c50273cc1020d                                                                                 24.8s
 => => resolve docker.io/library/rust:bullseye@sha256:1e3f7a9fd1f278cc4be02a830745f40fe4b22f0114b2464a452c50273cc1020d                                                                                  0.0s
 => => sha256:1e3f7a9fd1f278cc4be02a830745f40fe4b22f0114b2464a452c50273cc1020d 5.20kB / 5.20kB                                                                                                          0.0s
 => => sha256:ba47d62682f8fd08c74c9e18ee8851c76b887092e75376a1f9c2bac86930c9f6 1.94kB / 1.94kB                                                                                                          0.0s
 => => sha256:1c25e3bd95dfbd113e0e65e71e0871108fe9de709be00f0f9468219f1cf01703 4.08kB / 4.08kB                                                                                                          0.0s
 => => sha256:478cb73646107d7b3f891aa53abaed926667463844c07b1d924bd760ae03f38a 53.74MB / 53.74MB                                                                                                        4.2s
 => => sha256:f0388f0d5bf1adc15e551cceee5a85f21b1ebf5b13c380ee0e941c5d55013598 15.56MB / 15.56MB                                                                                                        2.2s
 => => sha256:5d473f760e53d3d50afd1cebc7113387023a04ff8ec34073c4412b465ccc2fc5 54.75MB / 54.75MB                                                                                                        5.0s
 => => sha256:66d32181a1ed55cf7269c27a7a18858d7a4679d9fccbc616d5d878b6ddded25b 197.07MB / 197.07MB                                                                                                     14.9s
 => => extracting sha256:478cb73646107d7b3f891aa53abaed926667463844c07b1d924bd760ae03f38a                                                                                                               3.3s
 => => sha256:465a6d564003258c94bc0f07c6fe6df2c1dffec4aa2b76cd9e58fa7a7a93ee44 194.94MB / 194.94MB                                                                                                     16.0s
 => => extracting sha256:f0388f0d5bf1adc15e551cceee5a85f21b1ebf5b13c380ee0e941c5d55013598                                                                                                               0.5s
 => => extracting sha256:5d473f760e53d3d50afd1cebc7113387023a04ff8ec34073c4412b465ccc2fc5                                                                                                               2.6s
 => => extracting sha256:66d32181a1ed55cf7269c27a7a18858d7a4679d9fccbc616d5d878b6ddded25b                                                                                                               6.5s
 => => extracting sha256:465a6d564003258c94bc0f07c6fe6df2c1dffec4aa2b76cd9e58fa7a7a93ee44                                                                                                               3.0s
 => [2/7] RUN curl --proto "=https" -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* /yarn && ln -s /yarn/bin/yarn /usr/bin/yarn                                                             4.3s
 => [3/7] RUN apt-get -qq update && apt-get -y -qq dist-upgrade &&   apt-get -y -qq install --no-install-recommends   tcl   libsecret-1-dev   libsqlcipher-dev &&   apt-get purge -y --auto-remove &&  31.0s
 => [4/7] RUN ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip                                                                                                                 0.2s
 => [5/7] WORKDIR /project                                                                                                                                                                              0.0s
 => [6/7] COPY setup.sh /setup.sh                                                                                                                                                                       0.0s
 => [7/7] RUN /setup.sh                                                                                                                                                                                 3.4s
 => exporting to image                                                                                                                                                                                  0.6s
 => => exporting layers                                                                                                                                                                                 0.6s
 => => writing image sha256:b2c999310deb8eb53ff918ee674b6eb3815c973e36b9bc8257219951fd14f02f                                                                                                            0.0s
 => => naming to docker.io/library/element-desktop-dockerbuild                                                                                                                                          0.0s

View build details: docker-desktop://dashboard/build/colima/colima/ikcfrqkyuwd6sqtdyj8z9pkeb

 4 warnings found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 24)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 5)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 19)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 20)
✨  Done in 67.14s.
 ~/W/element-desktop   t3chguy/build-files-assert  yarn run docker:install                                                                                                 1.1m  Thu Feb 20 09:47:16 2025
yarn run v1.22.22
$ scripts/in-docker.sh yarn install
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "@types/node@18.19.76" is incompatible with requested version "@types/node@^17.0.36"
warning Resolution field "@types/node@18.19.76" is incompatible with requested version "@types/node@^20.9.0"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > app-builder-lib@26.0.7" has unmet peer dependency "dmg-builder@26.0.7".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "@babel/eslint-parser@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "@babel/eslint-plugin@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-deprecate@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-jest@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-jsx-a11y@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-react@*".
warning " > eslint-plugin-matrix-org@2.1.0" has unmet peer dependency "eslint-plugin-react-hooks@*".
[5/5] Building fresh packages...
Done in 156.56s.
✨  Done in 161.57s.
 ~/W/element-desktop   t3chguy/build-files-assert  yarn run docker:build:native                                                                                            2.7m  Thu Feb 20 09:50:22 2025
yarn run v1.22.22
$ scripts/in-docker.sh yarn run hak
yarn run v1.22.22
$ tsx scripts/hak/index.ts
hak check: matrix-seshat
hak check: keytar
hak fetch: matrix-seshat
Fetching matrix-seshat@^4.0.1
Running yarn install in /project/.hak/matrix-seshat/x86_64-unknown-linux-gnu/build
info No lockfile found.
[1/4] Resolving packages...
warning eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning eslint > @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning jest > @jest/core > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning jest > jest-cli > jest-config > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > jest-runtime > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/reporters > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/transform > babel-plugin-istanbul > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > domexception@2.0.1: Use your platform's native DOMException instead
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
success Saved lockfile.
hak fetch: keytar
Fetching keytar@^7.9.0
Running yarn install in /project/.hak/keytar/x86_64-unknown-linux-gnu/build
info No lockfile found.
[1/4] Resolving packages...
warning babel-core > babel-register > core-js@2.6.12: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning babel-core > babel-runtime > core-js@2.6.12: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning mocha > glob@7.2.0: Glob versions prior to v9 are no longer supported
warning mocha > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning node-gyp > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning node-gyp > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning node-gyp > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning node-gyp > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning node-gyp > npmlog@6.0.2: This package is no longer supported.
warning node-gyp > npmlog > are-we-there-yet@3.0.1: This package is no longer supported.
warning node-gyp > npmlog > gauge@4.0.4: This package is no longer supported.
warning node-gyp > make-fetch-happen > cacache > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning node-gyp > make-fetch-happen > cacache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning node-gyp > make-fetch-happen > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
warning node-gyp > make-fetch-happen > cacache > @npmcli/move-file > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning prebuild > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning prebuild > npmlog@4.1.2: This package is no longer supported.
warning prebuild > node-gyp > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning prebuild > node-gyp > npmlog@4.1.2: This package is no longer supported.
warning prebuild > node-gyp > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning prebuild > npmlog > gauge@2.7.4: This package is no longer supported.
warning prebuild > npmlog > are-we-there-yet@1.1.7: This package is no longer supported.
warning prebuild > node-gyp > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning prebuild > node-ninja > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning prebuild > node-ninja > npmlog@2.0.4: This package is no longer supported.
warning prebuild > node-ninja > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning prebuild > node-ninja > tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
warning prebuild > node-ninja > npmlog > gauge@1.2.7: This package is no longer supported.
warning prebuild > node-ninja > npmlog > are-we-there-yet@1.1.7: This package is no longer supported.
warning prebuild > nw-gyp > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning prebuild > nw-gyp > npmlog@4.1.2: This package is no longer supported.
warning prebuild > nw-gyp > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning prebuild > nw-gyp > tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
warning prebuild > node-gyp > nopt > osenv@0.1.5: This package is no longer supported.
warning prebuild > node-ninja > osenv@0.1.5: This package is no longer supported.
warning prebuild > nw-gyp > osenv@0.1.5: This package is no longer supported.
warning prebuild > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning prebuild > node-ninja > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning prebuild > nw-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning prebuild > node-ninja > fstream@1.0.12: This package is no longer supported.
warning prebuild > node-ninja > tar > fstream@1.0.12: This package is no longer supported.
warning prebuild > nw-gyp > fstream@1.0.12: This package is no longer supported.
warning prebuild > node-ninja > fstream > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning prebuild > node-gyp > request > uuid@3.4.0: 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.
warning prebuild > node-gyp > request > har-validator@5.1.5: this library is no longer supported
warning prebuild > cmake-js > npmlog@1.2.1: This package is no longer supported.
warning prebuild > cmake-js > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning prebuild > cmake-js > npmlog > gauge@1.2.7: This package is no longer supported.
warning prebuild > cmake-js > npmlog > are-we-there-yet@1.0.6: This package is no longer supported.
warning prebuild > cmake-js > unzipper > fstream@1.0.12: This package is no longer supported.
warning prebuild > cmake-js > traceur > glob@5.0.15: Glob versions prior to v9 are no longer supported
warning prebuild > cmake-js > traceur > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
success Saved lockfile.
hak build: matrix-seshat
Running yarn install
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Running yarn build
$ cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics --release
    Updating crates.io index
  Downloaded addr2line v0.19.0
  Downloaded cc v1.0.79
  Downloaded num v0.4.0
  Downloaded num-integer v0.1.45
  Downloaded num-complex v0.4.3
  Downloaded failure_derive v0.1.8
  Downloaded opaque-debug v0.3.0
  Downloaded autocfg v0.1.8
  Downloaded num_cpus v1.15.0
  Downloaded pkg-config v0.3.26
  Downloaded once_cell v1.19.0
  Downloaded crunchy v0.2.2
  Downloaded owned-read v0.4.1
  Downloaded rand v0.4.6
  Downloaded memoffset v0.5.6
  Downloaded fs2 v0.4.3
  Downloaded inotify-sys v0.1.5
  Downloaded fnv v1.0.7
  Downloaded filetime v0.2.21
  Downloaded void v1.0.2
  Downloaded futures-task v0.3.28
  Downloaded inout v0.1.3
  Downloaded memoffset v0.8.0
  Downloaded memmap v0.7.0
  Downloaded syn-mid v0.5.3
  Downloaded pin-utils v0.1.0
  Downloaded rand_isaac v0.1.1
  Downloaded rand_pcg v0.1.2
  Downloaded rand_xorshift v0.1.1
  Downloaded semver-parser v0.7.0
  Downloaded sha2 v0.9.9
  Downloaded version_check v0.9.4
  Downloaded utf8-ranges v1.0.5
  Downloaded zeroize v1.8.1
  Downloaded thiserror v1.0.40
  Downloaded walkdir v2.3.3
  Downloaded ppv-lite86 v0.2.17
  Downloaded tempdir v0.3.7
  Downloaded snap v1.1.0
  Downloaded neon-runtime v0.10.1
  Downloaded net2 v0.2.38
  Downloaded uuid v1.3.1
  Downloaded typenum v1.16.0
  Downloaded rayon-core v1.11.0
  Downloaded serde v1.0.118
  Downloaded neon-serde3 v0.10.0
  Downloaded tantivy-query-grammar v0.12.0
  Downloaded serde_json v1.0.61
  Downloaded tinysegmenter v0.1.1
  Downloaded zerocopy v0.7.34
  Downloaded rusqlite v0.31.0
  Downloaded password-hash v0.2.3
  Downloaded rayon v1.7.0
  Downloaded remove_dir_all v0.5.3
  Downloaded vcpkg v0.2.15
  Downloaded syn v1.0.109
  Downloaded syn v2.0.66
  Downloaded regex v1.7.3
  Downloaded rustix v0.37.11
  Downloaded regex-syntax v0.6.29
  Downloaded tantivy v0.12.0
  Downloaded libc v0.2.141
  Downloaded object v0.30.3
  Downloaded regex-syntax v0.4.2
  Downloaded gimli v0.27.2
  Downloaded rand v0.6.5
  Downloaded r2d2_sqlite v0.24.0
  Downloaded neon-build v0.10.1
  Downloaded rand v0.8.5
  Downloaded itertools v0.8.2
  Downloaded census v0.4.1
  Downloaded linux-raw-sys v0.3.1
  Downloaded num-traits v0.2.15
  Downloaded nix v0.14.1
  Downloaded murmurhash32 v0.2.0
  Downloaded chrono v0.4.24
  Downloaded serde_derive v1.0.118
  Downloaded hkdf v0.11.0
  Downloaded seshat v4.0.0
  Downloaded hashbrown v0.14.5
  Downloaded futures-util v0.3.28
  Downloaded fail v0.3.0
  Downloaded unicode-ident v1.0.8
  Downloaded proc-macro2 v1.0.85
  Downloaded parking_lot v0.12.1
  Downloaded neon-macros v0.10.1
  Downloaded levenshtein_automata v0.1.1
  Downloaded combine v4.6.6
  Downloaded aes v0.8.4
  Downloaded uuid v0.8.2
  Downloaded tempfile v3.5.0
  Downloaded ryu v1.0.13
  Downloaded mio v0.6.23
  Downloaded bitpacking v0.8.4
  Downloaded time v0.1.45
  Downloaded neon v0.10.1
  Downloaded smallvec v1.10.0
  Downloaded crossbeam-channel v0.5.8
  Downloaded crossbeam-channel v0.4.4
  Downloaded slab v0.4.8
  Downloaded rustc-demangle v0.1.22
  Downloaded backtrace v0.3.67
  Downloaded pin-project-lite v0.2.9
  Downloaded parking_lot_core v0.9.7
  Downloaded num-rational v0.4.1
  Downloaded memchr v2.5.0
  Downloaded bytes v1.4.0
  Downloaded notify v4.0.17
  Downloaded miniz_oxide v0.6.2
  Downloaded subtle v2.4.1
  Downloaded stable_deref_trait v1.2.0
  Downloaded quote v1.0.36
  Downloaded io-lifetimes v1.0.10
  Downloaded inotify v0.7.1
  Downloaded htmlescape v0.3.1
  Downloaded getrandom v0.2.9
  Downloaded thiserror-impl v1.0.40
  Downloaded futures v0.3.28
  Downloaded fs_extra v1.3.0
  Downloaded crossbeam-utils v0.8.15
  Downloaded crossbeam-epoch v0.9.14
  Downloaded unicode-xid v0.2.4
  Downloaded synstructure v0.12.6
  Downloaded bitflags v2.5.0
  Downloaded base64ct v1.6.0
  Downloaded tantivy-fst v0.2.1
  Downloaded base64 v0.11.0
  Downloaded semver v0.9.0
  Downloaded log v0.4.17
  Downloaded lock_api v0.4.9
  Downloaded libloading v0.6.7
  Downloaded futures-channel v0.3.28
  Downloaded crossbeam-epoch v0.8.2
  Downloaded scopeguard v1.1.0
  Downloaded scheduled-thread-pool v0.2.7
  Downloaded same-file v1.0.6
  Downloaded rand_os v0.1.3
  Downloaded rand_core v0.3.1
  Downloaded hashlink v0.9.1
  Downloaded rand_jitter v0.1.4
  Downloaded rand_chacha v0.3.1
  Downloaded rand_chacha v0.1.1
  Downloaded failure v0.1.8
  Downloaded rand_core v0.6.4
  Downloaded crossbeam-utils v0.7.2
  Downloaded crc32fast v1.3.2
  Downloaded rand_hc v0.1.0
  Downloaded rand_core v0.4.2
  Downloaded r2d2 v0.8.10
  Downloaded num-iter v0.1.43
  Downloaded cipher v0.4.4
  Downloaded pbkdf2 v0.8.0
  Downloaded owning_ref v0.4.1
  Downloaded mio-extras v2.0.6
  Downloaded maplit v1.0.2
  Downloaded lru-cache v0.1.2
  Downloaded hmac v0.11.0
  Downloaded maybe-uninit v2.0.0
  Downloaded bitflags v1.3.2
  Downloaded lazycell v1.3.0
  Downloaded lazy_static v1.4.0
  Downloaded itoa v0.4.8
  Downloaded linked-hash-map v0.5.6
  Downloaded iovec v0.1.4
  Downloaded iana-time-zone v0.1.56
  Downloaded futures-sink v0.3.28
  Downloaded fst v0.3.5
  Downloaded futures-executor v0.3.28
  Downloaded ctr v0.9.2
  Downloaded futures-macro v0.3.28
  Downloaded futures-io v0.3.28
  Downloaded rust-stemmers v1.2.0
  Downloaded generic-array v0.14.7
  Downloaded futures-core v0.3.28
  Downloaded fastrand v1.9.0
  Downloaded either v1.8.1
  Downloaded digest v0.9.0
  Downloaded crypto-mac v0.11.1
  Downloaded crypto-common v0.1.6
  Downloaded crossbeam-deque v0.8.3
  Downloaded crossbeam-deque v0.7.4
  Downloaded fallible-streaming-iterator v0.1.9
  Downloaded fallible-iterator v0.3.0
  Downloaded downcast-rs v1.2.0
  Downloaded cpufeatures v0.2.6
  Downloaded cfg-if v0.1.10
  Downloaded autocfg v1.1.0
  Downloaded adler v1.0.2
  Downloaded crossbeam-queue v0.2.3
  Downloaded crossbeam v0.7.3
  Downloaded cfg-if v1.0.0
  Downloaded byteorder v1.5.0
  Downloaded atomicwrites v0.2.5
  Downloaded ahash v0.8.11
  Downloaded block-buffer v0.9.0
  Downloaded libsqlite3-sys v0.28.0
  Downloaded 196 crates (22.0 MB) in 5.37s (largest was `libsqlite3-sys` at 5.0 MB)
   Compiling autocfg v1.1.0
   Compiling libc v0.2.141
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.85
   Compiling unicode-ident v1.0.8
   Compiling version_check v0.9.4
   Compiling syn v1.0.109
   Compiling typenum v1.16.0
   Compiling cfg-if v0.1.10
   Compiling scopeguard v1.1.0
   Compiling memchr v2.5.0
   Compiling rand_core v0.4.2
   Compiling smallvec v1.10.0
   Compiling serde_derive v1.0.118
   Compiling log v0.4.17
   Compiling serde v1.0.118
   Compiling generic-array v0.14.7
   Compiling autocfg v0.1.8
   Compiling num-traits v0.2.15
   Compiling slab v0.4.8
   Compiling lazy_static v1.4.0
   Compiling crossbeam-utils v0.7.2
   Compiling num-integer v0.1.45
   Compiling crossbeam-utils v0.8.15
   Compiling maybe-uninit v2.0.0
   Compiling memoffset v0.8.0
   Compiling rand_core v0.3.1
   Compiling futures-core v0.3.28
   Compiling bitflags v1.3.2
   Compiling quote v1.0.36
   Compiling crossbeam-epoch v0.9.14
   Compiling memoffset v0.5.6
   Compiling lock_api v0.4.9
   Compiling ahash v0.8.11
   Compiling getrandom v0.2.9
   Compiling syn v2.0.66
   Compiling rand_core v0.6.4
   Compiling futures-channel v0.3.28
   Compiling futures-task v0.3.28
   Compiling parking_lot_core v0.9.7
   Compiling once_cell v1.19.0
   Compiling num_cpus v1.15.0
   Compiling rand_chacha v0.1.1
   Compiling rand_pcg v0.1.2
   Compiling crossbeam-epoch v0.8.2
   Compiling io-lifetimes v1.0.10
   Compiling pkg-config v0.3.26
   Compiling futures-util v0.3.28
   Compiling futures-sink v0.3.28
   Compiling neon-build v0.10.1
   Compiling zerocopy v0.7.34
   Compiling vcpkg v0.2.15
   Compiling cc v1.0.79
   Compiling subtle v2.4.1
   Compiling byteorder v1.5.0
   Compiling net2 v0.2.38
   Compiling iovec v0.1.4
   Compiling rand v0.6.5
   Compiling futures-io v0.3.28
   Compiling failure_derive v0.1.8
   Compiling libsqlite3-sys v0.28.0
   Compiling nix v0.14.1
   Compiling pin-project-lite v0.2.9
   Compiling backtrace v0.3.67
   Compiling gimli v0.27.2
   Compiling adler v1.0.2
   Compiling rustix v0.37.11
   Compiling crunchy v0.2.2
   Compiling ppv-lite86 v0.2.17
   Compiling pin-utils v0.1.0
   Compiling rayon-core v1.11.0
   Compiling digest v0.9.0
   Compiling unicode-xid v0.2.4
   Compiling crypto-mac v0.11.1
   Compiling inout v0.1.3
   Compiling synstructure v0.12.6
   Compiling rand_chacha v0.3.1
   Compiling crypto-common v0.1.6
   Compiling miniz_oxide v0.6.2
   Compiling mio v0.6.23
   Compiling parking_lot v0.12.1
   Compiling hashbrown v0.14.5
   Compiling crossbeam-deque v0.8.3
   Compiling fst v0.3.5
   Compiling futures-macro v0.3.28
   Compiling crossbeam-channel v0.5.8
   Compiling rand_os v0.1.3
   Compiling inotify-sys v0.1.5
   Compiling rand v0.4.6
   Compiling rand_hc v0.1.0
   Compiling rand_xorshift v0.1.1
   Compiling rand_isaac v0.1.1
   Compiling addr2line v0.19.0
   Compiling object v0.30.3
   Compiling num-rational v0.4.1
   Compiling num-iter v0.1.43
   Compiling rand_jitter v0.1.4
   Compiling either v1.8.1
   Compiling same-file v1.0.6
   Compiling lazycell v1.3.0
   Compiling crc32fast v1.3.2
   Compiling cpufeatures v0.2.6
   Compiling void v1.0.2
   Compiling rustc-demangle v0.1.22
   Compiling bytes v1.4.0
   Compiling snap v1.1.0
   Compiling stable_deref_trait v1.2.0
   Compiling linux-raw-sys v0.3.1
   Compiling serde_json v1.0.61
   Compiling remove_dir_all v0.5.3
   Compiling tempdir v0.3.7
   Compiling mio-extras v2.0.6
   Compiling walkdir v2.3.3
   Compiling combine v4.6.6
   Compiling inotify v0.7.1
   Compiling neon v0.10.1
   Compiling hashlink v0.9.1
   Compiling levenshtein_automata v0.1.1
   Compiling crossbeam-deque v0.7.4
   Compiling scheduled-thread-pool v0.2.7
   Compiling rand v0.8.5
   Compiling futures-executor v0.3.28
   Compiling cipher v0.4.4
   Compiling hmac v0.11.0
   Compiling block-buffer v0.9.0
   Compiling syn-mid v0.5.3
   Compiling crossbeam-queue v0.2.3
   Compiling crossbeam-channel v0.4.4
   Compiling time v0.1.45
   Compiling filetime v0.2.21
   Compiling libloading v0.6.7
   Compiling regex-syntax v0.4.2
   Compiling regex-syntax v0.6.29
   Compiling fastrand v1.9.0
   Compiling utf8-ranges v1.0.5
   Compiling semver-parser v0.7.0
   Compiling base64ct v1.6.0
   Compiling opaque-debug v0.3.0
   Compiling thiserror v1.0.40
   Compiling fallible-iterator v0.3.0
   Compiling iana-time-zone v0.1.56
   Compiling fallible-streaming-iterator v0.1.9
   Compiling bitflags v2.5.0
   Compiling itoa v0.4.8
   Compiling ryu v1.0.13
   Compiling regex v1.7.3
   Compiling chrono v0.4.24
   Compiling rusqlite v0.31.0
   Compiling password-hash v0.2.3
   Compiling sha2 v0.9.9
   Compiling tantivy-query-grammar v0.12.0
   Compiling semver v0.9.0
   Compiling tantivy-fst v0.2.1
   Compiling uuid v0.8.2
   Compiling uuid v1.3.1
   Compiling rust-stemmers v1.2.0
   Compiling tempfile v3.5.0
   Compiling crossbeam v0.7.3
   Compiling neon-runtime v0.10.1
   Compiling notify v4.0.17
   Compiling neon-macros v0.10.1
   Compiling bitpacking v0.8.4
   Compiling futures v0.3.28
   Compiling failure v0.1.8
   Compiling atomicwrites v0.2.5
   Compiling r2d2 v0.8.10
   Compiling rayon v1.7.0
   Compiling fail v0.3.0
   Compiling owned-read v0.4.1
   Compiling owning_ref v0.4.1
   Compiling itertools v0.8.2
   Compiling thiserror-impl v1.0.40
   Compiling murmurhash32 v0.2.0
   Compiling num-complex v0.4.3
   Compiling fs2 v0.4.3
   Compiling memmap v0.7.0
   Compiling downcast-rs v1.2.0
   Compiling maplit v1.0.2
   Compiling census v0.4.1
   Compiling base64 v0.11.0
   Compiling fnv v1.0.7
   Compiling linked-hash-map v0.5.6
   Compiling htmlescape v0.3.1
   Compiling num v0.4.0
   Compiling tinysegmenter v0.1.1
   Compiling r2d2_sqlite v0.24.0
   Compiling lru-cache v0.1.2
   Compiling pbkdf2 v0.8.0
   Compiling hkdf v0.11.0
   Compiling aes v0.8.4
   Compiling ctr v0.9.2
   Compiling fs_extra v1.3.0
   Compiling zeroize v1.8.1
   Compiling neon-serde3 v0.10.0
   Compiling tantivy v0.12.0
   Compiling seshat v4.0.0
   Compiling matrix-seshat v4.0.0 (/project/.hak/matrix-seshat/x86_64-unknown-linux-gnu/build)
    Finished `release` profile [optimized] target(s) in 7m 34s
hak build: keytar
Running yarn with env {
  npm_package_scripts_lint_knip: 'knip',
  npm_package_devDependencies__types_node: '18.19.76',
  npm_package_devDependencies_detect_libc: '^2.0.0',
  npm_package_devDependencies_matrix_web_i18n: '^3.2.1',
  npm_package_dependencies__standardnotes_electron_clear_data: '^1.0.5',
  npm_config_user_agent: 'yarn/1.22.22 npm/? node/v20.18.2 linux x64',
  npm_config_version_commit_hooks: 'true',
  npm_config_bin_links: 'true',
  npm_package_exports: './lib/electron-main.js',
  npm_package_scripts_i18n_lint: 'prettier --log-level=silent  --write src/i18n/strings/ --ignore-path /dev/null',
  npm_package_scripts_build_ts: 'tsc',
  npm_package_scripts_hak: 'tsx scripts/hak/index.ts',
  npm_package_scripts_test_screenshots_run: 'docker run --rm --network host -v $(pwd):/work/element-desktop -v /var/run/docker.sock:/var/run/docker.sock --platform linux/amd64 -it element-desktop-playwright',
  npm_package_devDependencies_eslint_plugin_matrix_org: '^2.0.1',
  npm_package_devDependencies_plist: '^3.1.0',
  NODE_VERSION: '20.18.2',
  npm_config_init_version: '1.0.0',
  npm_package_devDependencies_eslint_plugin_n: '^17.12.0',
  npm_node_execpath: '/usr/local/bin/node',
  HOSTNAME: 'c0a81b59cc21',
  npm_package_devDependencies__types_counterpart: '^0.18.1',
  npm_package_devDependencies_pacote: '^21.0.0',
  npm_package_devDependencies__action_validator_core: '^0.6.0',
  npm_package_devDependencies__typescript_eslint_parser: '^8.0.0',
  HOME: '/root',
  npm_package_devDependencies_eslint_config_prettier: '^10.0.0',
  npm_config_init_license: 'MIT',
  npm_package_engines_node: '>=18.0.0',
  npm_package_scripts_lint_types_src: 'tsc --noEmit',
  npm_package_scripts_docker_setup: 'docker build --platform linux/amd64 -t element-desktop-dockerbuild dockerbuild',
  npm_package_devDependencies__types_auto_launch: '^5.0.1',
  npm_package_devDependencies_tar: '^7.0.0',
  npm_config_version_tag_prefix: 'v',
  npm_package_scripts_test_open: 'yarn test --ui',
  npm_package_dependencies_electron_store: '^10.0.0',
  YARN_WRAP_OUTPUT: 'false',
  npm_package_devDependencies__action_validator_cli: '^0.6.0',
  npm_package_devDependencies_rimraf: '^6.0.0',
  npm_package_resolutions_config_file_ts: '0.2.8-rc1',
  npm_config___link_folder: '/Users/t3chguy/WebstormProjects/element-desktop/.hak/links',
  npm_package_scripts_lint_types_test: 'tsc --noEmit -p playwright/tsconfig.json',
  npm_package_scripts_docker_install: 'scripts/in-docker.sh yarn install',
  npm_package_devDependencies_chokidar: '^4.0.0',
  npm_package_devDependencies_electron_devtools_installer: '^4.0.0',
  npm_package_devDependencies_husky: '^9.1.6',
  npm_package_description: 'Element: the future of secure communication',
  npm_package_scripts_i18n_diff: 'cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && yarn i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json',
  npm_package_devDependencies_typescript: '5.7.3',
  npm_package_homepage: 'https://element.io/',
  npm_package_devDependencies__babel_preset_env: '^7.18.10',
  npm_package_readmeFilename: 'README.md',
  npm_package_scripts_lint_js_fix: 'eslint --fix --max-warnings 0 src hak playwright scripts && prettier --log-level=warn --write .',
  npm_package_scripts_lint_types: 'yarn lint:types:src && yarn lint:types:test && yarn lint:types:scripts && yarn lint:types:hak',
  npm_package_scripts_docker_build: 'scripts/in-docker.sh yarn run build',
  npm_package_devDependencies__playwright_test: '1.50.1',
  npm_package_devDependencies__stylistic_eslint_plugin: '^3.0.0',
  npm_package_devDependencies_electron_builder: '26.0.7',
  npm_package_devDependencies_prettier: '^3.0.0',
  npm_package_hakDependencies_keytar: '^7.9.0',
  npm_package_type: 'module',
  npm_package_scripts_i18n: 'matrix-gen-i18n && yarn i18n:sort && yarn i18n:lint',
  npm_package_scripts_docker_build_native: 'scripts/in-docker.sh yarn run hak',
  npm_package_scripts_clean: 'rimraf webapp.asar dist packages deploys lib',
  npm_package_dependencies_electron_window_state: '^5.0.3',
  npm_package_devDependencies__babel_preset_typescript: '^7.18.6',
  npm_package_devDependencies_eslint_plugin_import: '^2.25.4',
  FORCE_COLOR: 'true',
  npm_package_scripts_build_universal: 'yarn run build:ts && yarn run build:res && electron-builder --universal',
  npm_package_dependencies_counterpart: '^0.18.6',
  npm_package_devDependencies_mkdirp: '^3.0.0',
  npm_config_registry: 'https://registry.yarnpkg.com',
  npm_package_productName: 'Element',
  npm_package_scripts_lint: 'yarn lint:types && yarn lint:js && yarn lint:workflows',
  npm_package_scripts_build_native_universal: 'yarn run hak --target x86_64-apple-darwin fetchandbuild && yarn run hak --target aarch64-apple-darwin fetchandbuild && yarn run hak --target x86_64-apple-darwin --target aarch64-apple-darwin copyandlink',
  npm_package_devDependencies__typescript_eslint_eslint_plugin: '^8.0.0',
  npm_package_devDependencies__babel_core: '^7.18.10',
  TERM: 'xterm',
  npm_config_ignore_scripts: '',
  npm_package_scripts_start: 'yarn run build:ts && yarn run build:res && electron .',
  npm_package_dependencies_auto_launch: '^5.0.5',
  npm_package_devDependencies__types_pacote: '^11.1.1',
  DEBUG_COLORS: 'true',
  RUSTUP_HOME: '/usr/local/rustup',
  npm_package_scripts_i18n_sort: "jq --sort-keys '.' src/i18n/strings/en_EN.json > src/i18n/strings/en_EN.json.tmp && mv src/i18n/strings/en_EN.json.tmp src/i18n/strings/en_EN.json",
  PATH: '/tmp/yarn--1740045052637-0.004714997752129246:/project/node_modules/.bin:/Users/t3chguy/WebstormProjects/element-desktop/.hak/links/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
  npm_package_name: 'element-desktop',
  npm_package_repository_type: 'git',
  npm_package_scripts_lint_js: 'eslint --max-warnings 0 src hak playwright scripts && prettier --check .',
  npm_package_hakDependencies_matrix_seshat: '^4.0.1',
  NODE: '/usr/local/bin/node',
  npm_package_scripts_fetch: 'yarn run mkdirs && tsx scripts/fetch-package.ts',
  npm_package_dependencies_png_to_ico: '^2.1.1',
  npm_package_devDependencies__electron_asar: '3.3.1',
  npm_package_devDependencies__types_minimist: '^1.2.1',
  npm_package_devDependencies_glob: '^11.0.0',
  npm_package_scripts_build_res: 'tsx scripts/copy-res.ts',
  npm_package_devDependencies_eslint: '^8.26.0',
  npm_package_main: 'lib/electron-main.js',
  npm_lifecycle_script: 'tsx scripts/hak/index.ts',
  npm_config_version_git_message: 'v%s',
  npm_package_scripts_lint_workflows: `find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo "Linting {}"; action-validator "{}"'`,
  npm_package_scripts_test: 'playwright test',
  DEBIAN_FRONTEND: 'noninteractive',
  npm_package_version: '1.11.91',
  npm_package_repository_url: 'https://github.com/vector-im/element-desktop',
  npm_package_scripts_lint_types_scripts: 'tsc --noEmit -p scripts/tsconfig.json',
  npm_package_scripts_lint_types_hak: 'tsc --noEmit -p hak/tsconfig.json',
  npm_lifecycle_event: 'hak',
  ELECTRON_BUILDER_CACHE: '/root/.cache/electron-builder',
  npm_package_scripts_build: 'yarn run build:ts && yarn run build:res && electron-builder',
  npm_package_dependencies_uuid: '^11.0.0',
  npm_package_devDependencies_lint_staged: '^15.2.10',
  npm_config_argv: '{"remain":[],"cooked":["run","hak"],"original":["run","hak"]}',
  npm_package_scripts_build_native: 'yarn run hak',
  npm_package_scripts_build_32: 'yarn run build:ts && yarn run build:res && electron-builder --ia32',
  npm_package_dependencies__sentry_electron: '^5.0.0',
  RUST_VERSION: '1.84.1',
  npm_config_version_git_sign: '',
  npm_config_version_git_tag: 'true',
  npm_config_strict_ssl: 'true',
  npm_package_license: 'SEE LICENSE IN README.md',
  npm_package_devDependencies_tsx: '^4.19.2',
  npm_package_resolutions__types_node: '18.19.76',
  npm_package_scripts_mkdirs: 'mkdirp packages deploys',
  npm_package_scripts_asar_webapp: 'asar p webapp webapp.asar',
  npm_execpath: '/yarn/bin/yarn.js',
  PWD: '/project',
  npm_package_author_name: 'Element',
  npm_package_scripts_build_64: 'yarn run build:ts && yarn run build:res && electron-builder --x64',
  npm_package_scripts_test_screenshots_build: 'docker build playwright -t element-desktop-playwright --platform linux/amd64',
  npm_package_dependencies_minimist: '^1.2.6',
  npm_package_devDependencies_electron: '34.2.0',
  CARGO_HOME: '/usr/local/cargo',
  npm_config_ignore_optional: '',
  npm_config_save_prefix: '^',
  npm_package_devDependencies_eslint_plugin_unicorn: '^56.0.0',
  npm_package_devDependencies_app_builder_lib: '26.0.7',
  npm_package_devDependencies_electron_builder_squirrel_windows: '26.0.7',
  npm_package_devDependencies_knip: '^5.0.0',
  ELECTRON_CACHE: '/root/.cache/electron',
  npm_package_devDependencies_eslint_config_google: '^0.14.0',
  INIT_CWD: '/project',
  npm_config_arch: 'x64',
  npm_config_target_arch: 'x64',
  npm_config_disturl: 'https://electronjs.org/headers',
  npm_config_runtime: 'electron',
  npm_config_target: '34.2.0',
  npm_config_build_from_source: 'true',
  npm_config_devdir: '/root/.electron-gyp'
}
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@20.18.2 | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp http GET https://electronjs.org/headers/v34.2.0/node-v34.2.0-headers.tar.gz
gyp http 200 https://artifacts.electronjs.org/headers/v34.2.0/node-v34.2.0-headers.tar.gz?force_headers_dist=1
gyp http GET https://electronjs.org/headers/v34.2.0/SHASUMS256.txt
gyp http 200 https://artifacts.electronjs.org/headers/v34.2.0/SHASUMS256.txt?force_headers_dist=1
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/project/.hak/keytar/x86_64-unknown-linux-gnu/build/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/project/.hak/keytar/x86_64-unknown-linux-gnu/build/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/project/.hak/keytar/x86_64-unknown-linux-gnu/build/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.electron-gyp/34.2.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.electron-gyp/34.2.0',
gyp info spawn args   '-Dnode_gyp_dir=/project/.hak/keytar/x86_64-unknown-linux-gnu/build/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/root/.electron-gyp/34.2.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/project/.hak/keytar/x86_64-unknown-linux-gnu/build',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/project/.hak/keytar/x86_64-unknown-linux-gnu/build/build'
  CXX(target) Release/obj.target/keytar/src/async.o
  CXX(target) Release/obj.target/keytar/src/main.o
  CXX(target) Release/obj.target/keytar/src/keytar_posix.o
  SOLINK_MODULE(target) Release/obj.target/keytar.node
  COPY Release/keytar.node
make: Leaving directory '/project/.hak/keytar/x86_64-unknown-linux-gnu/build/build'
gyp info ok 
hak copy: matrix-seshat
Copying files from /project/.hak/matrix-seshat/x86_64-unknown-linux-gnu/build to /project/.hak/hakModules/matrix-seshat
        index.node
hak copy: keytar
Copying files from /project/.hak/keytar/x86_64-unknown-linux-gnu/build to /project/.hak/hakModules/keytar
        build/Release/keytar.node
hak link: matrix-seshat
success Registered "matrix-seshat".
info You can now run `yarn link "matrix-seshat"` in the projects where you want to use this package and it will be used instead.
success Using linked package for "matrix-seshat".
hak link: keytar
success Registered "keytar".
info You can now run `yarn link "keytar"` in the projects where you want to use this package and it will be used instead.
success Using linked package for "keytar".
Done in 618.11s.
✨  Done in 622.14s.

@theJohnnyBrown
Copy link
Author

This is what I get:

┌──(jb㉿sunshinetechnologyprograms)-[~/src/element-desktop][tags/v1.11.92]
└─$ docker run --rm -it element-desktop-dockerbuild bash
root@75ac451b98c2:/project# python
bash: python: command not found
root@75ac451b98c2:/project# python3 --version
Python 3.9.2
root@75ac451b98c2:/project# 

@t3chguy
Copy link
Member

t3chguy commented Feb 20, 2025

 ~/W/element-desktop  ⌂ v1.11.92 *  docker run --rm -it element-desktop-dockerbuild bash                                                                                  1930ms  Thu Feb 20 16:28:20 2025
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@97514450e24f:/project# python --version
Python 3.9.2
root@97514450e24f:/project# python3 --version
Python 3.9.2

Something definitely seems wrong on your end.

@theJohnnyBrown
Copy link
Author

Thanks for checking - strange for this to happen with docker. I'll investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants