GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Ninja not deployed to s390x and ppcle machines · Issue #1205 · nodejs/build

Ninja not deployed to s390x and ppcle machines #1205

New issue
Copy link
New issue
Copy link
Closed
Closed
Ninja not deployed to s390x and ppcle machines#1205
Copy link

Description

@MylesBorins
MylesBorins
opened on Apr 2, 2018
Issue body actions

nodejs/node#19201 (comment)

Can we get that fixed?

Activity

  1. MylesBorins commented on Apr 3, 2018

    @MylesBorins
    MylesBorins
    on Apr 3, 2018
    ContributorAuthor
    More actions

    Ping @nodejs/build @rvagg @mhdawson

    This is blocking nodejs/node#19201

  2. mmallick-ca commented on Apr 3, 2018

    @mmallick-ca
    mmallick-ca
    on Apr 3, 2018
    More actions

    We are looking into this, we will probably need a set of ansible scripts to pull and build from ninja source on these platforms.

  3. MylesBorins commented on Apr 3, 2018

    @MylesBorins
    MylesBorins
    on Apr 3, 2018 via email
    ContributorAuthor
    More actions
    Would it be possible for someone to test locally and chime in on the thread if the test suite passes or not?
    …
    On Apr 3, 2018, at 12:59 PM, Muntasir Mallick ***@***.***> wrote: We are looking into this, we will probably need a set of ansible scripts to pull and build from ninja source on these platforms. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1205 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAecVxtsFxlwEGdFmvZ4RVXpXeGyvRWaks5tk6qAgaJpZM4TDq2U>.
  4. mhdawson commented on Apr 3, 2018

    @mhdawson
    mhdawson
    on Apr 3, 2018
    Member
    More actions

    We've been working to get GN for PPC and s390x included in the google dev_tools but I see we've not made it in time to avoid problems.

    I think for now we can install temporarily on the machines themselves.

    Depending on how long we think getting them into dev_tools is going to take we may want to update the ansible scripts to build/install them, but I'd prefer they are pulled from the dev_tools like other platforms as that validates that v8 can be built more generally.

    Reacted by Nikolai Vavilov and Myles Borins
  5. MylesBorins commented on Apr 3, 2018

    @MylesBorins
    MylesBorins
    on Apr 3, 2018
    ContributorAuthor
    More actions

    /cc @nodejs/v8-update

  6. refack commented on Apr 3, 2018

    @refack
    refack
    on Apr 3, 2018
    Contributor
    More actions

    If it's just ninja I'd manually build it so that nodejs/node#19201 is unblocked. IMHO landing that and getting it tested will be very beneficial.
    Any strong objections?

    P.S. AFAICT it's also missing for ppc64le (is the deprecation complete?)

  7. refack commented on Apr 3, 2018

    @refack
    refack
    on Apr 3, 2018
    Contributor
    More actions

    P.S. AFAICT ninja is only required to smoke test V8 with it's own test suite. V8 can still be built with node's scaffolding RE: https://ci.nodejs.org/job/node-test-commit/17391/

  8. mhdawson commented on Apr 3, 2018

    @mhdawson
    mhdawson
    on Apr 3, 2018
    Member
    More actions

    Its more than that, we believe we need GN as well and we are working on compiling that now.

    Reacted by Nikolai Vavilov
  9. mhdawson commented on Apr 3, 2018

    @mhdawson
    mhdawson
    on Apr 3, 2018
    Member
    More actions

    ppc64le is NOT deprecated, it was only the be version which is not part of this job as I've already removed it.

  10. mhdawson commented on Apr 3, 2018

    @mhdawson
    mhdawson
    on Apr 3, 2018
    Member
    More actions

    We had pre-built binaries that we had used for earlier testing, but they have glibc dependencies that prevent them from running on the community CI machines.

    We are currently working on building on the CI machines as a temporary work around.

    Reacted by Refael Ackermann
  11. refack commented on Apr 3, 2018

    @refack
    refack
    on Apr 3, 2018
    Contributor
    More actions

    ppc64le is NOT deprecated

    In that case I'm assuming GN / ninja will be needed for ppcle-ubuntu1404 as well... (hopefully that's also taken care of 🤞 )

    appending title

  12. refack
    changed the title [-]Ninja not in path of s390x machine[/-] [+]Ninja not deployed to s390x and ppcle machines[/+] on Apr 3, 2018
  13. mhdawson commented on Apr 3, 2018

    @mhdawson
    mhdawson
    on Apr 3, 2018
    Member
    More actions

    Yes working on it for both PPC and s390

    Reacted by Refael Ackermann
  14. mhdawson commented on Apr 4, 2018

    @mhdawson
    mhdawson
    on Apr 4, 2018
    Member
    More actions

    So we added gn and ninja binaries for PPC and there are still some issues as it is trying to use the x86 version of gn. @mmallick-ca will have a deeper look so that we can figure out how long we think it will take to fix it up.

  15. MylesBorins commented on May 24, 2018

    @MylesBorins
    MylesBorins
    on May 24, 2018
    ContributorAuthor
    More actions

    AFAICT this is still broken, any eta @mhdawson ?

  16. mmallick-ca commented on May 25, 2018

    @mmallick-ca
    mmallick-ca
    on May 25, 2018
    More actions

    We have built a set of gn/ninja binaries and used gn's command line options to generate the ninja files to build v8 on our test machines. Just need to try it out on the community machines and submit a pull-request for the changes that will be required in make-v8.sh. @mhdawson and I will be getting together upcoming Monday to try out the binaries and install some of the dependencies.

  17. mhdawson commented on May 29, 2018

    @mhdawson
    mhdawson
    on May 29, 2018
    Member
    More actions

    The s390x is now passing with medium term fix (adding pieces needed on build machine) until we get changes upstreamed. The same formula should would for PPC but we need to get some files and due to internal infra issue that may take a few days.

  18. hashseed commented on May 29, 2018

    @hashseed
    hashseed
    on May 29, 2018
    Member
    More actions

    Is the goal to build node for s390/ppc with ninja, or also v8 with gn via --build-v8-with-gn?

    For the latter we have a minor issue where ICU is built twice, once with the v8-monolith target, and once as part of node. If the ICU versions mismatch there are some funny crashes.

  19. mhdawson commented on May 29, 2018

    @mhdawson
    mhdawson
    on May 29, 2018
    Member
    More actions

    @hashseed, we are not doing any work on building node differently from the rest of the project.

    All we want to get working here is that make test-v8 in the community CI passes again. This does build v8 with ninja from the v8 source in the node tree, but not node itself.

    Reacted by Yang Guo
  20. mmallick-ca commented on Jun 7, 2018

    @mmallick-ca
    mmallick-ca
    on Jun 7, 2018
    More actions

    We have a medium term fix where @mhdawson has installed the appropriate gn/ninja binaries and other dependencies on the community machine. We are using a patch to make-v8.sh to invoke them appropriately. In the long term we have to teach v8-gen.py to generate the appropriate gn command. But for now this should enable v8 tests to run.

  21. mhdawson commented on Jun 7, 2018

    @mhdawson
    mhdawson
    on Jun 7, 2018
    Member
    More actions

    Latest CI runs are green :) https://ci.nodejs.org/job/node-test-commit-v8-linux/

  22. mhdawson commented on Jun 7, 2018

    @mhdawson
    mhdawson
    on Jun 7, 2018
    Member
    More actions

    Last thing I should cover before closing this out is adding to the doc how to restore the files if necessary. We could add to ansible but not 100% sure its worth doing that since it is temporary. @gdams can you add considering that to your todo list?

    Reacted by George Adams
  23. seishun commented on Jun 7, 2018

    @seishun
    seishun
    on Jun 7, 2018
    Contributor
    More actions

    If gn now works on all supported platforms, is there a reason to continue building V8 with Gyp?

  24. mhdawson commented on Jun 7, 2018

    @mhdawson
    mhdawson
    on Jun 7, 2018
    Member
    More actions

    @seishun, we still have a long way to go before gn is supported on our platforms. As @mmallick-ca I've manually copied files/tools onto the our ci machines and we dynamically patch make-v8 to make it run. We will work to contribute changes back to the google infra but that's likely to take quite a while.

    Reacted by Nikolai Vavilov
  25. refack commented on Jun 18, 2018

    @refack
    refack
    on Jun 18, 2018
    Contributor
    More actions

    Found this on test-osuosl-ubuntu1404-ppc64--le-1
    is it tracked anywhere?

    index 4365412..0092d6c 100755
    --- a/tools/make-v8.sh
    +++ b/tools/make-v8.sh
    @@ -5,5 +5,17 @@ V8_BUILD_OPTIONS=$2
    
     cd deps/v8
     tools/node/fetch_deps.py .
    -PATH=~/_depot_tools:$PATH tools/dev/v8gen.py $BUILD_ARCH_TYPE --no-goma $V8_BUILD_OPTIONS
    -PATH=~/_depot_tools:$PATH ninja -C out.gn/$BUILD_ARCH_TYPE/ d8 cctest inspector-test
    +
    +# set paths manually for now to use locally installed gn
    +export BUILD_TOOLS=/home/iojs/build-tools
    +export LD_LIBRARY_PATH=$BUILD_TOOLS:$LD_LIBRARY_PATH
    +export PATH=$BUILD_TOOLS:$PATH
    +CXX_PATH=`which $CXX |grep g++`
    +rm -f "$BUILD_TOOLS/g++"
    +rm -f "$BUILD_TOOLS/gcc"
    +ln -s /usr/bin/$CXX "$BUILD_TOOLS/g++"
    +ln -s /usr/bin/$CC "$BUILD_TOOLS/gcc"
    +g++ --version
    +export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config-files
    +gn gen out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="ppc64" target_cpu="ppc64"'
    +ninja -C out.gn/$BUILD_ARCH_TYPE d8 cctest inspector-test

    Also seems to fails the linux s390x - https://ci.nodejs.org/job/node-test-commit-v8-linux/nodes=rhel72-s390x,v8test=v8test/1442/console

    18:41:51 + git apply /home/iojs/build-tools/make-v8.patch
    18:41:51 /home/iojs/build-tools/make-v8.patch:23: trailing whitespace.
    18:41:51 gn gen out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="s390x" target_cpu="s390x"' 
    18:41:51 error: patch failed: tools/make-v8.sh:5
    18:41:51 error: tools/make-v8.sh: patch does not apply
    18:41:51 Build step 'Execute shell' marked build as failure
    
  26. mhdawson commented on Jun 19, 2018

    @mhdawson
    mhdawson
    on Jun 19, 2018
    Member
    More actions

    If fixed the job to avoid trying to apply the patch on versions earlier that 10. Its required to build with gn.

    It is in the package -> build-tools-ppc.tar.gz in www/ppc in the downloads served by the ci server. Same for s390. As metioned in #1205 (comment) we still have to doc that or add to ansible before closing this issue. I've asked @gdams to add to his todo list in the above comment.

  27. MylesBorins commented on Nov 20, 2018

    @MylesBorins
    MylesBorins
    on Nov 20, 2018
    ContributorAuthor
    More actions

    is this fixed?

  28. mhdawson commented on Nov 20, 2018

    @mhdawson
    mhdawson
    on Nov 20, 2018
    Member
    More actions

    I believe this is resolved in the context of the original problem. Closing. Please re-open if that is not the right thing to do.

  29. mhdawson
    closed this as completedon Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.