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.

Bug 1762813

Summary: Rebase bind-dyndb-ldap for RHEL 8.2
Product: Red Hat Enterprise Linux 8 Reporter: Petr Menšík <pemensik>
Component: bind-dyndb-ldapAssignee: Alexander Bokovoy <abokovoy>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: cheimes, ksiddiqu, pcech, rjeffman, ssidhaye, sumenon
Target Milestone: rcFlags: abokovoy: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bind-dyndb-ldap-11.2-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:44:10 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: 1704328, 1748987    

Description Petr Menšík 2019-10-17 14:31:01 UTC
Description of problem:
In BIND 9.11.5 release, ISC upstream modified headers to use standard C types instead of some custom platform-independent types. New release comes with compatibility includes, but they have to be included in source code. They are not included by originally used headers.

Version-Release number of selected component (if applicable):
bind-dyndb-ldap-11.1-14.el8

How reproducible:
reliable

Steps to Reproduce:
1. install bind-devel >= 9.11.5
2. cd bind-dyndb-ldap
3. git checkout bind-dyndb-ldap-11.1-14.el8
3. rhpkg --release rhel-8.2.0 local

Actual results:
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Werror -std=gnu99 -O2 -I/usr/include/bind9 -D_REENTRANT -DDIG_SIGCHASE -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c -o ldap_la-empty_zones.lo `test -f 'empty_zones.c' || echo './'`empty_zones.c
In file included from ldap_entry.h:14,
                 from acl.h:10,
                 from acl.c:30:
types.h:50:2: error: unknown type name 'isc_uint32_t'
  isc_uint32_t seqid;
  ^~~~~~~~~~~~
make[2]: *** [Makefile:541: ldap_la-acl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -I/usr/include/bind9 -D_REENTRANT -DDIG_SIGCHASE -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fvisibility=hidden -fno-delete-null-pointer-checks -c empty_zones.c  -fPIC -DPIC -o .libs/ldap_la-empty_zones.o
In file included from settings.h:12,
                 from zone_register.h:10,
                 from empty_zones.c:13:
types.h:50:2: error: unknown type name 'isc_uint32_t'
  isc_uint32_t seqid;
  ^~~~~~~~~~~~
In file included from zone_register.h:10,
                 from empty_zones.c:13:
settings.h:35:3: error: unknown type name 'isc_uint32_t'
   isc_uint32_t value_uint;
   ^~~~~~~~~~~~
settings.h:101:4: error: unknown type name 'isc_uint32_t'; did you mean 'u_int32_t'?
    isc_uint32_t * target) ATTR_NONNULLS ATTR_CHECKRESULT;
    ^~~~~~~~~~~~
    u_int32_t
make[2]: *** [Makefile:555: ldap_la-empty_zones.lo] Error 1

Expected results:
clean build

Additional info:
ISC provided compatibility headers are bind9/isc/int.h and bind9/isc/boolean.h. Because dhcp requires bind rebuild, testing it is not straight forward. Also DHCP fails to build now (bug 1762796), it complicates installation of more recent bind.

Comment 8 Alexander Bokovoy 2019-11-05 16:28:26 UTC
I released upstream bind-dyndb-ldap v11.2 that includes removal of use of isc/boolean.h, isc/int.h, and isc/md5.h headers. It is pushed to Fedora rawide and is currently building for Fedora 31.

Comment 13 Alexander Bokovoy 2019-11-18 10:36:57 UTC
*** Bug 1773513 has been marked as a duplicate of this bug. ***

Comment 16 Alexander Bokovoy 2019-11-27 20:15:35 UTC
*** Bug 1719357 has been marked as a duplicate of this bug. ***

Comment 17 Kaleem 2020-02-25 09:35:30 UTC
Verfied based on following build versions

[root@dhcp207-102 ~]# rpm -q ipa-server bind-dyndb-ldap
ipa-server-4.8.4-6.module+el8.2.0+5773+68ace8c5.x86_64
bind-dyndb-ldap-11.2-3.module+el8.2.0+4921+923e30d5.x86_64
[root@dhcp207-102 ~]#

Comment 19 errata-xmlrpc 2020-04-28 15:44:10 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, 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/RHEA-2020:1640