openwrt / openwrt/asu

rpi4b upgrade failure (22.03.5 -> 23.05.0) with multiple packages (including ssl from issue #640)

Open
#645 1 comment 2 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

I would have put it under issue #640 but there are more package errors here.

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r20134-5f15225c1e",
"advanced_mode": "1",
"branch": "22.03",
"efi": null,
"request_hash": "3e5aecadcf94883e13af4b2c10b16013",
"profile": "raspberrypi,4-model-b",
"target": "bcm27xx/bcm2711",
"version": "23.05.0",
"packages": [
"6in4",
"base-files",
"bcm27xx-gpu-fw",
"bcm27xx-userland",
"busybox",
"ca-bundle",
"cgi-io",
"cypress-firmware-43455-sdio",
"cypress-nvram-43455-sdio-rpi-4b",
"ddns-scripts",
"dnsmasq",
"dropbear",
"e2fsprogs",
"etherwake",
"ethtool-full",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"htop",
"ip-full",
"iperf",
"iperf3",
"iptraf-ng",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-brcmfmac",
"kmod-crypto-crc32c",
"kmod-crypto-hash",
"kmod-fs-vfat",
"kmod-hid",
"kmod-hid-generic",
"kmod-input-core",
"kmod-input-evdev",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"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-nls-cp437",
"kmod-nls-iso8859-1",
"kmod-nls-utf8",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-slhc",
"kmod-sound-arm-bcm2835",
"kmod-sound-core",
"kmod-usb-core",
"kmod-usb-hid",
"kmod-usb-net-lan78xx",
"kmod-usb-net-pegasus",
"kmod-usb-net-rtl8152",
"kmod-usb-net-smsc75xx",
"libblkid",
"libblobmsg-json",
"libcomerr",
"libext2fs",
"libf2fs",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libmnl",
"libnftnl",
"libnl-tiny",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libuuid",
"libwolfssl",
"logd",
"lua",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-openvpn",
"luci-app-opkg",
"luci-app-sqm",
"luci-app-wireguard",
"luci-app-wol",
"luci-base",
"luci-i18n-attendedsysupgrade-en",
"luci-i18n-ddns-en",
"luci-i18n-openvpn-en",
"luci-i18n-sqm-en",
"luci-i18n-wireguard-en",
"luci-i18n-wol-en",
"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",
"mc",
"mkf2fs",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"partx-utils",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-wolfssl",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"screen",
"tc-full",
"tcpdump",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"usign",
"wpad-basic-wolfssl"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.093.42303-58b861d"
}

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.0/targets/bcm27xx/bcm2711/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.0/targets/bcm27xx/bcm2711/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a72/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • opkg_install_cmd: Cannot install package cypress-nvram-43455-sdio-rpi-4b.
  • opkg_install_cmd: Cannot install package luci-i18n-attendedsysupgrade-en.
  • opkg_install_cmd: Cannot install package luci-i18n-ddns-en.
  • opkg_install_cmd: Cannot install package luci-i18n-openvpn-en.
  • opkg_install_cmd: Cannot install package luci-i18n-sqm-en.
  • opkg_install_cmd: Cannot install package luci-i18n-wireguard-en.
  • opkg_install_cmd: Cannot install package luci-i18n-wol-en.
  • check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/build_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/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 Raspberry Pi 4 upgrade request against https://sysupgrade.openwrt.org using the package list and 23.05.0 target shown here. Start with the manifest and package installation failures reported at Makefile lines 189, 154, and 274, including the missing Cypress and LuCI packages and the libustream file clash. Done means the requested image builds without these package-install errors.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.