Bug 1919904

Summary: bind-lite-devel requires json-c-devel and protobuf-c-devel from CRB repo
Product: Red Hat Enterprise Linux 8 Reporter: Petr Sklenar <psklenar>
Component: protobuf-cAssignee: Petr Menšík <pemensik>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: aegorenk, cye
Target Milestone: rcKeywords: Regression, TestCaseNotNeeded, Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: protobuf-c-1.3.0-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 16:15:18 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: 1854148, 1884532, 1899257    
Bug Blocks: 1903942    

Comment 1 Petr Menšík 2021-01-25 14:03:24 UTC
It would require to move json-c-devel and protobuf-c-devel from CRB repository to AppStream repository.
Alternative might be the move bind-devel to CRB too. It is required by dhcp and bind-dyndb-ldap.

Problem is any program compiled by isc-config.sh would require all those dependencies.

Checked by:
cat << EOF
#include <stdio.h>

int main(int argc, char *argv[])
{
	return 0;
}
EOF

gcc $(isc-config.sh --libs isc dns) $(isc-config.sh --cflags isc dns) -o test test.c
ldd test

This test would fail, if protobuf-c-devel and json-c-devel were missing, when bind-devel is installed.

Comment 2 Petr Menšík 2021-01-25 14:21:03 UTC
It seems there would not be anything to change in the package itself, but we need to wait for release engineering response.

It would be possible to change json-c-devel and protobuf-c-devel dependencies from Requires to Recommends:, which is supported on RHEL8.
That would suggest to install them, but would allow not installing them. isc-config.sh would fail without them however, so this seems like not ideal way to fix the issue.

Comment 14 errata-xmlrpc 2021-05-18 16:15:18 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 (protobuf-c 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-2021:1937