Paste Search Dynamic
Recent pastes
Android build error with FAILE
  1. Build environment:
  2. 1. 1 Platform: Ubuntu 20.04
  3. 1.2  X86 and Memmory size info:
  4. jinguang@jinguang-hw:~/code/aosp$ cat /proc/meminfo
  5. MemTotal:       16206432 kB
  6. MemFree:        11680684 kB
  7. MemAvailable:   12317864 kB
  8. Buffers:           58180 kB
  9. Cached:          1386992 kB
  10. SwapCached:            0 kB
  11. Active:          2996960 kB
  12. Inactive:         648004 kB
  13. Active(anon):    2607744 kB
  14. Inactive(anon):   203228 kB
  15. Active(file):     389216 kB
  16. Inactive(file):   444776 kB
  17. Unevictable:      410516 kB
  18. Mlocked:              32 kB
  19. SwapTotal:             0 kB
  20. SwapFree:              0 kB
  21. Dirty:               276 kB
  22. Writeback:             0 kB
  23.  
  24. 1.3 AOSP BUILD_ID info:
  25. BUILD_ID=AOSP.MASTER on Feb 26  2021
  26.  
  27. 2. Build error log:(out/error.log)
  28. FAILED: out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
  29.  Outputs: out/soong/build.ninja
  30.  Error: exited with code: 1
  31.  Command: out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.  ninja Android.bp
  32.  Output:
  33.  
  34. 3. Analysis from the ubuntu log with  /var/log/syslog
  35. There report Linux OOM-killer, just like below:
  36. 1390 Feb 25 11:55:47 jinguang-hw kernel: [233969.859817] Out of memory: Killed process 313768 (soong_build) total-vm:12888676kB, anon-rss:12136068kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:           23972kB oom_score_adj:0
  37.  1391 Feb 25 11:55:47 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (II) event4  - Logitech G304: SYN_DROPPED event - some input events have been lost.
  38.  1392 Feb 25 11:55:48 jinguang-hw kernel: [233970.394302] oom_reaper: reaped process 313768 (soong_build), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
  39.  1393 Feb 25 11:59:51 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) client bug: timer event4 debounce: scheduled expiry is in the past (-4ms), your system is too slow
  40.  1394 Feb 25 11:59:51 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) client bug: timer event4 debounce short: scheduled expiry is in the past (-17ms), your system is too slow
  41.  1395 Feb 25 11:59:57 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) client bug: timer event4 debounce: scheduled expiry is in the past (-11ms), your system is too slow
  42.  1396 Feb 25 11:59:57 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) client bug: timer event4 debounce short: scheduled expiry is in the past (-24ms), your system is too slow
  43.  1397 Feb 25 12:00:38 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) client bug: timer event4 debounce short: scheduled expiry is in the past (-4ms), your system is too slow
  44.  
Parsed in 0.008 seconds