yay icon indicating copy to clipboard operation
yay copied to clipboard

yay complains about irrelevant dependencies

Open mipimipi opened this issue 1 year ago • 0 comments

Affected Version

yay v12.1.3.r4gd368f99 - libalpm v13.0.2

Describe the bug

I want to install a package from AUR. Its PKGBUILD contains a dependency that is only valid for a different architecture (different from the architecture that I am running yay on - see the PKGBUILD docu). yay complains that this dependency cannot be fulfilled though it is not relevant for the current architecture.

Reproduction Steps

  1. On a x86_64 system, install AUR package repman with yay: yay -S repman. repman requires package devtools if it is installed on x86_64. On Aarch64, it requires package devtools-alarm instead - see PKGBUILD.
  2. System complains that dependency devtools-alarm cannot be found though it is not required for x86_64:
  -> No AUR package found for devtools-alarm
  -> could not find all required packages: devtools-alarm

Expected behavior

yay ignores dependencies that are not relevant for the current architecture.

mipimipi avatar Oct 26 '23 10:10 mipimipi