Closed Skycoder42 closed 7 years ago
Thanks for the report! Yes, this definitely seems to be a bug as the build order should be already taken care of. I'll have a closer look tomorrow.
I added the verbose output (with bash -x).
Took me a while to figure it out, but this issue is related to the IgnorePkg
code. I could only reproduce the issue when adding oracle-sqldeveloper
as IgnorePkg
in pacman.conf. I guess this explains why you've observed different behavior across your machines.
When IgnorePkg
is empty, the topological dependency solver does its job correctly.
Fixed in 05c39443263523f36b40cd948afcbdd7491e66c2.
Version
pacaur -v
Description
When rebuild or upgrade packages, the packages are not build in order of their dependencies. Simple example:
pacaur --rebuild -S dee libunity
builds libunity first, even though it depends on dee. This is not a bug itself, but for many packages, including this example, it is problematic, as libunity needs to be rebuilt every time dee is updated. I do know about the--forgein
option, but as I do not want to rebuild all dependencies, it doesn't really help. (these two packages are just an example. I observed this for many other packages, too)Strangly enough, this order seems to be random per device, as this particular case can only be produced on two of my three machines.
It would be nice if pacaur would honor depencies when determining the build order, even un upgrades or rebuilds. (Because for installations, this obviously has to be done).
Output
pacaur --rebuild -S dee libunity
(with both already installed)I removed the build part, as it is not relevant for the issue. Sorry the log is german, but as the only important part here is the order, I hope it's fine.
Debug output
bash -x pacaur --rebuild --noconfirm -S dee libuntiy
Attached as file, because of the big size pacaur_verbose_log.txt