All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eugen.Hristev--- via buildroot" <buildroot@buildroot.org>
To: <peter@korsgaard.com>, <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/dhcp: use internal bind
Date: Tue, 12 Apr 2022 11:15:01 +0000	[thread overview]
Message-ID: <d1a1ead3-98a8-35fe-4c4c-e7fd3f02e058@microchip.com> (raw)
In-Reply-To: <8735ims60b.fsf@dell.be.48ers.dk>

On 4/9/22 5:09 PM, Peter Korsgaard wrote:
>>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> 
>   > Use internal bind as dhcp doesn't build since bump of bind to version
>   > 9.16.26 in commit 8adeaec8afacbc680edebae91524f6144926ac92 and upstream
>   > doesn't plan to fix it any time soon:
>   > https://gitlab.isc.org/isc-projects/dhcp/-/issues/233#note_276883
> 
>   > In file included from ../includes/dhcpd.h:91,
>   >                  from ctrace.c:29:
>   > ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory
>   >    51 | #include <isc/boolean.h>
>   >       |          ^~~~~~~~~~~~~~~
> 
>   > Fixes:
>   >  - http://autobuild.buildroot.org/results/d18b006dce7b46631ce8f4c72fb97eb861993939
> 
>   > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> 
> Committed to 2022.02.x, thanks.
> 
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
> 


Hello Peter, Fabrice,

While your patch solves the isc/boolean.h problem, now I get several 
other problems when building an arm926 platform with this package :
(sam9x60ek)

Could you help please? 2022.01.1 is broken for me atm.

Thanks,
Eugen


 >>> dhcp 4.4.2-P1 Building
PATH="/home/eugen/buildroot-2022.02/buildroot/output/host/bin:/home/eugen/buildroot-2022.02/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" 
  /usr/bin/make -j1  -C 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/
Making all in ./bind
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14 
already unpacked...
Bind libraries already configured
Building BIND libraries - this takes some time.
Building isc library in 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc
stats.c: In function ‘setcounter’:
stats.c:300:29: error: ‘val’ undeclared (first use in this function); 
did you mean ‘value’?
   300 |  stats->counters[counter] = val;
       |                             ^~~
       |                             value
stats.c:300:29: note: each undeclared identifier is reported only once 
for each function it appears in
stats.c:286:20: warning: unused parameter ‘value’ [-Wunused-parameter]
   286 |     const uint64_t value)
       |     ~~~~~~~~~~~~~~~^~~~~
make[4]: *** [Makefile:290: stats.lo] Error 1 
 

Building dns library in 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns 

/lib/ld-linux.so.3: No such file or directory 
 

make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1 
 

make[4]: *** [Makefile:599: include] Error 2 
 

Building isccfg library in 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg
In file included from 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24,
                  from aclconf.c:24:
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: 
fatal error: dns/enumtype.h: No such file or directory
   230 | #include <dns/enumtype.h> /* Provides dns_rdatatype_t. */
       |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:241: aclconf.lo] Error 1
Building irs library in 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs
In file included from 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28,
                  from 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45,
                  from context.c:28:
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: 
fatal error: dns/enumtype.h: No such file or directory
   230 | #include <dns/enumtype.h> /* Provides dns_rdatatype_t. */
       |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:239: context.lo] Error 1
Installing BIND libraries to 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind.
stats.c: In function ‘setcounter’:
stats.c:300:29: error: ‘val’ undeclared (first use in this function); 
did you mean ‘value’?
   300 |  stats->counters[counter] = val;
       |                             ^~~
       |                             value
stats.c:300:29: note: each undeclared identifier is reported only once 
for each function it appears in
stats.c:286:20: warning: unused parameter ‘value’ [-Wunused-parameter]
   286 |     const uint64_t value)
       |     ~~~~~~~~~~~~~~~^~~~~
make[4]: *** [Makefile:290: stats.lo] Error 1
/lib/ld-linux.so.3: No such file or directory
make[5]: *** [Makefile:605: include/dns/enumtype.h] Error 1
make[4]: *** [Makefile:599: include] Error 2
In file included from 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24,
                  from aclconf.c:24:
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: 
fatal error: dns/enumtype.h: No such file or directory
   230 | #include <dns/enumtype.h> /* Provides dns_rdatatype_t. */
       |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:241: aclconf.lo] Error 1
In file included from 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28,
                  from 
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45,
                  from context.c:28:
/home/eugen/buildroot-2022.02/buildroot/output/build/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:10: 
fatal error: dns/enumtype.h: No such file or directory
   230 | #include <dns/enumtype.h> /* Provides dns_rdatatype_t. */
       |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:239: context.lo] Error 1
make[3]: *** [Makefile:76: bind2] Error 2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-04-12 11:15 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03 10:03 [Buildroot] [PATCH 1/1] package/dhcp: use internal bind Fabrice Fontaine
2022-04-04  6:19 ` James Hilliard
2022-04-04 19:31 ` Arnout Vandecappelle
2022-04-04 19:55 ` Yann E. MORIN
2022-04-09 14:09 ` Peter Korsgaard
2022-04-12 11:15   ` Eugen.Hristev--- via buildroot [this message]
2022-04-12 11:22     ` Fabrice Fontaine
2022-04-12 11:33       ` Peter Korsgaard
2022-04-12 11:43         ` Eugen.Hristev--- via buildroot
2022-04-12 12:32           ` Eugen.Hristev--- via buildroot
2022-04-12 12:34           ` Peter Korsgaard
2022-04-12 18:17             ` Fabrice Fontaine
2022-04-13  7:54               ` Eugen.Hristev--- via buildroot
2022-04-13  8:29                 ` Peter Korsgaard
2022-04-14  9:10                   ` Eugen.Hristev--- via buildroot
2022-04-14  9:59                     ` Fabrice Fontaine
2022-04-14 16:44                       ` Fabrice Fontaine
2022-04-19  5:21                         ` Eugen.Hristev--- via buildroot
2022-04-19  9:08                           ` Fabrice Fontaine
2022-04-19 10:19                             ` Eugen.Hristev--- via buildroot
2022-04-19 16:12                               ` Fabrice Fontaine
2022-04-21  9:25                                 ` Eugen.Hristev--- via buildroot
  -- strict thread matches above, loose matches on Subject: below --
2022-04-04 13:07 Edmundo Ferreira
2022-04-05  3:54 Tim Hammer
2022-04-05  6:19 ` Fabrice Fontaine
2022-04-05 12:15   ` Tim Hammer
2022-04-05 16:18     ` Peter Seiderer
2022-04-06  1:58       ` Tim Hammer
2022-04-06  7:08         ` Fabrice Fontaine
2022-04-06 12:58           ` Tim Hammer
2022-04-06 13:30             ` Fabrice Fontaine
2022-04-06 14:06               ` Fabrice Fontaine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1a1ead3-98a8-35fe-4c4c-e7fd3f02e058@microchip.com \
    --to=buildroot@buildroot.org \
    --cc=Eugen.Hristev@microchip.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=peter@korsgaard.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.