-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Tests for v5.6.0 fails on Alpine Linux with musl #5354
Comments
Which compiler and compiler version are you using? Also, you probably need to use something more featureful than busybox (e.g. bash). |
@mscdex gcc 5.3.0 and musl 1.1.12, it seems. We still don't fully "support" this combo but the docker team and even people from Alpine is actively looking at this. |
@mscdex It's simply $ apk add make
$ ./configure --prefix=/usr
$ make -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)
$ make install |
@franz-josef-kaiser as for the warnings in v8 or openssl I suggest you file a bug in their upstream. I don't think you'll get much progress unless you file patches though (which usually can be low hanging fruit) |
@jbergstroem about that "low hanging fruit": I am developing PHP and JS applications and building patches for those warnings would be more than just a challenge for me. What I was trying was "just" to build a small and more versatile Docker container that can serve Node applications for various cases and configurations without building a dozen images and maintaining them. While the idea of having such a container available to developers made me spend a weekend over it, I now reached a point where I can't proceed due to knowledge limitations. Thanks for the links tough! |
@franz-josef-kaiser I guess a more appropriate title here is "tests fails on alpine linux with musl" since the binary built fine but tests failed. I suggest you move forward (or even use the binary provided by alpine's packaging solution) and just use it as you originally planned. It should work fine for you and we're tracking the test issues you also experienced. |
@franz-josef-kaiser btw, if it ok if we close this? We already have a PR and issue tracking this which I referenced above? Thanks again for taking the time to report this. |
@jbergstroem Thought you mind want to adjust labels and close that, so no problem with that. Thanks for taking the time explaining the bits and pieces and cross referencing issues. |
@franz-josef-kaiser No problem at all. Closed as a duplicate of #5099. |
During trying to build Node.js v5.6.0 in an Alpine Linux 3.3 Docker container, I get various errors. As the whole build log would be too extensive, I only paste the erroring parts here. There are non-erroring parts in front of it to make identification of the steps easier.
The tarball of origin:
The tests failed partly – appended after the build errors.
Build log
Tests
Tests were run with a simple
make test
.The text was updated successfully, but these errors were encountered: