Raiders Biaogo 2020-12-05 13:41 采纳率: 0%
浏览 483

编译Android 10源码出错

编译系统:exTHmUI

报错:

[ 38% 54/139] 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.pass
ed -- out/soong/.bootstrap/blueprint-pathtools/test/test -test.short
--- FAIL: TestFs_IsDir (0.01s)
   --- FAIL: TestFs_IsDir/os (0.00s)
       --- FAIL: TestFs_IsDir/os/a/a/f (0.00s)
           fs_test.go:163: want: <nil>, got stat a/a/f: no such file or directory
       --- FAIL: TestFs_IsDir/os/b/a/f (0.00s)
           fs_test.go:163: want: <nil>, got stat b/a/f: no such file or directory
       --- FAIL: TestFs_IsDir/os/c/f (0.00s)
           fs_test.go:163: want: <nil>, got stat c/f: no such file or directory
       --- FAIL: TestFs_IsDir/os/d/f (0.00s)
           fs_test.go:163: want: <nil>, got stat d/f: no such file or directory
       --- FAIL: TestFs_IsDir/os/c/f/missing (0.00s)
           fs_test.go:163: want: not a directory, got stat c/f/missing: no such file or directory
--- FAIL: TestFs_Readlink (0.02s)
   --- FAIL: TestFs_Readlink/os (0.02s)
       --- FAIL: TestFs_Readlink/os/a/a/f (0.00s)
           fs_test.go:338: fs.Readlink("a/a/f") want: "../../f", got "unsupported reparse point"
       --- FAIL: TestFs_Readlink/os/b/a/f (0.00s)
           fs_test.go:338: fs.Readlink("b/a/f") want: "../../f", got "unsupported reparse point"
       --- FAIL: TestFs_Readlink/os/c/f (0.00s)
           fs_test.go:338: fs.Readlink("c/f") want: "../../f", got "unsupported reparse point"
       --- FAIL: TestFs_Readlink/os/d/f (0.00s)
           fs_test.go:338: fs.Readlink("d/f") want: "../../f", got "unsupported reparse point"
       --- FAIL: TestFs_Readlink/os/dangling (0.00s)
           fs_test.go:338: fs.Readlink("dangling") want: "missing", got "unsupported reparse point"
--- FAIL: TestFs_Stat (0.00s)
   --- FAIL: TestFs_Stat/os (0.00s)
       --- FAIL: TestFs_Stat/os/a/a/f (0.00s)
           fs_test.go:485: want: <nil>, got stat a/a/f: no such file or directory
       --- FAIL: TestFs_Stat/os/b/a/f (0.00s)
           fs_test.go:485: want: <nil>, got stat b/a/f: no such file or directory
       --- FAIL: TestFs_Stat/os/c/f (0.00s)
           fs_test.go:485: want: <nil>, got stat c/f: no such file or directory
       --- FAIL: TestFs_Stat/os/d/f (0.00s)
           fs_test.go:485: want: <nil>, got stat d/f: no such file or directory
--- FAIL: TestGlobEscapes (0.01s)
   --- FAIL: TestGlobEscapes/**/* (0.00s)
       glob_test.go:562: incorrect matches list:
       glob_test.go:562:  pattern: "**/*"
       glob_test.go:562:      got: []string{"a/", "b", "\uf02a", "\uf02a\uf02a/", "\uf03f", "a/a", "\uf02a\uf02a/a", "\uf02a\u
f02a/b/", "\uf02a\uf02a/\uf02a", "\uf02a\uf02a/b/b"}
       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", "\uf02a\uf02a", "\uf02a\uf02a/b"}
       glob_test.go:562: expected: []string{".", "**", "**/b", "a"}
   --- FAIL: TestGlobEscapes/**/\* (0.00s)
       glob_test.go:562: incorrect matches list:
       glob_test.go:562:  pattern: "**/\\*"
       glob_test.go:562:      got: []string(nil)
       glob_test.go:562: expected: []string{"*", "**/*"}
       glob_test.go:562: incorrect deps list:
       glob_test.go:562:  pattern: "**/\\*"
       glob_test.go:562:      got: []string{".", "a", "\uf02a\uf02a", "\uf02a\uf02a/b"}
       glob_test.go:562: expected: []string{".", "**", "**/b", "a"}
   --- FAIL: TestGlobEscapes/\*\*/* (0.00s)
       glob_test.go:562: incorrect matches list:
       glob_test.go:562:  pattern: "\\*\\*/*"
       glob_test.go:562:      got: []string(nil)
       glob_test.go:562: expected: []string{"**/*", "**/a", "**/b/"}
       glob_test.go:562: incorrect deps list:
       glob_test.go:562:  pattern: "\\*\\*/*"
       glob_test.go:562:      got: []string{"."}
       glob_test.go:562: expected: []string{".", "**"}
   --- FAIL: TestGlobEscapes/\*\*/**/* (0.00s)
       glob_test.go:562: incorrect matches list:
       glob_test.go:562:  pattern: "\\*\\*/**/*"
       glob_test.go:562:      got: []string(nil)
       glob_test.go:562: expected: []string{"**/*", "**/a", "**/b/", "**/b/b"}
       glob_test.go:562: incorrect deps list:
       glob_test.go:562:  pattern: "\\*\\*/**/*"
       glob_test.go:562:      got: []string{"."}
       glob_test.go:562: expected: []string{".", "**", "**/b"}
FAIL
13:36:06 soong bootstrap failed with: exit status 1

#### failed to build some targets (29 seconds) ####

  • 写回答

2条回答 默认 最新

  • ncu_cs_player 2020-12-08 19:23
    关注
    sudo apt-get install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

    这些环境是否已经配置好?低于 20.04 的 Ubuntu,还需安装:libwxgtk3.0-dev,低于 16.04 的 Ubuntu,还需安装:libwxgtk2.8-dev

    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料