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 1762796 - dhcp does not build with bind 9.11.11
Summary: dhcp does not build with bind 9.11.11
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dhcp
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Pavel Zhukov
QA Contact: Ondrej Mejzlik
URL:
Whiteboard:
Depends On:
Blocks: bind_rebase_el820
TreeView+ depends on / blocked
 
Reported: 2019-10-17 13:58 UTC by Petr Menšík
Modified: 2020-04-28 16:55 UTC (History)
2 users (show)

Fixed In Version: dhcp-4.3.6-38.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:55:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1858 0 None None None 2020-04-28 16:55:38 UTC

Description Petr Menšík 2019-10-17 13:58:09 UTC
Description of problem:
After prepared rebase branch, I failed dhcp build. It is required to test the rebased BIND.

I think it is related to changes in types used by BIND since 9.11.5.

Version-Release number of selected component (if applicable):
dhcp-4.3.6-34.el8
bind-devel-9.11.11-1.fc29.x86_64

How reproducible:
reliable

Steps to Reproduce:
1. Install any bind >= 9.11.5
2. cd dhcp && git checkout rhel-8.2.0 && rhpkg local
3.

Actual results:
in rhel-8.2.0 branch:
$ fedpkg --release f29 local
gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'  -DLDAP_CONFIGURATION -DLDAP_USE_SSL -DLDAP_USE_GSSAPI -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 -fno-strict-aliasing  -I../includes -I/usr/include/bind9-export -c -o conflex.o conflex.c
In file included from ../includes/dhcpd.h:97,
                 from alloc.c:29:
../includes/tree.h:308:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct option_cache *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
In file included from ../includes/omapip/omapip_p.h:67,
                 from ../includes/dhcpd.h:101,
                 from alloc.c:29:
../includes/omapip/omapip.h:268:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t omapi_protocol_authenticated (omapi_object_t *);
 ^~~~~~~~~~~~~
 isc_token_t
In file included from ../includes/dhcpd.h:101,
                 from alloc.c:29:
../includes/omapip/omapip_p.h:154:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
../includes/omapip/omapip_p.h:163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
In file included from ../includes/dhcpd.h:101,
                 from alloc.c:29:
../includes/omapip/omapip_p.h:213:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t closed; /* ISC_TRUE = closed, do not use */
  ^~~~~~~~~~~~~
In file included from alloc.c:29:
../includes/dhcpd.h:464:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t agent_options_stashed;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:470:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t unicast;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:1163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t released;
  ^~~~~~~~~~~~~
In file included from alloc.c:29:
../includes/dhcpd.h:1687:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;  /* count of active leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1688:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned;  /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1724:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_total;     /* Total number of elements in the pond */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1725:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;    /* Number of elements in the pond in use */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1726:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned; /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1728:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t low_threshold; /* low threshold to restart logging */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1847:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
     struct option_cache *oc, isc_boolean_t appendp);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:1932:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2020:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2048:35: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
   int, int, const struct iaddr *, isc_boolean_t);
                                   ^~~~~~~~~~~~~
                                   isc_token_t
../includes/dhcpd.h:2192:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct dhcp_ddns_cb *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:2415:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t server_duid_isset(void);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:2813:37: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
          int, const struct iaddr *, isc_boolean_t);
                                     ^~~~~~~~~~~~~
                                     isc_token_t
../includes/dhcpd.h:2904:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t is_cidr_mask_valid(const struct iaddr *addr, int bits);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3745:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ia_equal(const struct ia_xx *a, const struct ia_xx *b);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3769:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3771:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_usable(struct iasubopt *lease);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3783:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t prefix6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3789:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ipv6_in_pool(const struct in6_addr *addr,
 ^~~~~~~~~~~~~
 isc_token_t
make[2]: *** [Makefile:511: alloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../includes/dhcpd.h:97,
                 from comapi.c:36:
../includes/tree.h:308:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct option_cache *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
In file included from ../includes/omapip/omapip_p.h:67,
                 from ../includes/dhcpd.h:101,
                 from comapi.c:36:
../includes/omapip/omapip.h:268:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t omapi_protocol_authenticated (omapi_object_t *);
 ^~~~~~~~~~~~~
 isc_token_t
In file included from ../includes/dhcpd.h:101,
                 from comapi.c:36:
../includes/omapip/omapip_p.h:154:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
../includes/omapip/omapip_p.h:163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
In file included from ../includes/dhcpd.h:101,
                 from comapi.c:36:
../includes/omapip/omapip_p.h:213:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t closed; /* ISC_TRUE = closed, do not use */
  ^~~~~~~~~~~~~
In file included from comapi.c:36:
../includes/dhcpd.h:464:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t agent_options_stashed;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:470:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t unicast;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:1163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t released;
  ^~~~~~~~~~~~~
In file included from comapi.c:36:
../includes/dhcpd.h:1687:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;  /* count of active leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1688:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned;  /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1724:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_total;     /* Total number of elements in the pond */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1725:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;    /* Number of elements in the pond in use */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1726:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned; /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1728:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t low_threshold; /* low threshold to restart logging */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1847:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
     struct option_cache *oc, isc_boolean_t appendp);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:1932:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2020:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2048:35: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
   int, int, const struct iaddr *, isc_boolean_t);
                                   ^~~~~~~~~~~~~
                                   isc_token_t
