Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834572 - sys-apps/portage emerge --emptytree gets dependency ordering wrong for sys-libs/pam (orders sys-devel/bison after sys-libs/pam, despite BDEPEND via virtual/yacc)
Summary: sys-apps/portage emerge --emptytree gets dependency ordering wrong for sys-li...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155723 build-order
  Show dependency tree
 
Reported: 2022-03-04 10:58 UTC by Jaco Kroon
Modified: 2022-06-12 10:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2022-03-04 10:58:58 UTC
without this the depgraph is incorrect, in particular we had to run emerge -1eav @world to fix some problems with certain binaries, and with bison only being repaired after pam merge ...

Reproducible: Always
Comment 1 Jaco Kroon 2022-03-04 13:30:01 UTC
Whilst you're at it ... ditto for dev-tcltk/expect
Comment 2 Jaco Kroon 2022-03-04 13:33:13 UTC
Sorry, expect is for gcc.
Comment 3 Emily Rowlands 2022-06-08 13:45:29 UTC
sys-libs/pam BDEPENDs on virtual/yacc, which RDEPENDs on sys-devel/bison, so I think the dependency is correct.

Nevertheless, I can reproduce as follows.

$ emerge -pe --ignore-default-opts sys-libs/pam | grep -E 'sys-libs/pam|sys-devel/bison|virtual/yacc'
[ebuild   R    ] virtual/yacc-0 
[ebuild   R    ] sys-libs/pam-1.5.1_p20210622-r1 
[ebuild   R    ] sys-devel/bison-3.8.2

This is also the case with @system, reproduced similarly to above with the same output.