#1578·paru

Excessive aur package build times when using chroot builds without LocalRepo

Author: 2asoftCreated Jul 31, 2026Updated Aug 23, 2026

Affected Version

paru v2.1.0.r67.g9ac3578 - libalpm v16.0.1

Description

Have you checked previous issues? Yes, found none.

With chroot builds enabled and no LocalRepo configured:

Expected: Building a package uses a clean chroot containing only the package's declared dependencies.

Actual: Building a package installs every AUR package built earlier in the same paru run into its chroot, including unrelated packages.

Output

PARU_DEBUG=1 paru -S --rebuild aur/FIRST aur/SECOND

FIRST and SECOND are unrelated AUR packages.

Actual command while building SECOND:

running command: cd ".../SECOND" && "makechrootpkg" ... "-I" ".../FIRST-<version>-<arch>.pkg.tar.zst" ...

SECOND does not declare FIRST as a dependency.

Relevant paru.conf:

ini
Chroot = /var/lib/paru/chroot
# No LocalRepo

Example:

Ensure in paru.conf:

ini
Chroot = /var/lib/paru/chroot
# No LocalRepo

Run PARU_DEBUG=1 paru -S --rebuild python-pyvcd python-fx2-git.

Observe in logs that the python-fx2-git makechrootpkg command contains -I .../python-pyvcd-*.pkg.tar.zst, and python-pyvcd is installed into python-fx2-git chroot, despite not being a dependency.