Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

云编译hostapd失败 #13032

Closed
1 task done
weipeng11 opened this issue Nov 16, 2024 · 5 comments
Closed
1 task done

云编译hostapd失败 #13032

weipeng11 opened this issue Nov 16, 2024 · 5 comments

Comments

@weipeng11
Copy link

详细叙述

云编译时,hostapd编译失败,请大神指点!

重复 issue

  • 没有类似的 issue

具体型号

x86-64

详细日志

Screenshot_20241116_224259_com android chrome

@oppen321
Copy link

加入
sudo -E apt-get -y install clang
试试

@coolsnowwolf
Copy link
Owner

看不到日志

@weipeng11
Copy link
Author

看不到日志

make[3] -C feeds/packages/net/trojan compile
make[3] -C package/network/services/hostapd compile
ERROR: package/network/services/hostapd failed to build (build variant: wpad-full-openssl).
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/OpenWrt/OpenWrt/openwrt/include/toplevel.mk:231: world] Error 1
make[2]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/scripts/config'
make[1] world
make[2] target/compile
make[3] -C target/linux compile
make[2] buildinfo
make[3] diffconfig buildversion feedsversion
make[4] scripts/config/conf
make[2] package/cleanup
make[2] package/compile
make[3] -C package/libs/libjson-c host-compile
make[3] -C package/libs/libubox host-compile
make[3] -C package/system/opkg host-compile
make[3] -C package/libs/toolchain compile
make[3] -C package/libs/libnl-tiny compile
make[3] -C package/libs/libjson-c compile
make[3] -C package/utils/lua compile
make[3] -C package/libs/libubox compile
make[3] -C package/system/ubus compile
make[3] -C package/system/uci compile
make[3] -C package/network/config/netifd compile
make[3] -C package/firmware/cypress-firmware compile
make[3] -C package/firmware/linux-firmware compile
make[3] -C package/kernel/linux compile
make[3] -C package/system/ubox compile
make[3] -C package/libs/ncurses host-compile
make[3] -C package/libs/zlib compile
make[3] -C package/libs/ncurses compile
make[3] -C package/utils/util-linux compile
make[3] -C package/system/fstools compile
make[3] -C package/system/fwtool host-compile
make[3] -C package/system/fwtool compile
make[3] -C package/system/usign host-compile
make[3] -C package/system/ucert host-compile
make[3] -C package/utils/jsonfilter compile
make[3] -C package/system/openwrt-keyring compile
make[3] -C package/system/usign compile
make[3] -C package/base-files compile
make[3] -C package/boot/grub2 host-compile
make[3] -C package/boot/grub2 compile
make[3] -C package/boot/grub2 compile
make[3] -C package/boot/grub2 compile
make[3] -C feeds/luci/modules/luci-base host-compile
make[3] -C package/kernel/cryptodev-linux compile
make[3] -C package/libs/openssl compile
make[3] -C package/libs/ustream-ssl compile
make[3] -C package/libs/uclient compile
make[3] -C package/system/opkg compile
make[3] -C package/utils/lua host-compile
make[3] -C feeds/luci/applications/luci-app-opkg compile
make[3] -C package/utils/ucode compile
make[3] -C feeds/luci/contrib/package/lucihttp compile
make[3] -C package/network/utils/iwinfo compile
make[3] -C package/system/rpcd compile
make[3] -C feeds/luci/libs/rpcd-mod-luci compile
make[3] -C feeds/luci/contrib/package/ucode-mod-html compile
make[3] -C feeds/packages/net/cgi-io compile
make[3] -C feeds/luci/modules/luci-base compile
make[3] -C feeds/luci/libs/luci-lib-ip compile
make[3] -C feeds/luci/libs/luci-lib-jsonc compile
make[3] -C feeds/luci/libs/luci-lib-nixio compile
make[3] -C feeds/luci/libs/luci-lib-base compile
make[3] -C feeds/luci/contrib/package/ucode-mod-lua compile
make[3] -C feeds/luci/modules/luci-lua-runtime compile
make[3] -C feeds/luci/modules/luci-compat compile
make[3] -C feeds/luci/applications/luci-app-firewall compile
make[3] -C feeds/luci/libs/luci-lib-ipkg compile
make[3] -C feeds/luci/modules/luci-mod-network compile
make[3] -C feeds/luci/modules/luci-mod-status compile
make[3] -C feeds/luci/modules/luci-mod-system compile
make[3] -C feeds/luci/modules/luci-mod-admin-full compile
make[3] -C feeds/luci/protocols/luci-proto-ppp compile
make[3] -C feeds/luci/themes/luci-theme-bootstrap compile
make[3] -C feeds/luci/libs/rpcd-mod-rrdns compile
make[3] -C package/network/services/uhttpd compile
make[3] -C feeds/luci/protocols/luci-proto-ipv6 compile
make[3] -C feeds/luci/collections/luci-light compile
make[3] -C feeds/luci/collections/luci compile
make[3] -C feeds/packages/utils/xz compile
make[3] -C package/libs/pcre compile
make[3] -C feeds/packages/net/wget compile
make[3] -C feeds/luci/applications/luci-app-adguardhome compile
make[3] -C feeds/packages/utils/fuse compile
make[3] -C feeds/packages/lang/golang/golang host-compile
make[3] -C package/system/ca-certificates compile
make[3] -C feeds/packages/net/alist compile
make[3] -C feeds/luci/applications/luci-app-alist compile
make[3] -C package/libs/libmnl compile
make[3] -C package/devel/binutils compile
make[3] -C package/utils/bzip2 compile
make[3] -C package/libs/argp-standalone compile
make[3] -C package/libs/musl-fts compile
make[3] -C package/libs/elfutils compile
make[3] -C package/network/utils/bpftools compile
make[3] -C package/network/utils/iptables compile
make[3] -C package/network/utils/iproute2 compile
make[3] -C feeds/luci/applications/luci-app-arpbind compile
make[3] -C feeds/luci/applications/luci-app-autoreboot compile
make[3] -C feeds/packages/libs/libuv compile
make[3] -C package/libs/libcap compile
make[3] -C feeds/packages/net/bind compile
make[3] -C feeds/packages/libs/nghttp2 compile
make[3] -C feeds/packages/net/curl compile
make[3] -C feeds/packages/libs/giflib compile
make[3] -C feeds/packages/utils/attr compile
make[3] -C feeds/packages/utils/acl compile
make[3] -C package/libs/gmp compile
make[3] -C feeds/packages/utils/coreutils compile
make[3] -C feeds/packages/net/ddns-scripts compile
make[3] -C feeds/luci/applications/luci-app-ddns compile
make[3] -C package/libs/readline compile
make[3] -C feeds/packages/utils/parted compile
make[3] -C feeds/packages/utils/bash compile
make[3] -C package/libs/gettext-full host-compile
make[3] -C package/libs/nettle compile
make[3] -C feeds/packages/libs/gnutls compile
make[3] -C feeds/packages/mail/msmtp compile
make[3] -C feeds/packages/mail/nail compile
make[3] -C feeds/packages/utils/smartmontools compile
make[3] -C package/utils/e2fsprogs host-compile
make[3] -C package/utils/e2fsprogs compile
make[3] -C feeds/luci/applications/luci-app-diskman compile
make[3] -C feeds/luci/collections/luci-lib-docker compile
make[3] -C feeds/packages/utils/docker compile
make[3] -C feeds/packages/utils/docker-compose compile
make[3] -C feeds/packages/libs/lzo compile
make[3] -C feeds/packages/utils/btrfs-progs compile
make[3] -C feeds/packages/libs/gperf host-compile
make[3] -C feeds/packages/libs/libseccomp compile
make[3] -C feeds/packages/utils/runc compile
make[3] -C feeds/packages/utils/containerd compile
make[3] -C feeds/packages/utils/tini compile
make[3] -C feeds/packages/utils/dockerd compile
make[3] -C package/libs/mbedtls compile
make[3] -C feeds/packages/libs/libwebsockets compile
make[3] -C feeds/packages/utils/ttyd compile
make[3] -C feeds/luci/applications/luci-app-dockerman compile
make[3] -C feeds/packages/libs/libffi host-compile
make[3] -C package/utils/bzip2 host-compile
make[3] -C feeds/packages/lang/python/python3 host-compile
make[3] -C feeds/packages/lang/node host-compile
make[3] -C feeds/packages/utils/filebrowser compile
make[3] -C feeds/luci/applications/luci-app-filebrowser compile
make[3] -C feeds/luci/libs/luci-lib-fs compile
make[3] -C feeds/luci/applications/luci-app-filetransfer compile
make[3] -C feeds/packages/net/frp compile
make[3] -C feeds/luci/applications/luci-app-frpc compile
make[3] -C feeds/luci/applications/luci-app-frps compile
make[3] -C feeds/packages/net/nlbwmon compile
make[3] -C feeds/luci/applications/luci-app-nlbwmon compile
make[3] -C feeds/packages/libs/libffi compile
make[3] -C feeds/packages/lang/ruby host-compile
make[3] -C feeds/packages/libs/yaml compile
make[3] -C feeds/packages/lang/ruby compile
make[3] -C feeds/packages/utils/unzip compile
make[3] -C package/network/services/dnsmasq compile
make[3] -C package/network/utils/ipset compile
make[3] -C feeds/luci/applications/luci-app-openclash compile
make[3] -C feeds/packages/net/chinadns-ng compile
make[3] -C feeds/packages/net/dns2socks compile
make[3] -C feeds/packages/net/dns2tcp compile
make[3] -C feeds/packages/net/microsocks compile
make[3] -C feeds/packages/net/tcping compile
make[3] -C package/network/utils/resolveip compile
make[3] -C feeds/luci/applications/luci-app-passwall compile
make[3] -C feeds/packages/libs/libtasn1 compile
make[3] -C feeds/packages/libs/libtasn1 host-compile
make[3] -C feeds/packages/libs/libtirpc compile
make[3] -C feeds/packages/lang/perl host-compile
make[3] -C feeds/packages/lang/perl-parse-yapp host-compile
make[3] -C feeds/packages/libs/rpcsvc-proto host-compile
make[3] -C feeds/packages/net/samba4 host-compile
make[3] -C package/libs/popt compile
make[3] -C feeds/packages/libs/liburing compile
make[3] -C feeds/packages/libs/expat compile
make[3] -C feeds/packages/utils/dbus compile
make[3] -C feeds/packages/libs/gdbm compile
make[3] -C feeds/packages/libs/libdaemon compile
make[3] -C feeds/packages/libs/avahi compile
make[3] -C feeds/packages/libs/avahi compile
make[3] -C feeds/packages/libs/avahi compile
make[3] -C feeds/packages/net/samba4 compile
make[1]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt'
make[2]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt'
make[3]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/target/linux'
make[4]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/target/linux/x86'
rm -f /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/localversion
/home/runner/work/OpenWrt/OpenWrt/openwrt/scripts/kconfig.pl + + /home/runner/work/OpenWrt/OpenWrt/openwrt/target/linux/generic/config-6.6 /home/runner/work/OpenWrt/OpenWrt/openwrt/target/linux/x86/config-6.6 /home/runner/work/OpenWrt/OpenWrt/openwrt/target/linux/x86/64/config-6.6 > /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.target
awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /home/runner/work/OpenWrt/OpenWrt/openwrt/.config >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.target
echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.target
/home/runner/work/OpenWrt/OpenWrt/openwrt/scripts/package-metadata.pl kconfig /home/runner/work/OpenWrt/OpenWrt/openwrt/tmp/.packageinfo /home/runner/work/OpenWrt/OpenWrt/openwrt/.config 6.6 > /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.override
/home/runner/work/OpenWrt/OpenWrt/openwrt/scripts/kconfig.pl 'm+' '+' /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.target /dev/null /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.override > /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set
mv /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.old
grep -v INITRAMFS /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.old > /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set
echo '# CONFIG_INITRAMFS_FORCE is not set' >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set
echo "# CONFIG_INITRAMFS_PRESERVE_MTIME is not set" >> /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set
rm -rf /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/modules
cmp -s /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.prev || { cp /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config; cp /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.prev; }
export MAKEFLAGS= ; [ -d /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/user_headers ] || make -C /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58 KCFLAGS="-fmacro-prefix-map=/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/runner/work/OpenWrt/OpenWrt/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="Sat Nov 16 07:06:01 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=6.6.58 CC="x86_64-openwrt-linux-musl-gcc" INSTALL_HDR_PATH=/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/user_headers header
grep '=[ym]' /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.config.set | LC_ALL=C sort | /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/host/bin/mkhash md5 > /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.vermagic
touch /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/.configured
rm -f /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/vmlinux /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58/System.map
make -C /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58 KCFLAGS="-fmacro-prefix-map=/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/runner/work/OpenWrt/OpenWrt/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="Sat Nov 16 07:06:01 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=6.6.58 CC="x86_64-openwrt-linux-musl-gcc" olddefconfig
make[5]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58'

