Build issues w/ 4.4.2

Philip Prindeville philipp_subx at redfish-solutions.com
Mon Nov 29 18:35:30 UTC 2021


Still having issues building 4.4.2-P1 with OpenWRT.

Same issue.  How hard is this to fix?

Should we just abandon ISC-DHCP as "no longer supported" for OpenWRT builds?

Our build machinery doesn't support patching files that get unpacked from a tarball as part of the "make" step.

A cleaner fix would be to have a subproject in Bind that built a library that ISC-DHCP could then have a library dependency on...


> On Jan 29, 2021, at 11:29 AM, Thomas Markwalder <tmark at isc.org> wrote:
> 
> Bind9 versions after 9.11.14, no longer supply that file. Starting with ISC DHCP 4.4.2, we include a tarball of BIND9 9.11.14 in both the repo and the ISC DHCP  tarball.  The default build configure will use this embedded copy by default.  Bind9 began eliminating these wrapper types with 9.11.15.  9.11.16 gets rid of int and another one that escapes recall at the moment.
> 
> 4.4.2 is not currently supported for versions beyond 9.11.14.
> 
> On 1/29/21 1:20 PM, Philip Prindeville wrote:
>> I'm seeing the following when building 4.4.2 on x86_64 in OpenWRT:
>> 
>> ...
>> make[5]: Entering directory '/home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2/common'
>> x86_64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"' -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include   -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2=dhcp-4.4.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fcommon   -I../includes -I/home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2/bind/include -c -o alloc.o alloc.c
>> In file included from ../includes/dhcpd.h:91,
>>                  from alloc.c:29:
>> ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory
>>  #include <isc/boolean.h>
>>           ^~~~~~~~~~~~~~~
>> compilation terminated.
>> Makefile:504: recipe for target 'alloc.o' failed
>> make[5]: *** [alloc.o] Error 1
>> make[5]: Leaving directory '/home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2/common'
>> Makefile:563: recipe for target 'all-recursive' failed
>> make[4]: *** [all-recursive] Error 1
>> 
>> 
>> Is this a known issue?
>> 
>> Thanks
>> 



More information about the dhcp-workers mailing list