Build errors with docker sdk

To test a PR, I downloaded the docker sdk and tried following the example listed there, but it does not work, even before making any changes.

The buildsystem docs mention a slightly different sequence, including "install -a".

Anyhow, the failure is a simple mkdir error under /builder/bin which is owned by root, not buildbot (1000). The docs however mention explicitly that everything should be done as unprivileged user.

What gives?

Please describe all the steps you're taking and commands you're executing. Plus your environment.

Environment: Debian Testing branch, docker is version 29.5.0, build 98f1464
I am following the steps in the example:

  • docker run --rm -v "$(pwd)"/bin/:/builder/bin -it openwrt/sdk
  • [ ! -d ./scripts ] && ./setup.sh
buildbot@7d54a0feb274:~$ [ ! -d ./scripts ] && ./setup.sh
2026-05-15 09:45:25 URL:https://mirror-03.infra.openwrt.org/snapshots/targets/x86/64/sha256sums [22090246/22090246] -> "sha256sums" [1]
2026-05-15 09:45:25 URL:https://mirror-03.infra.openwrt.org/snapshots/targets/x86/64/sha256sums.asc [299/299] -> "sha256sums.asc" [1]
gpg: directory '/builder/.gnupg' created
gpg: keybox '/builder/.gnupg/pubring.kbx' created
gpg: key 1D53D1877742E911: 3 signatures not checked due to missing keys
gpg: /builder/.gnupg/trustdb.gpg: trustdb created
gpg: key 1D53D1877742E911: public key "OpenWrt Build System (Nitrokey3) <contact@openwrt.org>" imported
gpg: key 28A39BC32074BE7A: 2 signatures not checked due to missing keys
gpg: key 28A39BC32074BE7A: public key "OpenWrt Build System (PGP key for 19.07 release builds) <pgpsign-19.07@openwrt.org>" imported
gpg: key CD84BCED626471F1: 2 signatures not checked due to missing keys
gpg: key CD84BCED626471F1: public key "OpenWrt Build System (PGP key for unattended snapshot builds) <pgpsign-snapshots@openwrt.org>" imported
gpg: key 88CA59E88F681580: public key "OpenWrt Build System (PGP key for 21.02 release builds) <pgpsign-21.02@openwrt.org>" imported
gpg: key CD54E82DADB3684D: public key "OpenWrt Build System (GnuPGP key for 22.03 release builds) <pgpsign-22.03@openwrt.org>" imported
gpg: Total number processed: 5
gpg:               imported: 5
gpg: no ultimately trusted keys found
gpg: Signature made Fri 15 May 2026 02:00:49 AM UTC
gpg:                using EDDSA key 92C561DE55AE6552F3C736B82B0151090606D1D9
gpg: Good signature from "OpenWrt Build System (Nitrokey3) <contact@openwrt.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 8A8B C12F 46B8 36C0 F9CD  B36F 1D53 D187 7742 E911
     Subkey fingerprint: 92C5 61DE 55AE 6552 F3C7  36B8 2B01 5109 0606 D1D9
2026-05-15 09:45:48 URL:https://mirror-03.infra.openwrt.org/snapshots/targets/x86/64/openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst [293624330/293624330] -> "openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst" [1]
0b50a504056738cbc6cf306eac67c2a887440f43be9a27b62caacadfdf8d4270 *openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst
openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst: OK
removed 'sha256sums'
removed 'sha256sums_min'
removed 'sha256sums.asc'
removed 'openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst'
  • ./scripts/feeds update packages
buildbot@8ad62fa8af9b:~$ ./scripts/feeds update packages
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git' ...
Cloning into './feeds/packages'...
remote: Enumerating objects: 7648, done.
remote: Counting objects: 100% (7648/7648), done.
remote: Compressing objects: 100% (6413/6413), done.
remote: Total 7648 (delta 320), reused 5042 (delta 214), pack-reused 0 (from 0)
Receiving objects: 100% (7648/7648), 14.76 MiB | 11.69 MiB/s, done.
Resolving deltas: 100% (320/320), done.
Create index file './feeds/packages.index' 
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... updated.
Checking 'working-gcc'... ok.
Checking 'g++'... updated.
Checking 'working-g++'... ok.
Checking 'ncurses.h'... ok.
Checking 'git'... ok.
Checking 'rsync'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... ok.
Checking 'fts.h'... ok.
Checking 'obstack.h'... ok.
Checking 'libintl.h'... ok.
Checking 'ldconfig-stub'... ok.
Collecting package info: done
Collecting target info: done
  • make defconfig
