Bug 2062807 - missing components in appstream data [rhel-9.1.0]
Summary: missing components in appstream data [rhel-9.1.0]
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: appstream-data
Version: 9.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: Vera Budikova
URL:
Whiteboard:
Depends On: 1994416
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-10 16:15 UTC by RHEL Program Management Team
Modified: 2023-07-22 08:27 UTC (History)
6 users (show)

Fixed In Version: appstream-data-9-20230504.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1994416
Environment:
Last Closed:
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115334 0 None None None 2022-03-11 12:12:19 UTC

Comment 10 Richard Hughes 2023-04-26 09:20:28 UTC
I don't see GIMP:

appstream-util compare rhel-9-20220302.xml.gz rhel-9-20230426.xml.gz
    io.weldr.cockpit_composer                          Removed
    setroubleshoot.desktop                             Removed
    adobe-source-code-pro                              Added
    org.fedoraproject.google-noto-sans-mono-fonts      Added
    org.fedoraproject.google-noto-sans-symbols2-fonts  Added
    org.freedesktop.appstream.compose                  Added

DEBUG:   Getting filename match for gimp-2.99.8-3.el9.x86_64.rpm
DEBUG:   Exploding tree for gimp
DEBUG:   Adding extra package gimp-libs for gimp
DEBUG:   Processing gimp-2.99.8-3.el9.x86_64.rpm with appdata
DEBUG:   Running asb_plugin_process() from appdata
WARNING: Failed to run process 'appdata': ./tmp/rhel-9/gimp-2.99.8-3.el9/usr/lib64/gimp/2.99/extensions/org.gimp.extension.goat-exercises/org.gimp.extension.goat-exercises.metainfo.xml could not be read: Failed to open file “./tmp/rhel-9/gimp-2.99.8-3.el9/usr/lib64/gimp/2.99/extensions/org.gimp.extension.goat-exercises/org.gimp.extension.goat-exercises.metainfo.xml”: No such file or directory

The /usr/lib64/gimp/ is not a valid location for metainfo files, but appstream-builder shouldn't just abort the package on that kind of failure. Fixing now.

Comment 11 Richard Hughes 2023-04-26 09:26:40 UTC
Okay, better:

setroubleshoot.desktop                             Removed
adobe-source-code-pro                              Added
gimp-data-extras                                   Added
org.fedoraproject.google-noto-sans-mono-fonts      Added
org.fedoraproject.google-noto-sans-symbols2-fonts  Added
org.freedesktop.appstream.compose                  Added
org.gimp.GIMP                                      Added

The first one:

DEBUG:   Getting filename match for setroubleshoot-3.3.31-2.el9_2.x86_64.rpm
DEBUG:   Exploding tree for setroubleshoot
DEBUG:   Adding extra package setroubleshoot-server for setroubleshoot
DEBUG:   Processing setroubleshoot-3.3.31-2.el9_2.x86_64.rpm with appdata
DEBUG:   Running asb_plugin_process() from appdata
WARNING: Failed to run process 'appdata': AppData ./tmp/rhel-9/setroubleshoot-3.3.31-2.el9_2/usr/share/metainfo/setroubleshoot.appdata.xml license 'gpl-2+' invalid

That really needs fixing in setroubleshoot -- 'gpl-2+' isn't a valid *content* license -- in fact it's not even a valid SPDX licence even. Do you want me to use this metadata, or hot-patch the setroubleshoot entry just to make it work?

Comment 12 Richard Hughes 2023-04-26 09:42:25 UTC
Narrator: "he fudged it"

setroubleshoot.desktop                             Removed
adobe-source-code-pro                              Added
gimp-data-extras                                   Added
org.fedoraproject.google-noto-sans-mono-fonts      Added
org.fedoraproject.google-noto-sans-symbols2-fonts  Added
org.fedoraproject.setroubleshoot.desktop           Added
org.freedesktop.appstream.compose                  Added
org.gimp.GIMP                                      Added

building package now.

Comment 13 Richard Hughes 2023-05-04 14:50:18 UTC
More, with nightly:

appstream-util compare /home/hughsie/Work/centos-stream/appstream-data/rhel-9-20230426.xml.gz metadata/el9/rhel-9-20230504.xml.gz
org.fedoraproject.google-crosextra-caladea-fonts   Added
org.tigervnc.vncviewer                             Added


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