Open qqsir-dev opened 2 days ago
/usr/include/bits/socket2.h:61:1: note: previous definition of 'recvfrom' with type 'ssize_t(int, void restrict, size_t, int, __SOCKADDR_ARG, socklen_t restrict)' {aka 'long int(int, void restrict, long unsigned int, int, __SOCKADDR_ARG, unsigned int restrict)'} 61 | recvfrom (int fd, void *restrict __buf, size_t n, int flags, | ^ |
__time64_t actime; / Access time. / | ^ |
__time64_t modtime; / Modification time. / | ^ |
va_start(arg, format); | ^~~ |
---|---|---|---|---|---|---|---|---|
va_list {aka int} |
/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/php-7.4.30/ext/sqlite3/sqlite3.c:50:18: note: expected 'va_list_tag *' but argument is of type 'va_list' {aka 'int'} /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/php-7.4.30/ext/sqlite3/sqlite3.c:52:16: warning: passing argument 1 of 'builtin_va_end' makes pointer from integer without a cast [-Wint-conversion] 52 | va_end(arg); | ^~~ |
---|---|---|
va_list {aka int} |
/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/php-7.4.30/ext/sqlite3/sqlite3.c:52:16: note: expected '__va_list_tag *' but argument is of type 'va_list' {aka 'int'} make[4]: [Makefile:568: ext/sqlite3/sqlite3.lo] Error 1 make[4]: Leaving directory '/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/php-7.4.30' make[3]: [Makefile:621: /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/php-7.4.30/.built] Error 2 make[3]: Leaving directory '/home/runner/work/AutoLede/AutoLede/openwrt/feeds/packages/lang/php7' time: package/feeds/packages/php7/compile#0.41#0.12#0.49 ERROR: package/feeds/packages/php7 failed to build. make[2]: [package/Makefile:116: package/feeds/packages/php7/compile] Error 1 make[2]: Leaving directory '/home/runner/work/AutoLede/AutoLede/openwrt' make[1]: [package/Makefile:110: /home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/runner/work/AutoLede/AutoLede/openwrt' make: *** [/home/runner/work/AutoLede/AutoLede/openwrt/include/toplevel.mk:231: world] Error 2 Error: Process completed with exit code 2.
难道又是gcc版本不行?
@coolsnowwolf 救命,这个怎么办呀
就你一个人
真服了,好几天了,之前也没动哪,难道是云编译的环境有什么变化?
详细叙述
PHP7编译错误
重复 issue
具体型号
软路由云编译
详细日志
make[3] -C feeds/packages/lang/php7 compile ERROR: package/feeds/packages/php7 failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: *** [/home/runner/work/AutoLede/AutoLede/openwrt/include/toplevel.mk:231: world] Error 1 WARNING: Makefile 'package/luci-app-serverchan/Makefile' has a dependency on 'wrtbwmon', which does not exist make[2]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/runner/work/AutoLede/AutoLede/openwrt/scripts/config' make[1]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt' make[2]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt' make[3]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt/target/linux' make[4]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt/target/linux/x86' rm -f /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/localversion /home/runner/work/AutoLede/AutoLede/openwrt/scripts/kconfig.pl + + /home/runner/work/AutoLede/AutoLede/openwrt/target/linux/generic/config-6.6 /home/runner/work/AutoLede/AutoLede/openwrt/target/linux/x86/config-6.6 /home/runner/work/AutoLede/AutoLede/openwrt/target/linux/x86/64/config-6.6 > /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.target awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIGKERNEL","CONFIG_");print}' /home/runner/work/AutoLede/AutoLede/openwrt/.config >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.target echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.target echo "# CONFIG_KALLSYMS_ALL is not set" >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.target echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.target /home/runner/work/AutoLede/AutoLede/openwrt/scripts/package-metadata.pl kconfig /home/runner/work/AutoLede/AutoLede/openwrt/tmp/.packageinfo /home/runner/work/AutoLede/AutoLede/openwrt/.config 6.6 > /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.override /home/runner/work/AutoLede/AutoLede/openwrt/scripts/kconfig.pl 'm+' '+' /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.target /dev/null /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.override > /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set mv /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.old grep -v INITRAMFS /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.old > /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set echo 'CONFIG_INITRAMFS_SOURCE=""' >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set echo '# CONFIG_INITRAMFS_FORCE is not set' >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set echo "# CONFIG_INITRAMFS_PRESERVE_MTIME is not set" >> /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set rm -rf /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/modules cmp -s /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.prev || { cp /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config; cp /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.prev; } export MAKEFLAGS= ; [ -d /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/user_headers ] || make -C /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62 KCFLAGS="-fmacro-prefix-map=/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/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="Tue Nov 19 04:30:32 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=6.6.62 CC="x86_64-openwrt-linux-musl-gcc" INSTALL_HDR_PATH=/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/user_headers headers_install grep '=[ym]' /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.config.set | LC_ALL=C sort | /home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/host/bin/mkhash md5 > /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.vermagic touch /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/.configured rm -f /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/vmlinux /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62/System.map make -C /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62 KCFLAGS="-fmacro-prefix-map=/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/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="Tue Nov 19 04:30:32 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=6.6.62 CC="x86_64-openwrt-linux-musl-gcc" olddefconfig make[5]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62' #
No change to .config
# make[5]: Leaving directory '/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62' make -C /home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62 KCFLAGS="-fmacro-prefix-map=/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/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="Tue Nov 19 04:30:32 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/runner/work/AutoLede/AutoLede/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=6.6.62 CC="x86_64-openwrt-linux-musl-gcc" bzImage modules make[5]: Entering directory '/home/runner/work/AutoLede/AutoLede/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.62' DESCEND objtool INSTALL libsubcmd_headers Warning: Kernel ABI header at 'tools/arch/x86/include/asm/orc_types.h' differs from latest version at 'arch/x86/include/asm/orc_types.h' diff -u tools/arch/x86/include/asm/orc_types.h arch/x86/include/asm/orc_types.h Warning: Kernel ABI header at 'tools/arch/x86/include/asm/insn.h' differs from latest version at 'arch/x86/include/asm/insn.h' diff -u tools/arch/x86/include/asm/insn.h arch/x86/include/asm/insn.h Warning: Kernel ABI header at 'tools/arch/x86/lib/insn.c' differs from latest version at 'arch/x86/lib/insn.c' diff -u tools/arch/x86/lib/insn.c arch/x86/lib/insn.c LD .tmp_vmlinux.kallsyms1 NM .tmp_vmlinux.kallsyms1.syms KSYMS .tmp_vmlinux.kallsyms1.S AS .tmp_vmlinux.kallsyms1.o LD .tmp_vmlinux.kallsyms2 NM .tmp_vmlinux.kallsyms2.syms KSYMS .tmp_vmlinux.kallsyms2.S AS .tmp_vmlinux.kallsyms2.o LD vmlinux NM System.map SORTTAB vmlinux VOFFSET arch/x86/boot/compressed/../voffset.h CC arch/x86/boot/compressed/misc.o OBJCOPY arch/x86/boot/compressed/vmlinux.bin XZKERN arch/x86/boot/compressed/vmlinux.bin.xz