pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Build from macOs to node16-linux-arm64 dont work on Dockerized Debian

Open snips-dev opened this issue 2 years ago • 2 comments

What version of pkg are you using?

5.5.2

What version of Node.js are you using?

16.14.0

What operating system are you using?

macOS

What CPU architecture are you using?

arm64

What Node versions, OSs and CPU architectures are you building for?

node16-linux-arm64

Describe the Bug

Launching the command pkg . -t node16-linux-arm64 and moving the binary on a dockerized Debian and launching it fails to start with 0 messages if i run echo $? the result is 4. Moving the whole project in dockerized Debian with the same version of pkg and node and launching pkg . -t node16-linux-arm64 the binary created work fine

Launching the command pkg . -t node14-linux-arm64and moving the binary on a dockerized Debian and launching it work fine

Expected Behavior

Launching the command pkg . -t node16-linux-arm64and moving the binary on a dockerized Debian and launching it work fine

To Reproduce

Launching the command pkg . -t node16-linux-arm64and moving the binary on a dockerized Debian on a M1 pro

snips-dev avatar Mar 17 '22 14:03 snips-dev

If you have a solution to this I might be interested.

Docs say you have to have a trusted apple developer ID or the gatekeeper process will kill the build process - which it dues by saying codesign not found or configured properly.

However, could you share your docker build script?

Gkiokan avatar May 08 '22 00:05 Gkiokan

#1400

Make sure that you are using the latest pkg.

jesec avatar May 19 '22 09:05 jesec

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

github-actions[bot] avatar Aug 18 '22 00:08 github-actions[bot]

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

github-actions[bot] avatar Aug 23 '22 00:08 github-actions[bot]