If a make depend for an aur package has dependencies that also need to be installed, they aren't removed when answering y to Remove make dependencies after install?. As a result orphans will be left after the install.
But this is a small issue because it's a simple matter to run yay -c afterwards.
The only make depends not already installed on my system are cmake and extra-cmake-modules. Their dependencies that aren't installed (recursive) are libuv and rhash.
yay -S latte-dock-git
==> Remove make dependencies after install? [y/N] y
After install only the make depend extra-cmake-modules is removed.
I think cmake not being removed might be a separate but related issue: it seems if a make depend's dependencies includes another make depend (in this case extra-cmake-modules depends on cmake, but cmake is also a make depend) then that make depend (cmake) is not removed.
Affected Version
yay v5.675
Issue
If a make depend for an aur package has dependencies that also need to be installed, they aren't removed when answering
y
toRemove make dependencies after install?
. As a result orphans will be left after the install.But this is a small issue because it's a simple matter to run
yay -c
afterwards.Steps to reproduce
Example package: latte-dock-git
The only make depends not already installed on my system are
cmake
andextra-cmake-modules
. Their dependencies that aren't installed (recursive) arelibuv
andrhash
.yay -S latte-dock-git
==> Remove make dependencies after install? [y/N] y
Expect:
After install all the two make depends and their dependencies are removed.
Actually get:
After install only the make depend
extra-cmake-modules
is removed.I think
cmake
not being removed might be a separate but related issue: it seems if a make depend's dependencies includes another make depend (in this caseextra-cmake-modules
depends oncmake
, butcmake
is also a make depend) then that make depend (cmake
) is not removed.