paru icon indicating copy to clipboard operation
paru copied to clipboard

Cannot build packages that depend on themselves

Open C0rn3j opened this issue 2 years ago • 0 comments

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.

C0rn3j avatar Jan 09 '24 18:01 C0rn3j