```
# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[OHOS ERROR] [22975/23007] ACTION //build/ohos/packages:collect_notice_files__phone(//build/toolchain/ohos:ohos_clang_arm)
[OHOS ERROR] FAILED: packages/phone/system_notice_files.zip
[OHOS ERROR] /usr/bin/env ../../build/ohos/notice/collect_system_notice_files.py --install-info-file packages/phone/system_install_parts.json --output-file packages/phone/system_notice_files.zip --depfile gen/build/ohos/packages/collect_notice_files__phone.d --notice-root-dir packages/phone/NOTICE_FILES
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/../../build/ohos/notice/collect_system_notice_files.py", line 96, in <module>
[OHOS ERROR] sys.exit(main())
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/../../build/ohos/notice/collect_system_notice_files.py", line 84, in main
[OHOS ERROR] collect_notice_files(args, tmp, depfiles)
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/../../build/ohos/notice/collect_system_notice_files.py", line 46, in collect_notice_files
[OHOS ERROR] module_info = json.load(file)
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/prebuilts/python/linux-x86/current/lib/python3.10/json/__init__.py", line 293, in load
[OHOS ERROR] return loads(fp.read(),
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/prebuilts/python/linux-x86/current/lib/python3.10/json/__init__.py", line 346, in loads
[OHOS ERROR] return _default_decoder.decode(s)
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/prebuilts/python/linux-x86/current/lib/python3.10/json/decoder.py", line 337, in decode
[OHOS ERROR] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/prebuilts/python/linux-x86/current/lib/python3.10/json/decoder.py", line 355, in raw_decode
[OHOS ERROR] raise JSONDecodeError("Expecting value", s, err.value) from None
[OHOS ERROR] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(*args, **kwargs)
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR] super().run()
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 70, in run
[OHOS ERROR] self._target_compilation()
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation
[OHOS ERROR] self.target_compiler.run()
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 38, in run
[OHOS ERROR] self._execute_ninja_cmd()
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd
[OHOS ERROR] SystemUtil.exec_command(
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/system_util.py", line 64, in exec_command
[OHOS ERROR] LogUtil.get_failed_log(log_path)
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 193, in get_failed_log
[OHOS ERROR] LogUtil.get_compiler_failed_log(log_path)
[OHOS ERROR] File "/home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 180, in get_compiler_failed_log
[OHOS ERROR] raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: COMPILE Failed! Please check error in /home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Code: 4000
[OHOS ERROR]
[OHOS ERROR] Reason: COMPILE Failed! Please check error in /home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/cyq/OHOS/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Error Type: Ninja build error
[OHOS ERROR]
[OHOS ERROR] Description: An unknown error occurred while executing 'ninja -C'.
[OHOS ERROR]
[OHOS ERROR] Solution: no solution
[OHOS ERROR]
=====build error=====