paru
paru copied to clipboard
Cannot build packages that depend on themselves
Affected Version
paru v2.0.1 - libalpm v13.0.2
Description
Building extra/crystal from a PKGBUILD fails.
[0] % paru -U
:: Generating .SRCINFO for ./crystal...
:: Resolving dependencies...
error: duplicate packages: crystal
crystal has a make dependency for itself.
Paru does not seem to be able to deal with that, nor does it throw a nice error message about it, makepkg makes it clear that it is missing a crystal dependency.
[0] % makepkg
==> Making package: crystal 1.11.0-1 (Tue Jan 9 18:58:55 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> crystal
==> ERROR: Could not resolve all dependencies.
pacman -S crystal and rerunning paru -U works.