Bug 1584944 - icon type=stock not supported
Summary: icon type=stock not supported
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libappstream-glib
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-01 02:11 UTC by Sergio Basto
Modified: 2025-02-26 12:50 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github hughsie appstream-glib issues 360 0 None open validate-relax: icons of "stock" type considered invalid? 2020-05-25 19:39:18 UTC

Description Sergio Basto 2018-06-01 02:11:54 UTC
Description of problem:

appstream-util validate-relax --nonet /var/lib/mock/fedora-27-x86_64/root//builddir/build/BUILDROOT/smb4k-2.1.0-1.fc27.x86_64//usr/share/appdata/org.kde.smb4kqml.appdata.xml 

org.kde.smb4kqml.appdata.xml: FAILED:
• tag-invalid           : stock icon is not valid [smb4k]
Validation of files failed


<icon type="stock">smb4k</icon> in org.kde.smb4kqml.appdata.xml is invalid when specification [1] define it , so appstream-util should not fail to validate it . 


Version-Release number of selected component (if applicable):
0.7.8 


[1]
https://www.freedesktop.org/software/appstream/docs/chap-CollectionData.html#sect-AppStream-XML

Comment 1 Jan Kurik 2018-08-14 09:59:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Ben Cotton 2019-10-31 20:54:51 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Sergio Basto 2019-11-01 19:31:38 UTC
when  icon type=stock will be supported ?

Comment 4 Ben Cotton 2020-02-11 15:44:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 5 Vasiliy Glazov 2020-05-25 07:23:49 UTC
What is current workaround? Remove icon tag from xml file?

Comment 6 Sergio Basto 2020-05-25 19:34:48 UTC
from smb4k.spec 

#workaround for bug https://bugzilla.redhat.com/show_bug.cgi?id=1584944
sed -i  %{buildroot}/%{_kf5_metainfodir}/*.appdata.xml -e 's/type="stock"//'

Comment 7 Fabio Valentini 2020-05-25 19:39:18 UTC
Reported upstream:
https://github.com/hughsie/appstream-glib/issues/360

Comment 8 Vasiliy Glazov 2020-05-25 19:42:17 UTC
plasma-systemsettings package disable validation at all.
I am raised this topic at devel mail list.

Comment 9 Fedora Program Management 2021-04-29 15:54:15 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Sergio Basto 2021-05-03 10:46:53 UTC
+ appstream-util validate-relax --nonet /builddir/build/BUILDROOT/smb4k-3.0.90-1.fc35.aarch64//usr/share/metainfo/org.kde.smb4k.appdata.xml /builddir/build/BUILDROOT/smb4k-3.0.90-1.fc35.aarch64//usr/share/metainfo/org.kde.smb4kqml.appdata.xml
/builddir/build/BUILDROOT/smb4k-3.0.90-1.fc35.aarch64//usr/share/metainfo/org.kde.smb4k.appdata.xml: OK
/builddir/build/BUILDROOT/smb4k-3.0.90-1.fc35.aarch64//usr/share/metainfo/org.kde.smb4kqml.appdata.xml: FAILED:
? tag-invalid           : stock icon is not valid [smb4k]
Validation of files failed
error: Bad exit status from /var/tmp/rpm-tmp.zC3qbZ (%install)
    Bad exit status from /var/tmp/rpm-tmp.zC3qbZ (%install)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)

Comment 11 Ben Cotton 2021-08-10 12:45:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 12 Ben Cotton 2022-11-29 16:45:40 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 13 Ben Cotton 2023-02-07 14:51:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 14 Aoife Moloney 2024-05-07 15:41:24 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 15 Aoife Moloney 2025-02-26 12:50:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


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