buildbot@7d54a0feb274:~$ make defconfig
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'eip197-mini-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'aeonsemi-as21xxx-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'airoha-en8811h-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'e100-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2x-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8152-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'amdgpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'i915-firmware-dmc', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ivpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'radeon-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-gpio-button-hotplug', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'nu801', which does not exist
tmp/.config-package.in:65:warning: ignoring type redefinition of 'PACKAGE_libc' from 'bool' to 'tristate'
tmp/.config-package.in:92:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'bool' to 'tristate'
tmp/.config-package.in:205:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'bool' to 'tristate'
tmp/.config-package.in:260:warning: ignoring type redefinition of 'PACKAGE_librt' from 'bool' to 'tristate'
Config-build.in:1283:warning: defaults for choice values not supported
Config-build.in:1287:warning: defaults for choice values not supported
Config-build.in:1291:warning: defaults for choice values not supported
#
# configuration written to .config
#
  • ./scripts/feeds install tmate
buildbot@7d54a0feb274:~$ ./scripts/feeds install tmate
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'eip197-mini-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'aeonsemi-as21xxx-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'airoha-en8811h-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'e100-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2x-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8152-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'amdgpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'i915-firmware-dmc', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ivpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'radeon-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-gpio-button-hotplug', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'nu801', which does not exist
Ignoring feed 'base' - index missing
Ignoring feed 'luci' - index missing
Ignoring feed 'routing' - index missing
Ignoring feed 'telephony' - index missing
Ignoring feed 'video' - index missing
Installing package 'tmate' from packages
WARNING: No feed for source package 'ncurses' found
WARNING: No feed for package 'libevent2' found
WARNING: No feed for package 'libncurses' found
Installing package 'libssh' from packages
WARNING: No feed for package 'zlib' found
WARNING: No feed for package 'libmbedtls' found
Installing package 'msgpack-c' from packages
WARNING: No feed for package 'terminfo' found
  • (adding V=sc as recommended by previous runs with errors) make package/tmate/{clean,compile} -j1 V=sc
[snipped]
-- Checking for one of the modules 'zlib'
CMake Error at /builder/staging_dir/host/share/cmake-4.3/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  /builder/staging_dir/host/share/cmake-4.3/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  /builder/staging_dir/host/share/cmake-4.3/Modules/FindZLIB.cmake:245 (find_package_handle_standard_args)
  CMakeLists.txt:48 (find_package)


