dev-python/pybluez-0.22 don't emerge - needed for homeassistant with USE=bluetooth_tracker #2362

Closed
opened 2023-11-02 18:13:15 +01:00 by zentoo · 1 comment

homeassistant with USE=bluetooth_tracker need dev-python/pybluez-0.2.

dev-python/pybluez-0.2 2 emerge doesn't complete:

2023-11-02 18:02:36,786 root INFO running build_ext
2023-11-02 18:02:36,846 root INFO building 'bluetooth._bluetooth' extension
2023-11-02 18:02:36,846 root INFO creating /var/tmp/portage/dev-python/pybluez-0.22/work/PyBluez-0.22-python3_11/build/temp.linux-x86_64-cpython-311
2023-11-02 18:02:36,846 root INFO creating /var/tmp/portage/dev-python/pybluez-0.22/work/PyBluez-0.22-python3_11/build/temp.linux-x86_64-cpython-311/bluez
2023-11-02 18:02:36,846 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=goldmont-plus --param=l1-cache-line-size=64 --param=l1-cache-size=24 --param=l2-cache-size=4096 -fPIC -I./port3 -I/usr/include/python3.11 -c bluez/btmodule.c -o /var/tmp/portage/dev-python/pybluez-0.22/work/PyBluez-0.22-python3_11/build/temp.linux-x86_64-cpython-311/bluez/btmodule.o
bluez/btmodule.c: In function ‘PyInit__bluetooth’:
bluez/btmodule.c:2837:29: error: lvalue required as left operand of assignment
 2837 |         Py_TYPE(&sock_type) = &PyType_Type;
      |                             ^
bluez/btmodule.c:2838:36: error: lvalue required as left operand of assignment
 2838 |         Py_TYPE(&sdp_session_type) = &PyType_Type;
      |                                    ^
error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1
homeassistant with `USE=bluetooth_tracker` need `dev-python/pybluez-0.2`. dev-python/pybluez-0.2 2 emerge doesn't complete: ``` 2023-11-02 18:02:36,786 root INFO running build_ext 2023-11-02 18:02:36,846 root INFO building 'bluetooth._bluetooth' extension 2023-11-02 18:02:36,846 root INFO creating /var/tmp/portage/dev-python/pybluez-0.22/work/PyBluez-0.22-python3_11/build/temp.linux-x86_64-cpython-311 2023-11-02 18:02:36,846 root INFO creating /var/tmp/portage/dev-python/pybluez-0.22/work/PyBluez-0.22-python3_11/build/temp.linux-x86_64-cpython-311/bluez 2023-11-02 18:02:36,846 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=goldmont-plus --param=l1-cache-line-size=64 --param=l1-cache-size=24 --param=l2-cache-size=4096 -fPIC -I./port3 -I/usr/include/python3.11 -c bluez/btmodule.c -o /var/tmp/portage/dev-python/pybluez-0.22/work/PyBluez-0.22-python3_11/build/temp.linux-x86_64-cpython-311/bluez/btmodule.o bluez/btmodule.c: In function ‘PyInit__bluetooth’: bluez/btmodule.c:2837:29: error: lvalue required as left operand of assignment 2837 | Py_TYPE(&sock_type) = &PyType_Type; | ^ bluez/btmodule.c:2838:36: error: lvalue required as left operand of assignment 2838 | Py_TYPE(&sdp_session_type) = &PyType_Type; | ^ error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 ```
onkelbeh added the
Bug
label 2023-11-02 19:41:11 +01:00
Owner
found a fix in https://github.com/pybluez/pybluez/pull/410
onkelbeh self-assigned this 2023-11-02 21:21:15 +01:00
onkelbeh added the
Python 3.11
label 2023-11-02 21:22:05 +01:00
Sign in to join this conversation.
No Label
Bug
Python 3.11
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#2362
No description provided.