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-posix-ipc builds without posix memory queue support #916

Open
AleksandrVin opened this issue Jan 10, 2025 · 0 comments
Open

python3-posix-ipc builds without posix memory queue support #916

AleksandrVin opened this issue Jan 10, 2025 · 0 comments

Comments

@AleksandrVin
Copy link

AleksandrVin commented Jan 10, 2025

There is an issue during the Python3 package build. A prober.py script is meant to be run during the build process posix-ipc produces wrong probe results. package: python3-posix-ipc

Using the dev shell, it runs normally, though using receipt from open embedded builds without memory queue support, so the Python scripts fail with an appropriate error when run in qemu.

  File "/usr/lib/python3.12/site-packages/dd/service/receiver.py", line 18, in __init__
    self.message_queue = MessageQueueRepository(queue_name=queue_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dd/repository/file.py", line 152, in __init__
    self.queue = posix_ipc.MessageQueue(queue_name)
                 ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'posix_ipc' has no attribute 'MessageQueue'
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

1 participant