Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951103 - xdg.eclass: symlinked desktop files dont trigger desktop database update (was: app-office/libreoffice-bin-25.2.0-r3: QA Notice: .desktop files with MimeType= were found installed but desktop mimeinfo cache has not been updated)
Summary: xdg.eclass: symlinked desktop files dont trigger desktop database update (was...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-10 07:20 UTC by Fab
Modified: 2025-03-10 09:24 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,11.82 KB, text/plain)
2025-03-10 07:20 UTC, Fab
Details
build-info directory for libreoffice-bin-25.2.0-r3 (build-info.tar.gz,45.34 KB, application/gzip)
2025-03-10 07:22 UTC, Fab
Details
gziped build log file libreoffice-bin-25.2.0-r3 (libreoffice-bin-25.2.0-r3:20250310-065331.log.gz,228.60 KB, application/gzip)
2025-03-10 07:30 UTC, Fab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2025-03-10 07:20:12 UTC
Hi,

Each time I install a app-office/libreoffice-bin package, I'm getting at the very end of the installation the following QA notice :

> >>> Original instance of package unmerged safely.
>  * Updating icons cache ...                 [ ok ]
>  * Updating shared mime info database ...   [ ok ]
>  * QA Notice: .desktop files with MimeType= were found installed
>  * but desktop mimeinfo cache has not been updated:
>  *   /usr/share/applications/libreoffice25.2-xsltfilter.desktop
>  *   /usr/share/applications/libreoffice25.2-base.desktop
>  *   /usr/share/applications/libreoffice25.2-math.desktop
>  *   /usr/share/applications/libreoffice25.2-calc.desktop
>  *   /usr/share/applications/libreoffice25.2-draw.desktop
>  *   /usr/share/applications/libreoffice25.2-impress.desktop
>  *   /usr/share/applications/libreoffice25.2-writer.desktop
>  *   /usr/share/applications/libreoffice25.2-startcenter.desktop
>  * Please make sure to call xdg_desktop_database_update()
>  * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
> >>> app-office/libreoffice-bin-25.2.0-r3 merged.
> 
> >>> Completed (1 of 1) app-office/libreoffice-bin-25.2.0-r3::gentoo

> $ /var/log/portage/build/app-office # grep QA *
> libreoffice-bin-25.2.0-r1:20250302-114355.log: * QA Notice: .desktop files with MimeType= were found installed
> libreoffice-bin-25.2.0-r2:20250307-100337.log: * QA Notice: .desktop files with MimeType= were found installed
> libreoffice-bin-25.2.0-r3:20250309-233257.log: * QA Notice: .desktop files with MimeType= were found installed
> libreoffice-bin-25.2.0-r3:20250310-065331.log: * QA Notice: .desktop files with MimeType= were found installed

I'm not sure if this is a portage/eclass/ebuild problem, or even if the problem is limited to libreoffice-bin.

Reproducible: Always
Comment 1 Fab 2025-03-10 07:20:54 UTC
Created attachment 920460 [details]
emerge --info

emerge --info
Comment 2 Fab 2025-03-10 07:22:23 UTC
Created attachment 920461 [details]
build-info directory for libreoffice-bin-25.2.0-r3

build-info directory for libreoffice-bin-25.2.0-r3
Comment 3 Fab 2025-03-10 07:30:39 UTC
Created attachment 920462 [details]
gziped build log file libreoffice-bin-25.2.0-r3

gziped build log file libreoffice-bin-25.2.0-r3
Comment 4 Alfred Wingate 2025-03-10 08:16:15 UTC
Do you have dev-util/desktop-file-utils installed?
Comment 5 Fab 2025-03-10 08:48:03 UTC
(In reply to Alfred Wingate from comment #4)
> Do you have dev-util/desktop-file-utils installed?

Yes. Version 0.28.