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

paru still attempting to install (unneeded) dependency even though its in IgnorePkg #1309

Open
Fxzzi opened this issue Dec 29, 2024 · 1 comment

Comments

@Fxzzi
Copy link

Fxzzi commented Dec 29, 2024

Affected Version

paru v2.0.4 - libalpm v15.0.0

Description

Using hyprland-git package from the AUR also includes the package hyprland-qtutils-git as a dependency. This dependency is not needed although from packager maintainer standpoint it is being kept (which is fair)

However I would personally like to stop the building and installing of this package. Adding it to IgnorePkg doesn't seem to do it, upgrading hyprland-git seems to install it again

Output

image

paru.conf

Include = /etc/paru.conf

[options]
BottomUp
SudoLoop
CombinedUpgrade
NewsOnUpgrade
RemoveMake

makepkg.conf

#!/hint/bash

CFLAGS="-march=native -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
RUSTFLAGS="-C opt-level=2 -C target-cpu=native"
MAKEFLAGS="-j$(nproc)"
BUILDENV=(!distcc color !ccache check !sign)
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman !purge !debug lto)
PKGEXT='.pkg.tar'
@Morganamilo
Copy link
Owner

There's an issue with ignorepkg not being respected cross dependencies. Though If it was working as intended you would get an error telling you the dependency can't be found it wouldn't just install without the dep.

AUR deps are resolved via a REST API and are not read from the pkgbuild so editing it has no effect. The easiest solution is to just make a dummy package that provides the needed dependency.

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