Bug ID | 1109998 |
---|---|
Summary | python3-base without AF_BLUETOOTH support |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.3 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | bon@elektron.ikp.physik.tu-darmstadt.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Hello, python3-base does not have AF_BLUETOOTH support. You can check with > python3 >> import sysconfig >> print(sysconfig.get_config_vars()['HAVE_BLUETOOTH_BLUETOOTH_H']) >> print(sysconfig.get_config_vars()['HAVE_BLUETOOTH_H']) >> quit() Both print() commands will print 0. This is caused by a missing bluetooth.h header. Installing bluez-devel will install /usr/include/bluetooth/bluetooth.h. Rebuild of python3-base with bluez-devel installed will result in a AF_BLUETOOTH enabled python3. Please add bluez-devel as build requirement. == Additional information== I tried to rebuild from python3-base-3.4.6-12.6.1.src.rpm, but a stack overflow like https://github.com/scikit-learn-contrib/hdbscan/issues/149 happens. Running rpmbuild -bi --nocheck python3-base.spec aborts with: Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/python3-base-3.4.6-12.6.1.x86_64 warning: Installed (but unpackaged) file(s) found: /usr/lib64/python3.4/lib-dynload/_curses.cpython-34m.so ... even so I added %define _unpackaged_files_terminate_build 0 according to https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s07.html Does opensuse rpm support unpackaged_files_terminate_build 0?