../includes/dhcpd.h:2192:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct dhcp_ddns_cb *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:2415:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t server_duid_isset(void);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:2813:37: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
          int, const struct iaddr *, isc_boolean_t);
                                     ^~~~~~~~~~~~~
                                     isc_token_t
../includes/dhcpd.h:2904:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t is_cidr_mask_valid(const struct iaddr *addr, int bits);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3745:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ia_equal(const struct ia_xx *a, const struct ia_xx *b);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3769:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3771:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_usable(struct iasubopt *lease);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3783:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t prefix6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3789:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ipv6_in_pool(const struct in6_addr *addr,
 ^~~~~~~~~~~~~
 isc_token_t
make[2]: *** [Makefile:511: comapi.o] Error 1
In file included from ../includes/dhcpd.h:97,
                 from bpf.c:35:
../includes/tree.h:308:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct option_cache *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
In file included from ../includes/omapip/omapip_p.h:67,
                 from ../includes/dhcpd.h:101,
                 from bpf.c:35:
../includes/omapip/omapip.h:268:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t omapi_protocol_authenticated (omapi_object_t *);
 ^~~~~~~~~~~~~
 isc_token_t
In file included from ../includes/dhcpd.h:101,
                 from bpf.c:35:
../includes/omapip/omapip_p.h:154:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
../includes/omapip/omapip_p.h:163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
In file included from ../includes/dhcpd.h:101,
                 from bpf.c:35:
../includes/omapip/omapip_p.h:213:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t closed; /* ISC_TRUE = closed, do not use */
  ^~~~~~~~~~~~~
In file included from bpf.c:35:
../includes/dhcpd.h:464:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t agent_options_stashed;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:470:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t unicast;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:1163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t released;
  ^~~~~~~~~~~~~
In file included from bpf.c:35:
../includes/dhcpd.h:1687:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;  /* count of active leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1688:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned;  /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1724:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_total;     /* Total number of elements in the pond */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1725:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;    /* Number of elements in the pond in use */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1726:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned; /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1728:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t low_threshold; /* low threshold to restart logging */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1847:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
     struct option_cache *oc, isc_boolean_t appendp);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:1932:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2020:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2048:35: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
   int, int, const struct iaddr *, isc_boolean_t);
                                   ^~~~~~~~~~~~~
                                   isc_token_t
../includes/dhcpd.h:2192:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct dhcp_ddns_cb *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:2415:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t server_duid_isset(void);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:2813:37: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
          int, const struct iaddr *, isc_boolean_t);
                                     ^~~~~~~~~~~~~
                                     isc_token_t
../includes/dhcpd.h:2904:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t is_cidr_mask_valid(const struct iaddr *addr, int bits);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3745:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ia_equal(const struct ia_xx *a, const struct ia_xx *b);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3769:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3771:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_usable(struct iasubopt *lease);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3783:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t prefix6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3789:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ipv6_in_pool(const struct in6_addr *addr,
 ^~~~~~~~~~~~~
 isc_token_t
make[2]: *** [Makefile:511: bpf.o] Error 1
In file included from ../includes/dhcpd.h:97,
                 from conflex.c:29:
../includes/tree.h:308:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct option_cache *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
In file included from ../includes/omapip/omapip_p.h:67,
                 from ../includes/dhcpd.h:101,
                 from conflex.c:29:
../includes/omapip/omapip.h:268:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t omapi_protocol_authenticated (omapi_object_t *);
 ^~~~~~~~~~~~~
 isc_token_t
In file included from ../includes/dhcpd.h:101,
                 from conflex.c:29:
../includes/omapip/omapip_p.h:154:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
../includes/omapip/omapip_p.h:163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t insecure;  /* Set to allow unauthenticated
  ^~~~~~~~~~~~~
In file included from ../includes/dhcpd.h:101,
                 from conflex.c:29:
../includes/omapip/omapip_p.h:213:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t closed; /* ISC_TRUE = closed, do not use */
  ^~~~~~~~~~~~~
In file included from conflex.c:29:
../includes/dhcpd.h:464:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t agent_options_stashed;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:470:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t unicast;
  ^~~~~~~~~~~~~
../includes/dhcpd.h:1163:2: error: unknown type name 'isc_boolean_t'
  isc_boolean_t released;
  ^~~~~~~~~~~~~
In file included from conflex.c:29:
../includes/dhcpd.h:1687:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;  /* count of active leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1688:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned;  /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1724:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_total;     /* Total number of elements in the pond */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1725:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_active;    /* Number of elements in the pond in use */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1726:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t num_abandoned; /* count of abandoned leases */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1728:2: error: unknown type name 'isc_uint64_t'
  isc_uint64_t low_threshold; /* low threshold to restart logging */
  ^~~~~~~~~~~~
../includes/dhcpd.h:1847:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
     struct option_cache *oc, isc_boolean_t appendp);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:1932:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2020:27: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
    struct option_cache *, isc_boolean_t appendp);
                           ^~~~~~~~~~~~~
                           isc_token_t
