Ticket #1003 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

"cave resolve konqueror:4.5::gentoo" gets package order wrong

Reported by: ant Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: 0.54.3
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

On a system with no KDE packages currently installed, cave tries to install x11-libs/qt-webkit-4.5.1 before x11-libs/qt-xmlpatterns-4.5.1, even though the former lists the latter in its build&run dependencies. Both paludis and emerge get the order right.

Attachments

nohup.out Download (79.2 KB) - added by filko_ 8 years ago.
cave resolve konqueror --explain qt-webkit -X qt-xmlpatterns
t.log Download (9.5 KB) - added by filko_ 8 years ago.
cave show qt-xmlpatterns qt-webkit -c
test.log Download (2.9 KB) - added by filko_ 8 years ago.
testcase

Change History

comment:1 Changed 8 years ago by ciaranm

Please attach the complete resolve output, with --explain qt-webkit --explain qt-xmlpatterns .

Changed 8 years ago by filko_

cave resolve konqueror --explain qt-webkit -X qt-xmlpatterns

comment:2 Changed 8 years ago by filko_

So it looks like the resolver puts them in a cycle because of the blockage hackery.

comment:3 Changed 8 years ago by ciaranm

So there aren't any non-blocker build+run dependencies involved between the two?

Changed 8 years ago by filko_

cave show qt-xmlpatterns qt-webkit -c

comment:4 Changed 8 years ago by filko_

No, see the attachment.

comment:5 Changed 8 years ago by ciaranm

Can someone try to reduce this to a minimal testcase please? I can't figure it out.

Changed 8 years ago by filko_

testcase

comment:6 Changed 8 years ago by filko_

All deps specified above are required to trigger the behaviour from what I can see.

comment:7 Changed 8 years ago by ciaranm

Thanks. I think we might need a cave graph-dependencies to figure this out...

comment:8 Changed 8 years ago by ciaranm

Ok, it's going wrong because a and b's dependencies are both considered "already met", so they're treated as being orderable either way.

comment:9 Changed 8 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.