openwrt / asu

An image on demand server for OpenWrt based distributions
https://sysupgrade.openwrt.org
GNU General Public License v2.0
332 stars 84 forks source link

Busybox is corrupt error in Attended Sysupgrade build #804

Open PKeller34 opened 6 months ago

PKeller34 commented 6 months ago

I just tried out the Attended Sysupgrade on a newly installed OpenWRT 23.05.3 for the Linksys E8450. I had installed nano-full and the LuCI and CLI Attended Sysupgrade packages. Since I had downloaded the firmware just a couple days ago I was surprised that Attended Sysupgrade said there was an updated version. So I proceeded with the build and it errored out. Below is the output it produced.

Request data:

{ "url": "https://sysupgrade.openwrt.org", "revision": "r23497-6637af95aa", "advanced_mode": "0", "sha256_unsigned": "", "branch": "23.05", "efi": null, "request_hash": "8cd597730a9eb5f5b025a334592bef17", "profile": "linksys,e8450-ubi", "target": "mediatek/mt7622", "version": "23.05.3", "packages": [ "auc", "base-files", "busybox", "ca-bundle", "cgi-io", "dnsmasq", "dropbear", "firewall4", "fstools", "fwtool", "getrandom", "hostapd-common", "iw", "iwinfo", "jansson", "jshn", "jsonfilter", "kernel", "kmod-cfg80211", "kmod-crypto-acompress", "kmod-crypto-aead", "kmod-crypto-ccm", "kmod-crypto-cmac", "kmod-crypto-crc32c", "kmod-crypto-ctr", "kmod-crypto-gcm", "kmod-crypto-gf128", "kmod-crypto-ghash", "kmod-crypto-hash", "kmod-crypto-hmac", "kmod-crypto-manager", "kmod-crypto-null", "kmod-crypto-rng", "kmod-crypto-seqiv", "kmod-crypto-sha512", "kmod-gpio-button-hotplug", "kmod-hwmon-core", "kmod-leds-gpio", "kmod-lib-crc-ccitt", "kmod-lib-crc32c", "kmod-lib-lzo", "kmod-mac80211", "kmod-mt76-connac", "kmod-mt76-core", "kmod-mt7615-common", "kmod-mt7615e", "kmod-mt7622-firmware", "kmod-mt7915-firmware", "kmod-nf-conntrack", "kmod-nf-conntrack6", "kmod-nf-flow", "kmod-nf-log", "kmod-nf-log6", "kmod-nf-nat", "kmod-nf-reject", "kmod-nf-reject6", "kmod-nfnetlink", "kmod-nft-core", "kmod-nft-fib", "kmod-nft-nat", "kmod-nft-offload", "kmod-ppp", "kmod-pppoe", "kmod-pppox", "kmod-slhc", "kmod-usb3", "libblobmsg-json", "libiwinfo", "libiwinfo-data", "libjson-c", "libjson-script", "liblucihttp", "liblucihttp-ucode", "libmbedtls", "libmnl", "libnftnl", "libnl-tiny", "libubox", "libubus", "libuci", "libuclient", "libucode", "libustream-mbedtls", "logd", "luci", "luci-app-attendedsysupgrade", "luci-app-firewall", "luci-app-opkg", "luci-base", "luci-light", "luci-mod-admin-full", "luci-mod-network", "luci-mod-status", "luci-mod-system", "luci-proto-ipv6", "luci-proto-ppp", "luci-ssl", "luci-theme-bootstrap", "mtd", "nano-full", "netifd", "nftables-json", "odhcp6c", "odhcpd-ipv6only", "openwrt-keyring", "opkg", "ppp", "ppp-mod-pppoe", "procd", "procd-seccomp", "procd-ujail", "px5g-mbedtls", "rpcd", "rpcd-mod-file", "rpcd-mod-iwinfo", "rpcd-mod-luci", "rpcd-mod-rrdns", "rpcd-mod-ucode", "ubi-utils", "uboot-envtools", "ubox", "ubus", "ubusd", "uci", "uclient-fetch", "ucode", "ucode-mod-fs", "ucode-mod-html", "ucode-mod-math", "ucode-mod-nl80211", "ucode-mod-rtnl", "ucode-mod-ubus", "ucode-mod-uci", "ucode-mod-uloop", "uhttpd", "uhttpd-mod-ubus", "urandom-seed", "urngd", "usign", "wireless-regdb", "wpad-basic-mbedtls" ], "diff_packages": true, "filesystem": "squashfs", "client": "luci/git-23.339.51123-138595a" }

STDERR:

Generate local signing keys... Generate local certificate... Package list missing or not up-to-date, generating it.

Building package index... Downloading https://downloads.openwrt.org/releases/23.05.3/targets/mediatek/mt7622/packages/Packages.gz Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_core Downloading https://downloads.openwrt.org/releases/23.05.3/targets/mediatek/mt7622/packages/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/base/Packages.gz Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_base Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/base/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/luci/Packages.gz Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_luci Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/luci/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/packages/Packages.gz Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_packages Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/packages/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/routing/Packages.gz Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_routing Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/routing/Packages.sig Signature check passed. Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/telephony/Packages.gz Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_telephony Downloading https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/telephony/Packages.sig Signature check passed. Downloading file:packages/Packages Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/imagebuilder Downloading file:packages/Packages.sig Signature check passed. Collected errors: