Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 1797005[details]
Patch that fixes the issue with missing headers.
Description of problem:
This problem is happening on both systems CentOS 8 and RHEL8 (I'm using 8.4 right now). I'm trying to generate the gnome-software-devel package to compile a gnome-software plugin. But when I try to compile, I see this error:
/usr/include/gnome-software/gnome-software.h:16:10: fatal error: gs-app-collation.h: No such file or directory
#include <gs-app-collation.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../../include/gsplugin-ibm-essentials-common.h:1,
from gsplugin-ibm-essentials-category.c:7:
/usr/include/gnome-software/gnome-software.h:16:10: fatal error: gs-app-collation.h: No such file or directory
#include <gs-app-collation.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Version-Release number of selected component (if applicable):
RHEL 8.4 and gnome-software{-devel}-3.36.1-5
How reproducible:
Steps to Reproduce:
1. Install gnome-software-devel based on the same version I mentioned.
2. Try to compile the Example 1 from: https://developer.gnome.org/gnome-software/stable/plugins.html
Actual results:
In file included from gs-plugin-example.c:5:
/usr/include/gnome-software/gnome-software.h:16:10: fatal error: gs-app-collation.h: No such file or directory
#include <gs-app-collation.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Expected results:
No compilation issues related to this hello world plugin.
Additional info:
For end users, gnome-software-devel is not available. So, you need to build by your own. That's why I set as a low priority, but it is important for the ones who develop GS plugins. The fix is simple and I attached the patch.
It was already reported here for Ubuntu OSes: https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1119
(In reply to Tomas Popela from comment #1)
> A sort of related question - should we ship gnome-software-devel in Code
> Ready Builder ... ?
I cannot decide here. It surely depends whether there's any need/request to allow customers to build the Software plugins easily in RHEL.
(In reply to Milan Crha from comment #3)
> (In reply to Tomas Popela from comment #1)
> > A sort of related question - should we ship gnome-software-devel in Code
> > Ready Builder ... ?
>
> I cannot decide here. It surely depends whether there's any need/request to
> allow customers to build the Software plugins easily in RHEL.
This is exactly what we are trying to do. The purpose is compile external plugins, but we need to hack the main GS header.
(In reply to Julio Faracco from comment #4)
> This is exactly what we are trying to do. The purpose is compile external
> plugins, but we need to hack the main GS header.
Okay, I've no problem in adding the -devel subpackage back to the available packages.
Just note that if your 3rd-party plugin will cause failures then you should investigate your plugin code first.
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 (Moderate: GNOME security, 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/RHSA-2021:4381