openwrt / openwrt/asu

firmware upgrade error

Open
#449 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": "r21922-6e428a8490",
"advanced_mode": "0",
"branch": "SNAPSHOT",
"efi": null,
"request_hash": "8ac3348c8bfc2ab2c5b6f58cb1f35168",
"profile": "xiaomi,ax3600",
"target": "ipq807x/generic",
"version": "SNAPSHOT",
"packages": [
"ath10k-firmware-qca9887-ct",
"ath11k-firmware-ipq8074",
"base-files",
"busybox",
"ca-bundle",
"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",
"libmnl",
"libnftnl",
"libnl-tiny",
"libubox",
"libubus",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libwolfsslcpu-crypto",
"logd",
"luci",
"luci-app-ddns",
"luci-i18n-attendedsysupgrade-pl",
"luci-i18n-base-pl",
"luci-i18n-ddns-pl",
"luci-i18n-firewall-pl",
"luci-i18n-opkg-pl",
"luci-ssl",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"urandom-seed",
"urngd",
"usign",
"wireless-regdb",
"wpad-basic-wolfssl"
],
"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/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-0fa92db7c38bee0774cabc5f0be2cda5/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-0fa92db7c38bee0774cabc5f0be2cda5/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 by reproducing the reported request for the xiaomi,ax3600 profile and inspect the imagebuilder package-manifest step shown by Makefile:185. Trace why libwolfsslcpu-crypto and libwolfssl provide the same libwolfssl.so file. Done means the generated firmware completes package installation without the file-clash error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
backend, build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.