Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3-pycryptodome_3.9.4 does not have module named 'Cryptodome' #187

Closed
RajeshRavi-brcm opened this issue Feb 21, 2020 · 2 comments
Closed

Comments

@RajeshRavi-brcm
Copy link
Contributor

meta-openembedded/meta-python/recipes-devtools/python/python3-pycryptodome_3.9.4.bb does not have Cryptodome.

I see error: "ModuleNotFoundError: No module named 'Cryptodome"
when I use DEPENDS += "python3-pycryptodome-native" in optee_os recipe:

OP-TEE/optee_os#3624

Interestingly, Cryptodome module is found in python counter part of the recipe: python-pycryptodomex_3.9.4.bb.

Log

find tmp/ -path '*/Cryptodome/init.py'
tmp/work/x86_64-linux/python-pycryptodomex-native/3.9.4-r0/pycryptodomex-3.9.4/lib/Cryptodome/init.py
tmp/work/x86_64-linux/python-pycryptodomex-native/3.9.4-r0/pycryptodomex-3.9.4/build/lib.linux-x86_64-2.7/Cryptodome/init.py
tmp/work/x86_64-linux/python-pycryptodomex-native/3.9.4-r0/image/home/build/ns3/poky/build/tmp/work/x86_64-linux/python-pycryptodomex-native/3.9.4-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages/Cryptodome/init.py
tmp/work/x86_64-linux/python-pycryptodomex-native/3.9.4-r0/sysroot-destdir/home/build/ns3/poky/build/tmp/work/x86_64-linux/python-pycryptodomex-native/3.9.4-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages/Cryptodome/init.py
tmp/sysroots-components/x86_64/python-pycryptodomex-native/usr/lib/python2.7/site-packages/Cryptodome/init.py

@kraj
Copy link
Contributor

kraj commented Feb 21, 2020

Can you create a patch for it ?

@RajeshRavi-brcm
Copy link
Contributor Author

RajeshRavi-brcm commented Feb 21, 2020

