meta-networking: fix recipes build with external tool-set
PATCH 1/1 meta-networking: fix recipes build with external tool-set
- drbd-utils: fix native tool dependency which was implicitly met while building with source GCC tool-set.
- unbound: Use HOST_SYS variable instead of TARGET_PREFIX for libtool as TARGET_PREFIX may vary from source GCC tool-set to external GCC tool-set. Also, libtool-cross is installed in recipe sysroot using HOST_SYS variable only.
--- meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++ meta-networking/recipes-support/unbound/unbound_1.9.4.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb +2 -0
@@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases" SYSTEMD_SERVICE_${PN} = "drbd.service" SYSTEMD_AUTO_ENABLE = "disable" +DEPENDS = "flex-native" + inherit autotools-brokensep systemd EXTRA_OECONF = " \
meta-networking/recipes-support/unbound/unbound_1.9.4.bb +1 -1
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \ --with-ssl=${STAGING_EXECPREFIXDIR} \ - libtool=${TARGET_PREFIX}libtool \ + libtool=${HOST_SYS}-libtool \ "
Signature · 1 line
2.7.4
Quoted 7 lines · Sumit Garg
- drbd-utils: fix native tool dependency which was implicitly met while building with source GCC tool-set.
- unbound: UseHOST_SYSvariable instead ofTARGET_PREFIXfor libtool asTARGET_PREFIXmay vary from source GCC tool-set to external GCC tool-set. Also, libtool-cross is installed in recipe sysroot usingHOST_SYSvariable only.
Please divide this into two patches since they seem to solve different problems. Also remove meta-networking from commit summary line and replace it with recipe name.
Quoted 33 lines
Signed-off-by Sumit Garg <[email protected]>--- meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++ meta-networking/recipes-support/unbound/unbound_1.9.4.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb +2
-0@@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases" SYSTEMD_SERVICE_${PN} = "drbd.service" SYSTEMD_AUTO_ENABLE = "disable" +DEPENDS = "flex-native" + inherit autotools-brokensep systemd EXTRA_OECONF = " \meta-networking/recipes-support/unbound/unbound_1.9.4.bb +1
-1@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \ --with-ssl=${STAGING_EXECPREFIXDIR} \ - libtool=${TARGET_PREFIX}libtool \ + libtool=${HOST_SYS}-libtool \ "
Quoted 11 lines · Khem Raj
Quoted 7 lines · Sumit Garg
- drbd-utils: fix native tool dependency which was implicitly met while building with source GCC tool-set.
- unbound: UseHOST_SYSvariable instead ofTARGET_PREFIXfor libtool asTARGET_PREFIXmay vary from source GCC tool-set to external GCC tool-set. Also, libtool-cross is installed in recipe sysroot usingHOST_SYSvariable only.
Quoted 3 lines
Please divide this into two patches since they seem to solve different problems. Also remove meta-networking from commit summary line and replace it with recipe name.
Ack.
-Sumit
Quoted 35 lines
Quoted 34 lines
Signed-off-by Sumit Garg <[email protected]>--- meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++ meta-networking/recipes-support/unbound/unbound_1.9.4.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb +2
-0@@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases" SYSTEMD_SERVICE_${PN} = "drbd.service" SYSTEMD_AUTO_ENABLE = "disable" +DEPENDS = "flex-native" + inherit autotools-brokensep systemd EXTRA_OECONF = " \meta-networking/recipes-support/unbound/unbound_1.9.4.bb +1
-1@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \ --with-ssl=${STAGING_EXECPREFIXDIR} \ - libtool=${TARGET_PREFIX}libtool \ + libtool=${HOST_SYS}-libtool \ "
Quoted 31 lines · Sumit Garg
- drbd-utils: fix native tool dependency which was implicitly met while building with source GCC tool-set.
- unbound: UseHOST_SYSvariable instead ofTARGET_PREFIXfor libtool asTARGET_PREFIXmay vary from source GCC tool-set to external GCC tool-set. Also, libtool-cross is installed in recipe sysroot usingHOST_SYSvariable only.Signed-off-by Sumit Garg <[email protected]>--- meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++ meta-networking/recipes-support/unbound/unbound_1.9.4.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb +2
-0@@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases" SYSTEMD_SERVICE_${PN} = "drbd.service" SYSTEMD_AUTO_ENABLE = "disable" +DEPENDS = "flex-native" + inherit autotools-brokensep systemd EXTRA_OECONF = " \meta-networking/recipes-support/unbound/unbound_1.9.4.bb +0
-0
meta-networking/recipes-support/unbound/unbound_1.9.4.bb S = "${WORKDIR}/git" · line 28
Quoted 7 lines
meta-networking/recipes-support/unbound/unbound_1.9.4.bb +1
-1@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \ --with-ssl=${STAGING_EXECPREFIXDIR} \ - libtool=${TARGET_PREFIX}libtool \ + libtool=${HOST_SYS}-libtool \ "
there is a build error happening in unbound see [1], this is using musl/aarch64
Quoted 44 lines · Khem Raj
Quoted 31 lines · Sumit Garg
- drbd-utils: fix native tool dependency which was implicitly met while building with source GCC tool-set.
- unbound: UseHOST_SYSvariable instead ofTARGET_PREFIXfor libtool asTARGET_PREFIXmay vary from source GCC tool-set to external GCC tool-set. Also, libtool-cross is installed in recipe sysroot usingHOST_SYSvariable only.Signed-off-by Sumit Garg <[email protected]>--- meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++ meta-networking/recipes-support/unbound/unbound_1.9.4.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb +2
-0@@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases" SYSTEMD_SERVICE_${PN} = "drbd.service" SYSTEMD_AUTO_ENABLE = "disable" +DEPENDS = "flex-native" + inherit autotools-brokensep systemd EXTRA_OECONF = " \meta-networking/recipes-support/unbound/unbound_1.9.4.bb +0
-0meta-networking/recipes-support/unbound/unbound_1.9.4.bb S = "${WORKDIR}/git" · line 28
Quoted 7 lines
meta-networking/recipes-support/unbound/unbound_1.9.4.bb +1
-1@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \ --with-ssl=${STAGING_EXECPREFIXDIR} \ - libtool=${TARGET_PREFIX}libtool \ + libtool=${HOST_SYS}-libtool \ "there is a build error happening in unbound see [1], this is using musl/aarch64
Quoted 2 lines
It doesn't seem to be related to this patch as "TARGET_PREFIX" and "HOST_SYS" for musl/aarch64 seems to point to the same libtool:
"aarch64-yoe-linux-musl-libtool". Could you reproduce this error without this patch?
-Sumit