Skip to content

Error building the firmware image x86 when using asu from 22.03.2 to 25.12.1 #1588

Description

@tomasz90

I've got such message:

{
    "url": "https://sysupgrade.openwrt.org",
    "revision": "r19803-9a599fee93",
    "advanced_mode": "1",
    "branch": "22.03",
    "efi": {
        "path": "/sys/firmware/efi",
        "type": "directory",
        "size": 0,
        "mode": 16877,
        "atime": 1774258918,
        "mtime": 1774258918,
        "ctime": 1774258918,
        "inode": 7283,
        "uid": 0,
        "gid": 0
    },
    "profile": "fujitsu-futro-s940",
    "target": "x86/64",
    "version": "25.12.1",
    "packages": [
        "auc",
        "base-files",
        "busybox",
        "ca-bundle",
        "cgi-io",
        "dnsmasq",
        "dropbear",
        "e2fsprogs",
        "ethtool",
        "firewall4",
        "fstools",
        "fwtool",
        "getrandom",
        "grub2",
        "grub2-bios-setup",
        "grub2-efi",
        "iperf3",
        "jansson",
        "jshn",
        "jsonfilter",
        "kernel",
        "kmod-amazon-ena",
        "kmod-amd-xgbe",
        "kmod-bnx2",
        "kmod-button-hotplug",
        "kmod-crypto-crc32c",
        "kmod-crypto-hash",
        "kmod-e1000",
        "kmod-e1000e",
        "kmod-forcedeth",
        "kmod-fs-vfat",
        "kmod-igb",
        "kmod-igc",
        "kmod-input-core",
        "kmod-ixgbe",
        "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-r8169",
        "kmod-slhc",
        "kmod-tg3",
        "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-firewall",
        "luci-app-opkg",
        "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",
        "mtd",
        "netifd",
        "nftables-json",
        "odhcp6c",
        "odhcpd-ipv6only",
        "openwrt-keyring",
        "opkg",
        "partx-utils",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "procd-seccomp",
        "procd-ujail",
        "px5g-wolfssl",
        "rpcd",
        "rpcd-mod-file",
        "rpcd-mod-iwinfo",
        "rpcd-mod-luci",
        "rpcd-mod-rrdns",
        "speedtest-netperf",
        "ubox",
        "ubus",
        "ubusd",
        "uci",
        "uclient-fetch",
        "ucode",
        "ucode-mod-fs",
        "ucode-mod-ubus",
        "ucode-mod-uci",
        "uhttpd",
        "uhttpd-mod-ubus",
        "urandom-seed",
        "urngd",
        "usign"
    ],
    "diff_packages": true,
    "filesystem": "ext4",
    "client": "luci/git-23.093.42303-58b861d"
}
STDERR:
Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
WARNING: opening /builder/packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...
ERROR: unable to select packages:
  auc (no such package):
    required by: world[auc]
  opkg (no such package):
    required by: world[opkg]
  px5g-mbedtls-11:
    conflicts: px5g-wolfssl-9[px5g=11]
    satisfies: luci-ssl-26.081.55261~f218c93[px5g-mbedtls]
  px5g-wolfssl-9:
    conflicts: px5g-mbedtls-11[px5g=9]
    satisfies: world[px5g-wolfssl]
make[2]: *** [Makefile:254: package_install] Error 5
make[1]: *** [Makefile:193: _call_manifest] Error 2
make: *** [Makefile:369: manifest] Error 2

Traceback (most recent call last):
  File "/app/.venv/lib/python3.14/site-packages/rq/worker.py", line 1439, in perform_job
    return_value = job.perform()
  File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ~~~~~~~~~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/app/asu/build.py", line 463, in build
    result = _build(build_request, job)
  File "/app/asu/build.py", line 282, in _build
    report_error(job, check_package_errors(job.meta["stderr"]))
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/util.py", line 332, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection: missing (auc, opkg) conflicts (px5g-mbedtls-11, px5g-wolfssl-9)

Activity

  1. Arnie97 commented on Mar 23, 2026

    @Arnie97

    A lot of breaking changes had happened:

    auc was dead, and was replaced by owut;
    opkg was dead, and was replaced by apk;
    luci-ssl now defaults to the mbedtls variant (and the only other packaged variant now is luci-ssl-openssl; the -wolfssl variant has gone), so it pulls px5g-mbedtls-11 in, which conflicts with the px5g-wolfssl-11 variant.

    I would suggest that it's better to backup everything, and do a manual upgrade, if you would like to upgrade across so many major versions...

  2. efahl commented on Mar 24, 2026

    @efahl
    Contributor

    I would suggest that it's better to backup everything, and do a manual upgrade, if you would like to upgrade across so many major versions...

    @Arnie97 Is absolutely correct here. The LuCI Attended Sysupgrade app in 22.03 is too old to handle a version jump this big. If you were maybe on 23.05 it might work, but no way with 22.03.

  3. DanteMS commented on Jun 2, 2026

    @DanteMS

    I would suggest that it's better to backup everything, and do a manual upgrade, if you would like to upgrade across so many major versions...

    I've just upgraded from 22.03 to 25.12 using Attended Sysupgrade with my config intact by replacing the packages you mentioned and removing all wolfSSL packages.
    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions