Error building the firmware image - Server response: Error: Impossible package selection
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 450
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Request Data:
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r21843-539b52068a",
"advanced_mode": "1",
"branch": "SNAPSHOT",
"efi": null,
"request_hash": "01c27347ac5ffc4c61401dc62eb7ef3a",
"profile": "linksys,wrt3200acm",
"target": "mvebu/cortexa9",
"version": "SNAPSHOT",
"packages": [
"avahi-autoipd",
"avahi-daemon-service-http",
"avahi-daemon-service-ssh",
"avahi-dnsconfd",
"avahi-utils",
"base-files",
"busybox",
"ca-bundle",
"dnsmasq",
"dropbear",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"htop",
"irqbalance",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-btmrvl",
"kmod-crypto-acompress",
"kmod-crypto-arc4",
"kmod-crypto-cbc",
"kmod-crypto-chacha20poly1305",
"kmod-crypto-crc32",
"kmod-crypto-crc32c",
"kmod-crypto-cts",
"kmod-crypto-deflate",
"kmod-crypto-des",
"kmod-crypto-echainiv",
"kmod-crypto-essiv",
"kmod-crypto-fcrypt",
"kmod-crypto-hash",
"kmod-crypto-md4",
"kmod-crypto-md5",
"kmod-crypto-michael-mic",
"kmod-crypto-misc",
"kmod-crypto-pcbc",
"kmod-crypto-rmd160",
"kmod-crypto-sha1",
"kmod-crypto-sha512",
"kmod-crypto-user",
"kmod-crypto-xcbc",
"kmod-crypto-xts",
"kmod-cryptodev",
"kmod-gpio-button-hotplug",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"kmod-mwifiex-sdio",
"kmod-mwlwifi",
"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",
"libavahi-compat-libdnssd",
"libblobmsg-json",
"libiwinfo-data",
"libjson-c",
"libjson-script",
"libmnl",
"libnftnl",
"libnl-tiny",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libwolfssl",
"logd",
"luci",
"luci-app-acl",
"luci-app-advanced-reboot",
"luci-app-commands",
"luci-app-dawn",
"luci-app-diag-core",
"luci-app-https-dns-proxy",
"luci-app-ntpc",
"luci-app-qos",
"luci-app-sqm",
"luci-app-uhttpd",
"luci-app-upnp",
"luci-app-wol",
"luci-base",
"luci-mod-dashboard",
"luci-ssl",
"mtd",
"mwlwifi-firmware-88w8964",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openssh-sftp-avahi-service",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-rpcsys",
"rpcd-mod-ucode",
"u2pnpd",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-math",
"ucode-mod-ubus",
"ucode-mod-uci",
"urandom-seed",
"urngd",
"usign",
"wpad-wolfssl",
"wsdd2"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/undefined"
}
STDERR:
Package list missing or not up-to-date, generating it.
Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/kmods/5.15.89-1-40049c274011ae3e6e0a3810ae818dbc/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/kmods/5.15.89-1-40049c274011ae3e6e0a3810ae818dbc/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:
* check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/lib/libavahi-common.so.3
But that file is already provided by package * libavahi-nodbus-support
* check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/lib/libavahi-common.so.3.5.4
But that file is already provided by package * libavahi-nodbus-support
* check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/lib/libavahi-core.so.7
But that file is already provided by package * libavahi-nodbus-support
* check_data_file_clashes: Package libavahi-dbus-support wants to install file /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/lib/libavahi-core.so.7.1.0
But that file is already provided by package * libavahi-nodbus-support
* opkg_install_cmd: Cannot install package avahi-utils.
make[2]: *** [Makefile:185: package_install] Error 255
make[1]: *** [Makefile:150: _call_manifest] Error 2
make: *** [Makefile:269: manifest] Error 2
In my case, I do not have the nodbus packages installed, so I'm not sure why this is marked as an impossible package selection.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the supplied package list and stderr as reproduction context; inspect the imagebuilder manifest and package_install path around Makefile:185 and Makefile:150. Determine why avahi-utils selects libavahi-dbus-support alongside libavahi-nodbus-support, then verify that the impossible package selection is resolved and the firmware image builds successfully.
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
- 35/100