paru fails to resolve dependencies containing evaluated variables in PKGBUILD
Author: whimsigothCreated Sep 13, 2026Updated Sep 13, 2026
Affected Version
paru v2.1.0 - libalpm v16.0.1
Description
When building an AUR package that uses variable interpolation inside dependency arrays in its PKGBUILD (e.g. depends=("electron${_electronVersion}")), paru fails to resolve or install the resulting dependency before invoking makepkg.
Building the exact same package directly via makepkg -s works as expected.
Output
[user@localhost ~]$ paru -S joplin
:: Resolving dependencies...
:: There are 3 providers available for joplin:
:: Repository AUR:
1) joplin 2) joplin-beta-bin 3) joplin-bin
Enter a number (default=1):
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (1) joplin-3.7.18-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: joplin 3.7.18-1 (Sun 13 Sep 2026 10:54:17 PM MSK)
==> Retrieving sources...
-> Found joplin-desktop.sh
-> Found joplin-desktop.desktop
-> Found joplin-3.7.18.tar.gz
==> Validating source files with sha256sums...
joplin-desktop.sh ... Passed
joplin-desktop.desktop ... Passed
joplin-3.7.18.tar.gz ... Passed
==> Making package: joplin 3.7.18-1 (Sun 13 Sep 2026 10:54:19 PM MSK)
==> Checking runtime dependencies...
==> Missing dependencies:
-> electron42
==> ERROR: Could not resolve all dependencies.
error: failed to build 'joplin-3.7.18-1':
error: packages failed to build: joplin-3.7.18-1Source: Morganamilo/paru