Closed zhangbin0301 closed 3 years ago
1.编译错误的log请自觉贴出
2021-01-23T05:49:34.2641687Z make[3]: Entering directory '/home/runner/work/lede/lede/package/openwrt-packages/OpenAppFilter/oaf'
2021-01-23T05:49:34.4326634Z rm -f /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/.built
2021-01-23T05:49:34.4354068Z touch /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/.built_check
2021-01-23T05:49:34.4429519Z cat /dev/null > /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/symvers/oaf.symvers; for subdir in .; do cat /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/symvers/*.symvers 2>/dev/null > /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/$subdir/Module.symvers; done
2021-01-23T05:49:34.4477818Z make -C "/home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.91" KCFLAGS="-ffile-prefix-map=/home/runner/work/lede/lede/build_dir/target-x86_64_musl=target-x86_64_musl" HOSTCFLAGS="-O2 -I/home/runner/work/lede/lede/staging_dir/host/include -I/home/runner/work/lede/lede/staging_dir/hostpkg/include -I/home/runner/work/lede/lede/staging_dir/target-x86_64_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="x86_64-openwrt-linux-musl-" ARCH="x86" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Sat Jan 23 01:57:38 2021" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/runner/work/lede/lede/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/home/runner/work/lede/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.4.91 M="/home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0" EXTRA_CFLAGS="" modules
2021-01-23T05:49:34.4506893Z make[4]: Entering directory '/home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.91'
2021-01-23T05:49:35.4168299Z CC [M] /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.o
2021-01-23T05:49:35.5996075Z /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.c: In function 'af_init_log_sysctl':
2021-01-23T05:49:35.5998429Z /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.c:56:27: warning: unused variable 'hdr' [-Wunused-variable]
2021-01-23T05:49:35.5999821Z struct ctl_table_header *hdr;
2021-01-23T05:49:35.6000465Z ^~~
2021-01-23T05:49:35.6016383Z /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.c: In function 'af_log_init':
2021-01-23T05:49:35.6018607Z /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.c:75:1: error: control reaches end of non-void function [-Werror=return-type]
2021-01-23T05:49:35.6019699Z }
2021-01-23T05:49:35.6020206Z ^
2021-01-23T05:49:35.6021326Z /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.c: In function 'af_log_exit':
2021-01-23T05:49:35.6023075Z /home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.c:79:1: error: control reaches end of non-void function [-Werror=return-type]
2021-01-23T05:49:35.6024287Z }
2021-01-23T05:49:35.6024800Z ^
2021-01-23T05:49:35.6138339Z cc1: some warnings being treated as errors
2021-01-23T05:49:35.6164331Z make[5]: *** [/home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.o] Error 1
2021-01-23T05:49:35.6165814Z scripts/Makefile.build:261: recipe for target '/home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/af_log.o' failed
2021-01-23T05:49:35.6168996Z make[4]: *** [/home/runner/work/lede/lede/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0] Error 2
2.OpenAppFilter编译错误不要在这提交issue
Annotations 1 error
Process completed with exit code 2.
forks 最新代码后, actions自动编译出现些问题, 之前没有问题。自动编译文件没有变更过,只是更新最新的code,软路由X86
如下自动编译
name: OpenWrt-CI
on: push: branches:
schedule:
- cron: 0 20 *
release:
types: [published]
jobs:
build_openwrt: