核心内容摘要
才子也赶潮流?唐伯虎的Vlog,带你穿越千年,解锁“躺平”新姿势!
编译bash build/build_scripts/env_setup.sh出错Installing /home/tools/qemu-
5.
0/pc-bios/keymaps/sv to /usr/local/share/qemu/keymapsnpm ERR! code E404npm ERR! 404 Not Found - GET https://repo.harmonyos.com/npm/ohos%2fhpm-clinpm ERR! 404npm ERR! 404 ohos/hpm-clilatest is not in the npm registry.npm ERR! 404 You should bug the author to publish it (or use the name yourself!)npm ERR! 404npm ERR! 404 Note that you can also install from anpm ERR! 404 tarball, folder, http url, or git url.npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/
T01_24_15_648Z-debug.log处理个编译的时候会自己构建不是很影响编译bash build.sh --product-name rk3568 --ccache报错缺少libnl是一个网络链接库编译时需要先安装或编译该依赖[OHOS INFO] [GN] histreamer plugin: audio_server_sink false[OHOS INFO] [GN] histreamer plugin: lite_aac_decoder false[OHOS INFO] [GN] histreamer plugin: std_video_surface_sink false[OHOS INFO] [GN] histreamer plugin: std_video_capture false[OHOS INFO] [GN] histreamer plugin: file_fd_sink false[OHOS INFO] [GN] histreamer plugin: codec_adapter true[OHOS INFO] [GN] imf_enable: true[OHOS ERROR] [GN] ERROR at //third_party/libnl/BUILD.gn:13:1: Script returned non-zero exit code.[OHOS ERROR] [GN] exec_script(install.sh, [ $libnl_path ])[OHOS ERROR] [GN] ^----------[OHOS ERROR] [GN] Current dir: /home/g/oh60code/out/rk3568/[OHOS ERROR] [GN] Command: /usr/bin/env /home/g/oh60code/third_party/libnl/install.sh /home/g/oh60code/third_party/libnl[OHOS ERROR] [GN] Returned 1 and printed out:[OHOS ERROR] [GN][OHOS ERROR] [GN] libnl-libnl3_11_0/[OHOS ERROR] [GN] libnl-libnl3_11_0/.clang-format[OHOS ERROR] [GN] libnl-libnl3_11_0/.flake8[OHOS ERROR] [GN] libnl-libnl3_11_0/.git-blame-ignore-revs[OHOS ERROR] [GN] libnl-libnl3_11_0/.github/[OHOS ERROR] [GN] libnl-libnl3_11_0/.github/workflows/[OHOS ERROR] [GN] libnl-libnl3_11_0/.github/workflows/ci.yml[OHOS ERROR] [GN] libnl-libnl3_11_0/.gitignore[OHOS ERROR] [GN] libnl-libnl3_11_0/.indent.pro[OHOS ERROR] [GN] libnl-libnl3_11_0/COPYING[OHOS ERROR] [GN] libnl-libnl3_11_0/ChangeLog[OHOS ERROR] [GN] libnl-libnl3_11_0/Makefile.am[OHOS ERROR] [GN] libnl-libnl3_11_0/autogen.sh[OHOS ERROR] [GN] libnl-libnl3_11_0/configure.ac[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/AUTHORS[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/COPYING[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/Doxyfile.in[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/DoxygenLayout.xml[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/Makefile.am[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/README[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/api/[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/api/.gitignore[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/autogen.sh[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/configure.ac[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/core.txt[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/doxygen-link.py[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/gen-tags.sh[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/addressing.png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/attribute_hdr.png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/classful_qdisc.png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/classless_qdisc.png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/classless_qdisc_nbands.png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/README[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/
png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/
png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/
png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/
png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/
png[OHOS ERROR] [GN] libnl-libnl3_11_0/doc/images/icons/callouts/
png[OHOS ERROR] [GN] Traceback (most recent call last):[OHOS ERROR] [GN] File /home/g/oh60code/build/hb/containers/status.py, line 47, in wrapper[OHOS ERROR] [GN] return func(*args, **kwargs)[OHOS ERROR] [GN] ^^^^^^^^^^^^^^^^^^^^^[OHOS ERROR] [GN] File /home/g/oh60code/build/hb/services/gn.py, line 133, in _execute_gn_gen_cmd[OHOS ERROR] [GN] SystemUtil.exec_command(gn_gen_cmd, self.config.log_path)[OHOS ERROR] [GN] File /home/g/oh60code/build/hb/util/system_util.py, line 129, in exec_command[OHOS ERROR] [GN] LogUtil.get_failed_log(log_path)[OHOS ERROR] [GN] File /home/g/oh60code/build/hb/util/log_util.py, line 207, in get_failed_log[OHOS ERROR] [GN] LogUtil.get_gn_failed_log(log_path)[OHOS ERROR] [GN] File /home/g/oh60code/build/hb/util/log_util.py, line 153, in get_gn_failed_log[OHOS ERROR] [GN] raise OHOSException([OHOS ERROR] [GN] exceptions.ohos_exception.OHOSException: GN Failed! Please check error in /home/g/oh60code/out/rk3568/error.log, and for more build information in /home/g/oh60code/out/rk3568/build.log[OHOS ERROR] [GN][OHOS ERROR] [GN] Code: 3000[OHOS ERROR] [GN][OHOS ERROR] [GN] Reason: GN Failed! Please check error in /home/g/oh60code/out/rk3568/error.log, and for more build information in /home/g/oh60code/out/rk3568/build.log[OHOS ERROR] [GN][OHOS ERROR] [GN] Error Type: UNKNOWN[OHOS ERROR] [GN][OHOS ERROR] [GN] Description: An unknown error occurred while executing gn gen.[OHOS ERROR] [GN][OHOS ERROR] [GN] Solution: There is no solution available. You can check the gn_error.log in the output directory for more information[OHOS ERROR] [GN]build error处理安装依赖的库sudoapt-getupdatesudoapt-getinstall-ybison flex libssl-dev libreadline-dev\libncurses5-dev autoconf automake libtool pkg-config[OHOS ERROR] [NINJA] [67123/104891] CXX obj/device/soc/rockchip/rk3568/hardware/display/src/display_device/libdisplay_composer_vdi_impl/display_composer_vdi_impl.o[OHOS ERROR] [NINJA] FAILED: obj/device/soc/rockchip/rk3568/hardware/display/src/display_device/libdisplay_composer_vdi_impl/display_composer_vdi_impl.o[OHOS ERROR] [NINJA] /usr/bin/ccache ../../prebuilts/clang/ohos/linux-x86_64/llvm/bin/clang -MMD -MF obj/device/soc/rockchip/rk3568/hardware/display/src/display_device/libdisplay_composer_vdi_impl/display_composer_vdi_impl.o.d -DV8_DEPRECATION_WARNINGS -D_GNU_SOURCE -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -D__GNU_SOURCE1 -DCHROMIUM_CXX_TWEAK_INLINES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED0 -DOHOS_PLATFORM -I../../device/soc/rockchip/rk3568/hardware/display/src/display_device -I../../drivers/peripheral/display/utils/include -I../../drivers/interface/display/composer -I../../drivers/peripheral/display/composer/hdi_service/include -I../../drivers/interface/display/composer/hdifd_parcelable -Iobj/third_party/musl/usr/include/arm-linux-ohos -Ioverride/third_party -I../.. -Igen -I../../commonlibrary/c_utils/base/include -I../../foundation/communication/ipc/interfaces/innerkits/ipc_core/include -I../../third_party/bounds_checking_function/include -Igen/drivers/interface -Igen/drivers/interface/display/composer -I../../drivers/hdf_core/adapter/uhdf2/ipc/include -I../../drivers/hdf_core/interfaces/inner_api/utils -I../../drivers/hdf_core/interfaces/inner_api/osal/uhdf -I../../drivers/hdf_core/interfaces/inner_api/hdi -I../../foundation/graphic/graphic_surface/interfaces/inner_api/utils -I../../base/hiviewdfx/hilog/interfaces/native/innerkits/include -I../../foundation/communication/ipc/dl_deps -I../../foundation/communication/ipc/ipc/native/src/core/dbinder/include -I../../foundation/communication/ipc/ipc/native/src/core/framework/include -I../../foundation/communication/ipc/ipc/native/src/core/invoker/include -fno-strict-aliasing -Wno-builtin-macro-redefined -D__DATE__ -D__TIME__ -D__TIMESTAMP__ -funwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare0 -no-canonical-prefixes -fltothin -fsplit-lto-unit -ffunction-sections -fno-short-enums --targetarm-linux-ohos -marcharmv7-a -mfloat-abisoftfp -mtunegeneric-armv7-a -fstack-protector-strong -mfpuneon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c11-narrowing -Wno-unneeded-internal-declaration -Wno-errorc99-designator -Wno-erroranon-enum-enum-conversion -Wno-errorsizeof-array-div -Wno-errorimplicit-fallthrough -Wno-errorreorder-init-list -Wno-errorrange-loop-construct -Wno-errordeprecated-copy -Wno-errorimplicit-int-float-conversion -Wno-errorinconsistent-dllimport -Wno-errorunknown-warning-option -Wno-errorsign-compare -Wno-errorint-in-bool-context -Wno-errorreturn-stack-address -Wno-errordangling-gsl -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unused-but-set-parameter -Wno-null-pointer-subtraction -Wno-unqualified-std-cast-call -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -gdwarf-3 -g2 -ggnu-pubnames -fno-common -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -ftrivial-auto-var-initzero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -DCONFIG_STANDARD_SYSTEM -DBUILD_PUBLIC_VERSION -stdc17 -fno-exceptions -fno-rtti --sysrootobj/third_party/musl -fvisibility-inlines-hidden -c ../../device/soc/rockchip/rk3568/hardware/display/src/display_device/display_composer_vdi_impl.cpp -o obj/device/soc/rockchip/rk3568/hardware/display/src/display_device/libdisplay_composer_vdi_impl/display_composer_vdi_impl.o[OHOS ERROR] [NINJA] In file included from ../../device/soc/rockchip/rk3568/hardware/display/src/display_device/display_composer_vdi_impl.cpp:16:[OHOS ERROR] [NINJA] In file included from ../../device/soc/rockchip/rk3568/hardware/display/src/display_device/display_composer_vdi_impl.h:22:[OHOS ERROR] [NINJA] In file included from ../../drivers/peripheral/display/composer/hdi_service/include/idisplay_composer_vdi.h:22:[OHOS ERROR] [NINJA] ../../drivers/interface/display/composer/v1_3/include/idisplay_composer_interface.h:20:10: fatal error: v1_3/display_composer_type.h file not found[OHOS ERROR] [NINJA] #include v1_3/display_composer_type.h[OHOS ERROR] [NINJA] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[OHOS ERROR] [NINJA] 1 error generated.[OHOS INFO] User Cpu%:
0%[OHOS INFO] System Cpu%:
1
0%[OHOS INFO] Idle CPU%:
8
0%[OHOS INFO] Total Memory:
1
5GB[OHOS INFO] Free Memory:
4GB[OHOS INFO] Swap Memory:
0GB[OHOS INFO] Filesystem: none, Size:
8G, Used: 0, Available:
8G, Use%: 0%, Mounted on: /usr/lib/modules/
6.
6.
8