Replies: 1 comment
-
Comments in this issue about prebuilt binaries highlighted the importance of updating all the dependencies, but this has tended to lead to segmentation faults. Returning to the old build versions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version: tried 12.0.0, 11.0.1, 10.5.0
Arch: x64
Environment: Docker (v. 19.03.8) image "node:18.17.1-alpine"
Host OS: Ubuntu 22.04
I include serialport in x64 and ARM versions of Alpine Docker containers and am used to building everything from source (
RUN apk add make gcc g++ python3 linux-headers udev && npm install serialport --build-from-source
).Recent versions of the serialport advertise support for musl, so I am trying to simplify the build process and make sure that the project uses the same standard binaries. However, attempting to replace the above step with just
RUN apk add python3
and runresults in:
Without the binary,
RUN apk add make gcc g++ python3 linux-headers udev
is necessary and the full build has to run. Is this expected result (in which case the linked page should mention these dependencies)? Or shouldtarget=18.17.1 runtime=node arch=x64 libc=musl platform=linux
be finding a binary and skipping the build? This older discussion did something similar with earlier versions but claimed success with the 10.5.0 without going into detail.Beta Was this translation helpful? Give feedback.
All reactions