Installing dependencies

Today I spent abou six hours compiling plasma-desktop with kde-builder in a clean environment on Fedora 44. It took so long because one by one ,the various dependencies would fail on missing dependencies. The compile time itself might have been an hour or two. I ended up installing all these:

sudo dnf install -y sphinx python-devel shiboken6 python3-shiboken6-devel python3-pyside6-devel python3-devel expat-devel libgcrypt-devel gpgmepp-devel libsecret-devel hunspell-devel hspell-devel polkit-devel libpcap-devel libcurl-devel libfyaml-devel libstemmer-devel gperf itstool nss-devel libtiff-devel openjpeg2-devel ffmpeg-devel mesa-libgbm-devel libva-devel libattr-devel exiv2-devel libproxy-devel qrencode-devel libdmtx-devel zxing-cpp-devel libdisplay-info-devel libxcvt-devel libwacom-devel hunspell-devel hspell-devel

I did sudo dnf build-dep plasma-desktop but that misses most of those as they are build dependencies of plasma-desktop dependencies. I imagine I am not the only one who faces this. Am I missing something?

It would be handy if either the page Installing build dependencies | Developer listed the dependencies needed to compile these larger metapackages (like my list above) on the more common distributions, or if kde-builder could list all dependencies it is going to compile so one could try to install all build dependencies in one go with build-dep. Or am I missing something and I could have done it much easier?

Did you run kde-builder --install-distro-packages as mentioned in:

oh, now I feel very stupid! I have done this already once before, so i was not following all the docs and missed this page.

Though argueably, this info would be something I would expect under Installing build dependencies | Developer

Made a PR to also mention this in page about finding dependencies: Add prominence to installing dependencies with kde-builder (!821) · Merge requests · Documentation / Developer Tutorial and Article Site · GitLab