Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631820 - portage: postinst-qa-check.d/50xdg-utils unconditionally calls binaries it doesn't depend on and gets confused
Summary: portage: postinst-qa-check.d/50xdg-utils unconditionally calls binaries it do...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 631828 (view as bug list)
Depends on:
Blocks: 631448
  Show dependency tree
 
Reported: 2017-09-23 06:29 UTC by Patrick Lauer
Modified: 2018-02-01 23:54 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 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.