bind: Update to latest stable, 9.14.
PATCH 1/1 bind: Update to latest stable, 9.14.
Even releases are stable and supported for 1 year.
Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.
---
...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ---------------------
...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ---------------
.../0001-lib-dns-gen.c-fix-too-long-error.patch | 31 --------------------
...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++------------
...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++----------
.../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++++++----------
6 files changed, 38 insertions(+), 134 deletions(-)
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch
rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} (83%)meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Mon, 27 Aug 2018 15:00:51 +0800 -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' - -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bind recipe, -the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmless -and helpful for clean up host build path in isc-config.sh - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 54efc55..76ac0eb 100644 ---- a/configure.in -+++ b/configure.in -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-openssl]) - fi - ;; - *) -- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" -+ DST_OPENSSL_LIBS="-lcrypto" - ;; - esac - fi --- -2.7.4 -
meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0 -22
@@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 - -Signed-off-by: Chen Qi <[email protected]> ---- - lib/dns/gen.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,7 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 --#define DIRNAMESIZE 256 -+#define DIRNAMESIZE 512 - - static struct cc { - struct cc *next;
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:00 2001 -From: Robert Yang <[email protected]> -Date: Wed, 16 Sep 2015 20:23:47 -0700 -Subject: [PATCH] lib/dns/gen.c: fix too long error - -The 512 is a little short when build in deep dir, and cause "too long" -error, use PATH_MAX if defined. - -Upstream-Status: Pending - -Signed-off-by: Robert Yang <[email protected]> ---- - lib/dns/gen.c | 4 ++++ - 1 file changed, 4 insertions(+) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,11 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 -+#ifdef PATH_MAX -+#define DIRNAMESIZE PATH_MAX -+#else - #define DIRNAMESIZE 512 -+#endif - - static struct cc { - struct cc *next;
meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +15 -18
@@ -12,23 +12,20 @@ $ named -V Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Hongxu Jia <[email protected]> ---- - bin/named/include/named/globals.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/bin/named/include/named/globals.h b/bin/named/include/named/globals.h -index ba3457e..7741da7 100644 ---- a/bin/named/include/named/globals.h -+++ b/bin/named/include/named/globals.h -@@ -68,7 +68,7 @@ EXTERN const char * ns_g_version INIT(VERSION); - EXTERN const char * ns_g_product INIT(PRODUCT); - EXTERN const char * ns_g_description INIT(DESCRIPTION); - EXTERN const char * ns_g_srcid INIT(SRCID); --EXTERN const char * ns_g_configargs INIT(CONFIGARGS); -+EXTERN const char * ns_g_configargs INIT("*** (options are hidden)"); - EXTERN const char * ns_g_builder INIT(BUILDER); - EXTERN in_port_t ns_g_port INIT(0); - EXTERN isc_dscp_t ns_g_dscp INIT(-1); --- -2.7.4 +[Refreshed for 9.14.3] +Signed-off-by: Armin kuster <[email protected]> +Index: bind-9.14.3/bin/named/include/named/globals.h +=================================================================== +--- bind-9.14.3.orig/bin/named/include/named/globals.h ++++ bind-9.14.3/bin/named/include/named/globals.h +@@ -68,7 +68,7 @@ EXTERN const char * named_g_version IN + EXTERN const char * named_g_product INIT(PRODUCT); + EXTERN const char * named_g_description INIT(DESCRIPTION); + EXTERN const char * named_g_srcid INIT(SRCID); +-EXTERN const char * named_g_configargs INIT(CONFIGARGS); ++EXTERN const char * named_g_configargs INIT("*** (options are hidden)"); + EXTERN const char * named_g_builder INIT(BUILDER); + EXTERN in_port_t named_g_port INIT(0); + EXTERN isc_dscp_t named_g_dscp INIT(-1);
meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +15 -15
@@ -17,25 +17,25 @@ No currently running tasks (773 of 781) Summary: 1 task failed: /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure -One way to fix it would be to unconditionally disable json in bind -configure[2] but here we fix it by using the path to where we would -put the header if we had json in the sysroot, in case someone wants -to make use of the combination some day. + One way to fix it would be to unconditionally disable json in bind + configure[2] but here we fix it by using the path to where we would + put the header if we had json in the sysroot, in case someone wants + to make use of the combination some day. -[1] https://trac.macports.org/ticket/45305 -[2] https://trac.macports.org/changeset/126406 + [1] https://trac.macports.org/ticket/45305 + [2] https://trac.macports.org/changeset/126406 -Upstream-Status: Inappropriate [OE Specific] -Signed-off-by: Paul Gortmaker <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + Upstream-Status: Inappropriate [OE Specific] + Signed-off-by: Paul Gortmaker <[email protected]> -Index: bind-9.11.3/configure.in +[Refreshed for 9.14.3 +Signed-off-by: Armin Kuster <[email protected]> + +Index: bind-9.14.3/configure.ac =================================================================== ---- bind-9.11.3.orig/configure.in -+++ bind-9.11.3/configure.in -@@ -2574,7 +2574,7 @@ case "$use_libjson" in +--- bind-9.14.3.orig/configure.ac ++++ bind-9.14.3/configure.ac +@@ -1353,7 +1353,7 @@ case "$use_libjson" in libjson_libs="" ;; auto|yes)
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +8 -16
@@ -14,22 +14,18 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ file://generate-rndc-key.sh \ file://make-etc-initd-bind-stop-work.patch \ file://init.d-add-support-for-read-only-rootfs.patch \ + file://0001-avoid-start-failure-with-bind-user.patch \ file://bind-ensure-searching-for-json-headers-searches-sysr.patch \ - file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch \ - file://0001-lib-dns-gen.c-fix-too-long-error.patch \ - file://0001-configure.in-remove-useless-L-use_openssl-lib.patch \ file://0001-named-lwresd-V-and-start-log-hide-build-options.patch \ - file://0001-avoid-start-failure-with-bind-user.patch \ " -SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960" -SRC_URI[sha256sum] = "7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434" +SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4" +SRC_URI[sha256sum] = "ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa" UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/" -UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/" -RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021" +RECIPE_NO_UPDATE_REASON = "even are stable" -inherit autotools update-rc.d systemd useradd pkgconfig multilib_script +inherit autotools update-rc.d systemd useradd pkgconfig multilib_script upstream-version-is-even MULTILIB_SCRIPTS = "${PN}:${bindir}/bind9-config ${PN}:${bindir}/isc-config.sh"
@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline" PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2" PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit" -PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with-randomdev=/dev/random,," PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native," -ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}" -EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \ - --disable-devpoll --enable-epoll --with-gost=no \ - --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \ - --with-lmdb=no \ +EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \ + --with-gssapi=no --with-lmdb=no \ --sysconfdir=${sysconfdir}/bind \ --with-openssl=${STAGING_DIR_HOST}${prefix} \ "
@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h" FILES_${PN} += "${sbindir}/generate-rndc-key.sh" PACKAGE_BEFORE_PN += "${PN}-libs" -FILES_${PN}-libs = "${libdir}/*.so*" +FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so" FILES_${PN}-staticdev += "${libdir}/*.la" PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-bind', '', d)}"
Signature · 1 line
2.7.4
This is causing errors:
| Makefile:557: recipe for target 'alloc.lo' failed | make[2]: *** [alloc.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from conflex.c:29: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:557: recipe for target 'dhcp4o6.lo' failed | make[2]: *** [dhcp4o6.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from icmp.c:30: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:557: recipe for target 'dispatch.lo' failed | make[2]: *** [dispatch.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from bpf.c:35: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b
Thanks,
Anuj
Quoted 344 lines · Armin Kuster
Even releases are stable and supported for 1 year.
Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.Signed-off-by Armin Kuster <[email protected]>--- ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ------------ --------- ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ------------ --- .../0001-lib-dns-gen.c-fix-too-long-error.patch | 31 ------------ -------- ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++ ------------ ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++ ---------- .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++++++---- ------ 6 files changed, 38 insertions(+), 134 deletions(-) delete mode 100644 meta/recipes-connectivity/bind/bind/0001- configure.in-remove-useless-L-use_openssl-lib.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c- extend-DIRNAMESIZE-from-256-to-512.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns- gen.c-fix-too-long-error.patch rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb =>bind_9.14.3.bb} (83%)
(quoted diff) +0
-0remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch
deleted file mode 100644
index 871bb2a..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch
+++/dev/null(quoted diff) +0
-1@@ -1,32 +0,0 @@ -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:002001
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-5-From: Hongxu Jia <[email protected]> -Date: Mon, 27 Aug 2018 15:00:51 +0800 -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' - -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bindrecipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmlessmeta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-14-and helpful for clean up host build path in isc-config.sh - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 54efc55..76ac0eb 100644 ---- a/configure.in -+++ b/configure.in -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-openssl])
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-12- fi - ;; - *) -- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" -+ DST_OPENSSL_LIBS="-lcrypto" - ;; - esac - fi --- -2.7.4 -(quoted diff) +0
-0DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch
deleted file mode 100644
index a8d601d..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch
+++/dev/nullmeta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0
-22@@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 - -Signed-off-by: Chen Qi <[email protected]> ---- - lib/dns/gen.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,7 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 --#define DIRNAMESIZE 256 -+#define DIRNAMESIZE 512 - - static struct cc { - struct cc *next;(quoted diff) +0
-0fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001- lib-dns-gen.c-fix-too-long-error.patch
deleted file mode 100644
index 01874a4..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too- long-error.patch
+++/dev/null(quoted diff) +0
-1@@ -1,31 +0,0 @@ -From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:002001
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0
-5-From: Robert Yang <[email protected]> -Date: Wed, 16 Sep 2015 20:23:47 -0700 -Subject: [PATCH] lib/dns/gen.c: fix too long error - -The 512 is a little short when build in deep dir, and cause "toolong"
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0
-25-error, use PATH_MAX if defined. - -Upstream-Status: Pending - -Signed-off-by: Robert Yang <[email protected]> ---- - lib/dns/gen.c | 4 ++++ - 1 file changed, 4 insertions(+) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,11 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 -+#ifdef PATH_MAX -+#define DIRNAMESIZE PATH_MAX -+#else - #define DIRNAMESIZE 512 -+#endif - - static struct cc { - struct cc *next;(quoted diff) +0
-0and-start-log-hide-build-options.patch b/meta/recipes- connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build- options.patch
index 75908aa..84894ae 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patchmeta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +0
-4@@ -12,23 +12,20 @@ $ named -V Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Hongxu Jia <[email protected]> ---- - bin/named/include/named/globals.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/bin/named/include/named/globals.h
b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
----a/bin/named/include/named/globals.h
-+++b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char *ns_g_versionINIT(VERSION);- EXTERN const char *
ns_g_productINIT(PRODUCT)
;
- EXTERN const char *ns_g_descriptionINIT(DESCRIPTION);
- EXTERN const char *ns_g_srcidINIT(SRCID);
--EXTERN const char *ns_g_configargsINIT(CONFIGAR
GS);
-+EXTERN const char *ns_g_configargsINIT("***
(options are hidden)");
- EXTERN const char *ns_g_builderINIT(BUILDER)
;
- EXTERNin_port_tns_g_portINIT(0);
- EXTERNisc_dscp_tns_g_dscpINIT(-1);
---
-2.7.4
+[Refreshed for 9.14.3]meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +6
-0+Signed-off-by: Armin kuster <[email protected]> +Index: bind-9.14.3/bin/named/include/named/globals.h +=================================================================== +--- bind-9.14.3.orig/bin/named/include/named/globals.h ++++ bind-9.14.3/bin/named/include/named/globals.h +@@ -68,7 +68,7 @@ EXTERN const char * named_g_versionIN
+ EXTERN const char *named_g_productINIT(PRODUCT)
;
+ EXTERN const char *named_g_descriptionINIT(DESCRIPT
ION);
+ EXTERN const char *named_g_srcidINIT(SRCID);
+-EXTERN const char *named_g_configargsINIT(CONFIGAR
GS);
++EXTERN const char *named_g_configargsINIT("***
(options are hidden)");
+ EXTERN const char *named_g_builderINIT(BUILDER)
;
+ EXTERNin_port_tnamed_g_portINIT(0);
+ EXTERNisc_dscp_tnamed_g_dscpINIT(-1);(quoted diff) +0
-0searching-for-json-headers-searches-sysr.patch b/meta/recipes- connectivity/bind/bind/bind-ensure-searching-for-json-headers- searches-sysr.patch
index 37e210e..3999c6a 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patchmeta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +2
-4@@ -17,25 +17,25 @@ No currently running tasks (773 of 781) Summary: 1 task failed: /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure -One way to fix it would be to unconditionally disable json in bind -configure[2] but here we fix it by using the path to where we would -put the header if we had json in the sysroot, in case someone wants -to make use of the combination some day. + One way to fix it would be to unconditionally disable json in bind + configure[2] but here we fix it by using the path to where wewould
+ put the header if we had json in the sysroot, in case someone wantsmeta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +12
-11+ to make use of the combination some day. -[1] https://trac.macports.org/ticket/45305 -[2] https://trac.macports.org/changeset/126406 + [1] https://trac.macports.org/ticket/45305 + [2] https://trac.macports.org/changeset/126406 -Upstream-Status: Inappropriate [OE Specific] -Signed-off-by: Paul Gortmaker <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + Upstream-Status: Inappropriate [OE Specific] + Signed-off-by: Paul Gortmaker <[email protected]> -Index: bind-9.11.3/configure.in +[Refreshed for 9.14.3 +Signed-off-by: Armin Kuster <[email protected]> + +Index: bind-9.14.3/configure.ac =================================================================== ---- bind-9.11.3.orig/configure.in -+++ bind-9.11.3/configure.in -@@ -2574,7 +2574,7 @@ case "$use_libjson" in +--- bind-9.14.3.orig/configure.ac ++++ bind-9.14.3/configure.ac +@@ -1353,7 +1353,7 @@ case "$use_libjson" in libjson_libs="" ;; auto|yes)meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1
-6@@ -14,22 +14,18 @@ SRC_URI = " https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ file://generate-rndc-key.sh \ file://make-etc-initd-bind-stop-work.patch \ file://init.d-add-support-for-read-only-rootfs.patch \ + file://0001-avoid-start-failure-with-bind-user.patch \ file://bind-ensure-searching-for-json-headers-searches- sysr.patch \ - file://0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch \ - file://0001-lib-dns-gen.c-fix-too-long-error.patch \ - file://0001-configure.in-remove-useless-L-use_openssl- lib.patch \ file://0001-named-lwresd-V-and-start-log-hide-build- options.patch \ - file://0001-avoid-start-failure-with-bind-user.patch \ " -SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960" -SRC_URI[sha256sum] ="
7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +2
-0+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4" +SRC_URI[sha256sum] ="
ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"
UPSTREAM_CHECK_URI= "https://ftp.isc.org/isc/bind9/"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1
-3-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/" -RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021" +RECIPE_NO_UPDATE_REASON = "even are stable" -inherit autotools update-rc.d systemd useradd pkgconfig
multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfigmultilib_scriptupstream-version-is-even
MULTILIB_SCRIPTS= "${PN}:${bindir}/bind9-config
${PN}:${bindir}/isc-config.sh"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +0
-0@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline" PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with- randomdev=/dev/random,,"
PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-
install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +3
-5-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \ - --disable-devpoll --enable-epoll --with-gost=no \ - --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \ - --with-lmdb=no \ +EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \ + --with-gssapi=no --with-lmdb=no \ --sysconfdir=${sysconfdir}/bind \ --with-openssl=${STAGING_DIR_HOST}${prefix} \ "@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h" FILES_${PN} += "${sbindir}/generate-rndc-key.sh" PACKAGE_BEFORE_PN += "${PN}-libs" -FILES_${PN}-libs = "${libdir}/*.so*" +FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so" FILES_${PN}-staticdev += "${libdir}/*.la" PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG','python3', 'python3-bind', '', d)}"
Signature · 1 line
2.7.4
Quoted 29 lines · Anuj
This is causing errors:
| Makefile:557: recipe for target 'alloc.lo' failed | make[2]: *** [alloc.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from conflex.c:29: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:557: recipe for target 'dhcp4o6.lo' failed | make[2]: *** [dhcp4o6.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from icmp.c:30: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:557: recipe for target 'dispatch.lo' failed | make[2]: *** [dispatch.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from bpf.c:35: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b
Ah, musl.. ok thanks,
Armin
Quoted 350 lines
Thanks,
Anuj
Quoted 344 lines · Armin Kuster
Even releases are stable and supported for 1 year.
Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.Signed-off-by Armin Kuster <[email protected]>--- ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ------------ --------- ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ------------ --- .../0001-lib-dns-gen.c-fix-too-long-error.patch | 31 ------------ -------- ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++ ------------ ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++ ---------- .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++++++---- ------ 6 files changed, 38 insertions(+), 134 deletions(-) delete mode 100644 meta/recipes-connectivity/bind/bind/0001- configure.in-remove-useless-L-use_openssl-lib.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c- extend-DIRNAMESIZE-from-256-to-512.patch delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns- gen.c-fix-too-long-error.patch rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb =>bind_9.14.3.bb} (83%)
(quoted diff) +0
-0remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch
deleted file mode 100644
index 871bb2a..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch
+++/dev/null(quoted diff) +0
-1@@ -1,32 +0,0 @@ -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:002001
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-5-From: Hongxu Jia <[email protected]> -Date: Mon, 27 Aug 2018 15:00:51 +0800 -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' - -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bindrecipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmlessmeta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-14-and helpful for clean up host build path in isc-config.sh - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 54efc55..76ac0eb 100644 ---- a/configure.in -+++ b/configure.in -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-openssl])
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-12- fi - ;; - *) -- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" -+ DST_OPENSSL_LIBS="-lcrypto" - ;; - esac - fi --- -2.7.4 -(quoted diff) +0
-0DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch
deleted file mode 100644
index a8d601d..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch
+++/dev/nullmeta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0
-22@@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 - -Signed-off-by: Chen Qi <[email protected]> ---- - lib/dns/gen.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,7 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 --#define DIRNAMESIZE 256 -+#define DIRNAMESIZE 512 - - static struct cc { - struct cc *next;(quoted diff) +0
-0fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001- lib-dns-gen.c-fix-too-long-error.patch
deleted file mode 100644
index 01874a4..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too- long-error.patch
+++/dev/null(quoted diff) +0
-1@@ -1,31 +0,0 @@ -From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:002001
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0
-5-From: Robert Yang <[email protected]> -Date: Wed, 16 Sep 2015 20:23:47 -0700 -Subject: [PATCH] lib/dns/gen.c: fix too long error - -The 512 is a little short when build in deep dir, and cause "toolong"
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0
-25-error, use PATH_MAX if defined. - -Upstream-Status: Pending - -Signed-off-by: Robert Yang <[email protected]> ---- - lib/dns/gen.c | 4 ++++ - 1 file changed, 4 insertions(+) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,11 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 -+#ifdef PATH_MAX -+#define DIRNAMESIZE PATH_MAX -+#else - #define DIRNAMESIZE 512 -+#endif - - static struct cc { - struct cc *next;(quoted diff) +0
-0and-start-log-hide-build-options.patch b/meta/recipes- connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build- options.patch
index 75908aa..84894ae 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patchmeta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +0
-4@@ -12,23 +12,20 @@ $ named -V Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Hongxu Jia <[email protected]> ---- - bin/named/include/named/globals.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/bin/named/include/named/globals.h
b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
----a/bin/named/include/named/globals.h
-+++b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char *ns_g_versionINIT(VERSION);- EXTERN const char *
ns_g_productINIT(PRODUCT)
;
- EXTERN const char *ns_g_descriptionINIT(DESCRIPTION);
- EXTERN const char *ns_g_srcidINIT(SRCID);
--EXTERN const char *ns_g_configargsINIT(CONFIGAR
GS);
-+EXTERN const char *ns_g_configargsINIT("***
(options are hidden)");
- EXTERN const char *ns_g_builderINIT(BUILDER)
;
- EXTERNin_port_tns_g_portINIT(0);
- EXTERNisc_dscp_tns_g_dscpINIT(-1);
---
-2.7.4
+[Refreshed for 9.14.3]meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +6
-0+Signed-off-by: Armin kuster <[email protected]> +Index: bind-9.14.3/bin/named/include/named/globals.h +=================================================================== +--- bind-9.14.3.orig/bin/named/include/named/globals.h ++++ bind-9.14.3/bin/named/include/named/globals.h +@@ -68,7 +68,7 @@ EXTERN const char * named_g_versionIN
+ EXTERN const char *named_g_productINIT(PRODUCT)
;
+ EXTERN const char *named_g_descriptionINIT(DESCRIPT
ION);
+ EXTERN const char *named_g_srcidINIT(SRCID);
+-EXTERN const char *named_g_configargsINIT(CONFIGAR
GS);
++EXTERN const char *named_g_configargsINIT("***
(options are hidden)");
+ EXTERN const char *named_g_builderINIT(BUILDER)
;
+ EXTERNin_port_tnamed_g_portINIT(0);
+ EXTERNisc_dscp_tnamed_g_dscpINIT(-1);(quoted diff) +0
-0searching-for-json-headers-searches-sysr.patch b/meta/recipes- connectivity/bind/bind/bind-ensure-searching-for-json-headers- searches-sysr.patch
index 37e210e..3999c6a 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patchmeta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +2
-4@@ -17,25 +17,25 @@ No currently running tasks (773 of 781) Summary: 1 task failed: /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure -One way to fix it would be to unconditionally disable json in bind -configure[2] but here we fix it by using the path to where we would -put the header if we had json in the sysroot, in case someone wants -to make use of the combination some day. + One way to fix it would be to unconditionally disable json in bind + configure[2] but here we fix it by using the path to where wewould
+ put the header if we had json in the sysroot, in case someone wantsmeta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +12
-11+ to make use of the combination some day. -[1] https://trac.macports.org/ticket/45305 -[2] https://trac.macports.org/changeset/126406 + [1] https://trac.macports.org/ticket/45305 + [2] https://trac.macports.org/changeset/126406 -Upstream-Status: Inappropriate [OE Specific] -Signed-off-by: Paul Gortmaker <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + Upstream-Status: Inappropriate [OE Specific] + Signed-off-by: Paul Gortmaker <[email protected]> -Index: bind-9.11.3/configure.in +[Refreshed for 9.14.3 +Signed-off-by: Armin Kuster <[email protected]> + +Index: bind-9.14.3/configure.ac =================================================================== ---- bind-9.11.3.orig/configure.in -+++ bind-9.11.3/configure.in -@@ -2574,7 +2574,7 @@ case "$use_libjson" in +--- bind-9.14.3.orig/configure.ac ++++ bind-9.14.3/configure.ac +@@ -1353,7 +1353,7 @@ case "$use_libjson" in libjson_libs="" ;; auto|yes)meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1
-6@@ -14,22 +14,18 @@ SRC_URI = " https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ file://generate-rndc-key.sh \ file://make-etc-initd-bind-stop-work.patch \ file://init.d-add-support-for-read-only-rootfs.patch \ + file://0001-avoid-start-failure-with-bind-user.patch \ file://bind-ensure-searching-for-json-headers-searches- sysr.patch \ - file://0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch \ - file://0001-lib-dns-gen.c-fix-too-long-error.patch \ - file://0001-configure.in-remove-useless-L-use_openssl- lib.patch \ file://0001-named-lwresd-V-and-start-log-hide-build- options.patch \ - file://0001-avoid-start-failure-with-bind-user.patch \ " -SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960" -SRC_URI[sha256sum] ="
7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +2
-0+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4" +SRC_URI[sha256sum] ="
ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"
UPSTREAM_CHECK_URI= "https://ftp.isc.org/isc/bind9/"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1
-3-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/" -RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021" +RECIPE_NO_UPDATE_REASON = "even are stable" -inherit autotools update-rc.d systemd useradd pkgconfig
multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfigmultilib_scriptupstream-version-is-even
MULTILIB_SCRIPTS= "${PN}:${bindir}/bind9-config
${PN}:${bindir}/isc-config.sh"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +0
-0@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline" PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with- randomdev=/dev/random,,"
PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-
install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +3
-5-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \ - --disable-devpoll --enable-epoll --with-gost=no \ - --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \ - --with-lmdb=no \ +EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \ + --with-gssapi=no --with-lmdb=no \ --sysconfdir=${sysconfdir}/bind \ --with-openssl=${STAGING_DIR_HOST}${prefix} \ "@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h" FILES_${PN} += "${sbindir}/generate-rndc-key.sh" PACKAGE_BEFORE_PN += "${PN}-libs" -FILES_${PN}-libs = "${libdir}/*.so*" +FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so" FILES_${PN}-staticdev += "${libdir}/*.la" PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG','python3', 'python3-bind', '', d)}"
Signature · 1 line
2.7.4
Quoted 31 lines · On 7/28/19 12:08 AM, akuster808 wrote:
Quoted 29 lines · Anuj
This is causing errors:
| Makefile:557: recipe for target 'alloc.lo' failed | make[2]: *** [alloc.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from conflex.c:29: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:557: recipe for target 'dhcp4o6.lo' failed | make[2]: *** [dhcp4o6.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from icmp.c:30: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:557: recipe for target 'dispatch.lo' failed | make[2]: *** [dispatch.lo] Error 1 | In file included from ../includes/dhcpd.h:91, | from bpf.c:35: | ../includes/omapip/isclib.h:51:10: fatal error: isc/boolean.h: No such file or directory | 51 | #include <isc/boolean.h> | | ^~~~~~~~~~~~~~~
Quoted 2 lines
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/871/steps/8/logs/step1b
Ah, musl.. ok thanks,
this is basically due to [1]
[1] https://gitlab.isc.org/isc-projects/bind9/commit/4c06eb20cc2e11e78412031babebc6273be5dc08
Quoted 350 lines
Armin
Quoted 349 lines
Thanks,
Anuj
Quoted 344 lines · Armin Kuster
Even releases are stable and supported for 1 year.
Drop patches no longer needed.
Refresh a few patches.
Removed config options no longed supported.Signed-off-by Armin Kuster <[email protected]>--- ...igure.in-remove-useless-L-use_openssl-lib.patch | 32 ------------ --------- ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 22 ------------ --- .../0001-lib-dns-gen.c-fix-too-long-error.patch | 31 ------------ -------- ...lwresd-V-and-start-log-hide-build-options.patch | 33 ++++++++++ ------------ ...-searching-for-json-headers-searches-sysr.patch | 30 ++++++++++ ---------- .../bind/{bind_9.11.5-P4.bb => bind_9.14.3.bb} | 24 ++++++---- ------ 6 files changed, 38 insertions(+), 134 deletions(-)delete mode 100644 meta/recipes-connectivity/bind/bind/0001-
configure.in-remove-useless-L-use_openssl-lib.patch
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-gen.c-
extend-DIRNAMESIZE-from-256-to-512.patch
delete mode 100644 meta/recipes-connectivity/bind/bind/0001-lib-dns-
gen.c-fix-too-long-error.patch
rename meta/recipes-connectivity/bind/{bind_9.11.5-P4.bb =>
bind_9.14.3.bb} (83%)(quoted diff) +0
-0remove-useless-L-use_openssl-lib.patch b/meta/recipes- connectivity/bind/bind/0001-configure.in-remove-useless-L- use_openssl-lib.patch
deleted file mode 100644
index 871bb2a..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-configure.in-remove- useless-L-use_openssl-lib.patch
+++/dev/null(quoted diff) +0
-1@@ -1,32 +0,0 @@ -From 950867d9fd3f690e271c8c807b6eed144b2935b2 Mon Sep 17 00:00:002001
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-5-From: Hongxu Jia <[email protected]> -Date: Mon, 27 Aug 2018 15:00:51 +0800 -Subject: [PATCH] configure.in: remove useless `-L$use_openssl/lib' - -Since `--with-openssl=${STAGING_DIR_HOST}${prefix}' is used in bindrecipe,
-the `-L$use_openssl/lib' has a hardcoded suffix, removing it is harmlessmeta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-14-and helpful for clean up host build path in isc-config.sh - -Upstream-Status: Inappropriate [oe-core specific] - -Signed-off-by: Hongxu Jia <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 54efc55..76ac0eb 100644 ---- a/configure.in -+++ b/configure.in -@@ -1691,7 +1691,7 @@ If you don't want OpenSSL, use --without-openssl])
meta/recipes-connectivity/bind/bind/0001-configure.in-remove-useless-L-use_openssl-lib.patch deleted +0
-12- fi - ;; - *) -- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" -+ DST_OPENSSL_LIBS="-lcrypto" - ;; - esac - fi --- -2.7.4 -(quoted diff) +0
-0DIRNAMESIZE-from-256-to-512.patch b/meta/recipes- connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch
deleted file mode 100644
index a8d601d..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend- DIRNAMESIZE-from-256-to-512.patch
+++/dev/nullmeta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch deleted +0
-22@@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Subject: gen.c: extend DIRNAMESIZE from 256 to 512 - -Signed-off-by: Chen Qi <[email protected]> ---- - lib/dns/gen.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,7 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 --#define DIRNAMESIZE 256 -+#define DIRNAMESIZE 512 - - static struct cc { - struct cc *next;(quoted diff) +0
-0fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001- lib-dns-gen.c-fix-too-long-error.patch
deleted file mode 100644
index 01874a4..0000000
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too- long-error.patch
+++/dev/null(quoted diff) +0
-1@@ -1,31 +0,0 @@ -From 5bc3167a8b714ec0c4a3f1c7f3b9411296ec0a23 Mon Sep 17 00:00:002001
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0
-5-From: Robert Yang <[email protected]> -Date: Wed, 16 Sep 2015 20:23:47 -0700 -Subject: [PATCH] lib/dns/gen.c: fix too long error - -The 512 is a little short when build in deep dir, and cause "toolong"
meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch deleted +0
-25-error, use PATH_MAX if defined. - -Upstream-Status: Pending - -Signed-off-by: Robert Yang <[email protected]> ---- - lib/dns/gen.c | 4 ++++ - 1 file changed, 4 insertions(+) - -Index: bind-9.11.3/lib/dns/gen.c -=================================================================== ---- bind-9.11.3.orig/lib/dns/gen.c -+++ bind-9.11.3/lib/dns/gen.c -@@ -130,7 +130,11 @@ static const char copyright[] = - #define TYPECLASSBUF (TYPECLASSLEN + 1) - #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d" - #define ATTRIBUTESIZE 256 -+#ifdef PATH_MAX -+#define DIRNAMESIZE PATH_MAX -+#else - #define DIRNAMESIZE 512 -+#endif - - static struct cc { - struct cc *next;(quoted diff) +0
-0and-start-log-hide-build-options.patch b/meta/recipes- connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build- options.patch
index 75908aa..84894ae 100644
--- a/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and- start-log-hide-build-options.patchmeta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +0
-4@@ -12,23 +12,20 @@ $ named -V Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Hongxu Jia <[email protected]> ---- - bin/named/include/named/globals.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/bin/named/include/named/globals.h
b/bin/named/include/named/globals.h
-index ba3457e..7741da7 100644
----a/bin/named/include/named/globals.h
-+++b/bin/named/include/named/globals.h
-@@ -68,7 +68,7 @@ EXTERN const char *ns_g_versionINIT(VERSION);- EXTERN const char *
ns_g_productINIT(PRODUCT)
;
- EXTERN const char *ns_g_descriptionINIT(DESCRIPTION);
- EXTERN const char *ns_g_srcidINIT(SRCID);
--EXTERN const char *ns_g_configargsINIT(CONFIGAR
GS);
-+EXTERN const char *ns_g_configargsINIT("***
(options are hidden)");
- EXTERN const char *ns_g_builderINIT(BUILDER)
;
- EXTERNin_port_tns_g_portINIT(0);
- EXTERNisc_dscp_tns_g_dscpINIT(-1);
---
-2.7.4
+[Refreshed for 9.14.3]meta/recipes-connectivity/bind/bind/0001-named-lwresd-V-and-start-log-hide-build-options.patch +6
-0+Signed-off-by: Armin kuster <[email protected]> +Index: bind-9.14.3/bin/named/include/named/globals.h +=================================================================== +--- bind-9.14.3.orig/bin/named/include/named/globals.h ++++ bind-9.14.3/bin/named/include/named/globals.h +@@ -68,7 +68,7 @@ EXTERN const char * named_g_versionIN
+ EXTERN const char *named_g_productINIT(PRODUCT)
;
+ EXTERN const char *named_g_descriptionINIT(DESCRIPT
ION);
+ EXTERN const char *named_g_srcidINIT(SRCID);
+-EXTERN const char *named_g_configargsINIT(CONFIGAR
GS);
++EXTERN const char *named_g_configargsINIT("***
(options are hidden)");
+ EXTERN const char *named_g_builderINIT(BUILDER)
;
+ EXTERNin_port_tnamed_g_portINIT(0);
+ EXTERNisc_dscp_tnamed_g_dscpINIT(-1);(quoted diff) +0
-0searching-for-json-headers-searches-sysr.patch b/meta/recipes- connectivity/bind/bind/bind-ensure-searching-for-json-headers- searches-sysr.patch
index 37e210e..3999c6a 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for- json-headers-searches-sysr.patchmeta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +2
-4@@ -17,25 +17,25 @@ No currently running tasks (773 of 781) Summary: 1 task failed: /meta/recipes-connectivity/bind/bind_9.10.2.bb, do_configure -One way to fix it would be to unconditionally disable json in bind -configure[2] but here we fix it by using the path to where we would -put the header if we had json in the sysroot, in case someone wants -to make use of the combination some day. + One way to fix it would be to unconditionally disable json in bind + configure[2] but here we fix it by using the path to where wewould
+ put the header if we had json in the sysroot, in case someone wantsmeta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch +12
-11+ to make use of the combination some day. -[1] https://trac.macports.org/ticket/45305 -[2] https://trac.macports.org/changeset/126406 + [1] https://trac.macports.org/ticket/45305 + [2] https://trac.macports.org/changeset/126406 -Upstream-Status: Inappropriate [OE Specific] -Signed-off-by: Paul Gortmaker <[email protected]> ---- - configure.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + Upstream-Status: Inappropriate [OE Specific] + Signed-off-by: Paul Gortmaker <[email protected]> -Index: bind-9.11.3/configure.in +[Refreshed for 9.14.3 +Signed-off-by: Armin Kuster <[email protected]> + +Index: bind-9.14.3/configure.ac =================================================================== ---- bind-9.11.3.orig/configure.in -+++ bind-9.11.3/configure.in -@@ -2574,7 +2574,7 @@ case "$use_libjson" in +--- bind-9.14.3.orig/configure.ac ++++ bind-9.14.3/configure.ac +@@ -1353,7 +1353,7 @@ case "$use_libjson" in libjson_libs="" ;; auto|yes)meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1
-6@@ -14,22 +14,18 @@ SRC_URI = " https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ file://generate-rndc-key.sh \ file://make-etc-initd-bind-stop-work.patch \ file://init.d-add-support-for-read-only-rootfs.patch \ + file://0001-avoid-start-failure-with-bind-user.patch \ file://bind-ensure-searching-for-json-headers-searches- sysr.patch \ - file://0001-gen.c-extend-DIRNAMESIZE-from-256-to- 512.patch \ - file://0001-lib-dns-gen.c-fix-too-long-error.patch \ - file://0001-configure.in-remove-useless-L-use_openssl- lib.patch \ file://0001-named-lwresd-V-and-start-log-hide-build- options.patch \ - file://0001-avoid-start-failure-with-bind-user.patch \ " -SRC_URI[md5sum] = "8ddab4b61fa4516fe404679c74e37960" -SRC_URI[sha256sum] ="
7e8c08192bcbaeb6e9f2391a70e67583b027b90e8c4bc1605da6eb126edde434"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +2
-0+SRC_URI[md5sum] = "61f30afc2108cdc230e08f51466fe2f4" +SRC_URI[sha256sum] ="
ce878aabcf01b61ed114522c32fff9e268b02da55b3c248349860bc3d0c8bdfa"
UPSTREAM_CHECK_URI= "https://ftp.isc.org/isc/bind9/"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +1
-3-UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/" -RECIPE_NO_UPDATE_REASON = "9.11 is LTS 2021" +RECIPE_NO_UPDATE_REASON = "even are stable" -inherit autotools update-rc.d systemd useradd pkgconfig
multilib_script
+inherit autotools update-rc.d systemd useradd pkgconfigmultilib_scriptupstream-version-is-even
MULTILIB_SCRIPTS= "${PN}:${bindir}/bind9-config
${PN}:${bindir}/isc-config.sh"meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +0
-0@@ -38,14 +34,10 @@ PACKAGECONFIG ?= "readline" PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
-PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with- randomdev=/dev/random,,"
PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-
install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"-ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
meta/recipes-connectivity/bind/bind_9.14.3.bb renamed from meta/recipes-connectivity/bind/bind_9.11.5-P4.bb +3
-5-EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \ - --disable-devpoll --enable-epoll --with-gost=no \ - --with-gssapi=no --with-ecdsa=yes --with-eddsa=no \ - --with-lmdb=no \ +EXTRA_OECONF = " --with-libtool --disable-devpoll --enable-epoll \ + --with-gssapi=no --with-lmdb=no \ --sysconfdir=${sysconfdir}/bind \ --with-openssl=${STAGING_DIR_HOST}${prefix} \ "@@ -126,7 +118,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h" FILES_${PN} += "${sbindir}/generate-rndc-key.sh" PACKAGE_BEFORE_PN += "${PN}-libs" -FILES_${PN}-libs = "${libdir}/*.so*" +FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so" FILES_${PN}-staticdev += "${libdir}/*.la" PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG','python3', 'python3-bind', '', d)}"
Signature · 1 line
2.7.4
Quoted 2 lines · Armin Kuster
Even releases are stable and supported for 1 year.
...
9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not.
Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release.
ESV (3 years supported) releases are planned when upstream is divisible by 4.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedIndeed; I think we should wait for 9.16, and take the latest in 9.11 meanwhile.
Alex
Quoted 29 lines · Adrian Bunk
Quoted 2 lines · Armin Kuster
Even releases are stable and supported for 1 year.
...9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not.
Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release.
ESV (3 years supported) releases are planned when upstream is divisible by 4.
cu
Adrian--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 5 lines · Adrian Bunk
Quoted 2 lines · Armin Kuster
Even releases are stable and supported for 1 year.
...9.11 upstream support covers the whole lifetime of Yocto 2.8, 9.14 upstream support does not.
dhcp server would need porting to 9.14 as well
Quoted 10 lines
Eve worse, Yocto 2.9 would ship with 9.14 that might become EOL around the time of the 2.9 release.
ESV (3 years supported) releases are planned when upstream is divisible by 4.
cu
Adrian