* [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path
@ 2021-08-11 12:39 Jan-Simon Möller
2021-08-17 12:24 ` Jan-Simon Möller
0 siblings, 1 reply; 4+ messages in thread
From: Jan-Simon Möller @ 2021-08-11 12:39 UTC (permalink / raw)
To: openembedded-devel; +Cc: Anatol Belski, Khem Raj, Jan-Simon Moeller
From: Anatol Belski <anbelski@linux.microsoft.com>
The configure script contains hardcoded lookup paths to /usr and other
paths that might interfere with the host. These are overwritten with the
staging dir locations for Poky compatibility.
Backport from meta-oe master rev. 74b66d1911118bac53033f77ba6d3923f4809d5a
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
---
.../xmlsec1/ensure-search-path-non-host.patch | 22 +++++++++++++++++++
.../recipes-support/xmlsec1/xmlsec1_1.2.30.bb | 1 +
2 files changed, 23 insertions(+)
create mode 100644 meta-oe/recipes-support/xmlsec1/xmlsec1/ensure-search-path-non-host.patch
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/ensure-search-path-non-host.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/ensure-search-path-non-host.patch
new file mode 100644
index 000000000..a5a298af0
--- /dev/null
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/ensure-search-path-non-host.patch
@@ -0,0 +1,22 @@
+xmlsec1: Fix configure QA error caused by host lookup path
+
+ERROR: mc:my-sdk:xmlsec1-1.2.30-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
+
+It will eventually arise after the configure QA as the configure script should only look at the staging sysroot dir, not at the host.
+
+Upstream-Status: Inappropriate [embedded specific]
+Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
+
+--- a/configure.ac.orig 2021-01-13 14:37:42.254991177 +0000
++++ b/configure.ac 2021-01-13 14:40:56.546269330 +0000
+@@ -250,8 +250,8 @@
+ dnl ==========================================================================
+ dnl Common installation locations
+ dnl ==========================================================================
+-COMMON_INCLUDE_DIR="/usr/include /usr/local/include"
+-COMMON_LIB_DIR="/usr/lib /usr/lib64 /usr/local/lib"
++COMMON_INCLUDE_DIR="${STAGING_INCDIR}"
++COMMON_LIB_DIR="${STAGING_LIBDIR}"
+ case $host in
+ i*86-*-linux-gnu) COMMON_LIB_DIR="$COMMON_LIB_DIR /usr/lib/i386-linux-gnu" ;;
+ x86_64-*-linux-gnu) COMMON_LIB_DIR="$COMMON_LIB_DIR /usr/lib/x86_64-linux-gnu" ;;
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb
index 20c7b2d37..391614b5f 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \
file://xmlsec1-examples-allow-build-in-separate-dir.patch \
file://0001-nss-nspr-fix-for-multilib.patch \
file://run-ptest \
+ file://ensure-search-path-non-host.patch \
"
SRC_URI[md5sum] = "b66ec21e0a0ac331afb4b1bc5c9ef966"
--
2.32.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path
2021-08-11 12:39 [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path Jan-Simon Möller
@ 2021-08-17 12:24 ` Jan-Simon Möller
2021-08-17 14:21 ` [oe] " Armin Kuster
0 siblings, 1 reply; 4+ messages in thread
From: Jan-Simon Möller @ 2021-08-17 12:24 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 7 bytes --]
Ping.
[-- Attachment #2: Type: text/html, Size: 7 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path
2021-08-17 12:24 ` Jan-Simon Möller
@ 2021-08-17 14:21 ` Armin Kuster
2021-09-10 16:19 ` Jan-Simon Möller
0 siblings, 1 reply; 4+ messages in thread
From: Armin Kuster @ 2021-08-17 14:21 UTC (permalink / raw)
To: Jan-Simon Möller, openembedded-devel
On 8/17/21 5:24 AM, Jan-Simon Möller wrote:
> Ping.
its in my test branch
https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/dunfell-nut&id=b472160c77dcfdf46e4d4eca69428b971238f4a9
takes a long time to build dunfell on my system.
-armin
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path
2021-08-17 14:21 ` [oe] " Armin Kuster
@ 2021-09-10 16:19 ` Jan-Simon Möller
0 siblings, 0 replies; 4+ messages in thread
From: Jan-Simon Möller @ 2021-09-10 16:19 UTC (permalink / raw)
To: akuster808; +Cc: openembedded-devel
Thanks!
> Gesendet: Dienstag, 17. August 2021 um 16:21 Uhr
> Von: "akuster808" <akuster808@gmail.com>
> An: "Jan-Simon Möller" <dl9pf@gmx.de>, openembedded-devel@lists.openembedded.org
> Betreff: Re: [oe] [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path
>
>
>
> On 8/17/21 5:24 AM, Jan-Simon Möller wrote:
> > Ping.
> its in my test branch
> https://git.openembedded.org/meta-openembedded-contrib/commit/?h=stable/dunfell-nut&id=b472160c77dcfdf46e4d4eca69428b971238f4a9
>
> takes a long time to build dunfell on my system.
>
> -armin
>
>
> >
> >
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-10 16:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 12:39 [meta-oe][dunfell][PATCH] backport: xmlsec1: Fix configure QA error caused by host lookup path Jan-Simon Möller
2021-08-17 12:24 ` Jan-Simon Möller
2021-08-17 14:21 ` [oe] " Armin Kuster
2021-09-10 16:19 ` Jan-Simon Möller
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.