-
Notifications
You must be signed in to change notification settings - Fork 166
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
Select compiler broken on AIX #1992
Comments
The Jenkins on AIX uses /bin/sh explicitly to call select-compiler:
So basically select-compiler needs conversion to be /bin/sh syntax. |
@sam-github unless we can fix this quickly can you back out the previous change? It will block all releases. |
Leaving open til a build passes. Kicked off: https://ci.nodejs.org/view/x%20-%20Abi%20stable%20module%20API/job/node-test-node-addon-api-new/820/ (I've never run this job before, I limited it to aix61, perhaps someone cat take a look that I did it correctly). |
Unfortunately that build failed while downloading the Node.js binary... probably being affected by #1993. |
Ouch. Well, I'll wait a bit before trying again. |
do you not have Bash on AIX? if you do, then just make sure |
|
@rvagg I don't think |
I don't have strong feelings about this, though having been burned in the past porting scripts that assume that all the world is GNU to OSs that are not, I happily stick /bin/sh for scripts, and keep bashisms to interactive use. The existing script was /bin/sh compatible and worked, now it is /bin/sh compatible again, I don't see the ifelfs as any clearer than the case statements that were used throughout the rest of the file. I'm also not keen to have scripts that depend on magic config typed into jenkins job configs, which are unversioned. But that's just me, if you really like bash and want to use it everywhere, you're doing the work, its up to you, I've no objections to working code! And I just saw your post you added.... recall that select-compiler.sh is called from a number of jobs, and they all need the |
That's the world we live in here, we can't escape some dependency on Jenkins, this script depends on being called by Jenkins. It's even invoked in two different ways currently - one by |
OK, so would you like me to revert the use of case back to bashisms, or add a commit clarifying that bash syntax is permitted in the future, or shall we just close this as "working for now"? |
Sorry, it's fine as is, my bad for pushing it forward without understanding the implications. I'd prefer us to agree on Bash availability and compatibility for most purposes but it's not a big deal. |
@rvagg this change seems to have broken select compiler on AIX.
#1985
Failure is:
https://ci.nodejs.org/view/x%20-%20Abi%20stable%20module%20API/job/node-test-node-addon-api-new/nodes=aix61-ppc64/811/console
The text was updated successfully, but these errors were encountered: