All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
@ 2020-12-14 20:20 Peter Seiderer
  2020-12-14 20:44 ` Petr Vorel
  2020-12-14 21:49 ` Bernd Kuhls
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Seiderer @ 2020-12-14 20:20 UTC (permalink / raw)
  To: buildroot

Fixes:

  - http://autobuild.buildroot.net/results/966a3de94aa97fa8e9895eede29c9cbfb4bd7301

  .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libisccfg.so.163, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
  .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `cfg_obj_line'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 ...s-mdig-add-missing-isccfg-dependency.patch | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 package/bind/0002-bin-tools-mdig-add-missing-isccfg-dependency.patch

diff --git a/package/bind/0002-bin-tools-mdig-add-missing-isccfg-dependency.patch b/package/bind/0002-bin-tools-mdig-add-missing-isccfg-dependency.patch
new file mode 100644
index 0000000000..f65954538e
--- /dev/null
+++ b/package/bind/0002-bin-tools-mdig-add-missing-isccfg-dependency.patch
@@ -0,0 +1,40 @@
+From 07023ae0d3ef91bfb3e403d2e5724672faa562af Mon Sep 17 00:00:00 2001
+From: Peter Seiderer <ps.report@gmx.net>
+Date: Mon, 14 Dec 2020 20:52:43 +0100
+Subject: [PATCH] bin/tools/mdig: add missing isccfg dependency
+
+Fixes:
+
+  .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libisccfg.so.163, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
+  .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `cfg_obj_line'
+
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+Notes:
+  - this dependency seems only be needed on first compile, when the
+    libs are once installed in sysroot (independently from compile from
+    an earlyier version or from an up-to-date one with patch applied)
+    the dependency is not longer needed, even with the patch removed
+---
+ bin/tools/Makefile.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bin/tools/Makefile.in b/bin/tools/Makefile.in
+index b12f80a..0ad60c5 100644
+--- a/bin/tools/Makefile.in
++++ b/bin/tools/Makefile.in
+@@ -94,9 +94,9 @@ genrandom at EXEEXT@: genrandom. at O@
+ 	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
+ 		-o $@ genrandom. at O@ @GENRANDOMLIB@ ${LIBS}
+ 
+-mdig at EXEEXT@: mdig. at O@ ${ISCDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS}
++mdig at EXEEXT@: mdig. at O@ ${ISCDEPLIBS} ${ISCCFGDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS}
+ 	export BASEOBJS="mdig. at O@"; \
+-	export LIBS0="${DNSLIBS} ${BIND9LIBS}"; \
++	export LIBS0="${ISCCFGDEPLIBS} ${DNSLIBS} ${BIND9LIBS}"; \
+ 	${FINALBUILDCMD}
+ 
+ dnstap-read at EXEEXT@: dnstap-read. at O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
+-- 
+2.29.2
+
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
  2020-12-14 20:20 [Buildroot] [PATCH v1] package/bind: fix compile/linking failure Peter Seiderer
@ 2020-12-14 20:44 ` Petr Vorel
  2020-12-14 20:48   ` Petr Vorel
  2020-12-14 20:53   ` Peter Seiderer
  2020-12-14 21:49 ` Bernd Kuhls
  1 sibling, 2 replies; 7+ messages in thread
From: Petr Vorel @ 2020-12-14 20:44 UTC (permalink / raw)
  To: buildroot

Hi Peter,

> Fixes:

>   - http://autobuild.buildroot.net/results/966a3de94aa97fa8e9895eede29c9cbfb4bd7301

>   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libisccfg.so.163, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
>   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `cfg_obj_line'

Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Thanks for your fix, LGTM.
Have you tried to send your patch upstream (I haven't seen it in
https://gitlab.isc.org/isc-projects/bind9/-/merge_requests).

BTW I'll probably update bind to 9.16.8 soon (following suggestion from Peter Korsgaard).

https://kb.isc.org/docs/aa-01540
BIND 9.11 is our Extended Support Version, supported until December, 2021.
BIND 9.16 will be our next ESV, followed by BIND 9.20; every second stable version after that will be ESV

But your patch will be needed for both.

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
  2020-12-14 20:44 ` Petr Vorel
@ 2020-12-14 20:48   ` Petr Vorel
  2020-12-14 20:53   ` Peter Seiderer
  1 sibling, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2020-12-14 20:48 UTC (permalink / raw)
  To: buildroot

> Hi Peter,

> > Fixes:

> >   - http://autobuild.buildroot.net/results/966a3de94aa97fa8e9895eede29c9cbfb4bd7301

