* [PATCH] python-native: fix one do_populate_sysroot warning
@ 2018-10-25 8:59 changqing.li
2018-11-08 1:49 ` Changqing Li
0 siblings, 1 reply; 4+ messages in thread
From: changqing.li @ 2018-10-25 8:59 UTC (permalink / raw)
To: openembedded-core
From: Changqing Li <changqing.li@windriver.com>
Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so
setup.py will check db.h under include_dirs, for native build,
/usr/lib64 will be insert to postion 0 of include_dirs, so
it's priority is higher then our sysroot, cause db.h sysroot
is ignored, and rpath set to /usr/lib64. and this cause warning
when do_populate_sysroot. use append to fix it.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
...ative-fix-one-do_populate_sysroot-warning.patch | 39 ++++++++++++++++++++++
.../python/python-native_2.7.15.bb | 1 +
2 files changed, 40 insertions(+)
create mode 100644 meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
diff --git a/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
new file mode 100644
index 0000000..9898189
--- /dev/null
+++ b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
@@ -0,0 +1,39 @@
+From 12292444e1b3662b994bc223d92b8338fb0895ff Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Thu, 25 Oct 2018 07:32:14 +0000
+Subject: [PATCH] python-native: fix one do_populate_sysroot warning
+
+Fix below warning:
+WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
+work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
+usr/lib/python2.7/lib-dynload/_bsddb.so
+
+setup.py will check db.h under include_dirs, for native build,
+/usr/lib64 will be insert to postion 0 of include_dirs, so
+it's priority is higher then our sysroot, cause db.h sysroot
+is ignored, and rpath set to /usr/lib64. and this cause warning
+when do_populate_sysroot. use append to fix it.
+
+Upstream-Status: Inappropriate [oe-specific]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 7bf13ed..6c0f29b 100644
+--- a/setup.py
++++ b/setup.py
+@@ -40,7 +40,7 @@ def add_dir_to_list(dirlist, dir):
+ 1) 'dir' is not already in 'dirlist'
+ 2) 'dir' actually exists, and is a directory."""
+ if dir is not None and os.path.isdir(dir) and dir not in dirlist:
+- dirlist.insert(0, dir)
++ dirlist.append(dir)
+
+ def macosx_sdk_root():
+ """
+--
+2.18.0
+
diff --git a/meta/recipes-devtools/python/python-native_2.7.15.bb b/meta/recipes-devtools/python/python-native_2.7.15.bb
index 7c491fa..f9a9a5d 100644
--- a/meta/recipes-devtools/python/python-native_2.7.15.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.15.bb
@@ -16,6 +16,7 @@ SRC_URI += "\
file://builddir.patch \
file://parallel-makeinst-create-bindir.patch \
file://revert_use_of_sysconfigdata.patch \
+ file://0001-python-native-fix-one-do_populate_sysroot-warning.patch \
"
S = "${WORKDIR}/Python-${PV}"
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] python-native: fix one do_populate_sysroot warning
2018-10-25 8:59 [PATCH] python-native: fix one do_populate_sysroot warning changqing.li
@ 2018-11-08 1:49 ` Changqing Li
2018-11-22 7:31 ` Changqing Li
0 siblings, 1 reply; 4+ messages in thread
From: Changqing Li @ 2018-11-08 1:49 UTC (permalink / raw)
To: openembedded-core
Ping
On 10/25/18 4:59 PM, changqing.li@windriver.com wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> Fix below warning:
> WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
> work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
> usr/lib/python2.7/lib-dynload/_bsddb.so
>
> setup.py will check db.h under include_dirs, for native build,
> /usr/lib64 will be insert to postion 0 of include_dirs, so
> it's priority is higher then our sysroot, cause db.h sysroot
> is ignored, and rpath set to /usr/lib64. and this cause warning
> when do_populate_sysroot. use append to fix it.
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
> ...ative-fix-one-do_populate_sysroot-warning.patch | 39 ++++++++++++++++++++++
> .../python/python-native_2.7.15.bb | 1 +
> 2 files changed, 40 insertions(+)
> create mode 100644 meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>
> diff --git a/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
> new file mode 100644
> index 0000000..9898189
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
> @@ -0,0 +1,39 @@
> +From 12292444e1b3662b994bc223d92b8338fb0895ff Mon Sep 17 00:00:00 2001
> +From: Changqing Li <changqing.li@windriver.com>
> +Date: Thu, 25 Oct 2018 07:32:14 +0000
> +Subject: [PATCH] python-native: fix one do_populate_sysroot warning
> +
> +Fix below warning:
> +WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
> +work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
> +usr/lib/python2.7/lib-dynload/_bsddb.so
> +
> +setup.py will check db.h under include_dirs, for native build,
> +/usr/lib64 will be insert to postion 0 of include_dirs, so
> +it's priority is higher then our sysroot, cause db.h sysroot
> +is ignored, and rpath set to /usr/lib64. and this cause warning
> +when do_populate_sysroot. use append to fix it.
> +
> +Upstream-Status: Inappropriate [oe-specific]
> +
> +Signed-off-by: Changqing Li <changqing.li@windriver.com>
> +---
> + setup.py | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/setup.py b/setup.py
> +index 7bf13ed..6c0f29b 100644
> +--- a/setup.py
> ++++ b/setup.py
> +@@ -40,7 +40,7 @@ def add_dir_to_list(dirlist, dir):
> + 1) 'dir' is not already in 'dirlist'
> + 2) 'dir' actually exists, and is a directory."""
> + if dir is not None and os.path.isdir(dir) and dir not in dirlist:
> +- dirlist.insert(0, dir)
> ++ dirlist.append(dir)
> +
> + def macosx_sdk_root():
> + """
> +--
> +2.18.0
> +
> diff --git a/meta/recipes-devtools/python/python-native_2.7.15.bb b/meta/recipes-devtools/python/python-native_2.7.15.bb
> index 7c491fa..f9a9a5d 100644
> --- a/meta/recipes-devtools/python/python-native_2.7.15.bb
> +++ b/meta/recipes-devtools/python/python-native_2.7.15.bb
> @@ -16,6 +16,7 @@ SRC_URI += "\
> file://builddir.patch \
> file://parallel-makeinst-create-bindir.patch \
> file://revert_use_of_sysconfigdata.patch \
> + file://0001-python-native-fix-one-do_populate_sysroot-warning.patch \
> "
>
> S = "${WORKDIR}/Python-${PV}"
--
BRs
Sandy(Li Changqing)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] python-native: fix one do_populate_sysroot warning
2018-11-08 1:49 ` Changqing Li
@ 2018-11-22 7:31 ` Changqing Li
2018-12-05 8:12 ` Changqing Li
0 siblings, 1 reply; 4+ messages in thread
From: Changqing Li @ 2018-11-22 7:31 UTC (permalink / raw)
To: openembedded-core
Ping
On 11/8/18 9:49 AM, Changqing Li wrote:
> Ping
>
> On 10/25/18 4:59 PM, changqing.li@windriver.com wrote:
>> From: Changqing Li <changqing.li@windriver.com>
>>
>> Fix below warning:
>> WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
>> work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
>> usr/lib/python2.7/lib-dynload/_bsddb.so
>>
>> setup.py will check db.h under include_dirs, for native build,
>> /usr/lib64 will be insert to postion 0 of include_dirs, so
>> it's priority is higher then our sysroot, cause db.h sysroot
>> is ignored, and rpath set to /usr/lib64. and this cause warning
>> when do_populate_sysroot. use append to fix it.
>>
>> Signed-off-by: Changqing Li <changqing.li@windriver.com>
>> ---
>> ...ative-fix-one-do_populate_sysroot-warning.patch | 39
>> ++++++++++++++++++++++
>> .../python/python-native_2.7.15.bb | 1 +
>> 2 files changed, 40 insertions(+)
>> create mode 100644
>> meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>>
>> diff --git
>> a/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>> b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>>
>> new file mode 100644
>> index 0000000..9898189
>> --- /dev/null
>> +++
>> b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>> @@ -0,0 +1,39 @@
>> +From 12292444e1b3662b994bc223d92b8338fb0895ff Mon Sep 17 00:00:00 2001
>> +From: Changqing Li <changqing.li@windriver.com>
>> +Date: Thu, 25 Oct 2018 07:32:14 +0000
>> +Subject: [PATCH] python-native: fix one do_populate_sysroot warning
>> +
>> +Fix below warning:
>> +WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
>> +work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
>> +usr/lib/python2.7/lib-dynload/_bsddb.so
>> +
>> +setup.py will check db.h under include_dirs, for native build,
>> +/usr/lib64 will be insert to postion 0 of include_dirs, so
>> +it's priority is higher then our sysroot, cause db.h sysroot
>> +is ignored, and rpath set to /usr/lib64. and this cause warning
>> +when do_populate_sysroot. use append to fix it.
>> +
>> +Upstream-Status: Inappropriate [oe-specific]
>> +
>> +Signed-off-by: Changqing Li <changqing.li@windriver.com>
>> +---
>> + setup.py | 2 +-
>> + 1 file changed, 1 insertion(+), 1 deletion(-)
>> +
>> +diff --git a/setup.py b/setup.py
>> +index 7bf13ed..6c0f29b 100644
>> +--- a/setup.py
>> ++++ b/setup.py
>> +@@ -40,7 +40,7 @@ def add_dir_to_list(dirlist, dir):
>> + 1) 'dir' is not already in 'dirlist'
>> + 2) 'dir' actually exists, and is a directory."""
>> + if dir is not None and os.path.isdir(dir) and dir not in dirlist:
>> +- dirlist.insert(0, dir)
>> ++ dirlist.append(dir)
>> +
>> + def macosx_sdk_root():
>> + """
>> +--
>> +2.18.0
>> +
>> diff --git a/meta/recipes-devtools/python/python-native_2.7.15.bb
>> b/meta/recipes-devtools/python/python-native_2.7.15.bb
>> index 7c491fa..f9a9a5d 100644
>> --- a/meta/recipes-devtools/python/python-native_2.7.15.bb
>> +++ b/meta/recipes-devtools/python/python-native_2.7.15.bb
>> @@ -16,6 +16,7 @@ SRC_URI += "\
>> file://builddir.patch \
>> file://parallel-makeinst-create-bindir.patch \
>> file://revert_use_of_sysconfigdata.patch \
>> + file://0001-python-native-fix-one-do_populate_sysroot-warning.patch \
>> "
>> S = "${WORKDIR}/Python-${PV}"
>
--
BRs
Sandy(Li Changqing)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] python-native: fix one do_populate_sysroot warning
2018-11-22 7:31 ` Changqing Li
@ 2018-12-05 8:12 ` Changqing Li
0 siblings, 0 replies; 4+ messages in thread
From: Changqing Li @ 2018-12-05 8:12 UTC (permalink / raw)
To: openembedded-core
ping
On 11/22/18 3:31 PM, Changqing Li wrote:
> Ping
>
> On 11/8/18 9:49 AM, Changqing Li wrote:
>> Ping
>>
>> On 10/25/18 4:59 PM, changqing.li@windriver.com wrote:
>>> From: Changqing Li <changqing.li@windriver.com>
>>>
>>> Fix below warning:
>>> WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
>>> work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
>>> usr/lib/python2.7/lib-dynload/_bsddb.so
>>>
>>> setup.py will check db.h under include_dirs, for native build,
>>> /usr/lib64 will be insert to postion 0 of include_dirs, so
>>> it's priority is higher then our sysroot, cause db.h sysroot
>>> is ignored, and rpath set to /usr/lib64. and this cause warning
>>> when do_populate_sysroot. use append to fix it.
>>>
>>> Signed-off-by: Changqing Li <changqing.li@windriver.com>
>>> ---
>>> ...ative-fix-one-do_populate_sysroot-warning.patch | 39
>>> ++++++++++++++++++++++
>>> .../python/python-native_2.7.15.bb | 1 +
>>> 2 files changed, 40 insertions(+)
>>> create mode 100644
>>> meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>>>
>>> diff --git
>>> a/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>>> b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>>>
>>> new file mode 100644
>>> index 0000000..9898189
>>> --- /dev/null
>>> +++
>>> b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
>>> @@ -0,0 +1,39 @@
>>> +From 12292444e1b3662b994bc223d92b8338fb0895ff Mon Sep 17 00:00:00 2001
>>> +From: Changqing Li <changqing.li@windriver.com>
>>> +Date: Thu, 25 Oct 2018 07:32:14 +0000
>>> +Subject: [PATCH] python-native: fix one do_populate_sysroot warning
>>> +
>>> +Fix below warning:
>>> +WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
>>> +work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
>>> +usr/lib/python2.7/lib-dynload/_bsddb.so
>>> +
>>> +setup.py will check db.h under include_dirs, for native build,
>>> +/usr/lib64 will be insert to postion 0 of include_dirs, so
>>> +it's priority is higher then our sysroot, cause db.h sysroot
>>> +is ignored, and rpath set to /usr/lib64. and this cause warning
>>> +when do_populate_sysroot. use append to fix it.
>>> +
>>> +Upstream-Status: Inappropriate [oe-specific]
>>> +
>>> +Signed-off-by: Changqing Li <changqing.li@windriver.com>
>>> +---
>>> + setup.py | 2 +-
>>> + 1 file changed, 1 insertion(+), 1 deletion(-)
>>> +
>>> +diff --git a/setup.py b/setup.py
>>> +index 7bf13ed..6c0f29b 100644
>>> +--- a/setup.py
>>> ++++ b/setup.py
>>> +@@ -40,7 +40,7 @@ def add_dir_to_list(dirlist, dir):
>>> + 1) 'dir' is not already in 'dirlist'
>>> + 2) 'dir' actually exists, and is a directory."""
>>> + if dir is not None and os.path.isdir(dir) and dir not in dirlist:
>>> +- dirlist.insert(0, dir)
>>> ++ dirlist.append(dir)
>>> +
>>> + def macosx_sdk_root():
>>> + """
>>> +--
>>> +2.18.0
>>> +
>>> diff --git a/meta/recipes-devtools/python/python-native_2.7.15.bb
>>> b/meta/recipes-devtools/python/python-native_2.7.15.bb
>>> index 7c491fa..f9a9a5d 100644
>>> --- a/meta/recipes-devtools/python/python-native_2.7.15.bb
>>> +++ b/meta/recipes-devtools/python/python-native_2.7.15.bb
>>> @@ -16,6 +16,7 @@ SRC_URI += "\
>>> file://builddir.patch \
>>> file://parallel-makeinst-create-bindir.patch \
>>> file://revert_use_of_sysconfigdata.patch \
>>> + file://0001-python-native-fix-one-do_populate_sysroot-warning.patch \
>>> "
>>> S = "${WORKDIR}/Python-${PV}"
>>
--
BRs
Sandy(Li Changqing)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-05 8:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-25 8:59 [PATCH] python-native: fix one do_populate_sysroot warning changqing.li
2018-11-08 1:49 ` Changqing Li
2018-11-22 7:31 ` Changqing Li
2018-12-05 8:12 ` Changqing Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox