OpenHarmony 编译报错解决
作者:坚果
- 2022 年 9 月 15 日 广东
本文字数:16467 字
阅读完需:约 54 分钟
今天在编译源码的时候发现这两个错,就来记录一下自己的解决方式
当我运行
hb set 的时候,选择 wifiiot_hispark_pegasus
ubuntu20.04 按照官方文档,hb set 报错为 OHOS ERROR] Invalid vendor path: /home/openharmony/vendor
报错:
解决卸载这个
pip3 uninstall ohos-build
复制代码
然后在这个源码路径执行 以下三行代码中的一个。
pythom3 -m pip install build/lite
pythom3 -m pip install ohos-build
pip3 install build/lite
复制代码
这个时候我们再运行 hb set 选择 wifiiot_hispark_pegasus 就可以了
这个时候又会发现一个新的报错
解决这个也简单,说的是找不到 build/prebuilts_download.sh
解决办法
在源码根目录下执行脚本。
build/prebuilts_download.sh
复制代码
输出
Looking in indexes: http://repo.huaweicloud.com/repository/pypi/simple
Collecting rich
Downloading http://repo.huaweicloud.com/repository/pypi/packages/f6/39/4cb526e0d505464376e3c47a812df6e6638363ebe66e6a63618831fe47ad/rich-12.5.1-py3-none-any.whl (235 kB)
|████████████████████████████████| 235 kB 12.9 MB/s
Collecting commonmark<0.10.0,>=0.9.0
Downloading http://repo.huaweicloud.com/repository/pypi/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
|████████████████████████████████| 51 kB 121.8 MB/s
Collecting pygments<3.0.0,>=2.6.0
Downloading http://repo.huaweicloud.com/repository/pypi/packages/5c/8e/1d9017950034297fffa336c72e693a5b51bbf85141b24a763882cf1977b5/Pygments-2.12.0-py3-none-any.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 53.8 MB/s
Collecting typing-extensions<5.0,>=4.0.0; python_version < "3.9"
Downloading http://repo.huaweicloud.com/repository/pypi/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9/typing_extensions-4.2.0-py3-none-any.whl (24 kB)
Installing collected packages: commonmark, pygments, typing-extensions, rich
Successfully installed commonmark-0.9.1 pygments-2.12.0 rich-12.5.1 typing-extensions-4.2.0
rich installed successfully
prebuilts_download start
[23:43:30] Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/ace-loader/1.0/ace-loader-1.0.tar.gz
Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/e8931df
dd4eadd0ed293f609b8bf809c.ace-loader-1.0.tar
.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/e8931df
dd4eadd0ed293f609b8bf809c.ace-loader-1.0.tar
.gz
Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/e8931df
dd4eadd0ed293f609b8bf809c.ace-loader-1.0.tar
.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/restool/2.007/restool-2.007.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/cmake/3.16.5/linux/cmake-linux-x86-3.1
6.5.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/gn/1717/linux/gn-linux-x86-1717.tar.gz
Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/0d827cd
bd5bd5db728d3fbaab298366c.restool-2.007.tar.
gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/0d827cd
bd5bd5db728d3fbaab298366c.restool-2.007.tar.
gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/ninja/1.10.1/linux/ninja-linux-x86-1.1
0.1.tar.gz
Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/0d827cd
bd5bd5db728d3fbaab298366c.restool-2.007.tar.
gz
[23:43:31] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/1996514
a899886913a011682c0b94458.gn-linux-x86-1717.
tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/1996514
a899886913a011682c0b94458.gn-linux-x86-1717.
tar.gz
Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/1996514
a899886913a011682c0b94458.gn-linux-x86-1717.
tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/llvm_prebuilt_libs/ark_js_prebuilts_20
220815.tar.gz
Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/0900649
0c0fc7ca213179e244bee0635.ninja-linux-x86-1.
10.1.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/0900649
0c0fc7ca213179e244bee0635.ninja-linux-x86-1.
10.1.tar.gz
Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/0900649
0c0fc7ca213179e244bee0635.ninja-linux-x86-1.
10.1.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/nodejs/v12.18.4
/node-v12.18.4-linux-x64.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/cmake/3.16.5/windows/cmake-windows-x86
-3.16.5.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/mingw-w64/7.0.0/clang-mingw.tar.gz
[23:43:32] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/7cd434b
e2840fe57e27e1c54011f90de.cmake-linux-x86-3.
16.5.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/7cd434b
e2840fe57e27e1c54011f90de.cmake-linux-x86-3.
16.5.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/prebuilts_gcc_linux-x86_arm_gcc-linaro
-7.5.0-arm-linux-gnueabi/1.0/prebuilts_gcc_l
inux-x86_arm_gcc-linaro-7.5.0-arm-linux-gnue
abi.tar.gz
Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/01e6595
09912aabb9671b81f90370c92.node-v12.18.4-linu
x-x64.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/01e6595
09912aabb9671b81f90370c92.node-v12.18.4-linu
x-x64.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/prebuilts_gcc_linux-x86_arm_gcc-linaro
-7.5.0-arm-linux-gnueabi/1.0/gcc-linaro-7.5.
0-2019.12-x86_64_aarch64-linux-gnu.tar.xz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/dev
elop_tools/previewer/3.2.6.3/previewer-3.2.6
.3-master-20220819.win.tar.gz
[23:43:33] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/7cd434b
e2840fe57e27e1c54011f90de.cmake-linux-x86-3.
16.5.tar.gz
[23:43:34] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/3b75f35
ee8f5da7bb91804ee5fc5e2ac.cmake-windows-x86-
3.16.5.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/3b75f35
ee8f5da7bb91804ee5fc5e2ac.cmake-windows-x86-
3.16.5.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/clang/12.0.1-971024/windows/clang-9710
24-windows-x86_64-20220827.tar.bz2
[23:43:35] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/3b75f35
ee8f5da7bb91804ee5fc5e2ac.cmake-windows-x86-
3.16.5.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/clang/12.0.1-971024/windows/libcxx-ndk
-971024-windows-x86_64-20220827.tar.bz2
Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/a93fa5c
5a8f1cd819539ae93e7727918.ark_js_prebuilts_2
0220815.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/a93fa5c
5a8f1cd819539ae93e7727918.ark_js_prebuilts_2
0220815.tar.gz
[23:43:37] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/cd98ff8
5e2af3869cf318497e6a1d559.gcc-linaro-7.5.0-2
019.12-x86_64_aarch64-linux-gnu.tar.xz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/cd98ff8
5e2af3869cf318497e6a1d559.gcc-linaro-7.5.0-2
019.12-x86_64_aarch64-linux-gnu.tar.xz
[23:43:38] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/a93fa5c
5a8f1cd819539ae93e7727918.ark_js_prebuilts_2
0220815.tar.gz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/clang/12.0.1-971024/linux/clang-971024
-linux-x86_64-20220827.tar.bz2
[23:43:39] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/71933d4
d02310f6d796d86a0975f5855.libcxx-ndk-971024-
windows-x86_64-20220827.tar.bz2
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/71933d4
d02310f6d796d86a0975f5855.libcxx-ndk-971024-
windows-x86_64-20220827.tar.bz2
[23:43:43] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/71933d4
d02310f6d796d86a0975f5855.libcxx-ndk-971024-
windows-x86_64-20220827.tar.bz2
[23:43:44] Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/clang/12.0.1-971024/linux/libcxx-ndk-9
71024-linux-x86_64-20220827.tar.bz2
[23:43:46] gn-linux-x86-1717.tar.gz, download and prebuilts_download.py:166
decompress completed
libcxx-ndk-971024-windows-x86_64-20220827.t prebuilts_download.py:166
ar.bz2, download and decompress completed
ninja-linux-x86-1.10.1.tar.gz, download and prebuilts_download.py:166
decompress completed
cmake-windows-x86-3.16.5.tar.gz, download prebuilts_download.py:166
and decompress completed
ark_js_prebuilts_20220815.tar.gz, download prebuilts_download.py:166
and decompress completed
restool-2.007.tar.gz, download and prebuilts_download.py:166
decompress completed
ace-loader-1.0.tar.gz, download and prebuilts_download.py:166
decompress completed
cmake-linux-x86-3.16.5.tar.gz, download and prebuilts_download.py:166
decompress completed
[23:43:48] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/7d1d1ca
1ffa43f685642df0aed383f31.libcxx-ndk-971024-
linux-x86_64-20220827.tar.bz2
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/7d1d1ca
1ffa43f685642df0aed383f31.libcxx-ndk-971024-
linux-x86_64-20220827.tar.bz2
[23:43:49] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/8ee3560
80ae1bf75142896c77166cb00.previewer-3.2.6.3-
master-20220819.win.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/8ee3560
80ae1bf75142896c77166cb00.previewer-3.2.6.3-
master-20220819.win.tar.gz
[23:43:51] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/7d1d1ca
1ffa43f685642df0aed383f31.libcxx-ndk-971024-
linux-x86_64-20220827.tar.bz2
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/gcc_esp/2019r2-8.2.0/linux/esp-2019r2-
8.2.0.zip
libcxx-ndk-971024-linux-x86_64-20220827.tar prebuilts_download.py:166
.bz2, download and decompress completed
[23:43:52] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/8ee3560
80ae1bf75142896c77166cb00.previewer-3.2.6.3-
master-20220819.win.tar.gz
previewer-3.2.6.3-master-20220819.win.tar.g prebuilts_download.py:166
z, download and decompress completed
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/gcc_csky/v3.10.29/linux/csky-v3.10.29.
tar.gz
[23:43:53] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/59325cd
d5538f70910f66328acedea7d.prebuilts_gcc_linu
x-x86_arm_gcc-linaro-7.5.0-arm-linux-gnueabi
.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/59325cd
d5538f70910f66328acedea7d.prebuilts_gcc_linu
x-x86_arm_gcc-linaro-7.5.0-arm-linux-gnueabi
.tar.gz
[23:43:54] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/cd98ff8
5e2af3869cf318497e6a1d559.gcc-linaro-7.5.0-2
019.12-x86_64_aarch64-linux-gnu.tar.xz
Requesting prebuilts_download.py:79
https://repo.huaweicloud.com/openharmony/com
piler/python/3.9.2/linux/python-linux-x86-3.
9.2_20200510.tar.gz
gcc-linaro-7.5.0-2019.12-x86_64_aarch64-lin prebuilts_download.py:166
ux-gnu.tar.xz, download and decompress
completed
[23:43:57] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/e384207
ce36956125ba7cadd2be56dcb.clang-971024-linux
-x86_64-20220827.tar.bz2
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/e384207
ce36956125ba7cadd2be56dcb.clang-971024-linux
-x86_64-20220827.tar.bz2
[23:44:02] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/121a9ab
8acf1f337358a0d7b56643a4e.python-linux-x86-3
.9.2_20200510.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/121a9ab
8acf1f337358a0d7b56643a4e.python-linux-x86-3
.9.2_20200510.tar.gz
Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/59325cd
d5538f70910f66328acedea7d.prebuilts_gcc_linu
x-x86_arm_gcc-linaro-7.5.0-arm-linux-gnueabi
.tar.gz
prebuilts_gcc_linux-x86_arm_gcc-linaro-7.5. prebuilts_download.py:166
0-arm-linux-gnueabi.tar.gz, download and
decompress completed
[23:44:04] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/121a9ab
8acf1f337358a0d7b56643a4e.python-linux-x86-3
.9.2_20200510.tar.gz
python-linux-x86-3.9.2_20200510.tar.gz, prebuilts_download.py:166
download and decompress completed
Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6951dbe
659261549cff1537d5ac00e49.csky-v3.10.29.tar.
gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6951dbe
659261549cff1537d5ac00e49.csky-v3.10.29.tar.
gz
[23:44:05] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6a90dd5
0cb81c4b4025f07bc1409097e.clang-971024-windo
ws-x86_64-20220827.tar.bz2
[23:44:06] Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6a90dd5
0cb81c4b4025f07bc1409097e.clang-971024-windo
ws-x86_64-20220827.tar.bz2
Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/01e6595
09912aabb9671b81f90370c92.node-v12.18.4-linu
x-x64.tar.gz
node-v12.18.4-linux-x64.tar.gz, download prebuilts_download.py:166
and decompress completed
[23:44:08] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6951dbe
659261549cff1537d5ac00e49.csky-v3.10.29.tar.
gz
csky-v3.10.29.tar.gz, download and prebuilts_download.py:166
decompress completed
[23:44:10] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/f9a8f67
72ada725ad78fd4a2f0ec4cc1.esp-2019r2-8.2.0.z
ip
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/f9a8f67
72ada725ad78fd4a2f0ec4cc1.esp-2019r2-8.2.0.z
ip
[23:44:13] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/f9a8f67
72ada725ad78fd4a2f0ec4cc1.esp-2019r2-8.2.0.z
ip
esp-2019r2-8.2.0.zip, download and prebuilts_download.py:166
decompress completed
[23:44:27] Downloaded prebuilts_download.py:90
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6edb1a3
f8a3952c1deed23c6819de214.clang-mingw.tar.gz
Decompressing prebuilts_download.py:93
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6edb1a3
f8a3952c1deed23c6819de214.clang-mingw.tar.gz
[23:44:49] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6a90dd5
0cb81c4b4025f07bc1409097e.clang-971024-windo
ws-x86_64-20220827.tar.bz2
[23:44:52] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/e384207
ce36956125ba7cadd2be56dcb.clang-971024-linux
-x86_64-20220827.tar.bz2
[23:44:53] clang-971024-windows-x86_64-20220827.tar.bz prebuilts_download.py:166
2, download and decompress completed
clang-971024-linux-x86_64-20220827.tar.bz2, prebuilts_download.py:166
download and decompress completed
[23:44:58] Decompressed prebuilts_download.py:95
/home/hihope/openharmony/code/master/openhar
mony/../OpenHarmony_canary_prebuilts/6edb1a3
f8a3952c1deed23c6819de214.clang-mingw.tar.gz
clang-mingw.tar.gz, download and decompress prebuilts_download.py:166
completed
ace-loader-1.0.tar.gz 100.0% •
restool-2.007.tar.gz 100.0% •
cmake-linux-x86-3.16.5.tar.gz 100.0% •
gn-linux-x86-1717.tar.gz 100.0% •
ninja-linux-x86-1.10.1.tar.gz 100.0% •
ark_js_prebuilts_20220815.tar.gz 100.0% •
node-v12.18.4-linux-x64.tar.gz 100.0% •
cmake-windows-x86-3.16.5.tar.gz 100.0% •
clang-mingw.tar.gz 100.0% •
prebuilts_gcc_linux-x86_arm_gcc-linaro-7.5.0-arm-linux-gnueabi.tar.… 100.0% •
gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.tar.xz 100.0% •
previewer-3.2.6.3-master-20220819.win.tar.gz 100.0% •
clang-971024-windows-x86_64-20220827.tar.bz2 100.0% •
libcxx-ndk-971024-windows-x86_64-20220827.tar.bz2 100.0% •
clang-971024-linux-x86_64-20220827.tar.bz2 100.0% •
libcxx-ndk-971024-linux-x86_64-20220827.tar.bz2 100.0% •
esp-2019r2-8.2.0.zip 100.0% •
csky-v3.10.29.tar.gz 100.0% •
python-linux-x86-3.9.2_20200510.tar.gz 100.0% •
prebuilts_download end
Looking in indexes: http://repo.huaweicloud.com/repository/pypi/simple
Collecting pyyaml
Downloading http://repo.huaweicloud.com/repository/pypi/packages/12/fc/a4d5a7554e0067677823f7265cb3ae22aed8a238560b5133b58cda252dad/PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
|████████████████████████████████| 661 kB 3.0 MB/s
Collecting requests
Downloading http://repo.huaweicloud.com/repository/pypi/packages/ca/91/6d9b8ccacd0412c08820f72cebaa4f0c0441b5cda699c90f618b6f8a1b42/requests-2.28.1-py3-none-any.whl (62 kB)
|████████████████████████████████| 62 kB 60.5 MB/s
Collecting prompt_toolkit==1.0.14
Downloading http://repo.huaweicloud.com/repository/pypi/packages/ee/3d/b25d35a9f0d381dd1c02d8e04b37c353caaaff4bc32150328eeebe4931f5/prompt_toolkit-1.0.14-py3-none-any.whl (248 kB)
|████████████████████████████████| 248 kB 117.3 MB/s
Collecting kconfiglib>=14.1.0
Downloading http://repo.huaweicloud.com/repository/pypi/packages/8a/f1/d98a89231e779b079b977590efcc31249d959c8f1d4b5858cad69695ff9c/kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
|████████████████████████████████| 145 kB 15.2 MB/s
Collecting idna<4,>=2.5
Downloading http://repo.huaweicloud.com/repository/pypi/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 111.1 MB/s
Collecting charset-normalizer<3,>=2
Downloading http://repo.huaweicloud.com/repository/pypi/packages/db/51/a507c856293ab05cdc1db77ff4bc1268ddd39f29e7dc4919aa497f0adbec/charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
Downloading http://repo.huaweicloud.com/repository/pypi/packages/e9/06/d3d367b7af6305b16f0d28ae2aaeb86154fa91f144f036c2d5002a5a202b/certifi-2022.6.15-py3-none-any.whl (160 kB)
|████████████████████████████████| 160 kB 47.6 MB/s
Collecting urllib3<1.27,>=1.21.1
Downloading http://repo.huaweicloud.com/repository/pypi/packages/6f/de/5be2e3eed8426f871b170663333a0f627fc2924cc386cd41be065e7ea870/urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
|████████████████████████████████| 140 kB 39.8 MB/s
Collecting wcwidth
Downloading http://repo.huaweicloud.com/repository/pypi/packages/59/7c/e39aca596badaf1b78e8f547c807b04dae603a433d3e7a7e04d67f2ef3e5/wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting six>=1.9.0
Downloading http://repo.huaweicloud.com/repository/pypi/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pyyaml, idna, charset-normalizer, certifi, urllib3, requests, wcwidth, six, prompt-toolkit, kconfiglib
Successfully installed certifi-2022.6.15 charset-normalizer-2.1.1 idna-3.3 kconfiglib-14.1.0 prompt-toolkit-1.0.14 pyyaml-6.0 requests-2.28.1 six-1.16.0 urllib3-1.26.12 wcwidth-0.2.5
WARNING: You are using pip version 20.2.3; however, version 22.2.2 is available.
You should consider upgrading via the '/home/hihope/openharmony/code/master/openharmony/prebuilts/python/linux-x86/3.9.2/bin/python3.9 -m pip install --upgrade pip' command.
复制代码
这个时候你在继续运行
hb set
复制代码
这个时候就没有问题了
hb build -f
就可以编译成功了。
参考文档
划线
评论
复制
发布于: 刚刚阅读数: 3
版权声明: 本文为 InfoQ 作者【坚果】的原创文章。
原文链接:【http://xie.infoq.cn/article/3a4cae141ad2d84674816bd8d】。文章转载请联系作者。
坚果
关注
此间若无火炬,我便是唯一的光 2020.10.25 加入
公众号:“大前端之旅”,华为云享专家,InfoQ签约作者,51CTO博客首席体验官,专注于大前端技术的分享,包括Flutter,小程序,安卓,VUE,JavaScript。
评论