Build of 24.10.1 fails on OpenWrt 22.03.5 r20134-5f15225c1e / LuCI openwrt-22.03 branch git-24.208.65546-18f3914

Open
#1,393 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
build-system

Research direction

Start by reproducing the supplied request against https://sysupgrade.openwrt.org and compare the generated package index with the STDERR output. Trace the package_install and manifest failures, especially missing LuCI packages and the libustream-ssl file clash; done means the requested 24.10.1 image builds successfully.

Written by the indexing model from the issue text.

Description

Request:

{
    "url": "https://sysupgrade.openwrt.org",
    "revision": "r20134-5f15225c1e",
    "advanced_mode": "1",
    "branch": "22.03",
    "efi": null,
    "profile": "pc-engines-apu2",
    "target": "x86/64",
    "version": "24.10.1",
    "packages": [
        "adblock",
        "amd64-microcode",
        "ath10k-board-qca988x",
        "ath10k-firmware-qca988x",
        "ath9k-htc-firmware",
        "base-files",
        "bash",
        "beep",
        "block-mount",
        "bnx2-firmware",
        "busybox",
        "ca-bundle",
        "collectd-mod-conntrack",
        "collectd-mod-cpufreq",
        "collectd-mod-ethstat",
        "collectd-mod-ipstatistics",
        "collectd-mod-iptables",
        "collectd-mod-ntpd",
        "collectd-mod-protocols",
        "collectd-mod-thermal",
        "collectd-mod-vmem",
        "collectd-mod-wireless",
        "coreutils-truncate",
        "curl",
        "ddns-scripts",
        "ddns-scripts-digitalocean",
        "ddns-scripts-services",
        "dmesg",
        "dnsmasq",
        "drill",
        "dropbear",
        "e2fsprogs",
        "ethtool",
        "fdisk",
        "file",
        "firewall4",
        "flashrom",
        "fstools",
        "fstrim",
        "glib2",
        "hostapd-openssl",
        "htop",
        "ip-full",
        "iperf3",
        "irqbalance",
        "jsonfilter",
        "kernel",
        "kmod-amazon-ena",
        "kmod-amd-xgbe",
        "kmod-ath10k",
        "kmod-ath9k",
        "kmod-bnx2",
        "kmod-button-hotplug",
        "kmod-crypto-hw-ccp",
        "kmod-e1000",
        "kmod-e1000e",
        "kmod-forcedeth",
        "kmod-fs-ext4",
        "kmod-fs-vfat",
        "kmod-igb",
        "kmod-igc",
        "kmod-ixgbe",
        "kmod-leds-gpio",
        "kmod-nft-offload",
        "kmod-pcengines-apuv2",
        "kmod-pcspkr",
        "kmod-r8169",
        "kmod-sound-core",
        "kmod-tg3",
        "kmod-usb-core",
        "kmod-usb-net-qmi-wwan",
        "kmod-usb-ohci",
        "kmod-usb-storage",
        "kmod-usb-storage-extras",
        "kmod-usb2",
        "kmod-usb3",
        "libattr",
        "libc",
        "libcurl",
        "libjpeg-turbo",
        "liblua",
        "libmbedtls",
        "libopenssl",
        "libparted",
        "libpcap",
        "libqmi",
        "libtirpc",
        "libunbound",
        "libustream-wolfssl",
        "logd",
        "losetup",
        "lsblk",
        "lsof",
        "lua",
        "luci",
        "luci-app-adblock",
        "luci-app-advanced-reboot",
        "luci-app-aria2",
        "luci-app-attendedsysupgrade",
        "luci-app-ddns",
        "luci-app-diag-core",
        "luci-app-firewall",
        "luci-app-openvpn",
        "luci-app-opkg",
        "luci-app-statistics",
        "luci-app-unbound",
        "luci-app-vnstat2",
        "luci-app-wireguard",
        "luci-base",
        "luci-i18n-adblock-en",
        "luci-i18n-diag-core-en",
        "luci-i18n-openvpn-en",
        "luci-i18n-opkg-en",
        "luci-i18n-statistics-en",
        "luci-i18n-unbound-en",
        "luci-i18n-vnstat2-en",
        "luci-i18n-wireguard-en",
        "luci-lib-ip",
        "luci-lib-jsonc",
        "luci-lib-nixio",
        "luci-mod-network",
        "luci-mod-status",
        "luci-mod-system",
        "luci-proto-ipv6",
        "luci-proto-ppp",
        "luci-proto-qmi",
        "luci-proto-wireguard",
        "luci-ssl",
        "luci-theme-bootstrap",
        "luci-theme-material",
        "mkf2fs",
        "msmtp",
        "msmtp-mta",
        "mtd",
        "netcat",
        "netifd",
        "nftables-json",
        "nstat",
        "odhcp6c",
        "odhcpd-ipv6only",
        "openvpn-openssl",
        "opkg",
        "parted",
        "partx-utils",
        "pciids",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "procd-seccomp",
        "procd-ujail",
        "prometheus-node-exporter-lua",
        "prometheus-node-exporter-lua-nat_traffic",
        "prometheus-node-exporter-lua-netstat",
        "prometheus-node-exporter-lua-openwrt",
        "prometheus-node-exporter-lua-snmp6",
        "prometheus-node-exporter-lua-wifi",
        "prometheus-node-exporter-lua-wifi_stations",
        "px5g-wolfssl",
        "qmi-utils",
        "qrencode",
        "r8169-firmware",
        "resize2fs",
        "sfdisk",
        "shadow-chsh",
        "snmpd",
        "softflowd",
        "speedtest-netperf",
        "speedtestpp",
        "stubby",
        "tcpdump",
        "tmux",
        "uci",
        "uclient-fetch",
        "uhttpd",
        "uhttpd-mod-ubus",
        "unbound-control",
        "unbound-daemon",
        "uqmi",
        "urandom-seed",
        "urngd",
        "usbutils",
        "vnstat2",
        "vnstati2",
        "wireless-regdb"
    ],
    "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 http://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.6.86-1-af351158cfb5febf5155a3aa53785982/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/x86/64/kmods/6.6.86-1-af351158cfb5febf5155a3aa53785982/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/x86_64/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * opkg_install_cmd: Cannot install package luci-app-diag-core.
 * opkg_install_cmd: Cannot install package luci-app-wireguard.
 * opkg_install_cmd: Cannot install package luci-i18n-adblock-en.
 * opkg_install_cmd: Cannot install package luci-i18n-diag-core-en.
 * opkg_install_cmd: Cannot install package luci-i18n-openvpn-en.
 * opkg_install_cmd: Cannot install package luci-i18n-package-manager-en.
 * opkg_install_cmd: Cannot install package luci-i18n-statistics-en.
 * opkg_install_cmd: Cannot install package luci-i18n-unbound-en.
 * opkg_install_cmd: Cannot install package luci-i18n-vnstat2-en.
 * opkg_install_cmd: Cannot install package luci-i18n-wireguard-en.
 * check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/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:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2
Dominant language
Python
Stars
461
Forks
116
Avg merge
8d 30m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from openwrt/asu

All issues in openwrt/asu

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.