openwrt / openwrt/asu

Error building the firmware image - sysupgrade from 23.05 to 24.10 on TP-Link Archer C7 v2

Open
#1,266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
111
PR merge metrics
No merged PRs in 30d

Description

Current version: 23.05.5 - r24106-10cc5fcd00
`OpenWrt

Request Data:

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24106-10cc5fcd00",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "23.05",
"efi": null,
"profile": "tplink,archer-c7-v2",
"target": "ath79/generic",
"version": "24.10.0",
"packages": [
"adblock",
"ath10k-board-qca988x",
"ath10k-firmware-qca988x-ct",
"base-files",
"busybox",
"ca-bundle",
"ca-certificates",
"cgi-io",
"coreutils-sort",
"curl",
"ddns-scripts",
"ddns-scripts-services",
"diffutils",
"dnsmasq",
"dropbear",
"firewall",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"iftop",
"ip6tables-nft",
"iperf3",
"iptables-nft",
"irqbalance",
"iw",
"iwinfo",
"jshn",
"jsonfilter",
"kernel",
"kmod-ath",
"kmod-ath10k-ct",
"kmod-ath9k",
"kmod-ath9k-common",
"kmod-cfg80211",
"kmod-gpio-button-hotplug",
"kmod-ip6tables",
"kmod-ipt-conntrack",
"kmod-ipt-core",
"kmod-ipt-nat",
"kmod-ipt-offload",
"kmod-lib-crc-ccitt",
"kmod-mac80211",
"kmod-nf-conntrack",
"kmod-nf-conntrack6",
"kmod-nf-flow",
"kmod-nf-ipt",
"kmod-nf-ipt6",
"kmod-nf-nat",
"kmod-nf-reject",
"kmod-nf-reject6",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-slhc",
"kmod-usb-ledtrig-usbport",
"kmod-usb2",
"libblobmsg-json",
"libc",
"libcurl",
"libip4tc",
"libip6tc",
"libiperf3",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libmbedtls",
"libnl-tiny",
"libopenssl",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libxtables",
"logd",
"lua",
"luci",
"luci-app-adblock",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-openvpn",
"luci-app-opkg",
"luci-app-vnstat",
"luci-app-wol",
"luci-base",
"luci-compat",
"luci-lib-base",
"luci-lib-ip",
"luci-lib-jsonc",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ppp",
"luci-proto-wireguard",
"luci-ssl",
"luci-theme-bootstrap",
"mtd",
"nano",
"netifd",
"odhcp6c",
"odhcpd-ipv6only",
"openvpn-openssl",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"stubby",
"swconfig",
"tcpdump-mini",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"urandom-seed",
"urngd",
"usign",
"vnstat",
"wg-installer-client",
"wireguard-tools",
"wpad-basic-wolfssl",
"zlib"
],
"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 http://downloads.openwrt.org/releases/24.10.0/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ath79/generic/kmods/6.6.73-1-c2bc166c1ba350209562f87ffdd33884/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ath79/generic/kmods/6.6.73-1-c2bc166c1ba350209562f87ffdd33884/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-mips_24kc_musl/root-ath79/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • opkg_install_pkg: Checksum or size mismatch for package adblock. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package adblock.
  • opkg_install_pkg: Checksum or size mismatch for package coreutils-sort. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package coreutils-sort.
  • opkg_install_pkg: Checksum or size mismatch for package ddns-scripts. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package ddns-scripts.
  • opkg_install_pkg: Checksum or size mismatch for package ddns-scripts-services. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package ddns-scripts-services.
  • opkg_install_pkg: Checksum or size mismatch for package diffutils. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package diffutils.
  • opkg_install_pkg: Checksum or size mismatch for package iftop. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package iftop.
  • opkg_install_pkg: Checksum or size mismatch for package iperf3. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package iperf3.
  • opkg_install_pkg: Checksum or size mismatch for package irqbalance. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package irqbalance.
  • opkg_install_pkg: Checksum or size mismatch for package libiperf3. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package libiperf3.
  • opkg_install_pkg: Checksum or size mismatch for package coreutils. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package luci-app-adblock.
  • opkg_install_pkg: Checksum or size mismatch for package attendedsysupgrade-common. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package luci-app-attendedsysupgrade.
  • opkg_install_pkg: Checksum or size mismatch for package ddns-scripts-services. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package luci-app-ddns.
  • opkg_install_cmd: Cannot install package luci-app-vnstat.
  • opkg_install_pkg: Checksum or size mismatch for package etherwake. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package luci-app-wol.
  • opkg_install_pkg: Checksum or size mismatch for package nano. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package nano.
  • opkg_install_pkg: Checksum or size mismatch for package openvpn-openssl. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package openvpn-openssl.
  • opkg_install_pkg: Checksum or size mismatch for package qrencode. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package qrencode.
  • opkg_install_pkg: Checksum or size mismatch for package stubby. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package stubby.
  • opkg_install_pkg: Checksum or size mismatch for package vnstat. Either the opkg or the package index are corrupt. Try 'opkg update'.
  • opkg_install_cmd: Cannot install package vnstat.
    make[2]: *** [Makefile:234: package_install] Error 255
    make[1]: *** [Makefile:171: _call_manifest] Error 2
    make: *** [Makefile:349: manifest] Error 2

Close`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the failing package_install target at Makefile:234 and its callers at Makefile:171 and Makefile:349. Reproduce the posted request using the tplink,archer-c7-v2 profile and package set, then determine why the 24.10 ath79 build reports checksum or size mismatches. Done means the requested firmware image builds without those package-install errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.