openwrt / openwrt/asu

Error building the firmware image

Open
#1,360 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",
"branch": "24.10",
"revision": "r28427-6df0e3d02a",
"efi": null,
"advanced_mode": "1",
"request_hash": "",
"sha256_unsigned": "",
"client": "luci/25.104.480328e5fed1",
"packages": {
"kmod-usb-storage": "6.6.73-r1",
"iwinfo": "2024.10.20
b94f066e-r1",
"libopenssl": "3.0.16-r1",
"openssh-sftp-server": "9.9_p2-r1",
"luci-app-statistics": "25.098.8226622a6111",
"liblucihttp": "2023.03.15
9b5b683f-r1",
"luci-app-adblock": "25.104.480328e5fed1",
"cgi-io": "2022.08.10
901b0f04-r21",
"libc": "1.2.5-r4",
"opkg": "2024.10.1638eccbb1-r1",
"wpad-basic-mbedtls": "2024.09.15
5ace39b0-r2",
"kmod-usb-storage-uas": "6.6.73-r1",
"luci-app-vnstat2": "25.098.8226622a6111",
"luci-app-https-dns-proxy": "2023.12.26-r4",
"luci-mod-system": "25.098.82266
22a6111",
"openssl-util": "3.0.16-r1",
"collectd-mod-ping": "5.12.0-r53",
"libnl-tiny": "2025.03.19c0df580a-r1",
"kmod-lib-crc-ccitt": "6.6.73-r1",
"ucode-mod-uloop": "2025.02.10
a8a11aea-r1",
"getrandom": "2024.04.2685f10530-r1",
"luci-theme-bootstrap": "25.097.68136
9c86e03",
"luci-app-irqbalance": "25.098.8226622a6111",
"kmod-pppoe": "6.6.73-r1",
"procd-ujail": "2024.12.22
42d39376-r1",
"base-files": "16556df0e3d02a",
"unbound-daemon": "1.21.0-r1",
"libustream-mbedtls": "2024.07.28
99bd3d2b-r1",
"firewall4": "2024.12.1818fc0ead-r1",
"adblock": "4.2.7-r3",
"dnsmasq": "2.90-r4",
"kmod-crypto-acompress": "6.6.73-r1",
"luci-mod-status": "25.098.82266
22a6111",
"block-mount": "2024.07.14408c2cc4-r1",
"kmod-fs-vfat": "6.6.73-r1",
"https-dns-proxy": "2025.03.13-r1",
"kmod-usb3": "6.6.73-r1",
"luci-ssl-openssl": "25.072.79561
41a338d",
"luci-app-firewall": "25.098.8226622a6111",
"libmbedtls": "3.6.3-r1",
"tcpdump": "4.99.5-r1",
"odhcp6c": "2024.09.25
b6ae9ffa-r1",
"uci": "2025.01.2016ff0bad-r1",
"luci-ssl": "25.097.68136
9c86e03",
"dropbear": "2024.86-r1",
"libunbound": "1.21.0-r1",
"curl": "8.10.1-r1",
"mtd": "26",
"odhcpd-ipv6only": "2024.05.08a2988231-r1",
"luci-app-sqm": "25.098.82266
22a6111",
"luci-app-package-manager": "25.098.8226622a6111",
"urandom-seed": "3",
"luci-proto-ppp": "25.097.68136
9c86e03",
"ppp": "2.5.1-r1",
"luci-mod-admin-full": "25.098.8226622a6111",
"luci-base": "25.098.82266
22a6111",
"kmod-leds-gpio": "6.6.73-r1",
"kmod-gpio-button-hotplug": "6.6.73-r5",
"logd": "2024.04.2685f10530-r1",
"kmod-mt7603": "6.6.73.2025.01.14
8e4f72b6-r1",
"luci-proto-ipv6": "25.098.8226622a6111",
"luci-app-attendedsysupgrade": "25.104.48032
8e5fed1",
"irqbalance": "1.9.4-r1",
"kmod-ppp": "6.6.73-r1",
"libopenssl-conf": "3.0.16-r1",
"htop": "3.3.0-r2",
"ca-bundle": "20241223-r1",
"libuclient": "2024.10.2288ae8f20-r1",
"luci-lib-jsonc": "25.098.82266
22a6111",
"luci": "25.104.480328e5fed1",
"luci-light": "25.097.68136
9c86e03",
"kmod-usb-ledtrig-usbport": "6.6.73-r1",
"kmod-lib-lzo": "6.6.73-r1",
"kernel": "6.6.733abe85def815b59c6c75ac1f92135cb6-r1",
"kmod-mt76x2": "6.6.73.2025.01.14
8e4f72b6-r1",
"luci-mod-network": "25.098.8226622a6111",
"kmod-usb-storage-extras": "6.6.73-r1",
"liblucihttp-ucode": "2023.03.15
9b5b683f-r1",
"hostapd-common": "2024.09.155ace39b0-r2",
"wireless-regdb": "2025.02.20-r1",
"urngd": "2023.11.01
44365eb1-r1",
"ppp-mod-pppoe": "2.5.1-r1"
},
"profile": "d-team,newifi-d2",
"target": "ramips/mt7621",
"version": "24.10.0",
"diff_packages": true,
"filesystem": "squashfs"
}

STDERR:

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

Building package index...
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt7621/kmods/6.6.86-1-2a6d68f3ded425efc0850296e7f62d53/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt7621/kmods/6.6.86-1-2a6d68f3ded425efc0850296e7f62d53/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • check_data_file_clashes: Package libustream-openssl20201210 wants to install file /builder/build_dir/target-mipsel_24kc_musl/root-ramips/lib/libustream-ssl.so
    But that file is already provided by package * libustream-mbedtls20201210
  • opkg_install_cmd: Cannot install package luci-ssl-openssl.
    make[2]: *** [Makefile:234: package_install] Error 255
    make[1]: *** [Makefile:171: _call_manifest] Error 2
    make: *** [Makefile:349: 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 with the supplied ASU request and STDERR output, especially the package conflict between libustream-openssl20201210 and libustream-mbedtls20201210. Inspect the image build flow around Makefile lines 234, 171, and 349, then reproduce the request against the 24.10 ramips/mt7621 profile. Done means the requested image builds without the reported file clash.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.