You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My first question is what is the motivation for this change?
The main motivation was to add verbosity (since the build was failing). I tried to add it to tools/make-v8.sh but like you said the patch failed. That led me to dig into that whole mechanism... I found out that tools/make-v8.sh is only used in node-test-commit-v8-linux, so I thought it is not optimal that 2 out of 3 of its uses patch it significantly (with patches that come from the CI worker's drive, which is fragile).
I meant to follow up with a PR to add ifs in tools/make-v8.sh, eliminating the need to manipulate that file at all in CI...
It was intended to be a short-medium term fix while we got changes into the google repos so I agree finding something better makes sense. Just not sure the copy over is better.
Unfortunately, the person who was working on it with me has left the team so we'll have to ask if when/the change might be making it into the v8 repos. @gdams adding you into the thread as well so you are up to speed.
I think next step is to figure out if/when that change might show up in the google repos so that we could remove any special behaviour and then based on how far out it is decide what to do.
04:04:08 Pythoning //build/config/linux/pkg-config.py took 212ms
04:04:08 Defining config //build/config/linux:glib(//build/toolchain/linux:s390x)
04:04:08 Pythoning python -- /data/iojs/build/workspace/node-test-commit-v8-linux/nodes/rhel72-s390x/v8test/v8test/deps/v8/build/config/linux/pkg-config.py atspi-2
04:04:08 Pythoning //build/config/linux/pkg-config.py took 38ms
04:04:08 ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
04:04:08 pkgresult = exec_script(pkg_config_script, args, "value")
04:04:08 ^----------
04:04:08 Current dir: /data/iojs/build/workspace/node-test-commit-v8-linux/nodes/rhel72-s390x/v8test/v8test/deps/v8/out.gn/s390x.release/
04:04:08 Command: python -- /data/iojs/build/workspace/node-test-commit-v8-linux/nodes/rhel72-s390x/v8test/v8test/deps/v8/build/config/linux/pkg-config.py atspi-2
04:04:08 Returned 1.
04:04:08 stderr:
04:04:08
04:04:08 Package atspi-2 was not found in the pkg-config search path.
04:04:08 Perhaps you should add the directory containing `atspi-2.pc'
04:04:08 to the PKG_CONFIG_PATH environment variable
04:04:08 No package 'atspi-2' found
04:04:08 Could not run pkg-config.
04:04:08
04:04:08 See //build/config/linux/BUILD.gn:104:3: whence it was called.
04:04:08 pkg_config("atspi2") {
04:04:08 ^---------------------
04:04:08 See //build/config/compiler/BUILD.gn:224:18: which caused the file to be included.
04:04:08 configs += [ "//build/config/linux:compiler" ]
04:04:08 ^------------------------------
04:04:08 make: *** [v8] Error 1
Thanks, that info lets me better understand the original issue and our current state.
And if I understand correctly, you were then going to PR in tools/make-v8.sh in the node.js repo to conditionally add the extra stuff for PPC and S390.
If that is what you were thinking, it probably makes sense. The patch has been in place a lot longer then I'd hoped and if you are going to build v8 using make-v8, even outside the CI you'd need those extra changes so maybe just putting them in the master version of make-v8 makes sense.
Activity
mhdawson commentedon Oct 19, 2018
My first question is what is the motivation for this change? I made it a patch so that :
refack commentedon Oct 19, 2018
The main motivation was to add verbosity (since the build was failing). I tried to add it to
tools/make-v8.shbut like you said the patch failed. That led me to dig into that whole mechanism... I found out thattools/make-v8.shis only used innode-test-commit-v8-linux, so I thought it is not optimal that 2 out of 3 of its uses patch it significantly (with patches that come from the CI worker's drive, which is fragile).I meant to follow up with a PR to add
ifs intools/make-v8.sh, eliminating the need to manipulate that file at all in CI...mhdawson commentedon Oct 23, 2018
Is the patch failing now ?
It was intended to be a short-medium term fix while we got changes into the google repos so I agree finding something better makes sense. Just not sure the copy over is better.
Unfortunately, the person who was working on it with me has left the team so we'll have to ask if when/the change might be making it into the v8 repos. @gdams adding you into the thread as well so you are up to speed.
I think next step is to figure out if/when that change might show up in the google repos so that we could remove any special behaviour and then based on how far out it is decide what to do.
mhdawson commentedon Oct 23, 2018
@refack I guess the patch was failing, do you have the output of what the patch failure told us?
refack commentedon Oct 23, 2018
https://ci.nodejs.org/job/node-test-commit-v8-linux/nodes=rhel72-s390x,v8test=v8test/1779/console
mhdawson commentedon Oct 23, 2018
That does not look like a failure to apply the patch to the original
tools/make-v8.shfile?refack commentedon Oct 23, 2018
Ohh, that fail:
After I patched
tools/make-v8.shwith nodejs/node@0e62432mhdawson commentedon Oct 23, 2018
Thanks, that info lets me better understand the original issue and our current state.
And if I understand correctly, you were then going to PR in tools/make-v8.sh in the node.js repo to conditionally add the extra stuff for PPC and S390.
If that is what you were thinking, it probably makes sense. The patch has been in place a lot longer then I'd hoped and if you are going to build v8 using make-v8, even outside the CI you'd need those extra changes so maybe just putting them in the master version of make-v8 makes sense.
refack commentedon Oct 23, 2018
@mhdawson submitted nodejs/node#23839
[-]CI-Change: tweaks to `make-v8` test script on s390 [/-][+]CI-Change: tweaks to `make-v8` test script[/+]refack commentedon Nov 10, 2018
nodejs/node#23839 landed, so now I had to do the same on the ppcle machine:
https://ci.nodejs.org/job/node-test-commit-v8-linux/jobConfigHistory/showDiffFiles?timestamp1=2018-11-09_09-49-37×tamp2=2018-11-10_16-59-07
old make-v8.sh from
masterppcle patch:
new:
refack commentedon Nov 10, 2018
Follow Up in core - nodejs/node#24293
rvagg commentedon Nov 11, 2018
👍
BethGriggs commentedon Nov 13, 2018
I am hitting the following when running v8.x test-commit-v8 jobs - I am not sure if it is related to this change?
https://ci.nodejs.org/job/node-test-commit-v8-linux/nodes=rhel72-s390x,v8test=v8test/1846/console
//cc @refack @gdams
refack commentedon Nov 13, 2018
Probably has something to do with this... I'm looking into this.
refack commentedon Nov 13, 2018
Ok, got the linuxOne to compile - https://ci.nodejs.org/job/node-test-commit-v8-linux/1849/nodes=rhel72-s390x,v8test=v8test/console
The ppcle issue seems unrelated:
refack commentedon Nov 13, 2018
Last time this happened we had to pin the
depot_toolsversion - #886 (comment)If anyone can figure out which one works, I'll set it up.
@nodejs/platform-ppc
mhdawson commentedon Nov 13, 2018
@gdams can you work with John to figure out what we should do.
build,tools: update make-v8.sh for ppc64le
build,tools: update make-v8.sh for ppc64le
build,tools: update make-v8.sh for ppc64le
build,tools: update make-v8.sh for ppc64le
build,tools: update make-v8.sh for ppc64le