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

Windows build failed on MacOS High Sierra #4760

Closed
GitNomster opened this issue Mar 10, 2020 · 5 comments
Closed

Windows build failed on MacOS High Sierra #4760

GitNomster opened this issue Mar 10, 2020 · 5 comments
Labels

Comments

@GitNomster
Copy link

GitNomster commented Mar 10, 2020

  • Version: 22.4.0
  • Target: Win x32
    Trying to build Win x32 on macOS v. 10.13.3, but its failed.
• building target=nsis file=dist/electron-webpack-quick-start Setup 0.0.0.exe archs=ia32 oneClick=true perMachine=false
  ⨯ /Users/test014/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Error output:

Error output:
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/test014/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/test014/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

  stackTrace=
    Error: /Users/test014/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    Error output:

    Error output:
    dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
    Referenced from: /Users/test014/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis (which was built for Mac OS X 10.15)
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: Symbol not found: ____chkstk_darwin
    Referenced from: /Users/test014/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis (which was built for Mac OS X 10.15)
    Expected in: /usr/lib/libSystem.B.dylib

        at ChildProcess.<anonymous> (/Users/test014/testing/electron-webpack-quick-start/node_modules/builder-util/src/util.ts:239:14)
        at Object.onceWrapper (events.js:423:26)
        at ChildProcess.emit (events.js:316:20)
        at maybeClose (internal/child_process.js:1026:16)
        at Socket.<anonymous> (internal/child_process.js:441:11)
        at Socket.emit (events.js:316:20)
        at Pipe.<anonymous> (net.js:672:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-webpack-quick-start@0.0.0 dist: `npm run compile && electron-builder --win --ia32`
npm ERR! Exit status 1

All is ok with electron-builder v. 21.2.0.

@GitNomster GitNomster changed the title Win build failed on Mac Windows build failed on MacOS High Sierra Mar 10, 2020
@Yasamato
Copy link

Duplicate #4629

@stale
Copy link

stale bot commented May 12, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label May 12, 2020
@stale stale bot closed this as completed May 19, 2020
@wolfiex
Copy link

wolfiex commented Jul 5, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Which generally occurs from a lack of an answer?

@fromcouch
Copy link

I have the same problem.
Mac Os X High Sierra here 10.13.6 with electron 10.0.7 and electron-builder 23.6.0 and i have same error when building for windows.

What's the solution finally?

@Yasamato
Copy link

@fromcouch, in #4629 the solution was to either not compile for ia32 (win 32bit) or downgrade your version of electron-builder to 21.2.x

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

No branches or pull requests

4 participants