Open Makrennel opened 5 months ago
Can you provide a public repo that you can reproduce this issue in by cloning and installing it manually? I tried with the cmatrix repo and I didn't run into this issue
Can you provide a public repo that you can reproduce this issue in by cloning and installing it manually? I tried with the cmatrix repo and I didn't run into this issue
Now that I look further into it, this appears to be primarily a problem with meta packages. Normal packages do not seem to have this issue, but for example base-devel does.
Also, it appears it will reset to the git HEAD branch if the directory is part of a git repository – if you run the command in a directory which is not in a git repository it will nuke the PKGBUILD from existence as mentioned.
Affected Version
yay v12.3.5 - libalpm v14.0.0
Describe the bug
When using
yay -Bi ./
to build a local PKGBUILD in the current directory, if the user selects to cleanbuild all packages yay errors out saying thatPKGBUILD does not exist
and when you check the current directory the PKGBUILD will have disappeared.Reproduction Steps
yay -Bi ./
Packages to cleanBuild?
Expected behavior
Do not destroy the PKGBUILD, and cleanbuild all the dependencies required for installation.
Output