-- Configuring incomplete, errors occurred!
make[2]: *** [Makefile:80: /builder/build_dir/target-x86_64_musl/libssh-0.12.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/builder/feeds/packages/libs/libssh'
time: package/feeds/packages/libssh/compile#2.28#1.26#3.75
    ERROR: package/feeds/packages/libssh failed to build.
make[1]: *** [package/Makefile:188: package/feeds/packages/libssh/compile] Error 1
make[1]: Leaving directory '/builder'
make: *** [/builder/include/toplevel.mk:226: package/tmate/compile] Error 2

So, quite likely in this case the instructions are somehow incomplete / not up to date.
Next try, leaving the container and starting from scratch but choosing a different package:

  • ./scripts/feeds install unbound
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'eip197-mini-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'aeonsemi-as21xxx-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'airoha-en8811h-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'e100-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2x-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8152-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'amdgpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'i915-firmware-dmc', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ivpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'radeon-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-gpio-button-hotplug', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'nu801', which does not exist
Ignoring feed 'base' - index missing
Ignoring feed 'luci' - index missing
Ignoring feed 'routing' - index missing
Ignoring feed 'telephony' - index missing
Ignoring feed 'video' - index missing
Installing package 'unbound' from packages
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
Installing package 'libsodium' from packages
WARNING: No feed for package 'libmnl' found
WARNING: No feed for package 'libevent2' found
Installing package 'nghttp2' from packages
Installing package 'python3' from packages
Installing package 'bluez' from packages
Installing package 'glib2' from packages
WARNING: No feed for source package 'pcre2' found
Installing package 'libffi' from packages
WARNING: No feed for source package 'libiconv-full' found
WARNING: No feed for package 'libiconv-full' found
WARNING: No feed for package 'libintl-full' found
Installing package 'attr' from packages
WARNING: No feed for package 'libpcre2' found
WARNING: No feed for package 'zlib' found
WARNING: No feed for package 'libncurses' found
WARNING: No feed for package 'libreadline' found
WARNING: No feed for package 'libintl-full' found
WARNING: No feed for package 'libiconv-full' found
Installing package 'dbus' from packages
Installing package 'expat' from packages
WARNING: No feed for package 'libncurses' found
WARNING: No feed for package 'libreadline' found
Installing package 'libical' from packages
WARNING: No feed for package 'libintl-full' found
WARNING: No feed for package 'libiconv-full' found
Installing package 'python-build' from packages
Installing package 'python-installer' from packages
Installing package 'python-flit-core' from packages
Installing package 'python-packaging' from packages
Installing package 'python-pyproject-hooks' from packages
Installing package 'python-wheel' from packages
Installing package 'python-setuptools' from packages
WARNING: No feed for source package 'bzip2' found
WARNING: No feed for package 'libbz2' found
WARNING: No feed for package 'zlib' found
Installing package 'zstd' from packages
WARNING: No feed for package 'libcrypt-compat' found
Installing package 'gdbm' from packages
Installing package 'xz' from packages
WARNING: No feed for package 'libncursesw' found
WARNING: No feed for package 'libopenssl' found
WARNING: No feed for package 'ca-certs' found
WARNING: No feed for package 'libreadline' found
Installing package 'sqlite3' from packages
Installing package 'linenoise' from packages
WARNING: No feed for package 'zlib' found
Installing package 'libedit' from packages
WARNING: No feed for package 'libncurses' found
WARNING: No feed for package 'libreadline' found
WARNING: No feed for package 'libuuid' found
Installing package 'protobuf-c' from packages
Installing package 'protobuf' from packages
Installing package 'abseil-cpp' from packages
WARNING: No feed for package 'zlib' found
WARNING: No feed for package 'zlib' found
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
WARNING: No feed for package 'openssl-util' found
WARNING: No feed for package 'ca-bundle' found
WARNING: No feed for package 'libopenssl' found
  • make package/unbound/{clean,compile} -j1 V=sc
[snipped]
checking for build time... 20260515
checking for SSL... configure: error: Cannot find the SSL libraries in /builder/staging_dir/target-x86_64_musl/usr
make[2]: *** [Makefile:268: /builder/build_dir/target-x86_64_musl/unbound-1.24.2/.configured_5657cc7649455a42510018615ccd3d8b] Error 1
make[2]: Leaving directory '/builder/feeds/packages/net/unbound'
time: package/feeds/packages/unbound/compile#26.55#3.05#33.04
    ERROR: package/feeds/packages/unbound failed to build.
make[1]: *** [package/Makefile:188: package/feeds/packages/unbound/compile] Error 1
make[1]: Leaving directory '/builder'
make: *** [/builder/include/toplevel.mk:226: package/unbound/compile] Error 2

I am going to try following the buildsystem documentation rather than the example steps for docker, maybe that is where the problem is. The, retry the local link scenario, which is what I need.

You need to update and install the base feed (or all feeds) and not just packages.

so the example IS incomplete! You're referring to step 5 in the buildsystem doc, right?

I'm not sure what you mean by incomplete when that step is telling you to update and install all feeds. The description could be clearer, I suppose.

this is what I am referring to:


(as written here it won't work, the errors are above)

Sure, this seems inconsistent. Follow the Wiki instructions. Also consider mounting dl and feeds directories, so you don't redownload feeds and packages each time.

You raise a good point on redownloads, thought about it too when retracing the steps :smiley:
Is there a guide with the recommended steps for that?

Just mount more volumes:

	-v "$(pwd)"/bin/:/builder/bin:z \
	-v "$(pwd)"/dl:/builder/dl/:z \
	-v "$(pwd)"/feeds:/builder/feeds/:z \

:z if you have SELinux.

docker run --rm -it -v "$(pwd)"/bin/:/builder/bin:z -v "$(pwd)"/dl:/builder/dl/:z -v "$(pwd)"/feeds:/builder/feeds/:z openwrt/sdk

gives the following error at end of setup:

2026-05-15 13:24:27 URL:https://mirror-03.infra.openwrt.org/snapshots/targets/x86/64/openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst [293624330/293624330] -> "openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst" [1]
0b50a504056738cbc6cf306eac67c2a887440f43be9a27b62caacadfdf8d4270 *openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst
openwrt-sdk-x86-64_gcc-14.3.0_musl.Linux-x86_64.tar.zst: OK
removed 'sha256sums'
removed 'sha256sums_min'
removed 'sha256sums.asc'
tar: dl: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors

(same without ":z")

but this will work (at least until after setup)
docker run --rm -it -v "$(pwd)"/bin/:/builder/bin -v "$(pwd)"/feeds:/builder/feeds/ openwrt/sdk
so mounting "dl" is a no-go

It should work just fine as it does with Podman. Something else is up then. Does the dir exist locally? I don't use Debian/Docker combo, so I'm guessing here. Maybe try --userns=host?

No, it did not :smiley: (that "bin" existed at all was a lucky coincidence).
Once I realized what was happening, I had a look at the docs and a chat with gemini... ended up with this setup:

docker volume create openwrt_storage
docker run --rm -v openwrt_storage:/data alpine chown -R 1000:1000 /data
docker run -it --name openwrt_builder -v openwrt_storage:/builder openwrt/sdk:ipq40xx-generic

It seems to be running mostly fine now, I might have an isolated failure on a package that I don't care about, need to check if I can now build my own version of unbound.

EDIT: indeed the issue is package-specific:
Hash mismatch for file fatresize-2023.06.11~ab78c48f.tar.zst: expected 61797f8316f757b1bc54c2ca349ab50ae3750cadfd9dcaa2a5f37bbdf306d03a, got 9439a20278a565e20f1de22c2b153e20adb86af12a46caafb57f90792ee579db
Also, I noticed that the default sdk is x86_64, so I fixed the cmdline above.

Ok, the PR has been cleaned up (including bumping the version), the feeds.conf.default looks reasonable but... the built package clearly still has the original configs from upstream :confused:

src-link local /home/andrea/devel/openwrt/openwrt-packages
src-git --root=package base https://git.openwrt.org/openwrt/openwrt.git^8d844758c20c2f3e60d8075dc97121dfc7cc444d
src-git packages https://git.openwrt.org/feed/packages.git
src-git luci https://git.openwrt.org/project/luci.git
src-git routing https://git.openwrt.org/feed/routing.git
src-git telephony https://git.openwrt.org/feed/telephony.git
src-git video https://github.com/openwrt/video.git
#src-git targets https://github.com/openwrt/targets.git
#src-git oldpackages http://git.openwrt.org/packages.git
#src-link custom /usr/src/openwrt/custom-feed

The generated file is still called unbound-daemon-1.24.2-r1.apk instead of unbound-daemon-1.24.2-r2.apk

I ran "feeds update -a" and then "install", but it didn't help.
I also checked that the src-link repository has my feature branch active with my changes.

Anything else to look?

Where did you make those changes? You now have packages pointing to the donwloaded feed, plus some local packages feed. Which is confusing. Just have one definition instead of those two:

src-link packages /home/andrea/devel/openwrt/openwrt-packages

And then do feed update.

this is why I added src-link and kept the rest from the default:

I understood that to mean that a double line would be accepted and that it would set a priority but I had also missed that the feed name was different... no amount of instructions helps when one is convinced they wrote something else :smiley:

Anyhow, it still does not work but at least I understood why the double source resulted in building the older package: install claims no source exists for unbound and, indeed, ./feeds/packages.index is empty, unlike the others. This happens even if I switch the repo to the master branch from upstream.

docker being docker, it has absolutely no idea of how to access the path I gave, since it is outside the container and has not been bound! If I use src-git it works fine and, once the packages have been downloaded, they're saved locally in the volume but... if I wanted to bind the path and still use src-link, where would I place it in the directory structure? Is there a predefined directory or anything goes as long as the src-link is accessible within the container?

Just bind it to anywhere inside the container like /builder/feeds/local-packages.

hmm, no, that doesn't work: "feeds" becomes root-owned and update fails. I went for another directory. Anyway, build is complete and result is interesting :slight_smile: