Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631454 - sys-apps/portage-2.3.9: first run of postinst_qa_check consumes too much time and reports false positives
Summary: sys-apps/portage-2.3.9: first run of postinst_qa_check consumes too much time...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 631448
  Show dependency tree
 
Reported: 2017-09-19 23:26 UTC by Zac Medico
Modified: 2017-09-20 00:13 UTC (History)
0 users

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 2017-09-19 23:26:12 UTC
When caches are missing, calls to eqatag can be prohibitively expensive when a large number of files where found. Those files do not necessaryily belong to the current package, so it is also a false positive.

The second patch in this pull request disables the eqawarn/eqatag messages when caches are missing:

https://github.com/gentoo/portage/pull/207
Comment 1 Larry the Git Cow gentoo-dev 2017-09-19 23:38:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=361f820b88deda2840396d11c8c8a462dfb435a7

commit 361f820b88deda2840396d11c8c8a462dfb435a7
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2017-09-19 23:10:04 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2017-09-19 23:26:32 +0000

    postinst-qa-check.d: fix false positive and expensive eqatag on first run
    
    When caches were missing, calls to eqatag could be prohibitively
    expensive when a large number of files where found. Those files
    did not necessaryily belong to the current package, so it was
    also a false positive.
    
    Bug: https://bugs.gentoo.org/631454

 bin/postinst-qa-check.d/50gnome2-utils |  8 +++++---
 bin/postinst-qa-check.d/50xdg-utils    | 16 ++++++++++------
 2 files changed, 15 insertions(+), 9 deletions(-)}
Comment 2 Zac Medico gentoo-dev 2017-09-20 00:13:12 UTC
Fixed in 2.3.10.