Closed ywt114 closed 6 months ago
2024-02-15T20:57:19.7924437Z make[3]: [Makefile:58: /home/runner/work/test/test/openwrt/build_dir/hostpkg/gn-2024-01-24-a2e2717e/.built] Error 1 2024-02-15T20:57:19.7928710Z clang++ -MMD -MF src/base/command_line.o.d -I../src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++20 -Wrange-loop-analysis -Wextra-semi-stmt -c ../src/base/command_line.cc -o src/base/command_line.o 2024-02-15T20:57:19.7932103Z /bin/sh: 1: clang++: not found 2024-02-15T20:57:19.7932647Z ninja: build stopped: subcommand failed. 2024-02-15T20:57:19.7933734Z make[3]: Leaving directory '/home/runner/work/test/test/openwrt/package/lean/small/gn' 2024-02-15T20:57:19.7934806Z time: package/lean/small/gn/host-compile#0.08#0.04#0.11 2024-02-15T20:57:19.7937840Z ERROR: package/lean/small/gn [host] failed to build. 2024-02-15T20:57:19.7941397Z make[2]: [package/Makefile:114: package/lean/small/gn/host/compile] Error 1 2024-02-15T20:57:19.7947043Z make[2]: Leaving directory '/home/runner/work/test/test/openwrt' 2024-02-15T20:57:19.7952252Z make[1]: [package/Makefile:110: /home/runner/work/test/test/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 2024-02-15T20:57:19.7956041Z make[1]: Leaving directory '/home/runner/work/test/test/openwrt' 2024-02-15T20:57:19.7961469Z make: [/home/runner/work/test/test/openwrt/include/toplevel.mk:231: world] Error 2 2024-02-15T20:57:19.8012794Z ##[error]Process completed with exit code 2.
sudo apt install clang
https://github.com/fw876/helloworld/issues/1399
fw876/helloworld#1399
又是环境依赖
2024-02-15T20:57:19.7924437Z make[3]: [Makefile:58: /home/runner/work/test/test/openwrt/build_dir/hostpkg/gn-2024-01-24-a2e2717e/.built] Error 1 2024-02-15T20:57:19.7928710Z clang++ -MMD -MF src/base/command_line.o.d -I../src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -Werror -D_FILE_OFFSET_BITS=64 -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wextra-semi -Wundef -std=c++20 -Wrange-loop-analysis -Wextra-semi-stmt -c ../src/base/command_line.cc -o src/base/command_line.o 2024-02-15T20:57:19.7932103Z /bin/sh: 1: clang++: not found 2024-02-15T20:57:19.7932647Z ninja: build stopped: subcommand failed. 2024-02-15T20:57:19.7933734Z make[3]: Leaving directory '/home/runner/work/test/test/openwrt/package/lean/small/gn' 2024-02-15T20:57:19.7934806Z time: package/lean/small/gn/host-compile#0.08#0.04#0.11 2024-02-15T20:57:19.7937840Z ERROR: package/lean/small/gn [host] failed to build. 2024-02-15T20:57:19.7941397Z make[2]: [package/Makefile:114: package/lean/small/gn/host/compile] Error 1 2024-02-15T20:57:19.7947043Z make[2]: Leaving directory '/home/runner/work/test/test/openwrt' 2024-02-15T20:57:19.7952252Z make[1]: [package/Makefile:110: /home/runner/work/test/test/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 2024-02-15T20:57:19.7956041Z make[1]: Leaving directory '/home/runner/work/test/test/openwrt' 2024-02-15T20:57:19.7961469Z make: [/home/runner/work/test/test/openwrt/include/toplevel.mk:231: world] Error 2 2024-02-15T20:57:19.8012794Z ##[error]Process completed with exit code 2.