Package/base-files failed to build for BPI-R4 on openwrt-24.10

I’m building in a Docker container with base image debian:stable-slim that used to compile OpenWRT v24.10.2 correctly, but after updating my Git checkout & feeds it stopped compiling properly.

I followed the normal build instructions here, created a new branch off remotes/origin/openwrt-24.10, updated and installed feeds, made these changes to .config:

CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_filogic=y
CONFIG_TARGET_mediatek_filogic_DEVICE_bananapi_bpi-r4=y

and then make defconfig download clean && make world -j24.

Rerunning make world with verbosity and a single job for the part that’s failing:

time: package/system/usign/compile#0.12#0.08#0.19
make[3]: Entering directory '/workdir/openwrt-test/package/base-files'
rm -f /workdir/openwrt-test/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/base-files/.configured_*
rm -f /workdir/openwrt-test/staging_dir/target-aarch64_cortex-a53_musl/stamp/.base-files_installed
[ -s /workdir/openwrt-test/key-build -a -s /workdir/openwrt-test/key-build.pub ] || /workdir/openwrt-test/staging_dir/host/bin/usign -G -s /workdir/openwrt-test/key-build -p /workdir/openwrt-test/key-build.pub-c "Local build key"
[ -s /workdir/openwrt-test/key-build.ucert ] || /workdir/openwrt-test/staging_dir/host/bin/ucert -I -c /workdir/openwrt-test/key-build.ucert -p /workdir/openwrt-test/key-build.pub -s /workdir/openwrt-test/key-build
make[3]: *** [Makefile:279: /workdir/openwrt-test/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/base-files/.configured_14fa5c7f55109b2676dad3f56dcd9984_8e081b74cf069e1e6800a5bbcbb282f0] Error2
make[3]: Leaving directory '/workdir/openwrt-test/package/base-files'
time: package/base-files/compile#0.41#0.11#0.51
    ERROR: package/base-files failed to build.
make[2]: *** [package/Makefile:176: package/base-files/compile] Error 1
make[2]: Leaving directory '/workdir/openwrt-test'
make[1]: *** [package/Makefile:170: /workdir/openwrt-test/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/workdir/openwrt-test'
make: *** [/workdir/openwrt-test/include/toplevel.mk:233: world] Error 2

There’s a bunch of logs above for compiling the rest of the tools. It seems like ucert can’t find usign, but it does exist (and runs) and was just compiled right above:

root@3899c34d0055:/workdir/openwrt-test# /workdir/openwrt-test/staging_dir/host/bin/ucert -I -c /workdir/openwrt-test/key-build.ucert -p /workdir/openwrt-test/key-build.pub -s /workdir/openwrt-test/key-build
Failed to execute usign: No such file or directory
root@3899c34d0055:/workdir/openwrt-test# /workdir/openwrt-test/staging_dir/host/bin/usign
Usage: /workdir/openwrt-test/staging_dir/host/bin/usign <command> <options>

Thanks