No change to .config

make[5]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58'
make -C /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58 KCFLAGS="-fmacro-prefix-map=/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/runner/work/OpenWrt/OpenWrt/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="Sat Nov 16 07:06:01 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=6.6.58 CC="x86_64-openwrt-linux-musl-gcc" bzImage modules
make[5]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.58'
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
MKPIGGY arch/x86/boot/compressed/piggy.S
AS arch/x86/boot/compressed/piggy.o
LD arch/x86/boot/compressed/vmlinux
ZOFFSET arch/x86/boot/zoffset.h
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
OBJCOPY arch/x86/boot/vmlinux.bin
BUILD arch/x86/boot/bzImage
Kernel: arch/x86/boot/bzImage is ready (#0)

这是开始出错误的地方,日志太多,下面是结尾部分。

echo "wireless-regdb" >> /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/wireless-regdb.default.install
make[3]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/package/firmware/wireless-regdb'
time: package/firmware/wireless-regdb/compile#0.13#0.09#0.20
make[3]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/package/kernel/button-hotplug'
mkdir -p /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/runner/work/OpenWrt/OpenWrt/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/button-hotplug/.pkgdir/kmod-button-hotplug/. /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.kmod-button-hotplug_installed
echo "kmod-button-hotplug" >> /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/target-x86_64_musl/pkginfo/button-hotplug.default.install
make[3]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/package/kernel/button-hotplug'
time: package/kernel/button-hotplug/compile#0.18#0.07#0.23
make[3]: Entering directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/package/network/services/hostapd'
touch /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/hostapd-wpad-full-openssl/hostapd-2022-07-29-b704dc72/.prepared_a5886a1d314a65f1ff8cc7826fd90ae8_6664517399ebbbc92a37c5bb081b5c53_check
. /home/runner/work/OpenWrt/OpenWrt/openwrt/include/shell.sh; xzcat /home/runner/work/OpenWrt/OpenWrt/openwrt/dl/hostapd-2022-07-29-b704dc72.tar.xz | tar -C /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/hostapd-wpad-full-openssl/hostapd-2022-07-29-b704dc72/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/hostapd-wpad-full-openssl/hostapd-2022-07-29-b704dc72
Applying ./patches/001-wolfssl-init-RNG-with-ECC-key.patch using plaintext:
patching file src/crypto/crypto_wolfssl.c
Applying ./patches/010-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch using plaintext:
patching file wpa_supplicant/wpa_supplicant.c
Applying ./patches/011-fix-mbo-modules-build.patch using plaintext:
patching file wpa_supplicant/Makefile
Hunk #1 succeeded at 329 (offset -10 lines).
Applying ./patches/011-mesh-use-deterministic-channel-on-channel-switch.patch using plaintext:
patching file src/ap/dfs.c
patching file src/drivers/driver_nl80211.c
Applying ./patches/021-fix-sta-add-after-previous-connection.patch using plaintext:
patching file src/ap/ieee802_11.c
Applying ./patches/022-hostapd-fix-use-of-uninitialized-stack-variables.patch using plaintext:
patching file src/ap/hostapd.c
Applying ./patches/023-ndisc_snoop-call-dl_list_del-before-freeing-ipv6-add.patch using plaintext:
patching file src/ap/ndisc_snoop.c
Applying ./patches/030-driver_nl80211-rewrite-neigh-code-to-not-depend-on-l.patch using plaintext:
patching file src/drivers/driver_nl80211.c
Applying ./patches/040-mesh-allow-processing-authentication-frames-in-block.patch using plaintext:
patching file src/ap/ieee802_11.c
Applying ./patches/050-build_fix.patch using plaintext:
patching file hostapd/Makefile
patching file wpa_supplicant/Makefile
Applying ./patches/100-daemonize_fix.patch using plaintext:
patching file src/utils/os_unix.c
Applying ./patches/110-mbedtls-TLS-crypto-option-initial-port.patch using plaintext:
patching file hostapd/Makefile
patching file hostapd/defconfig
patching file src/crypto/crypto_mbedtls.c
patching file src/crypto/tls_mbedtls.c
patching file tests/build/build-wpa_supplicant-mbedtls.config
patching file tests/hwsim/example-hostapd.config
patching file tests/hwsim/example-wpa_supplicant.config
patching file wpa_supplicant/Makefile
Hunk #1 succeeded at 1150 (offset 1 line).
Hunk #2 succeeded at 1365 (offset 1 line).
Hunk #3 succeeded at 1383 (offset 1 line).
Hunk #4 succeeded at 1397 (offset 1 line).
Hunk #5 succeeded at 1450 (offset 1 line).
Hunk #6 succeeded at 1471 (offset 1 line).
Hunk #7 succeeded at 1556 (offset 1 line).
Hunk #8 succeeded at 1579 (offset 1 line).
Hunk #9 succeeded at 1815 (offset 1 line).
patching file wpa_supplicant/defconfig
Applying ./patches/120-mbedtls-fips186_2_prf.patch using plaintext:
patching file hostapd/Makefile
patching file src/crypto/crypto_mbedtls.c
patching file wpa_supplicant/Makefile
Hunk #1 succeeded at 1161 (offset 1 line).
Applying ./patches/130-mbedtls-annotate-with-TEST_FAIL-for-hwsim-tests.patch using plaintext:
patching file src/crypto/crypto_mbedtls.c
Applying ./patches/140-tests-Makefile-make-run-tests-with-CONFIG_TLS.patch using plaintext:
patching file hostapd/Makefile
patching file src/crypto/Makefile
patching file src/crypto/crypto_module_tests.c
patching file src/tls/Makefile
patching file tests/Makefile
patching file tests/hwsim/example-hostapd.config
patching file tests/hwsim/example-wpa_supplicant.config
patching file tests/hwsim/test_ap_eap.py
patching file tests/hwsim/test_ap_ft.py
patching file tests/hwsim/test_authsrv.py
patching file tests/hwsim/test_dpp.py
patching file tests/hwsim/test_erp.py
patching file tests/hwsim/test_fils.py
patching file tests/hwsim/test_pmksa_cache.py
patching file tests/hwsim/test_sae.py
patching file tests/hwsim/test_suite_b.py
patching file tests/hwsim/test_wpas_ctrl.py
patching file tests/hwsim/utils.py
patching file tests/test-crypto_module.c
patching file tests/test-https.c
patching file tests/test-https_server.c
patching file wpa_supplicant/Makefile
Hunk #1 succeeded at 1109 (offset 1 line).
Hunk #2 succeeded at 1125 (offset 1 line).
Hunk #3 succeeded at 1153 (offset 1 line).
Hunk #4 succeeded at 1173 (offset 1 line).
Hunk #5 succeeded at 1204 (offset 1 line).
Hunk #6 succeeded at 1285 (offset 1 line).
Applying ./patches/150-add-NULL-checks-encountered-during-tests-hwsim.patch using plaintext:
patching file src/common/dpp_crypto.c
patching file src/common/sae.c
Applying ./patches/160-dpp_pkex-EC-point-mul-w-value-prime.patch using plaintext:
patching file src/common/dpp_crypto.c
Applying ./patches/170-DPP-fix-memleak-of-intro.peer_key.patch using plaintext:
patching file wpa_supplicant/dpp_supplicant.c
Applying ./patches/200-multicall.patch using plaintext:
patching file hostapd/Makefile
patching file wpa_supplicant/Makefile
Hunk #2 succeeded at 373 (offset 1 line).
Hunk #3 succeeded at 916 (offset 1 line).
Hunk #4 succeeded at 927 (offset 1 line).
Hunk #5 succeeded at 1018 (offset 1 line).
Hunk #6 succeeded at 1032 (offset 1 line).
Hunk #7 succeeded at 2014 (offset 1 line).
Hunk #8 succeeded at 2152 (offset 1 line).
patching file src/drivers/driver.h
patching file src/ap/drv_callbacks.c
patching file wpa_supplicant/wpa_priv.c
patching file wpa_supplicant/events.c
patching file wpa_supplicant/wpa_supplicant.c
patching file hostapd/main.c
patching file src/drivers/drivers.c
patching file wpa_supplicant/eapol_test.c
Applying ./patches/300-noscan.patch using plaintext:
patching file hostapd/config_file.c
patching file src/ap/ap_config.h
patching file src/ap/hw_features.c
patching file src/ap/ieee802_11_ht.c
Applying ./patches/301-mesh-noscan.patch using plaintext:
patching file wpa_supplicant/config.c
patching file wpa_supplicant/config_file.c
patching file wpa_supplicant/mesh.c
patching file wpa_supplicant/wpa_supplicant.c
patching file wpa_supplicant/config_ssid.h
Applying ./patches/310-rescan_immediately.patch using plaintext:
patching file wpa_supplicant/wpa_supplicant.c
Applying ./patches/320-optional_rfkill.patch using plaintext:
patching file src/drivers/drivers.mak
patching file src/drivers/rfkill.h
Applying ./patches/330-nl80211_fix_set_freq.patch using plaintext:
patching file src/drivers/driver_nl80211.c
Applying ./patches/340-reload_freq_change.patch using plaintext:
patching file src/ap/hostapd.c
Applying ./patches/341-mesh-ctrl-iface-channel-switch.patch using plaintext:
patching file wpa_supplicant/ap.c
Applying ./patches/350-nl80211_del_beacon_bss.patch using plaintext:
patching file src/drivers/driver_nl80211.c
Applying ./patches/360-ctrl_iface_reload.patch using plaintext:
patching file hostapd/ctrl_iface.c
patching file src/ap/ctrl_iface_ap.c
Applying ./patches/370-ap_sta_support.patch using plaintext:
patching file wpa_supplicant/Makefile
patching file wpa_supplicant/bss.c
patching file wpa_supplicant/bss.h
patching file wpa_supplicant/main.c
patching file wpa_supplicant/wpa_supplicant.c
patching file wpa_supplicant/wpa_supplicant_i.h
patching file hostapd/ctrl_iface.c
patching file src/ap/beacon.c
patching file wpa_supplicant/events.c
patching file src/drivers/driver.h
patching file src/drivers/driver_nl80211_event.c
Applying ./patches/380-disable_ctrl_iface_mib.patch using plaintext:
patching file hostapd/Makefile
patching file hostapd/ctrl_iface.c
patching file wpa_supplicant/Makefile
Hunk #1 succeeded at 974 (offset 1 line).
patching file wpa_supplicant/ctrl_iface.c
patching file src/ap/ctrl_iface_ap.c
patching file src/ap/ieee802_1x.c
patching file src/ap/wpa_auth.c
patching file src/rsn_supp/wpa.c
patching file wpa_supplicant/ap.c
Applying ./patches/381-hostapd_cli_UNKNOWN-COMMAND.patch using plaintext:
patching file hostapd/hostapd_cli.c
Applying ./patches/390-wpa_ie_cap_workaround.patch using plaintext:
patching file src/common/wpa_common.c
Applying ./patches/400-wps_single_auth_enc_type.patch using plaintext:
patching file src/ap/wps_hostapd.c
Applying ./patches/410-limit_debug_messages.patch using plaintext:
patching file src/utils/wpa_debug.c
patching file src/utils/wpa_debug.h
Applying ./patches/420-indicate-features.patch using plaintext:
patching file hostapd/main.c
patching file wpa_supplicant/main.c
Applying ./patches/430-hostapd_cli_ifdef.patch using plaintext:
patching file hostapd/hostapd_cli.c
Applying ./patches/431-wpa_cli_ifdef.patch using plaintext:
patching file wpa_supplicant/wpa_cli.c
Applying ./patches/432-missing-typedef.patch using plaintext:
patching file src/drivers/linux_wext.h
Applying ./patches/450-scan_wait.patch using plaintext:
patching file hostapd/main.c
Applying ./patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch using plaintext:
patching file src/drivers/driver.h
patching file wpa_supplicant/config.c
patching file wpa_supplicant/config_ssid.h
patching file wpa_supplicant/wpa_supplicant.c
Applying ./patches/461-driver_nl80211-use-new-parameters-during-ibss-join.patch using plaintext:
patching file src/drivers/driver_nl80211.c
Applying ./patches/463-add-mcast_rate-to-11s.patch using plaintext:
patching file src/drivers/driver.h
patching file src/drivers/driver_nl80211.c
patching file wpa_supplicant/mesh.c
Applying ./patches/464-fix-mesh-obss-check.patch using plaintext:
patching file wpa_supplicant/wpa_supplicant.c
Applying ./patches/465-hostapd-config-support-random-BSS-color.patch using plaintext:
patching file hostapd/config_file.c
Applying ./patches/470-survey_data_fallback.patch using plaintext:
patching file src/ap/acs.c
Applying ./patches/500-lto-jobserver-support.patch using plaintext:
patching file hostapd/Makefile
patching file wpa_supplicant/Makefile
Hunk #1 succeeded at 2026 (offset 1 line).
Applying ./patches/590-rrm-wnm-statistics.patch using plaintext:
patching file src/ap/hostapd.h
patching file src/ap/wnm_ap.c
patching file src/ap/rrm.c
Applying ./patches/599-wpa_supplicant-fix-warnings.patch using plaintext:
patching file wpa_supplicant/wps_supplicant.h
Applying ./patches/600-ubus_support.patch using plaintext:
patching file hostapd/Makefile
patching file src/ap/hostapd.h
patching file src/ap/hostapd.c
patching file src/ap/ieee802_11.c
patching file src/ap/beacon.c
patching file src/ap/drv_callbacks.c
patching file src/ap/sta_info.c
patching file src/ap/wpa_auth_glue.c
patching file wpa_supplicant/Makefile
Hunk #2 succeeded at 984 (offset 1 line).
patching file wpa_supplicant/wpa_supplicant.c
patching file wpa_supplicant/wpa_supplicant_i.h
patching file wpa_supplicant/wps_supplicant.c
patching file hostapd/main.c
patching file wpa_supplicant/main.c
patching file src/ap/rrm.c
patching file src/ap/vlan_init.c
patching file src/ap/dfs.c
patching file src/ap/airtime_policy.c
patching file src/ap/sta_info.h
patching file src/ap/wnm_ap.c
Applying ./patches/610-hostapd_cli_ujail_permission.patch using plaintext:
patching file src/common/wpa_ctrl.c
Applying ./patches/700-wifi-reload.patch using plaintext:
patching file hostapd/config_file.c
patching file src/ap/ap_config.c
patching file src/ap/ap_config.h
patching file src/ap/hostapd.c
patching file src/ap/hostapd.h
patching file src/drivers/driver_nl80211.c
patching file hostapd/ctrl_iface.c
patching file hostapd/main.c
patching file src/ap/wps_hostapd.c
Applying ./patches/710-vlan_no_bridge.patch using plaintext:
patching file src/ap/ap_config.h
patching file src/ap/vlan_full.c
patching file hostapd/config_file.c
Applying ./patches/711-wds_bridge_force.patch using plaintext:
patching file hostapd/config_file.c
patching file src/ap/ap_drv_ops.c
Applying ./patches/720-iface_max_num_sta.patch using plaintext:
patching file hostapd/config_file.c
patching file src/ap/hostapd.h
patching file src/ap/hostapd.c
patching file src/ap/beacon.c
patching file src/ap/ap_config.h
Applying ./patches/730-ft_iface.patch using plaintext:
patching file hostapd/config_file.c
patching file src/ap/ap_config.h
patching file src/ap/wpa_auth_glue.c
Applying ./patches/740-snoop_iface.patch using plaintext:
patching file src/ap/ap_config.h
patching file src/ap/x_snoop.c
patching file hostapd/config_file.c
Applying ./patches/750-qos_map_set_without_interworking.patch using plaintext:
patching file hostapd/config_file.c
patching file src/ap/hostapd.c
patching file wpa_supplicant/events.c
patching file src/ap/ieee802_11_shared.c
Applying ./patches/751-qos_map_ignore_when_unsupported.patch using plaintext:
patching file src/ap/ap_drv_ops.c
Applying ./patches/760-dynamic_own_ip.patch using plaintext:
patching file src/ap/ap_config.h
patching file src/radius/radius_client.c
patching file src/radius/radius_client.h
patching file src/ap/ieee802_1x.c
patching file hostapd/config_file.c
Applying ./patches/761-shared_das_port.patch using plaintext:
patching file src/radius/radius_das.h
patching file src/ap/hostapd.c
patching file src/radius/radius_das.c
Applying ./patches/800-acs-don-t-select-indoor-channel-on-outdoor-operation.patch using plaintext:
patching file src/ap/acs.c
patching file src/ap/dfs.c
Applying ./patches/990-ctrl-make-WNM_AP-functions-dependant-on-CONFIG_AP.patch using plaintext:
patching file wpa_supplicant/ctrl_iface.c
Applying ./patches/992-openssl-include-rsa.patch using plaintext:
patching file src/crypto/crypto_openssl.c
Applying ./patches/993-fix-mbo-module-build.patch using plaintext:
patching file wpa_supplicant/Makefile
Hunk #1 FAILED at 339.
1 out of 1 hunk FAILED -- saving rejects to file wpa_supplicant/Makefile.rej
Patch failed! Please fix ./patches/993-fix-mbo-module-build.patch!
make[3]: *** [Makefile:790: /home/runner/work/OpenWrt/OpenWrt/openwrt/build_dir/target-x86_64_musl/hostapd-wpad-full-openssl/hostapd-2022-07-29-b704dc72/.prepared_a5886a1d314a65f1ff8cc7826fd90ae8_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt/package/network/services/hostapd'
time: package/network/services/hostapd/wpad-full-openssl/compile#0.68#0.46#0.98
ERROR: package/network/services/hostapd failed to build (build variant: wpad-full-openssl).
make[2]: *** [package/Makefile:116: package/network/services/hostapd/compile] Error 1
make[2]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt'
make[1]: *** [package/Makefile:110: /home/runner/work/OpenWrt/OpenWrt/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/runner/work/OpenWrt/OpenWrt/openwrt'
make: *** [/home/runner/work/OpenWrt/OpenWrt/openwrt/include/toplevel.mk:231: world] Error 2
Error: Process completed with exit code 2.

@weipeng11
Copy link
Author

加入 sudo -E apt-get -y install clang 试试

谢谢回复,问题依旧。

@coolsnowwolf
Copy link
Owner

验证了,没问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants