On 16 Oct 2024, at 20:36, Alexander Kanavin via lists.openembedded.org 
<alex.kanavin=gmail....@lists.openembedded.org> wrote:
> diff --git a/meta/recipes-devtools/python/python3/fix-armv5.patch 
> b/meta/recipes-devtools/python/python3/fix-armv5.patch
> new file mode 100644

Probably worth mentioning this in the commit message.

> diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json 
> b/meta/recipes-devtools/python/python3/python3-manifest.json
> index 292c5bbc5da..4b7f9cc7e33 100644
> --- a/meta/recipes-devtools/python/python3/python3-manifest.json
> +++ b/meta/recipes-devtools/python/python3/python3-manifest.json
> @@ -103,17 +103,6 @@
>         ],
>         "cached": []
>     },
> -    "2to3": {
> -        "summary": "Python automated Python 2 to 3 code translator",
> -        "rdepends": [
> -            "core"
> -        ],
> -        "files": [
> -            "${bindir}/2to3*",
> -            "${libdir}/python${PYTHON_MAJMIN}/lib2to3"
> -        ],
> -        "cached": []
> -    },

Was 2to3 removed?  This isn’t in the commit message.

>         "files": [
> -            "${libdir}/python${PYTHON_MAJMIN}/chunk.py",
> -            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/audioop.*.so",
> -            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/ossaudiodev.*.so",
> -            "${libdir}/python${PYTHON_MAJMIN}/sndhdr.py",
> -            "${libdir}/python${PYTHON_MAJMIN}/sunau.py",
>             "${libdir}/python${PYTHON_MAJMIN}/wave.py"
>         ],

There’s been a lot of deprecation modules that are being removed in this 
release, might be worth listing them.

>     "crypt": {
>         "summary": "Python basic cryptographic and hashing support",
>         "rdepends": [
> -            "core",
> -            "math",
> -            "stringold"
> +            "core"
>         ],
>         "files": [
> -            "${libdir}/python${PYTHON_MAJMIN}/crypt.py",
>             "${libdir}/python${PYTHON_MAJMIN}/hashlib.py",
>             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_blake2.*.so",
> -            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_crypt.*.so",
>             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hashlib.*.so",
>             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_md5.*.so",
>             "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha1.*.so",

This explains the buildhistory-diff:

packages/cortexa57-poky-linux/python3/python3-crypt: RDEPENDS: removed 
"libxcrypt (['>= 4.4.36']) python3-math python3-stringold”

Is that package no longer building native code, or is it failing to build 
native code?

> @@ -909,22 +867,12 @@
>         "summary": "Python Internet Protocol servers",
>         "rdepends": [
>             "core",
> -            "crypt",
> -            "datetime",
> -            "email",
> -            "html",
> -            "io",
> -            "math",
> -            "mime",
> -            "netclient",
> -            "stringold"
> +            "io"
>         ],

That dependency list change seems suspiciously large.

> @@ -1147,7 +1092,6 @@
>             "core"
>         ],
>         "files": [
> -            "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so",
>             "${libdir}/python${PYTHON_MAJMIN}/tkinter"
>         ],
>         "cached": []

I still see a _tkinter.c in the cpython source tree, so this doesn’t seem right?

> +CACHED_CONFIGUREVARS:append:class-target = " \
> +                ac_cv_libatomic_needed=yes \

Why is this needed?

> +    d.setVar('ALLOW_EMPTY:${PN}-fcntl', '1')

Looks like you moved fcntl into core, this should be mentioned.  Is this an 
attempt at preserving the name for compatibility? Might be neater to have it as 
a RPROVIDES on -core instead.

> +    cp ${UNPACKDIR}/python3-manifest.json ${WORKDIR}
> +    cp ${UNPACKDIR}/get_module_deps3.py ${WORKDIR}

Did the manifest updating just not work? Would it be neater to just change the 
script to work in unpackdir instead of copying the files further?

Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206159): 
https://lists.openembedded.org/g/openembedded-core/message/206159
Mute This Topic: https://lists.openembedded.org/mt/109050859/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to