GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

making error Glodroid #149

Closed cyber-bat closed 3 years ago

cyber-bat commented 3 years ago

Please help me to fix it. 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-pathtools/test/test -test.short --- FAIL: TestGlobEscapes (0.00s) --- FAIL: TestGlobEscapes//* (0.00s) glob_test.go:571: incorrect matches list: glob_test.go:571: pattern: "*/" glob_test.go:571: got: []string{"/", "a/", "b", "/a", "/b/", "/b/b", "a/a"} glob_test.go:571: expected: []string{"", "/", "?", "a/", "b", "/", "/a", "/b/", "/b/b", "a/a"} --- FAIL: TestGlobEscapes//* (0.00s) glob_test.go:571: incorrect matches list: glob_test.go:571: pattern: "/\" glob_test.go:571: got: []string(nil) glob_test.go:571: expected: []string{"", "/"} --- FAIL: TestGlobEscapes/**/ (0.00s) glob_test.go:571: incorrect matches list: glob_test.go:571: pattern: "\\*/" glob_test.go:571: got: []string{"/a", "/b/"} glob_test.go:571: expected: []string{"*/", "/a", "/b/"} --- FAIL: TestGlobEscapes/**// (0.00s) glob_test.go:571: incorrect matches list: glob_test.go:571: pattern: "\*\//" glob_test.go:571: got: []string{"/a", "/b/", "/b/b"} glob_test.go:571: expected: []string{"/", "/a", "/b/", "/b/b"} FAIL

nas00 commented 3 years ago

Try the repo sync command again according to this.

cyber-bat commented 3 years ago

Used commands repo -c --sync-force --sync-remove-dirty and repo -c --fast-fail don't help. Make for opi3-userdebug

nas00 commented 3 years ago

Then my guess is that your golang-go package is outdated - probably as a result of running an older version of ubuntu.

go version

cyber-bat commented 3 years ago
repo launcher version 2.15 (from /home/outer/bin/repo) using repo from GloDroid
cyber-bat commented 3 years ago

go version go1.13.8 linux/amd64

nas00 commented 3 years ago

I think you will need to upgrade to ubuntu 20.04 or the try the docker option as the simplest solution.

cyber-bat commented 3 years ago

Yes i make on ubuntu 20.04

cyber-bat commented 3 years ago

Used any variants of options repo sync. Think what problem in goland.

nas00 commented 3 years ago

You could try skippng the test as suggested here.

Comment out glob_test.go in /GloDroid/build/blueprint/Blueprints and try the build again.