Bug 2053905 - Validation failed because does not support version 1.5
Summary: Validation failed because does not support version 1.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-13 04:22 UTC by Gerald Cox
Modified: 2022-03-01 17:35 UTC (History)
9 users (show)

Fixed In Version: desktop-file-utils-0.26-5.fc35
Clone Of:
Environment:
Last Closed: 2022-02-24 23:08:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
freedesktop.org Gitlab xdg desktop-file-utils issues 59 0 None opened desktop-file-validate is missing support for version 1.5 of the specification 2022-02-13 04:23:31 UTC

Description Gerald Cox 2022-02-13 04:22:48 UTC
Description of problem:
Receiving the following error on package build:
/home/gbcox/rpmbuild/BUILDROOT/yubioath-desktop-5.1.0-3.20211008gita836933.fc37.x86_64/usr/share/applications/com.yubico.yubioath.desktop: error: file contains key "SingleMainWindow" in group "Desktop Entry", but keys extending the format should start with "X-"
/home/gbcox/rpmbuild/BUILDROOT/yubioath-desktop-5.1.0-3.20211008gita836933.fc37.x86_64/usr/share/applications/com.yubico.yubioath.desktop: error: value "1.5" for key "Version" in group "Desktop Entry" is not a known version
Error on file "resources/com.yubico.yubioath.desktop": Failed to validate the created desktop file
error: Bad exit status from /var/tmp/rpm-tmp.lY0fpM (%install)


Version-Release number of selected component (if applicable):
desktop-file-utils-0.26-4.fc35.x86_64



Additional info:
https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59

Comment 1 David King 2022-02-15 11:26:37 UTC
If https://src.fedoraproject.org/rpms/desktop-file-utils/pull-request/1 works for you, then it should be good to go.

Comment 2 Gerald Cox 2022-02-15 18:33:32 UTC
(In reply to David King from comment #1)
> If https://src.fedoraproject.org/rpms/desktop-file-utils/pull-request/1
> works for you, then it should be good to go.

I built with the patch locally and all is good.  The problem now of course is I need to wait for this
to get built for rawhide and F36, F35.  

I'd be happy to do it if someone could give me admin access to this package.  

Thanks for the quick turnaround on the patch.  Much appreciated!

Comment 3 Gerald Cox 2022-02-20 17:35:30 UTC
Re: Requesting additional information

Looked in koji and found that you have built this package before.  Could someone please
get this patch applied for rawhide, F36 and F35?  If you're too busy, I'd be happy to do it
if someone would give me access.  Thanks!

Comment 4 Fedora Update System 2022-02-21 09:11:28 UTC
FEDORA-2022-36545a0111 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-36545a0111

Comment 5 Fedora Update System 2022-02-22 03:13:22 UTC
FEDORA-2022-36545a0111 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-36545a0111`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-36545a0111

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-02-24 23:08:29 UTC
FEDORA-2022-36545a0111 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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