Bug 2159385

Summary: libgcrypt-devel don't provides pkgconfig
Product: Red Hat Enterprise Linux 8 Reporter: Frank Büttner <bugzilla>
Component: libgcryptAssignee: Jakub Jelen <jjelen>
Status: CLOSED MIGRATED QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: low    
Version: CentOS StreamCC: bstinson, jwboyer, msaulnier
Target Milestone: rcKeywords: MigratedToJIRA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-19 20:50:38 UTC Type: Bug
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:    
Bug Blocks: 2186880    

Description Frank Büttner 2023-01-09 12:10:19 UTC
Description of problem:
The package don't provides an pkgconfig config file.
So applications that use pkgconfig can't find the lib.


Version-Release number of selected component (if applicable):
libgcrypt-devel-1.8.5-7.el8.x86_64.rpm

Comment 1 Jakub Jelen 2023-01-10 08:46:42 UTC
The package config file was dropped intentionally as the comment in the spec file says:

> # Drop the pkgconfig as it would require an updated libgpg-error

Unfortunately, I do not have more information why this was better solution than patching the libgpg-error version requirement though.

I would love to get this somehow resolved, but I am not sure if this is super-high priority now.

Comment 2 Matthieu Saulnier 2023-04-14 18:27:47 UTC
I was writing a new ticket because I encountered the same issue:



Description of problem:
No matching package to install: 'pkgconfig(libgcrypt)'



Steps to Reproduce:
1. BuildRequires: pkgconfig(libgcrypt)
2.
3.



Actual results:
libgcrypt-devel cannot be installed via a pkgconfig requirement.



Expected results:

For exemple:

# dnf provides 'pkgconfig(libgcrypt)'
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:09:05 le ven. 14 avril 2023 20:05:23.
libgcrypt-devel-1.10.1-4.fc37.i686 : Development files for the libgcrypt package
Dépôt               : local
Correspondances trouvées dans  :
Fournir : pkgconfig(libgcrypt) = 1.10.1-unknown

libgcrypt-devel-1.10.1-4.fc37.x86_64 : Development files for the libgcrypt package
Dépôt               : local
Correspondances trouvées dans  :
Fournir : pkgconfig(libgcrypt) = 1.10.1-unknown

Comment 3 Jakub Jelen 2023-09-14 12:20:29 UTC
> libgcrypt-devel-1.10.1-4.fc37.x86_64 : Development files for the libgcrypt package

What you have is Fedora 37. This bug is in EL8. The Fedora version should be good.

I do not see a simple way to fix it inside of the libgcrypt package in EL8 for now. If you have some non-intrusive suggestion, it would be always appreciated.

Comment 4 RHEL Program Management 2023-09-19 20:48:54 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 5 RHEL Program Management 2023-09-19 20:50:38 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.