Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 631820

Summary: portage: postinst-qa-check.d/50xdg-utils unconditionally calls binaries it doesn't depend on and gets confused
Product: Portage Development Reporter: Patrick Lauer <patrick>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: arfrever.fta, jer, yellowhat46
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=631828
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 631448    

Description Patrick Lauer gentoo-dev 2017-09-23 06:29:53 UTC
>>> /usr/share/pixmaps/anki.png
/usr/lib/portage/python2.7/postinst-qa-check.d/50xdg-utils: line 28: update-desktop-database: command not found
 * QA Notice: .desktop files with MimeType= were found installed
 * but desktop mimeinfo cache has not been updated:
 *   /usr/share/applications/anki.desktop
 * Please make sure to call xdg_desktop_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
 * QA Notice: mime-info files were found installed but mime-info
 * cache has not been updated:
 *   /usr/share/applications/anki.desktop
 * Please make sure to call xdg_mimeinfo_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
>>> app-misc/anki-2.0.47 merged.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-02 15:31:42 UTC
*** Bug 632688 has been marked as a duplicate of this bug. ***
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-02 15:33:24 UTC
*** Bug 631828 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2017-10-02 16:56:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=38deed53c51aa9e75bd8c933f84121af993af7a2

commit 38deed53c51aa9e75bd8c933f84121af993af7a2
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2017-10-02 15:34:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2017-10-02 16:56:21 +0000

    postinst-qa-check.d: Skip checks if required tools are missing
    
    Closes: https://bugs.gentoo.org/631820
    Reviewed-by: Zac Medico <zmedico@gentoo.org>

 bin/postinst-qa-check.d/50gnome2-utils | 2 ++
 bin/postinst-qa-check.d/50xdg-utils    | 4 ++++
 2 files changed, 6 insertions(+)
Comment 4 Zac Medico gentoo-dev 2017-10-02 19:37:11 UTC
Released in 2.3.11.