I had to adjust the script to be able to build it. Find attached the current version of the script.
I changed the path to ~/android/sourceI tried before initializing a new aosp source tree from scratch in ~/android/source-test but had not enough space, so I had to reuse my main android tree.
The sources and build uses quite some space: stefan@mars:~/android/source$ du -hs . 258G . ccache stats after initial build (ccache was cleared before): stefan@mars:~/android/source$ ccache -s cache directory /home/stefan/.ccache primary config /home/stefan/.ccache/ccache.conf secondary config (readonly) /etc/ccache.conf stats updated Tue Nov 12 06:29:41 2019 stats zeroed Sat Nov 9 00:52:50 2019 cache hit (direct) 194 cache hit (preprocessed) 5523 cache miss 28697 cache hit rate 16.61 % called for link 1 called for preprocessing 26 unsupported code directive 1 cleanups performed 0 files in cache 90898 cache size 13.6 GB max cache size 53.7 GBBuilding it on a 4 core machine (Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz) takes 02:24:20.
The error was reproducible with the stripped down build-script. I will provide as well the full stdout/stderr output of the build script.
Kind regards, Stefan
build-4.14-ccache.sh
Description: application/shellscript