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

voicevox-linux-cpu: init at 0.15.2 #287354

Closed
wants to merge 1 commit into from

Conversation

themaxhero
Copy link
Contributor

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@themaxhero
Copy link
Contributor Author

themaxhero commented Feb 9, 2024

Progress: Currently I'm blocked because electron-builder is trying to download electron during the build even though I've set the environment variables.

voicevox-linux-cpu>   • electron-builder  version=24.6.4 os=6.1.76
voicevox-linux-cpu>   • loaded configuration  file=/build/source/electron-builder.config.js
voicevox-linux-cpu>   • description is missed in the package.json  appPackageFile=/build/source/package.json
voicevox-linux-cpu>   • writing effective config  file=dist_electron/builder-effective-config.yaml
voicevox-linux-cpu>   • packaging       platform=linux arch=x64 electron=27.0.3 appOutDir=dist_electron/linux-unpacked
voicevox-linux-cpu>   ⨯ Get "https://github.com/electron/electron/releases/download/v27.0.3/electron-v27.0.3-linux-x64.zip": dial tcp: lookup github.com on [::1]:53: read udp [::1]:53975->[::1]:53: read: connection refused
voicevox-linux-cpu> github.com/develar/app-builder/pkg/download.(*Downloader).follow.func1
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/download/downloader.go:206
voicevox-linux-cpu> github.com/develar/app-builder/pkg/download.(*Downloader).follow
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/download/downloader.go:234
voicevox-linux-cpu> github.com/develar/app-builder/pkg/download.(*Downloader).DownloadNoRetry
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/download/downloader.go:128
voicevox-linux-cpu> github.com/develar/app-builder/pkg/download.(*Downloader).Download
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/download/downloader.go:112
voicevox-linux-cpu> github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).doDownload
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:192
voicevox-linux-cpu> github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).Download
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:177
voicevox-linux-cpu> github.com/develar/app-builder/pkg/electron.downloadElectron.func1.1
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:73
voicevox-linux-cpu> github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
voicevox-linux-cpu>     /Volumes/data/Documents/app-builder/pkg/util/async.go:68
voicevox-linux-cpu> runtime.goexit
voicevox-linux-cpu>     /usr/local/Cellar/go/1.17/libexec/src/runtime/asm_amd64.s:1581
voicevox-linux-cpu>   ⨯ /build/source/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
voicevox-linux-cpu> Exit code:
voicevox-linux-cpu> 1  failedTask=build stackTrace=Error: /build/source/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
voicevox-linux-cpu> Exit code:
voicevox-linux-cpu> 1
voicevox-linux-cpu>     at ChildProcess.<anonymous> (/build/source/node_modules/builder-util/src/util.ts:250:14)
voicevox-linux-cpu>     at Object.onceWrapper (node:events:632:26)
voicevox-linux-cpu>     at ChildProcess.emit (node:events:517:28)
voicevox-linux-cpu>     at maybeClose (node:internal/child_process:1098:16)
voicevox-linux-cpu>     at Process.ChildProcess._handle.onexit (node:internal/child_process:303:5)
voicevox-linux-cpu> ERROR: `npm build` failed
voicevox-linux-cpu> Here are a few things you can try, depending on the error:
voicevox-linux-cpu> 1. Make sure your build script (electron:build_dir) exists
voicevox-linux-cpu>   If there is none, set `dontNpmBuild = true`.
voicevox-linux-cpu> 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation
voicevox-linux-cpu>   See https://github.com/webpack/webpack/issues/14532 for more information.
error: builder for '/nix/store/qgjzd2gl2z243nmag8r1cp2l86fxj1kp-voicevox-linux-cpu-0.15.2.drv' failed with exit code 1;
       last 10 log lines:
       >     at Process.ChildProcess._handle.onexit (node:internal/child_process:303:5)
       >
       > ERROR: `npm build` failed
       >
       > Here are a few things you can try, depending on the error:
       > 1. Make sure your build script (electron:build_dir) exists
       >   If there is none, set `dontNpmBuild = true`.
       > 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation
       >   See https://github.com/webpack/webpack/issues/14532 for more information.
       >
       For full logs, run 'nix log /nix/store/qgjzd2gl2z243nmag8r1cp2l86fxj1kp-voicevox-linux-cpu-0.15.2.drv'.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Feb 9, 2024
@TomaSajt TomaSajt mentioned this pull request Jun 12, 2024
13 tasks
@TomaSajt
Copy link
Contributor

Not sure if you've already seen it, but I managed to package the app in another PR: #319403

@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 10, 2024
@TomaSajt
Copy link
Contributor

Superseded by #319403

@TomaSajt TomaSajt closed this Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants