Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dhcp
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 106
    • Issues 106
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • dhcp
  • Issues
  • #180

Closed
Open
Created Apr 11, 2021 by Philip Prindeville@pprindeville

Not buildable on OpenWRT

Not buildable on OpenWRT 4.2.2 won't build on OpenWRT because it's not finding <isc/boolean.h>.

To Reproduce Steps to reproduce the behavior:

  1. Checkout master on openwrt/packages, and change net/isc-dhcp/Makefile to use version 4.4.2.
  2. Build
  3. See error

Expected behavior It should build as 4.4.1 did.

Environment:

  • ISC DHCP version: 4.4.2

  • OS: OpenWRT master cross-built on Ubuntu 20.04.02 LTS

  • CONFIG_PACKAGE_isc-dhcp-server-ipv6=y should be configured

Additional Information Build fails as:

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.
make[5]: *** [Makefile:504: 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'
make[4]: *** [Makefile:563: all-recursive] Error 1
make[4]: Leaving directory '/home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2/common'
make[3]: *** [Makefile:464: all-recursive] Error 1
make[3]: Leaving directory '/home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2'
make[2]: *** [Makefile:301: /home/philipp/lede/build_dir/target-x86_64_musl/isc-dhcp-ipv6/dhcp-4.4.2/.built] Error 2
make[2]: Leaving directory '/home/philipp/lede/feeds/packages/net/isc-dhcp'
time: package/feeds/packages/isc-dhcp/ipv6/compile#93.82#21.71#108.97
    ERROR: package/feeds/packages/isc-dhcp failed to build (build variant: ipv6).
make[1]: *** [package/Makefile:114: package/feeds/packages/isc-dhcp/compile] Error 1

See also: OpenWRT PR 14605

Is your feature request related to a problem? Please describe. This doesn't cross-build any more.

Describe the solution you'd like common/Makefile.am should include settings from ../make/includes but doesn't.

Describe alternatives you've considered See previous

Additional context N/A

Funding its development N/A

Participating in development I'm the maintainer for ISC-DHCP in OpenWRT, so not sure what more I need to do here...

Contacting you My email is listed on my gitlab account, plus you can find me on the mailing lists.

Edited Apr 11, 2021 by Philip Prindeville
Assignee
Assign to
Time tracking