Local deps are trying to do pacman -S --needed $deps which can produce some unexpected behaviour when one package provides another.
i.e. I have gcc-multilib installed which provides gcc (specifically gcc=5.3.0-3). When I try to install something that requires gcc from a local package, zeromq in this example, we get the following:
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N]
We should be checking that the dependency is met, not just blanket --needed install of all deps. I'm not sure how makepkg does this, but it would be a good place to copy since they're doing this already.
Local deps are trying to do
pacman -S --needed $deps
which can produce some unexpected behaviour when one package provides another.i.e. I have
gcc-multilib
installed which providesgcc
(specifically gcc=5.3.0-3). When I try to install something that requiresgcc
from a local package,zeromq
in this example, we get the following::: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N]
We should be checking that the dependency is met, not just blanket --needed install of all deps. I'm not sure how makepkg does this, but it would be a good place to copy since they're doing this already.