Bug 2062807

Summary: missing components in appstream data [rhel-9.1.0]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: appstream-dataAssignee: Richard Hughes <rhughes>
Status: CLOSED ERRATA QA Contact: Vera Budikova <vbudikov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0CC: jkoten, mboisver, rhughes, tpelka, vbudikov
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: appstream-data-9-20230504.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1994416 Environment:
Last Closed: 2023-11-07 08:30:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1994416    
Bug Blocks:    

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

Comment 20 errata-xmlrpc 2023-11-07 08:30:21 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 (appstream-data 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:6396