pmb lint breaks when package is in extra-repos/systemd
$ git checkout master_staging_systemd
$ pmbootstrap --details-to-stdout lint systemd
[17:48:25] Pmbootstrap v3.0.0_alpha (Python 3.12.7 (main, Oct 22 2024, 14:30:53) [GCC 14.2.0])
[17:48:25] $ pmbootstrap /home/clayton/src/pmbootstrap/pmbootstrap.py --details-to-stdout lint systemd
[17:48:25] % cd /home/clayton/.local/var/pmbootstrap/cache_git/pmaports; git remote -v
[17:48:25] % cd /home/clayton/.local/var/pmbootstrap/cache_git/pmaports; git show origin/master:channels.cfg
[17:48:25] Attempting to build: atools
[17:48:26] (native) install atools
[17:48:26] % doas mkdir -p /home/clayton/.local/var/pmbootstrap/tmp
doas (clayton@lappy) password:
[17:48:28] % doas rm -f /home/clayton/.local/var/pmbootstrap/tmp/apk_progress_fifo
[17:48:28] % doas mkfifo /home/clayton/.local/var/pmbootstrap/tmp/apk_progress_fifo
[17:48:28] % doas cat /home/clayton/.local/var/pmbootstrap/tmp/apk_progress_fifo
[17:48:28] % doas sh -c exec 3>/home/clayton/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/clayton/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/clayton/.local/var/pmbootstrap/chroot_native --arch aarch64 --repository /home/clayton/.local/var/pmbootstrap/packages/systemd-edge --repository /home/clayton/.local/var/pmbootstrap/packages/edge add atools --no-interactive ;
[17:48:28] New background process: pid=3695, output=background
WARNING: opening /home/clayton/.local/var/pmbootstrap/packages/systemd-edge: No such file or directory
OK: 10 MiB in 21 packages
[17:48:29] % doas umount /home/clayton/.local/var/pmbootstrap/chroot_native/mnt/pmaports
[17:48:29] % doas mount --bind /home/clayton/.local/var/pmbootstrap/cache_git/pmaports /home/clayton/.local/var/pmbootstrap/chroot_native/mnt/pmaports
[17:48:29] (native) linting systemd with apkbuild-lint
[17:48:29] *** apkbuild-lint output ***
[17:48:29] ERROR: 'systemd'
[17:48:29] See also: <https://postmarketos.org/troubleshooting>
[17:48:29] Traceback (most recent call last):
File "/home/clayton/src/pmbootstrap/pmb/__init__.py", line 106, in main
run_command(args)
File "/home/clayton/src/pmbootstrap/pmb/commands/__init__.py", line 61, in run_command
getattr(frontend, args.action)(args)
File "/home/clayton/src/pmbootstrap/pmb/helpers/frontend.py", line 560, in lint
pmb.helpers.lint.check(packages)
File "/home/clayton/src/pmbootstrap/pmb/helpers/lint.py", line 97, in check
working_dir=dest_paths[repo.name],
~~~~~~~~~~^^^^^^^^^^^
KeyError: 'systemd'
Run 'pmbootstrap log' for details.
Before you report this error, ensure that pmbootstrap is up to date.
Find the latest version here: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tags
Your version: 3.0.0_alpha