../includes/dhcpd.h:2048:35: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
   int, int, const struct iaddr *, isc_boolean_t);
                                   ^~~~~~~~~~~~~
                                   isc_token_t
../includes/dhcpd.h:2192:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
       struct dhcp_ddns_cb *, isc_boolean_t);
                              ^~~~~~~~~~~~~
                              isc_token_t
../includes/dhcpd.h:2415:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t server_duid_isset(void);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:2813:37: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
          int, const struct iaddr *, isc_boolean_t);
                                     ^~~~~~~~~~~~~
                                     isc_token_t
../includes/dhcpd.h:2904:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t is_cidr_mask_valid(const struct iaddr *addr, int bits);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3745:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ia_equal(const struct ia_xx *a, const struct ia_xx *b);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3769:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3771:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t lease6_usable(struct iasubopt *lease);
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3783:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t prefix6_exists(const struct ipv6_pool *pool,
 ^~~~~~~~~~~~~
 isc_token_t
../includes/dhcpd.h:3789:1: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
 isc_boolean_t ipv6_in_pool(const struct in6_addr *addr,
 ^~~~~~~~~~~~~
 isc_token_t
conflex.c:325:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
         struct parse *cfile, isc_boolean_t raw) {
                              ^~~~~~~~~~~~~
                              isc_token_t
conflex.c: In function 'next_token':
conflex.c:370:9: warning: implicit declaration of function 'get_next_token'; did you mean 'get_raw_token'? [-Wimplicit-function-declaration]
  return get_next_token(rval, rlen, cfile, ISC_FALSE);
         ^~~~~~~~~~~~~~
         get_raw_token
conflex.c:370:43: error: 'ISC_FALSE' undeclared (first use in this function); did you mean 'ISC_XML_H'?
  return get_next_token(rval, rlen, cfile, ISC_FALSE);
                                           ^~~~~~~~~
                                           ISC_XML_H
conflex.c:370:43: note: each undeclared identifier is reported only once for each function it appears in
conflex.c: In function 'next_raw_token':
conflex.c:381:43: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'MSG_TRUNC'?
  return get_next_token(rval, rlen, cfile, ISC_TRUE);
                                           ^~~~~~~~
                                           MSG_TRUNC
conflex.c: At top level:
conflex.c:396:29: error: unknown type name 'isc_boolean_t'; did you mean 'isc_token_t'?
        struct parse *cfile, isc_boolean_t raw) {
                             ^~~~~~~~~~~~~
                             isc_token_t
conflex.c: In function 'peek_token':
conflex.c:444:9: warning: implicit declaration of function 'do_peek_token'; did you mean 'peek_token'? [-Wimplicit-function-declaration]
  return do_peek_token(rval, rlen, cfile, ISC_FALSE);
         ^~~~~~~~~~~~~
         peek_token
conflex.c:444:42: error: 'ISC_FALSE' undeclared (first use in this function); did you mean 'ISC_XML_H'?
  return do_peek_token(rval, rlen, cfile, ISC_FALSE);
                                          ^~~~~~~~~
                                          ISC_XML_H
conflex.c: In function 'peek_raw_token':
conflex.c:455:42: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'MSG_TRUNC'?
  return do_peek_token(rval, rlen, cfile, ISC_TRUE);
                                          ^~~~~~~~
                                          MSG_TRUNC
conflex.c: In function 'next_token':
conflex.c:371:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
conflex.c: In function 'next_raw_token':
conflex.c:382:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
conflex.c: In function 'peek_token':
conflex.c:445:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
conflex.c: In function 'peek_raw_token':
conflex.c:456:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
At top level:
conflex.c:261:1: warning: 'get_raw_token' defined but not used [-Wunused-function]
 get_raw_token(struct parse *cfile) {
 ^~~~~~~~~~~~~
make[2]: *** [Makefile:511: conflex.o] Error 1
make[2]: Leaving directory '/home/pemensik/rhel/dhcp/dhcp-4.3.6/common'
make[1]: *** [Makefile:583: all-recursive] Error 1
make[1]: Leaving directory '/home/pemensik/rhel/dhcp/dhcp-4.3.6/common'
make: *** [Makefile:468: all-recursive] Error 1
chyba: Špatný návratový kód z /var/tmp/rpm-tmp.13kcPX (%build)
    Špatný návratový kód z /var/tmp/rpm-tmp.13kcPX (%build)


Expected results:
clean build.

Additional info:
ISC provided isc/boolean.h and isc/int.h for backward compatibility. Unfortunately they are not included by any isc headers by default.

Comment 9 errata-xmlrpc 2020-04-28 16:55:31 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/RHBA-2020:1858


Note You need to log in before you can comment on or make changes to this bug.