openwrt / openwrt/asu

Error building the firmware image "profile": "nf541-nf541","target": "x86/64","version": "23.05.0-rc3"

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

TL/DR: libustream-mbedtls20201210 and libustream-wolfssl20201210 provide the same file libustream-ssl.so; this wasn't a problem updating to release 22.03.5 - r20134-5f15225c1e from the previous one. Which package is safer from a future update perspective?

Error building the firmware image

Server response: Error: Impossible package selection
Please report the error message and request

Request Data:

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r20134-5f15225c1e",
"advanced_mode": "1",
"branch": "22.03",
"efi": null,
"profile": "nf541-nf541",
"target": "x86/64",
"version": "23.05.0-rc3",
"packages": [
"auc",
"base-files",
"busybox",
"ca-bundle",
"cgi-io",
"dnsmasq",
"dropbear",
"e2fsprogs",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"grub2",
"grub2-efi",
"ip6tables-nft",
"iperf3-ssl",
"iptables-nft",
"iwlwifi-firmware-iwl7260",
"jshn",
"jsonfilter",
"kernel",
"kmod-bnx2",
"kmod-button-hotplug",
"kmod-e1000",
"kmod-e1000e",
"kmod-forcedeth",
"kmod-fs-vfat",
"kmod-igb",
"kmod-input-core",
"kmod-ip6tables",
"kmod-ipt-conntrack",
"kmod-ipt-core",
"kmod-ipt-nat",
"kmod-ipt-offload",
"kmod-ixgbe",
"kmod-lib-crc-ccitt",
"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-nls-base",
"kmod-nls-cp437",
"kmod-nls-iso8859-1",
"kmod-nls-utf8",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-r8169",
"kmod-slhc",
"libblkid",
"libblobmsg-json",
"libc",
"libcomerr",
"libext2fs",
"libf2fs",
"libip4tc",
"libip6tc",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libnl-tiny",
"libopenssl",
"libpci",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libuuid",
"libxtables",
"logd",
"lua",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-firewall",
"luci-app-ntpc",
"luci-app-opkg",
"luci-app-statistics",
"luci-base",
"luci-lib-base",
"luci-lib-ip",
"luci-lib-jsonc",
"luci-lib-nixio",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-ssl",
"luci-theme-bootstrap",
"mkf2fs",
"mtd",
"netifd",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"partx-utils",
"pciids",
"pciutils",
"ppp",
"ppp-mod-pppoe",
"procd",
"px5g-wolfssl",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"zlib"
],
"diff_packages": true,
"filesystem": "ext4",
"client": "luci/git-23.093.42303-58b861d"
}

STDERR:

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

Building package index...
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/targets/x86/64/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.0-rc3/packages/x86_64/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/../../../../../../../../../../../home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:

  • check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /home/aparcar/asu/worker1/cache/23.05.0-rc3/x86/64/build_dir/target-x86_64_musl/root-x86/lib/libustream-ssl.so
    But that file is already provided by package * libustream-wolfssl20201210
  • opkg_install_cmd: Cannot install package luci-ssl.
    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 by reproducing the sysupgrade.openwrt.org request for profile nf541-nf541 on x86/64 with the listed packages, focusing on luci-ssl and the libustream-mbedtls20201210/libustream-wolfssl20201210 file collision. Trace how the image build handles the conflicting providers; done means the requested firmware image builds successfully without the package-selection error and the safer package choice is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, 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.