openwrt / openwrt/asu

Error building the firmware image

Open
#549 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

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r23459-a0ae7a50e0",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "SNAPSHOT",
"efi": null,
"profile": "linksys,mr8300",
"target": "ipq40xx/generic",
"version": "SNAPSHOT",
"packages": [
"ath10k-board-qca4019",
"ath10k-firmware-qca4019",
"ath10k-firmware-qca9888-ct",
"attendedsysupgrade-common",
"base-files",
"block-mount",
"busybox",
"ca-bundle",
"dnsmasq",
"dropbear",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"iw",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"keepalived",
"kernel",
"kmod-ath",
"kmod-ath10k-ct",
"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-fs-f2fs",
"kmod-gpio-button-hotplug",
"kmod-hwmon-core",
"kmod-leds-gpio",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"kmod-mac80211",
"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-nls-base",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-slhc",
"kmod-usb-core",
"kmod-usb-dwc3",
"kmod-usb-dwc3-qcom",
"kmod-usb-ledtrig-usbport",
"kmod-usb-storage",
"kmod-usb-xhci-hcd",
"kmod-usb3",
"libblobmsg-json",
"libc",
"libiwinfo",
"libiwinfo-data",
"libjson-c",
"libjson-script",
"libmbedtls",
"libmnl",
"libnftnl",
"libnl-tiny",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-mbedtls",
"logd",
"luci",
"luci-app-advanced-reboot",
"luci-app-attendedsysupgrade",
"luci-mod-dashboard",
"mc",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"urandom-seed",
"urngd",
"usign",
"wireless-regdb",
"wpad-basic-mbedtls"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.132.65998-fa9fb2f"
}

STDERR:
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/kmods/5.15.123-1-827064229732da176fe845c5b0bbba0f/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/kmods/5.15.123-1-827064229732da176fe845c5b0bbba0f/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq40xx/generic/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency libmagic for keepalived
  • pkg_hash_fetch_best_installation_candidate: Packages for keepalived found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package keepalived.
    make[2]: *** [Makefile:189: package_install] Error 255
    make[1]: *** [Makefile:154: _call_manifest] Error 2
    make: *** [Makefile:274: manifest] Error 2

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 failure at Makefile:189 during package_install and inspect how the imagebuilder package indexes are generated and verified. Investigate why keepalived cannot resolve libmagic or match the configured architecture, then confirm that manifest generation completes successfully for the reported ipq40xx/generic build.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.