8000 Cannot build on Linux anymore · Issue #40 · raindropio/desktop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Cannot build on Linux anymore #40

Open
blacklightpy opened this issue Apr 28, 2023 · 5 comments
Open

Cannot build on Linux anymore #40

blacklightpy opened this issue Apr 28, 2023 · 5 comments

Comments

@blacklightpy
Copy link
yarn build:linux
yarn run v1.22.19
$ yarn pre:build && electron-builder build --linux --config build/config.js
$ node build/version.js
  • electron-builder  version=23.6.0 os=6.2.12-1-default
  • loaded configuration  file=/home/jyothish/Projects/desktop/build/config.js
  • writing effective config  file=dist/builder-effective-config.yaml
  ⨯ Command failed: cd webapp && yarn && yarn build:electron
warning " > react-autosize-textarea@7.1.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > react-autosize-textarea@7.1.0" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > react-sortablejs@6.0.3" has unmet peer dependency "@types/sortablejs@1".
warning "cssnano-preset-advanced > cssnano-preset-default@5.2.8" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-merge-idents > cssnano-utils@3.1.0" has unmet peer dependency "postcss@^8.2.15".
warning " > cssnano-preset-advanced@5.3.4" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > autoprefixer@10.4.7" has unmet peer dependency "postcss@^8.1.0".
warning "cssnano-preset-advanced > postcss-discard-unused@5.1.0" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-merge-idents@5.1.1" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-reduce-idents@5.2.0" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-zindex@5.1.0" has unmet peer dependency "postcss@^8.2.15".
warning " > extract-text-webpack-plugin@3.0.2" has incorrect peer dependency "webpack@^3.1.0".
warning " > zip-webpack-plugin@4.0.1" has unmet peer dependency "webpack-sources@*".
warning Error running install script for optional dependency: "/home/jyothish/Projects/desktop/webapp/node_modules/gifsicle: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments: 
Directory: /home/jyothish/Projects/desktop/webapp/node_modules/gifsicle
Output:
connect ETIMEDOUT 2405:200:1607:2820:41::36:443
gifsicle pre-build test failed
compiling from source
Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: line 1: autoreconf: command not found


    at /home/jyothish/Projects/desktop/webapp/node_modules/execa/index.js:231:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)"
warning Error running install script for optional dependency: "/home/jyothish/Projects/desktop/webapp/node_modules/mozjpeg: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments: 
Directory: /home/jyothish/Projects/desktop/webapp/node_modules/mozjpeg
Output:
connect ETIMEDOUT 2405:200:1607:2820:41::36:443
mozjpeg pre-build test failed
compiling from source
Error: Command failed: /bin/sh -c autoreconf -fiv
/bin/sh: line 1: autoreconf: command not found


    at /home/jyothish/Projects/desktop/webapp/node_modules/execa/index.js:231:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)"
No patch files found
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
error Command failed with exit code 1.
  failedTask=build stackTrace=Error: Command failed: cd webapp && yarn && yarn build:electron
warning " > react-autosize-textarea@7.1.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > react-autosize-textarea@7.1.0" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning " > react-sortablejs@6.0.3" has unmet peer dependency "@types/sortablejs@1".
warning "cssnano-preset-advanced > cssnano-preset-default@5.2.8" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-merge-idents > cssnano-utils@3.1.0" has unmet peer dependency "postcss@^8.2.15".
warning " > cssnano-preset-advanced@5.3.4" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > autoprefixer@10.4.7" has unmet peer dependency "postcss@^8.1.0".
warning "cssnano-preset-advanced > postcss-discard-unused@5.1.0" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-merge-idents@5.1.1" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-reduce-idents@5.2.0" has unmet peer dependency "postcss@^8.2.15".
warning "cssnano-preset-advanced > postcss-zindex@5.1.0" has unmet peer dependency "postcss@^8.2.15".
warning " > extract-text-webpack-plugin@3.0.2" has incorrect peer dependency "webpack@^3.1.0".
warning " > zip-webpack-plugin@4.0.1" has unmet peer dependency "webpack-sources@*".
warning Error running install script for optional dependency: "/home/jyothish/Projects/desktop/webapp/node_modules/gifsicle: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments: 
Directory: /home/jyothish/Projects/desktop/webapp/node_modules/gifsicle
Output:
connect ETIMEDOUT 2405:200:1607:2820:41::36:443
gifsicle pre-build test failed
compiling from source
Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: line 1: autoreconf: command not found
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  at /home/jyothish/Projects/desktop/webapp/node_modules/execa/index.js:231:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)"
warning Error running install script for optional dependency: "/home/jyothish/Projects/desktop/webapp/node_modules/mozjpeg: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments: 
Directory: /home/jyothish/Projects/desktop/webapp/node_modules/mozjpeg
Output:
connect ETIMEDOUT 2405:200:1607:2820:41::36:443
mozjpeg pre-build test failed
compiling from source
Error: Command failed: /bin/sh -c autoreconf -fiv
/bin/sh: line 1: autoreconf: command not found
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  at /home/jyothish/Projects/desktop/webapp/node_modules/execa/index.js:231:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)"
No patch files found
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
error Command failed with exit code 1.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I did not want to install snap on my system, and I'm also switching to Void, without systemd, so I'd like to be able to do a native install. I could still use a container for my case, but this is a bug for now.

@13zebras
Copy link

Similar failure to build on Linux. Fedora Silverblue. No snaps. Flatpak installed and preferred. But I was happy to build the Electron app if it would build.

@blacklightpy
Copy link
Author

Similar failure to build on Linux. Fedora Silverblue. No snaps. Flatpak installed and preferred. But I was happy to build the Electron app if it would build.

Is there a Flatpak now?

@13zebras
Copy link
13zebras commented Sep 2, 2023

Is there a Flatpak now?

I checked. Nope. Just snaps. 😢

@blacklightpy
Copy link
Author

Is there a Flatpak now?

I checked. Nope. Just snaps. 😢

Try this guy's Flatpak manifest: #31 (comment)

I can't test it out because I'm now on Windows after accidentally wiping my partition (not even a Linux problem, I mindlessly force cancelled a partition resize after accidentally clicking rollback in the last 30 seconds after a 2-hour operation).

@blacklightpy blacklightpy changed the title Linux build failed Cannot build on Linux anymore Jan 2, 2024
@BenTowali
Copy link

Is there a Flatpak now?

I checked. Nope. Just snaps. 😢

Im personally maintaining an AUR package but I would also really like to build it from source but for now i have to rely on the snap sadly.
https://aur.archlinux.org/packages/raindrop

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

No branches or pull requests

3 participants
0