I posted the working patch in following thread, but github has misinterpreted it as formatting.
OP-TEE/optee_os#3624
It did not allow me to attach patch file.
I attached the patch for adding new python3-pycryptodomex recipe renamed as .txt file.
python3-pycryptodomex.patch.txt

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Apr 3, 2022
42.1
====
* Fixed URI parsing issue that can lead to crash [openembedded#187]
* Updated location for appdata screenshot (Sophie Herold)

42.0
====
* Updated appdata screenshot (Sophie Herold)

42.beta
=======
* Add a nightly app icon (Jakub Steiner)
* Use HdyApplicationWindow for rounded bottom corners (Christopher Davis)
* Always use headerbar (Christopher Davis)
* Support color scheme (Alexander Mikhaylenko)
* Add flatpak manifest (Alexander Mikhaylenko)
* Align app name in metadata with .desktop name (Sophie Herold)
* Fix up issues with reload, including reloading on theme change (Shaun McCance)
* Stop building the gtk-docs, because they are unused (Shaun McCance)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
schnitzeltony added a commit to schnitzeltony/meta-openembedded that referenced this issue Apr 3, 2022
42.1
====
* Fixed URI parsing issue that can lead to crash [openembedded#187]
* Updated location for appdata screenshot (Sophie Herold)

42.0
====
* Updated appdata screenshot (Sophie Herold)

42.beta
=======
* Add a nightly app icon (Jakub Steiner)
* Use HdyApplicationWindow for rounded bottom corners (Christopher Davis)
* Always use headerbar (Christopher Davis)
* Support color scheme (Alexander Mikhaylenko)
* Add flatpak manifest (Alexander Mikhaylenko)
* Align app name in metadata with .desktop name (Sophie Herold)
* Fix up issues with reload, including reloading on theme change (Shaun McCance)
* Stop building the gtk-docs, because they are unused (Shaun McCance)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Apr 4, 2022
42.1
====
* Fixed URI parsing issue that can lead to crash [openembedded#187]
* Updated location for appdata screenshot (Sophie Herold)

42.0
====
* Updated appdata screenshot (Sophie Herold)

42.beta
=======
* Add a nightly app icon (Jakub Steiner)
* Use HdyApplicationWindow for rounded bottom corners (Christopher Davis)
* Always use headerbar (Christopher Davis)
* Support color scheme (Alexander Mikhaylenko)
* Add flatpak manifest (Alexander Mikhaylenko)
* Align app name in metadata with .desktop name (Sophie Herold)
* Fix up issues with reload, including reloading on theme change (Shaun McCance)
* Stop building the gtk-docs, because they are unused (Shaun McCance)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Apr 4, 2022
42.1
====
* Fixed URI parsing issue that can lead to crash [openembedded#187]
* Updated location for appdata screenshot (Sophie Herold)

42.0
====
* Updated appdata screenshot (Sophie Herold)

42.beta
=======
* Add a nightly app icon (Jakub Steiner)
* Use HdyApplicationWindow for rounded bottom corners (Christopher Davis)
* Always use headerbar (Christopher Davis)
* Support color scheme (Alexander Mikhaylenko)
* Add flatpak manifest (Alexander Mikhaylenko)
* Align app name in metadata with .desktop name (Sophie Herold)
* Fix up issues with reload, including reloading on theme change (Shaun McCance)
* Stop building the gtk-docs, because they are unused (Shaun McCance)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit that referenced this issue Apr 7, 2022
42.1
====
* Fixed URI parsing issue that can lead to crash [#187]
* Updated location for appdata screenshot (Sophie Herold)

42.0
====
* Updated appdata screenshot (Sophie Herold)

42.beta
=======
* Add a nightly app icon (Jakub Steiner)
* Use HdyApplicationWindow for rounded bottom corners (Christopher Davis)
* Always use headerbar (Christopher Davis)
* Support color scheme (Alexander Mikhaylenko)
* Add flatpak manifest (Alexander Mikhaylenko)
* Align app name in metadata with .desktop name (Sophie Herold)
* Fix up issues with reload, including reloading on theme change (Shaun McCance)
* Stop building the gtk-docs, because they are unused (Shaun McCance)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Dec 3, 2022
Changelog:
==========
- Add smcroutectl batch support, issue openembedded#189. Based on the IPC support added in issue openembedded#185
- Fix openembedded#178: invalid systemd daemon type Simple/Notify vs simple/notify
- Fix openembedded#179: typo in wildcard routes section of README
- Fix openembedded#180: minor typo in file and directory names in documentation
- Fix openembedded#183: casting in IPC code hides error handling of recv()
- Fix openembedded#186: NULL pointer dereference in utimensat() replacement function.
  Found accidentally by Alexey Smirnov. Only triggered on systems that don't
  have a native utimensat() in their C-library, or if you try to build
  SMCRoute without using its own build system ...
- Fix openembedded#187: strange behavior joining/leaving the same group
- Fix openembedded#192: typo in README

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Dec 3, 2022
Changelog:
==========
- Add smcroutectl batch support, issue openembedded#189. Based on the IPC support added in issue openembedded#185
- Fix openembedded#178: invalid systemd daemon type Simple/Notify vs simple/notify
- Fix openembedded#179: typo in wildcard routes section of README
- Fix openembedded#180: minor typo in file and directory names in documentation
- Fix openembedded#183: casting in IPC code hides error handling of recv()
- Fix openembedded#186: NULL pointer dereference in utimensat() replacement function.
  Found accidentally by Alexey Smirnov. Only triggered on systems that don't
  have a native utimensat() in their C-library, or if you try to build
  SMCRoute without using its own build system ...
- Fix openembedded#187: strange behavior joining/leaving the same group
- Fix openembedded#192: typo in README

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit that referenced this issue Jan 28, 2023
Changelog:
==========
- Add smcroutectl batch support, issue #189. Based on the IPC support added in issue #185
- Fix #178: invalid systemd daemon type Simple/Notify vs simple/notify
- Fix #179: typo in wildcard routes section of README
- Fix #180: minor typo in file and directory names in documentation
- Fix #183: casting in IPC code hides error handling of recv()
- Fix #186: NULL pointer dereference in utimensat() replacement function.
  Found accidentally by Alexey Smirnov. Only triggered on systems that don't
  have a native utimensat() in their C-library, or if you try to build
  SMCRoute without using its own build system ...
- Fix #187: strange behavior joining/leaving the same group
- Fix #192: typo in README

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit abc5011)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue May 28, 2024
Changelog:
============
- Fix typo in example docs
- Update --table example
- Include CONFIG_ARGS in Metadata
- Fix typos discovered by codespell
- tox.ini: Replace flake8 with ruff
- Add some ruff rules for pyupgrade
- Disable TurboBoost tuning settings on non-Intel
- Fix logic in MSR availability test
- openembeddedgh-187: Support environment variables PYTHON_GIL / PYTHON_CPU_COUNT

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue May 28, 2024
Changelog:
============
- Fix typo in example docs
- Update --table example
- Include CONFIG_ARGS in Metadata
- Fix typos discovered by codespell
- tox.ini: Replace flake8 with ruff
- Add some ruff rules for pyupgrade
- Disable TurboBoost tuning settings on non-Intel
- Fix logic in MSR availability test
- openembeddedgh-187: Support environment variables PYTHON_GIL / PYTHON_CPU_COUNT

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants