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

    评论

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?