Build problem - pre build tests are failing

399 views
Skip to first unread message

Ravishankar S

unread,
May 24, 2021, 2:16:10 PM5/24/21
to Android Building

Hi all,

I am trying to build AOSP for arm64 following these instructions here:


But I am getting this build error:

[ 32% 49/149] test github.com/google/blueprint/pathtools
FAILED: out/soong/.bootstrap/blueprint-pathtools/test/test.passed
out/soong/.bootstrap/bin/gotestrunner -p ./build/blueprint/pathtools -f out/soong/.bootstrap/blueprint-pathtools/test/test.passed -- out/soong/.bootstrap/blueprint-pathtool
s/test/test -test.short
--- FAIL: TestGlobEscapes (0.00s)
   --- FAIL: TestGlobEscapes/**/* (0.00s)
       glob_test.go:562: incorrect matches list:
       glob_test.go:562:  pattern: "**/*"
       glob_test.go:562:      got: []string{"a/", "b", "a/a"}
       glob_test.go:562: expected: []string{"*", "**/", "?", "a/", "b", "**/*", "**/a", "**/b/", "**/b/b", "a/a"}
       glob_test.go:562: incorrect deps list:
       glob_test.go:562:  pattern: "**/*"
       glob_test.go:562:      got: []string{".", "a"}
       glob_test.go:562: expected: []string{".", "**", "**/b", "a"}

How should I debug this ? Around 2 months ago I had built it successfully on an AWS server. Now I am trying to build it on my laptop.

PS: If it helps: I had synced the repo to an NTFS external drive and I copied it to my laptop and did a repo sync again.

Regards.
Ravishankar

Ravishankar S

unread,
May 26, 2021, 12:36:40 PM5/26/21
to Android Building
Hey never mind.
I just synchronized the repo and its working fine now.

Does anyone know how to disable the documentation build that happens towards the end of the build. It consumes a huge amount of RAM,

Thanks
Reply all
Reply to author
Forward
0 new messages