Giter VIP home page Giter VIP logo

Comments (5)

primiano avatar primiano commented on May 31, 2024 1

okay I think we got to the state where the cmdline is so long for some targets that fail.

We need to switch to response files (.rsp) in GN+ninja

from perfetto.

cphlipot1 avatar cphlipot1 commented on May 31, 2024

I also tested a fresh install of Ubuntu 22.04 in a VM and it failed as well. I'm unclear what about my years old 22.04 install that i originally tested that allowed this to succeed.

from perfetto.

primiano avatar primiano commented on May 31, 2024

Can you repeat doing the followign:

  • Build normally first as many targets as possible until step 7 fails:

  • ninja -C out/android_release_incl_heapprofd_arm64 -k 9999

  • Then build with ninja -C out/android_release_incl_heapprofd_arm64 -j1 -v

  • Report the full cmdline that errors out

from perfetto.

cphlipot1 avatar cphlipot1 commented on May 31, 2024

I performed those steps, but with one minor tweak.

Your second command, ninja -C out/android_release_incl_heapprofd_arm64 -j1 -v fails before any useful info gets printed, and just outputs the following:

ninja: Entering directory `out/android_release_incl_heapprofd_arm64/'
ninja: fatal: posix_spawn: Argument list too long

To work around this, I instead modified this command to do a dry-run with "-n" so that we can see what the 1st command actually is: ninja -C out/android_release_incl_heapprofd_arm64 -j1 -v -n

the dry-run command i ran prints the full build commands which you can find in the attached txt file.
argument-list-too-long-dry-run.txt

from perfetto.

primiano avatar primiano commented on May 31, 2024

r.android.com/2976893 should be the fix to this.

Thanks for reporting

from perfetto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.