Building with a Dockerized imagebuilder snapshot includes packages from the future

When building an image with openwrt/imagebuilder:sunxi-cortexa7-SNAPSHOT it tries to download libubox20231128 but the index at https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/ is still 20231127. I understand it's a snapshot builder, but the downloads.openwrt.org is also a snapshot, so they should be somewhat consistent.

PS: The device is sinovoip_bananapi-p2-zero and not in the release yet. Built by hand everything works.

4 days passed, Docker requests libubox20231130 now, the package in the downloads is still libubox20231127. Is this some kind of abnormal situation?

Not really abnormal, but a temporary dependency discrepancy.

Packages buildbot builds each architecture at every 2-3 days. See date stamps here.

Your arch happens to have been built just before the package was updated. A build is running just now, so the downloadable package should be there soon.

The underlying reason for the discrepancy is two-step buildbot, where kernel and core packages are built separately for the firmware images. But normal packages for the download repo are built separately with an SDK from the first buildbot. In connection to certain package updates there can be a 2-3 day period when one package already depends on a new version that has not yet been built into the public download repo. (It gets visible if a non-shared core package depends on a normal package.)

This was tried to be solved in 2021, but the proposed fix was later reverted. My fix attempt:

1 Like