RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2107277 - [RHEL8] Validation failed because does not support version 1.5
Summary: [RHEL8] Validation failed because does not support version 1.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: desktop-file-utils
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David King
QA Contact: Tomas Pelka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-14 16:26 UTC by Troy Dawson
Modified: 2023-05-16 09:29 UTC (History)
7 users (show)

Fixed In Version: desktop-file-utils-0.26-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 08:28:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-127753 0 None None None 2022-07-14 16:27:18 UTC
Red Hat Product Errata RHBA-2023:2793 0 None None None 2023-05-16 08:28:43 UTC

Description Troy Dawson 2022-07-14 16:26:21 UTC
Description of problem:
I am receiving errors like the following on package builds that have newer .desktop files.

+ desktop-file-validate /builddir/build/BUILDROOT/kdebugsettings-22.04.1-1.el9.x86_64/usr/share/applications/org.kde.kdebugsettings.desktop
/builddir/build/BUILDROOT/kdebugsettings-22.04.1-1.el9.x86_64/usr/share/applications/org.kde.kdebugsettings.desktop: error: file contains key "SingleMainWindow" in group "Desktop Entry", but keys extending the format should start with "X-"

Version-Release number of selected component (if applicable):
desktop-file-utils-0.23-8.el8

Additional info:
https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59
https://bugzilla.redhat.com/show_bug.cgi?id=2053905

It is affecting my updating of many KDE apps in epel.

Comment 1 Tomas Popela 2022-07-15 06:20:26 UTC
I see that David made the required changes in Fedora with https://src.fedoraproject.org/rpms/desktop-file-utils/pull-request/1

Comment 2 Ray Strode [halfline] 2022-10-21 15:19:09 UTC
patch already available devack+

Comment 4 David King 2022-11-09 08:24:38 UTC
I tried to quickly backport the upstream patch, but there are quite a few changes between the 0.23 in RHEL 8 and the 0.26 that the patch is against, including spec 1.4 and 1.2 support, and several important changes and additions to supported desktop file keys. I would suppose that a rebase to 0.26 and the (small) patch to support spec 1.5 will be much less risky (and less devel time) than cherry-picking a large number of patches required to support all the intermediate spec versions.

Comment 5 Tomas Popela 2022-11-09 08:30:01 UTC
I thing that we can go with the rebase, but we have to keep in mind that desktop-file-utils is shipped in AppStream and it does have a default ACG level set - that means no API/ABI changes are allowed.

Comment 6 David King 2022-11-09 08:36:40 UTC
(In reply to Tomas Popela from comment #5)
> I thing that we can go with the rebase, but we have to keep in mind that
> desktop-file-utils is shipped in AppStream and it does have a default ACG
> level set - that means no API/ABI changes are allowed.

I think that in this case that should be fine, as the commits are all additions to supported spec versions and keys, build system changes (port to Meson), small feature additions and bugfixes. As desktop-file-utils does not provide a library API, and the CLI has not had any removals, I would say that the risk of regressions is very low.

Comment 7 Tomas Popela 2022-11-09 10:24:04 UTC
Ah, at that point it makes sense. Please adjust the DTM.

Comment 13 errata-xmlrpc 2023-05-16 08:28:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (desktop-file-utils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2793


Note You need to log in before you can comment on or make changes to this bug.