-
Notifications
You must be signed in to change notification settings - Fork 1.3k
4.7.0-4.7.2 binaries incompatible with CentOS 5 - ELF file OS ABI invalid #2159
Comments
Interesting. Out of curiosity, which OS is this? |
We are facing the same exact issue. Our OS is Red Hat Enterprise Linux Server release 5.11 (Tikanga) We have switched back to 4.6.1 till this issue is fixed. |
Locking to node-sass@~4.6 will likely work around the issue.
Does the issue persist in 4.7.2?
…On 21 Nov. 2017 8:50 am, "aseem001" ***@***.***> wrote:
We are facing the same exact issue. Our OS is Red Hat Enterprise Linux
Server release 5.11 (Tikanga)
Is there a way around it, like reverting back to 4.6.1?
We also did not see this issue when we ran a build with ***@***.***
on Friday, November 17
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjZWBk7veEApYSgbsdAnEQggWc0jjDXks5s4fQmgaJpZM4QkvU9>
.
|
We are facing the same issue in Red Hat 5.11(Tikanga). Can you please provide a quick solution.Since I can't switch back to older versions of node-sass as it is referring from ember-cli-sass |
@xzyfer Still we are facing the same issue in 4.7.2. |
We don't understand the problem yet. For now you can add [email protected] in
your package.json. npm will install that version even if it's a dependency
of another package
…On 21 Nov. 2017 8:35 pm, "Thilagavathi Indrajit" ***@***.***> wrote:
@xzyfer <https://github.com/xzyfer> Still we are facing the same issue in
4.7.2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjZWGayEv0M_qSC7myZPsIGnhz9njstks5s4pl-gaJpZM4QkvU9>
.
|
@xzyfer Yes. We have done the same now. it is working. |
@xzyfer did you rebuild with the old CentOS 5 machine for the linux binaries? I believe this might be because of the really old libc issues we ran into before |
We've been using CentOS 6 for a while now. I think some of the RPM may have been updated on use though. I had some troubled with the x86 binaries. |
OK, related nodejs/build#898 CentOS/RHEL 5 is only valid for Node < 8 since it's EOL, but I guess it should still be working with 6 |
@stefanpenner are you able to confirm this with your CentOS setup? |
I can reproduce this issue on the following setup: RedHat EL 5.9 If you need me to test anything, just let me know. For now, I've rolled back to node-sass 4.6. |
Are you able to reproduce the issue on a newer version of node? I wonder if
it's something specific about node 6
…On 22 Nov. 2017 7:07 pm, "Cedric Roijakkers" ***@***.***> wrote:
I can reproduce this issue on the following setup:
RedHat EL 5.9
Node v6.11.2
node-sass versions 4.7.1 and 4.7.2
If you need me to test anything, just let me know. For now, I've rolled
back to node-sass 4.6.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjZWGtvU-6L0r5iTdcH9B3TE8fxsINnks5s49YngaJpZM4QkvU9>
.
|
Hitting this since Sunday. Using node-sass 4.6 now. |
@xzyfer: Node 8 is not an option on RHEL5, because the C library is not the right version:
|
I'll take a look. Just a note, My oldest RHEL is 6... I don't have easy access to 5 ATM. |
@xzyfer on my RHEL6 box, with node 6.9.1 all appears fine:
|
If memory serves Anyways, to be a good node ecosystem citizen node-sass should likely mimic node's support platforms:
This would suggest, until node-sass drops support for node 8 (likely when node 8 ends its LTS December 2019) node-sass should support glibc => 2.5 and thus most likely support RHEL 5.x until Dec 2019. Now obviously, this sounds like a PITA. So if it is decided that support for glibc 2.5 is to be dropped, it would at the very least require a major version bump. |
Maybe I am confusing myself, but it appears the binaries claim to only depend on quite old versions of GLIBC. How am I trolling myself?
Although |
It seems like: https://www.npmjs.com/package/prebuild maybe help simplify this process as it supports amongst other things spo And coupled with https://github.com/mapbox/node-pre-gyp, I suspect the binary build process will become greatly simplified. |
I have reproduced this with CentOS 5.11, node v6.12.0, yarn 1.3.2 and node-sass 4.7.2 |
First thing that is unusual is that OS ABI in the
I have fixed this by binary editing the file and then the next problem appears:
node v6.12.0 needs
But we need
|
In 4.6.1 things were normal, albeit we needed a slightly newer libc:
so it looks like node 8 compiler/library dependencies sneaked into older builds. |
I have access to a CentOS 5 (5.3) environment where everything builds fine:
And this CentOS5 (5.5) machine, where the failure occurs:
|
@kbower thanks for trying this! The issue is with the binaries provided by us. Rebuilding from source should produce a working binary. Can you check if the binding file built on older Centos 5.3 works when copied (not rebuilt) on Centos 5.5? |
@saper Yes, indeed, copying the binding.node file from the CentOS 5.3 to 5.5 allowed me to build the rest of the app on the CentOS 5.5 machine. |
I believe I may have a resolution to this. Is someone available to help me test this in real time? |
I am still stuck with this error. I tried with version 4.6.1, 4.7.1 and 4.7.2 |
@anandbaskaran which node version are you on ? can you try 4.8.1 binaries? |
Yes please, if you're experiencing this issue please try 4.8.1
You can confirm you're using 4.8.1
|
@xzyfer I have just checked things on my 5.11 CentOS VM. node engines newer than 6 will not work. But version 6 works fine with 4.8.1:
What about providing the following compatibility table with our releases:
|
@saper correct me if I'm wrong, but my understanding is that
I have built the Node 7 binary with 7.10.0 in hopes it would run on both CentOS 5 and 6. |
We have since released 4.8.3 which should address this issue. |
I no longer have access to the CentOS 5.5 machine where this was failing, so I can't help. Sorry. |
@ReidBraswell can you check with your setup? |
Can confirm that version |
Thanks |
Before opening an issue:
When reporting an bug, you must provide this information:
npm -v
): 3.10.8node -v
): 6.9.1node -p process.versions
):node -p process.platform
): linuxnode -p process.arch
): x64node -p "require('node-sass').info"
): 4.7.1npm ls node-sass
):When encountering a syntax, or compilation issue:
LibSass
. Youmay link it back here, but any change will be required there, not here
If you delete this text without following it, your issue will be closed.
Below is the output from our Jenkins job:
On Friday, November 17, we ran a build with [email protected] and did not have any issues.
The text was updated successfully, but these errors were encountered: