KDE-builder not working due to missing libgpg-error

I installed kde-builder as described in SDK / KDE Builder · GitLab (I also tried arch package but the result is the same). Then I try to build something simple like kcalc and I get this error:

❯ kde-builder kcalc
Updating repo-metadata
Fetching remote changes to sysadmin-repo-metadata
Merging sysadmin-repo-metadata changes from branchmaster
*You had local changes tosysadmin-repo-metadata, which have been re-applied.

* libgpg-error is not found in KDE projects, and there is no defined project with such name in the config.

I might have had a previous installation but I deleted the confing and ~/.local/state/sysadmin-repo-metadata directory. I’m on Manjaro with everything updated, libgpg-error package is installed (I tried reinstalling). Not sure what I’m doing wrong, any help much appreciated!

Is kde-builder up-to-date?

❯ kde-builder --version
kde-builder r543.bea6798

Seems to be up to date with the most recent commit.

Well, it seemed I had an outdaded sysadmin-repo-metadata clone in ~/.local/state. Deleting the entire directory made kde-buidler redownload it this specific issue was resolved.

Same here, on Fedora 42. kde-builder is up to date and the libgpg-error-devel distro package is installed. Maybe I need to tell kde-builder that it should be treated as a distro package somehow?