openwrt / openwrt/asu

Error: Impossible package selection -> libustream-ssl

Open
#938 2 comments 1 reaction 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

Hello,
this is the second time I'm trying attended sysupgrade. But it fails on my NanoPi R2s and my Archer C7 V5 with the same error ...

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r20028-43d71ad93e",
"advanced_mode": "1",
"branch": "22.03",
"efi": null,
"profile": "friendlyarm,nanopi-r2s",
"target": "rockchip/armv8",
"version": "23.05.4",
"packages": [
"base-files",
"block-mount",
"busybox",
"ca-bundle",
"cgi-io",
"collectd-mod-thermal",
"comgt",
"dmesg",
"dnsmasq",
"dropbear",
"dropbearconvert",
"e2fsprogs",
"fdisk",
"firewall",
"fstools",
"fwtool",
"getrandom",
"gpioctl-sysfs",
"hub-ctrl",
"iconv",
"ip6tables-nft",
"iperf3",
"iptables-nft",
"jshn",
"jsonfilter",
"kernel",
"kmod-fs-exfat",
"kmod-fs-ext4",
"kmod-fs-vfat",
"kmod-gpio-button-hotplug",
"kmod-ip6tables",
"kmod-ipt-conntrack",
"kmod-ipt-core",
"kmod-ipt-nat",
"kmod-ipt-offload",
"kmod-lib-crc-ccitt",
"kmod-lp",
"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-net-cdc-ether",
"kmod-usb-net-rtl8152",
"kmod-usb-printer",
"kmod-usb-serial-option",
"kmod-usb-storage",
"kmod-usb2",
"kmod-usb3",
"libblkid",
"libblobmsg-json",
"libc",
"libcomerr",
"libext2fs",
"libf2fs",
"libip4tc",
"libip6tc",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libnl-tiny",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libustream-wolfssl",
"libuuid",
"libwolfssl",
"libxtables",
"logd",
"lua",
"luci",
"luci-app-adblock",
"luci-app-attendedsysupgrade",
"luci-app-commands",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-opkg",
"luci-app-p910nd",
"luci-app-squid",
"luci-app-statistics",
"luci-app-uhttpd",
"luci-app-wireguard",
"luci-app-wol",
"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",
"mosquitto-client-nossl",
"mosquitto-ssl",
"msmtp",
"mtd",
"mtr-json",
"nano",
"netifd",
"odhcp6c",
"odhcpd-ipv6only",
"openssh-sftp-server",
"openwrt-keyring",
"opkg",
"partx-utils",
"patch",
"picocom",
"ppp",
"ppp-mod-pppoe",
"procd",
"px5g-wolfssl",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"smstools3",
"socat",
"squid-mod-cachemgr",
"sshfs",
"tcpdump",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usb-modeswitch",
"usbutils",
"usign",
"zstd"
],
"diff_packages": true,
"filesystem": "ext4",
"client": "luci/git-22.210.54153-69231a7"
}

STDERR:

Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/23.05.4/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.4/targets/rockchip/armv8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_generic/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/build_dir/target-aarch64_generic_musl/root-rockchip/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

Reproduce the reported attended sysupgrade request for the NanoPi R2s or Archer C7 V5 and start with the package-install failure in Makefile:189. Trace how luci-ssl selects libustream-mbedtls20201210 while libustream-wolfssl20201210 is already present, then review the surrounding manifest failure at Makefile:154. Done means the listed package set can be generated without the libustream-ssl.so file clash.

Written by the indexing model from the issue text.

Assessment

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.