Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to Parse srcinfos with empty values #39

Closed
ibrokemypie opened this issue Oct 29, 2020 · 2 comments
Closed

Fails to Parse srcinfos with empty values #39

ibrokemypie opened this issue Oct 29, 2020 · 2 comments

Comments

@ibrokemypie
Copy link

ibrokemypie commented Oct 29, 2020

After running paru --gendb it failed with error: failed to parse srcinfo for 'bitwarden-bin-1.22.2-1': key 'groups' requires a value: Line 7: groups =
The pkgbuild in question does have a line groups=('') however I dont think having an empty value should result in an error in paru.

The same does not occur on yay.

@Morganamilo
Copy link
Owner

The thing is doing this in a pkgbuild makes no sense. And also makes the srcinfo a bit ambiguous. Even if makepkg allows it there's no point in paru allowing it. Maintainers fix your pkgbuilds.

makepkg will stop allowing this in the next release anyway: https://lists.archlinux.org/pipermail/pacman-dev/2020-October/024607.html

@Morganamilo
Copy link
Owner

Paru will still fail to parse these. But for --gendb at least it won't just exit on error. It will just not check the broken packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants