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

'GLIBCXX_3.4.20' not found on s390 #1548

Closed
targos opened this issue Oct 27, 2018 · 9 comments
Closed

'GLIBCXX_3.4.20' not found on s390 #1548

targos opened this issue Oct 27, 2018 · 9 comments
Labels
bug ci-change PSA of configuration changes ci-public CitGM

Comments

@targos
Copy link
Member

targos commented Oct 27, 2018

@nodejs/platform-s390

The citgm-continuous-integration job fails on rhel72-s390x with a concerning error.
This happens with Node 10 and 11.

https://ci.nodejs.org/job/citgm-continuous-integration/131/MACHINE=rhel72-s390x/console

+ gzip -cd node-v11.0.0-linux-s390x.tar.gz
+ tar xf -
[rhel72-s390x] $ /bin/sh -xe /tmp/jenkins7985328420173854426.sh
+ cd /data/iojs/build/workspace/citgm-continuous-integration/MACHINE/rhel72-s390x/node-v11.0.0-linux-s390x/bin
+ export PATH=/data/iojs/build/workspace/citgm-continuous-integration/MACHINE/rhel72-s390x/node-v11.0.0-linux-s390x/bin:/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/data/iojs/build/workspace/citgm-continuous-integration/MACHINE/rhel72-s390x/node-v11.0.0-linux-s390x/bin:/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ cd /data/iojs/build/workspace/citgm-continuous-integration/MACHINE/rhel72-s390x
+ node -v
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
@richardlau
Copy link
Member

The job needs to run jenkins/scripts/select-compiler.sh to set the LD_LIBRARY_PATH to point at the gcc-4.9 runtime libraries.

@gdams
Copy link
Member

gdams commented Oct 27, 2018

I've added the following to the job

rm -rf build
git clone https://github.com/nodejs/build.git
. ./build/jenkins/scripts/select-compiler.sh

but it seems to be looking for tools/getnodeversion.py which is in the nodejs/node repo rather than the build repo so that might be a problem.

@richardlau
Copy link
Member

I've added the following to the job

rm -rf build
git clone https://github.com/nodejs/build.git
. ./build/jenkins/scripts/select-compiler.sh

but it seems to be looking for tools/getnodeversion.py which I can't seem to find?

Ah it does that if NODEJS_MAJOR_VERSION isn't set. tools/getnodeversion.py is from the main nodejs/node repo which this job doesn't checkout (and shouldn't) since it's running the prebuilt Node.js binaries.

Maybe set NODEJS_MAJOR_VERSION by slicing off the v off NODE_VERSION (otherwise changing the NODE_VERSION parameter to NODEJS_MAJOR_VERSION and dropping the v prefix is a bigger job refactor)?

@mhdawson
Copy link
Member

The job must already know/figure out what the major node version is, it should just e able to set NODEJS_MAJOR_VERSION

@mhdawson
Copy link
Member

I'm a bit concerned that we are only discovering this now. @targos do you know if was running ok earlier?

@targos
Copy link
Member Author

targos commented Oct 29, 2018

I don't know. We do not execute this job very often.

@gdams
Copy link
Member

gdams commented Oct 29, 2018

@gdams gdams closed this as completed Oct 29, 2018
@refack refack added ci-public incident CitGM ci-change PSA of configuration changes bug and removed incident labels Oct 29, 2018
@gdams
Copy link
Member

gdams commented Oct 29, 2018

yeah I'll copy the changes in here:

  | rm -rf build
  | export NODEJS_MAJOR_VERSION="${NODE_VERSION:1}"
  | git clone https://github.com/nodejs/build.git
  | . ./build/jenkins/scripts/select-compiler.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci-change PSA of configuration changes ci-public CitGM
Projects
None yet
Development

No branches or pull requests

5 participants