Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739908 - sys-apps/portage: @changed-deps rebuilds packages repeatedly
Summary: sys-apps/portage: @changed-deps rebuilds packages repeatedly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 739718
  Show dependency tree
 
Reported: 2020-09-01 16:54 UTC by Zac Medico
Modified: 2020-11-22 07:20 UTC (History)
1 user (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 Zac Medico gentoo-dev 2020-09-01 16:54:27 UTC
The ChangedDepsSet reportedly rebuilds these packages repeatedly:

> zero@theprophet ~ % emerge @changed-deps -vp 
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] www-servers/tornado-6.0.4::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_7 python3_8 -python3_6 (-python3_9)" 0 KiB
> [ebuild   R    ] dev-python/mechanize-0.4.5::gentoo  USE="-doc" PYTHON_TARGETS="python3_7 python3_8 -python3_6" 0 KiB

The code is different from that used to implement the --changed-deps option. It has a clean_subslots function that can be replaced with the strip_slots function that --change-deps uses.
Comment 1 Larry the Git Cow gentoo-dev 2020-09-01 17:59:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=7d2f40b076de343fac08fe026e0c1704ef7db2c8

commit 7d2f40b076de343fac08fe026e0c1704ef7db2c8
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-09-01 17:12:21 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-01 17:44:11 +0000

    ChangedDepsSet: use strip_slots function like --changed-deps (bug 739908)
    
    Bug: https://bugs.gentoo.org/739908
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/_sets/dbapi.py | 51 ++++++++++++++--------------------------------
 1 file changed, 15 insertions(+), 36 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2020-09-08 03:51:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd840baeef963f5fe746f9167976ce0eed83a3b4

commit fd840baeef963f5fe746f9167976ce0eed83a3b4
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-09-08 03:44:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-08 03:51:23 +0000

    sys-apps/portage: Bump to version 3.0.6
    
     #668302 binrepos.conf: support fetchcommand customization
     #668334 Add binrepos.conf to replace PORTAGE_BINHOST
     #704416 env-update: create systemd user-session environment
     #737470 egencache --update-pkg-desc: emulate esync --verbose
     #737480 emerge --search: auto-detect regular expressions
     #739908 @change-deps: fix erroneous repeated rebuilds
     #740588 make.conf: Treat __* variables as local
     #740898 PORTAGE_BINHOST urlopen proxy support
     #740904 rsync and gemato proxy support
    
    Bug: https://bugs.gentoo.org/739718
    Bug: https://bugs.gentoo.org/668302
    Bug: https://bugs.gentoo.org/668334
    Bug: https://bugs.gentoo.org/704416
    Bug: https://bugs.gentoo.org/737470
    Bug: https://bugs.gentoo.org/737480
    Bug: https://bugs.gentoo.org/739908
    Bug: https://bugs.gentoo.org/740588
    Bug: https://bugs.gentoo.org/740898
    Bug: https://bugs.gentoo.org/740904
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/Manifest             |   1 +
 sys-apps/portage/portage-3.0.6.ebuild | 265 ++++++++++++++++++++++++++++++++++
 2 files changed, 266 insertions(+)