WSL: Running make on Android (Oreo/Pie) tree hangs on first steps

Please let me know if there is anything else I can provide that would be helpful

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15

Most upvoted comments

@Uldiniad As usual: . build/envsetup.sh, lunch devicename, make -j16.

Hang with zombied process.

PID TTY STAT TIME COMMAND 1 ? Ss 0:00 /init ro 3 tty1 Ss 0:00 /init ro 4 tty1 S 0:00 -bash 309 tty1 Sl 0:00 /home/sdv/Oreo/RRPS/out/soong_ui --make-mode -j16 bacon 719 tty2 Ss 0:00 /init ro 722 tty2 S 0:00 -bash 821 tty1 S 0:50 prebuilts/build-tools/linux-x86/bin/ninja -d keepdepfile … 3149 tty1 Sl 0:02 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp … 5032 tty1 S 0:00 /bin/sh -c /bin/bash -c "PATH=/home/sdv/Oreo/RRPS/out/ho … 5033 tty1 S 1:05 python ./build/tools/releasetools/ota_from_target_files … 5037 tty1 Z 1:16 [java] <defunct> 5074 tty2 R 0:00 ps awx sdv@RYZEN:~$

Preprocess it. Something like (untried, winging it):

tail -n 1000 ./foo.strace > last1k.strace # just for the last bits unadulterated
sed -i '/clock_gettime/d' ./foo.strace
sed -i '/sched_yield/d' ./foo.strace
sed -i '/other_noise/d' ./foo.strace
tail -n 50000 ./foo.strace > last50k-sed.strace

If it turns out the contents of that isn’t illuminating you can move on to the more desperate measure like git pushing the thing gzipped. But if this is actually a before-after 17713 thing a local repro and bisect makes more sense imvho.