> >   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libisccfg.so.163, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
> >   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `cfg_obj_line'

> Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
> Thanks for your fix, LGTM.
> Have you tried to send your patch upstream (I haven't seen it in
> https://gitlab.isc.org/isc-projects/bind9/-/merge_requests).

> BTW I'll probably update bind to 9.16.8 soon (following suggestion from Peter Korsgaard).
I mean 9.16.9

Kind regards,
Petr

> https://kb.isc.org/docs/aa-01540
> BIND 9.11 is our Extended Support Version, supported until December, 2021.
> BIND 9.16 will be our next ESV, followed by BIND 9.20; every second stable version after that will be ESV

> But your patch will be needed for both.

> Kind regards,
> Petr

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
  2020-12-14 20:44 ` Petr Vorel
  2020-12-14 20:48   ` Petr Vorel
@ 2020-12-14 20:53   ` Peter Seiderer
  2020-12-14 21:19     ` Peter Seiderer
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Seiderer @ 2020-12-14 20:53 UTC (permalink / raw)
  To: buildroot

Hello Petr,

On Mon, 14 Dec 2020 21:44:26 +0100, Petr Vorel <petr.vorel@gmail.com> wrote:

> Hi Peter,
>
> > Fixes:
>
> >   - http://autobuild.buildroot.net/results/966a3de94aa97fa8e9895eede29c9cbfb4bd7301
>
> >   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libisccfg.so.163, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
> >   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `cfg_obj_line'
>
> Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
> Thanks for your fix, LGTM.
> Have you tried to send your patch upstream (I haven't seen it in
> https://gitlab.isc.org/isc-projects/bind9/-/merge_requests).

Not yet...., will do...

Regards,
Peter


>
> BTW I'll probably update bind to 9.16.8 soon (following suggestion from Peter Korsgaard).
>
> https://kb.isc.org/docs/aa-01540
> BIND 9.11 is our Extended Support Version, supported until December, 2021.
> BIND 9.16 will be our next ESV, followed by BIND 9.20; every second stable version after that will be ESV
>
> But your patch will be needed for both.
>
> Kind regards,
> Petr

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
  2020-12-14 20:53   ` Peter Seiderer
@ 2020-12-14 21:19     ` Peter Seiderer
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2020-12-14 21:19 UTC (permalink / raw)
  To: buildroot

On Mon, 14 Dec 2020 21:53:00 +0100, Peter Seiderer <ps.report@gmx.net> wrote:

> Hello Petr,
>
> On Mon, 14 Dec 2020 21:44:26 +0100, Petr Vorel <petr.vorel@gmail.com> wrote:
>
> > Hi Peter,
> >
> > > Fixes:
> >
> > >   - http://autobuild.buildroot.net/results/966a3de94aa97fa8e9895eede29c9cbfb4bd7301
> >
> > >   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: warning: libisccfg.so.163, needed by ../../lib/bind9/.libs/libbind9.so, not found (try using -rpath or -rpath-link)
> > >   .../host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../../lib/bind9/.libs/libbind9.so: undefined reference to `cfg_obj_line'
> >
> > Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
> > Thanks for your fix, LGTM.
> > Have you tried to send your patch upstream (I haven't seen it in
> > https://gitlab.isc.org/isc-projects/bind9/-/merge_requests).
>
> Not yet...., will do...


https://gitlab.isc.org/isc-projects/bind9/-/issues/2348


>
> Regards,
> Peter
>
>
> >
> > BTW I'll probably update bind to 9.16.8 soon (following suggestion from Peter Korsgaard).
> >
> > https://kb.isc.org/docs/aa-01540
> > BIND 9.11 is our Extended Support Version, supported until December, 2021.
> > BIND 9.16 will be our next ESV, followed by BIND 9.20; every second stable version after that will be ESV
> >
> > But your patch will be needed for both.
> >
> > Kind regards,
> > Petr
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
  2020-12-14 20:20 [Buildroot] [PATCH v1] package/bind: fix compile/linking failure Peter Seiderer
  2020-12-14 20:44 ` Petr Vorel
@ 2020-12-14 21:49 ` Bernd Kuhls
  2020-12-14 22:11   ` Peter Seiderer
  1 sibling, 1 reply; 7+ messages in thread
From: Bernd Kuhls @ 2020-12-14 21:49 UTC (permalink / raw)
  To: buildroot

Am Mon, 14 Dec 2020 21:20:26 +0100 schrieb Peter Seiderer:

> Fixes:
> 
>   -
>   http://autobuild.buildroot.net/results/
966a3de94aa97fa8e9895eede29c9cbfb4bd7301

Hi Peter,

duplicate of http://patchwork.ozlabs.org/project/buildroot/patch/
20201212091306.222405-2-bernd.kuhls at t-online.de/

Regards, Bernd

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1] package/bind: fix compile/linking failure
  2020-12-14 21:49 ` Bernd Kuhls
@ 2020-12-14 22:11   ` Peter Seiderer
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2020-12-14 22:11 UTC (permalink / raw)
  To: buildroot

Hello Bernd,

On Mon, 14 Dec 2020 22:49:54 +0100, Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Am Mon, 14 Dec 2020 21:20:26 +0100 schrieb Peter Seiderer:
>
> > Fixes:
> >
> >   -
> >   http://autobuild.buildroot.net/results/
> 966a3de94aa97fa8e9895eede29c9cbfb4bd7301
>
> Hi Peter,
>
> duplicate of http://patchwork.ozlabs.org/project/buildroot/patch/
> 20201212091306.222405-2-bernd.kuhls at t-online.de/

Sorry for missing your submission, some questions follow in
reply to your patch...

Regards,
Peter

>
> Regards, Bernd
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-14 22:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 20:20 [Buildroot] [PATCH v1] package/bind: fix compile/linking failure Peter Seiderer
2020-12-14 20:44 ` Petr Vorel
2020-12-14 20:48   ` Petr Vorel
2020-12-14 20:53   ` Peter Seiderer
2020-12-14 21:19     ` Peter Seiderer
2020-12-14 21:49 ` Bernd Kuhls
2020-12-14 22:11   ` Peter Seiderer

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.