* [PATCH] python3: Fix QA warning
@ 2014-02-28 11:24 Richard Purdie
2014-02-28 17:20 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2014-02-28 11:24 UTC (permalink / raw)
To: openembedded-core
Addresses the warning:
WARNING: QA Issue: python3-native: configure was passed unrecognised options: --with-wctype-functions
since this option was removed in python 3.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/python/python3-native_3.3.3.bb b/meta/recipes-devtools/python/python3-native_3.3.3.bb
index ef33e43..72f7962 100644
--- a/meta/recipes-devtools/python/python3-native_3.3.3.bb
+++ b/meta/recipes-devtools/python/python3-native_3.3.3.bb
@@ -51,6 +51,9 @@ EXTRA_OEMAKE = '\
ARCH=${TARGET_ARCH} \
'
+# No ctypes option for python 3
+PYTHONLSBOPTS = ""
+
do_configure_prepend() {
autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
}
diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.3.3.bb
index 4eb2108..9c3531e 100644
--- a/meta/recipes-devtools/python/python3_3.3.3.bb
+++ b/meta/recipes-devtools/python/python3_3.3.3.bb
@@ -60,6 +60,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
EXTRA_OEMAKE += "CROSS_COMPILE=yes"
+# No ctypes option for python 3
+PYTHONLSBOPTS = ""
+
do_configure_prepend() {
rm -f ${S}/Makefile.orig
autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] python3: Fix QA warning
2014-02-28 11:24 [PATCH] python3: Fix QA warning Richard Purdie
@ 2014-02-28 17:20 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2014-02-28 17:20 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
On Feb 28, 2014, at 3:24 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> Addresses the warning:
>
> WARNING: QA Issue: python3-native: configure was passed unrecognised options: --with-wctype-functions
>
> since this option was removed in python 3.
indeed.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/recipes-devtools/python/python3-native_3.3.3.bb b/meta/recipes-devtools/python/python3-native_3.3.3.bb
> index ef33e43..72f7962 100644
> --- a/meta/recipes-devtools/python/python3-native_3.3.3.bb
> +++ b/meta/recipes-devtools/python/python3-native_3.3.3.bb
> @@ -51,6 +51,9 @@ EXTRA_OEMAKE = '\
> ARCH=${TARGET_ARCH} \
> '
>
> +# No ctypes option for python 3
> +PYTHONLSBOPTS = ""
> +
> do_configure_prepend() {
> autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
> }
> diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.3.3.bb
> index 4eb2108..9c3531e 100644
> --- a/meta/recipes-devtools/python/python3_3.3.3.bb
> +++ b/meta/recipes-devtools/python/python3_3.3.3.bb
> @@ -60,6 +60,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
> TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
> EXTRA_OEMAKE += "CROSS_COMPILE=yes"
>
> +# No ctypes option for python 3
> +PYTHONLSBOPTS = ""
> +
> do_configure_prepend() {
> rm -f ${S}/Makefile.orig
> autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-28 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 11:24 [PATCH] python3: Fix QA warning Richard Purdie
2014-02-28 17:20 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox