openwrt / openwrt/asu

Error building the firmware image Server response: Error: Impossible package selection

Open
#446 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": "r0-3a2144f",
"advanced_mode": "0",
"branch": "SNAPSHOT",
"efi": null,
"profile": "xiaomi,ax3600",
"target": "ipq807x/generic",
"version": "SNAPSHOT",
"packages": [
"ath10k-board-qca9887",
"ath10k-firmware-qca9887-ct",
"ath11k-firmware-ipq8074",
"attendedsysupgrade-common",
"base-files",
"busybox",
"ca-bundle",
"cgi-io",
"ddns-scripts-noip",
"dnsmasq",
"dropbear",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"ipq-wifi-xiaomi_ax3600",
"iw",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-ath",
"kmod-ath10k-ct-smallbuffers",
"kmod-ath11k",
"kmod-ath11k-ahb",
"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-michael-mic",
"kmod-crypto-null",
"kmod-crypto-rng",
"kmod-crypto-seqiv",
"kmod-crypto-sha256",
"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-qca-nss-dp",
"kmod-qca-ssdk",
"kmod-qrtr",
"kmod-qrtr-smd",
"kmod-slhc",
"kmod-thermal",
"kmod-usb-core",
"kmod-usb-dwc3",
"kmod-usb-dwc3-qcom",
"kmod-usb-xhci-hcd",
"kmod-usb3",
"libblobmsg-json",
"libiwinfo",
"libiwinfo-data",
"libjson-c",
"libjson-script",
"liblucihttp",
"liblucihttp-ucode",
"libmnl",
"libnftnl",
"libnl-tiny",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libwolfsslcpu-crypto",
"logd",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-opkg",
"luci-base",
"luci-i18n-attendedsysupgrade-pl",
"luci-i18n-base-pl",
"luci-i18n-firewall-pl",
"luci-i18n-opkg-pl",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-theme-bootstrap",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rpcsys",
"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-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"wireless-regdb",
"wpad-wolfssl"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-22.285.67526-18bfcca"
}

STDERR:

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

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/kmods/5.15.90-1-03ad7937b05d057fe30d4ef41e77ee0c/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/kmods/5.15.90-1-03ad7937b05d057fe30d4ef41e77ee0c/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
[libwolfsslcpu-crypto] Checking for Arm v8-A Cryptographic Extension support: ...[offline]... OK
[libwolfsslcpu-crypto] Checking for Arm v8-A Cryptographic Extension support: ...[offline]... OK
Collected errors:

  • check_data_file_clashes: Package libwolfsslcpu-crypto5.5.4.e624513f wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/usr/lib/libwolfssl.so.5.5.4.e624513f
    But that file is already provided by package * libwolfssl5.5.4.e624513f
  • opkg_install_cmd: Cannot install package libwolfsslcpu-crypto.
  • check_data_file_clashes: Package libwolfsslcpu-crypto5.5.4.e624513f wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/ipq807x/generic/build_dir/target-aarch64_cortex-a53_musl/root-ipq807x/usr/lib/libwolfssl.so.5.5.4.e624513f
    But that file is already provided by package * libwolfssl5.5.4.e624513f
  • opkg_install_cmd: Cannot install package libwolfsslcpu-crypto.
    make[2]: *** [Makefile:185: package_install] Error 255
    make[1]: *** [Makefile:150: _call_manifest] Error 2
    make: *** [Makefile:269: 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 image build invoked through the sysupgrade.openwrt.org service and the Makefile targets reported at lines 185, 150, and 269. Trace package manifest generation around the libwolfsslcpu-crypto and libwolfssl file clash, then verify that the Xiaomi AX3600 SNAPSHOT image builds without the reported package-install error.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.