All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/dhcp: fix install of internal bind libraries
@ 2022-04-14 16:41 Fabrice Fontaine
  2022-04-14 20:14 ` Peter Korsgaard
  2022-05-22 10:03 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-14 16:41 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Internal bind libraries are not installed to target since commit
0c8dd6ebd656e06cf99a63eb93343715f4853503 resulting in the following
runtime failure:

Starting DHCP server: /usr/sbin/dhcpd: error while loading shared libraries: libirs.so.161: cannot open shared object file: No such file or directory

RANLIB must also be set to avoid the following build failure at install
step:

libtool: install: arceb-buildroot-linux-uclibc-ranlib /home/fabrice/buildroot/output/per-package/dhcp/target/usr/lib/libisccfg.a
/home/fabrice/buildroot/output/build/dhcp-4.4.3/bind/bind-9.11.36/libtool: line 1719: arceb-buildroot-linux-uclibc-ranlib: command not found

Fixes:
 - No autobuilder failures (reported by Eugen.Hristev@microchip.com)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/dhcp/dhcp.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index c58592cc45..6ac9ed0147 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -28,7 +28,8 @@ DHCP_BIND_EXTRA_CONFIG = \
 	BUILD_CC='$(HOSTCC)' \
 	BUILD_CFLAGS='$(HOST_CFLAGS)' \
 	BUILD_CPPFLAGS='$(HOST_CPPFLAGS)' \
-	BUILD_LDFLAGS='$(HOST_LDFLAGS)'
+	BUILD_LDFLAGS='$(HOST_LDFLAGS)' \
+	RANLIB='$(TARGET_RANLIB)'
 
 DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk
 
@@ -70,6 +71,7 @@ DHCP_CONF_OPTS += --enable-delayed-ack
 endif
 
 define DHCP_INSTALL_LIBS
+	$(MAKE) -C $(@D)/bind install-bind DESTDIR=$(TARGET_DIR)
 	$(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR)
 	$(MAKE) -C $(@D)/omapip install-exec DESTDIR=$(TARGET_DIR)
 endef
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/dhcp: fix install of internal bind libraries
  2022-04-14 16:41 [Buildroot] [PATCH 1/1] package/dhcp: fix install of internal bind libraries Fabrice Fontaine
@ 2022-04-14 20:14 ` Peter Korsgaard
  2022-05-22 10:03 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-04-14 20:14 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Internal bind libraries are not installed to target since commit
 > 0c8dd6ebd656e06cf99a63eb93343715f4853503 resulting in the following
 > runtime failure:

 > Starting DHCP server: /usr/sbin/dhcpd: error while loading shared
 > libraries: libirs.so.161: cannot open shared object file: No such file
 > or directory

 > RANLIB must also be set to avoid the following build failure at install
 > step:

 > libtool: install: arceb-buildroot-linux-uclibc-ranlib
 > /home/fabrice/buildroot/output/per-package/dhcp/target/usr/lib/libisccfg.a
 > /home/fabrice/buildroot/output/build/dhcp-4.4.3/bind/bind-9.11.36/libtool:
 > line 1719: arceb-buildroot-linux-uclibc-ranlib: command not found

 > Fixes:
 >  - No autobuilder failures (reported by Eugen.Hristev@microchip.com)

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/dhcp: fix install of internal bind libraries
  2022-04-14 16:41 [Buildroot] [PATCH 1/1] package/dhcp: fix install of internal bind libraries Fabrice Fontaine
  2022-04-14 20:14 ` Peter Korsgaard
@ 2022-05-22 10:03 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-22 10:03 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Internal bind libraries are not installed to target since commit
 > 0c8dd6ebd656e06cf99a63eb93343715f4853503 resulting in the following
 > runtime failure:

 > Starting DHCP server: /usr/sbin/dhcpd: error while loading shared
 > libraries: libirs.so.161: cannot open shared object file: No such file
 > or directory

 > RANLIB must also be set to avoid the following build failure at install
 > step:

 > libtool: install: arceb-buildroot-linux-uclibc-ranlib
 > /home/fabrice/buildroot/output/per-package/dhcp/target/usr/lib/libisccfg.a
 > /home/fabrice/buildroot/output/build/dhcp-4.4.3/bind/bind-9.11.36/libtool:
 > line 1719: arceb-buildroot-linux-uclibc-ranlib: command not found

 > Fixes:
 >  - No autobuilder failures (reported by Eugen.Hristev@microchip.com)

 > 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

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

end of thread, other threads:[~2022-05-22 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14 16:41 [Buildroot] [PATCH 1/1] package/dhcp: fix install of internal bind libraries Fabrice Fontaine
2022-04-14 20:14 ` Peter Korsgaard
2022-05-22 10:03 ` Peter Korsgaard

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.