Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879887 - dev-qt/qt-creator-8.0.2 installs .desktop files with MimeType but does not update desktop mimeinfo cache
Summary: dev-qt/qt-creator-8.0.2 installs .desktop files with MimeType but does not up...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Davide Pesavento (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-11-05 16:52 UTC by Agostino Sarubbo
Modified: 2022-11-07 06:57 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,107.51 KB, application/x-xz)
2022-11-05 16:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-05 16:52:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-qt/qt-creator-8.0.2 installs .desktop files with MimeType but does not update desktop mimeinfo cache.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-05 16:52:50 UTC
CC'ing also the author of the commit (166a265815ff2e354e8d83e4fb6b076f058774bc)
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-05 16:52:52 UTC
Created attachment 827845 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 3 Peter Levine 2022-11-05 19:30:30 UTC
Thanks for the heads-up.  When I defined pkg_postinst() for all the optfeature stuff, I forgot to explicitly call xdg_pkg_postinst().  I'll post a PR.
Comment 4 Larry the Git Cow gentoo-dev 2022-11-07 06:57:27 UTC
The bug has been closed via the following commit(s):

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

commit 51244efdbd5106e2ed9a16c55cb0d5ad1cb093e2
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2022-11-05 20:03:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-07 06:57:17 +0000

    dev-qt/qt-creator: call xdg_pkg_postinst
    
    xdg_pkg_postinst needs to be explicitly called since we define
    our own pkg_postinst.
    
    Closes: https://bugs.gentoo.org/879887
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28149
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-qt/qt-creator/qt-creator-8.0.2.ebuild | 2 ++
 1 file changed, 2 insertions(+)