>>> py3-bluez: Building community/py3-bluez 0.23-r6 (using abuild 3.12.0-r0) started Fri, 27 Oct 2023 20:15:21 +0000 >>> py3-bluez: Checking sanity of /home/buildozer/aports/community/py3-bluez/APKBUILD... >>> py3-bluez: Analyzing dependencies... >>> py3-bluez: Installing for build: build-base python3-dev py3-setuptools bluez-dev (1/22) Installing libbz2 (1.0.8-r6) (2/22) Installing libffi (3.4.4-r3) (3/22) Installing gdbm (1.23-r1) (4/22) Installing xz-libs (5.4.4-r0) (5/22) Installing mpdecimal (2.5.1-r2) (6/22) Installing libpanelw (6.4_p20231007-r0) (7/22) Installing readline (8.2.1-r2) (8/22) Installing sqlite-libs (3.43.2-r0) (9/22) Installing python3 (3.11.6-r1) (10/22) Installing python3-pycache-pyc0 (3.11.6-r1) (11/22) Installing pyc (3.11.6-r1) (12/22) Installing python3-pyc (3.11.6-r1) (13/22) Installing python3-dev (3.11.6-r1) (14/22) Installing py3-parsing (3.1.1-r0) (15/22) Installing py3-parsing-pyc (3.1.1-r0) (16/22) Installing py3-packaging (23.2-r0) (17/22) Installing py3-packaging-pyc (23.2-r0) (18/22) Installing py3-setuptools (68.2.2-r0) (19/22) Installing py3-setuptools-pyc (68.2.2-r0) (20/22) Installing bluez-libs (5.70-r0) (21/22) Installing bluez-dev (5.70-r0) (22/22) Installing .makedepends-py3-bluez (20231027.201538) Executing busybox-1.36.1-r13.trigger OK: 475 MiB in 124 packages >>> py3-bluez: Cleaning up srcdir >>> py3-bluez: Cleaning up pkgdir >>> py3-bluez: Cleaning up tmpdir >>> py3-bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/py3-bluez-0.23.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-bluez: Fetching py3-bluez-0.23.tar.gz::https://github.com/pybluez/pybluez/archive/0.23.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13005 0 13005 0 0 19642 0 --:--:-- --:--:-- --:--:-- 19642 100 210k 0 210k 0 0 299k 0 --:--:-- --:--:-- --:--:-- 4829k >>> py3-bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/py3-bluez-0.23.tar.gz >>> py3-bluez: Checking sha512sums... py3-bluez-0.23.tar.gz: OK setuptools59.patch: OK py3.11.patch: OK >>> py3-bluez: Unpacking /var/cache/distfiles/v3.19/py3-bluez-0.23.tar.gz... >>> py3-bluez: setuptools59.patch patching file setup.py >>> py3-bluez: py3.11.patch patching file bluez/btmodule.c /usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to bluetooth/__init__.py RefactoringTool: Refactored bluetooth/bluez.py RefactoringTool: No changes to bluetooth/btcommon.py RefactoringTool: No changes to bluetooth/macos.py RefactoringTool: No changes to bluetooth/msbt.py RefactoringTool: No changes to bluetooth/widcomm.py RefactoringTool: Files that were modified: RefactoringTool: bluetooth/__init__.py RefactoringTool: bluetooth/bluez.py RefactoringTool: bluetooth/btcommon.py RefactoringTool: bluetooth/macos.py RefactoringTool: bluetooth/msbt.py RefactoringTool: bluetooth/widcomm.py --- bluetooth/bluez.py (original) +++ bluetooth/bluez.py (refactored) @@ -151,9 +151,9 @@ def _get_available_ports(protocol): if protocol == RFCOMM: - return range (1, 31) + return list(range(1, 31)) elif protocol == L2CAP: - return range (0x1001, 0x8000, 2) + return list(range(0x1001, 0x8000, 2)) else: return [0] running build running build_py creating build creating build/lib.linux-i686-cpython-311 creating build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/macos.py -> build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/ble.py -> build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/__init__.py -> build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/msbt.py -> build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-i686-cpython-311/bluetooth copying bluetooth/bluez.py -> build/lib.linux-i686-cpython-311/bluetooth running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-i686-cpython-311 creating build/temp.linux-i686-cpython-311/bluez gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -I./port3 -I/usr/include/python3.11 -c bluez/btmodule.c -o build/temp.linux-i686-cpython-311/bluez/btmodule.o gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -I./port3 -I/usr/include/python3.11 -c bluez/btsdp.c -o build/temp.linux-i686-cpython-311/bluez/btsdp.o gcc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security build/temp.linux-i686-cpython-311/bluez/btmodule.o build/temp.linux-i686-cpython-311/bluez/btsdp.o -L/usr/lib -lbluetooth -o build/lib.linux-i686-cpython-311/bluetooth/_bluetooth.cpython-311-i386-linux-musl.so >>> py3-bluez: Entering fakeroot... running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/buildozer/aports/community/py3-bluez/pkg creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11 creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/btcommon.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/_bluetooth.cpython-311-i386-linux-musl.so -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/macos.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/ble.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/__init__.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/msbt.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/widcomm.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth copying build/lib.linux-i686-cpython-311/bluetooth/bluez.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/btcommon.py to btcommon.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/macos.py to macos.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/ble.py to ble.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/__init__.py to __init__.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/msbt.py to msbt.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/widcomm.py to widcomm.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/bluez.py to bluez.cpython-311.pyc running install_egg_info running egg_info creating PyBluez.egg-info writing PyBluez.egg-info/PKG-INFO writing dependency_links to PyBluez.egg-info/dependency_links.txt writing eager_resources to PyBluez.egg-info/eager_resources.txt writing requirements to PyBluez.egg-info/requires.txt writing top-level names to PyBluez.egg-info/top_level.txt writing manifest file 'PyBluez.egg-info/SOURCES.txt' reading manifest file 'PyBluez.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README' warning: no files found matching '*.c' under directory 'macos' warning: no previously-included files matching '*.pyc' found under directory '*' warning: no previously-included files matching '*.o' found under directory '*' warning: no previously-included files matching '*.opp' found under directory '*' adding license file 'COPYING' writing manifest file 'PyBluez.egg-info/SOURCES.txt' Copying PyBluez.egg-info to /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/PyBluez-0.23-py3.11.egg-info running install_scripts >>> py3-bluez-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.11/site-packages/bluetooth/__pycache__' -> '/home/buildozer/aports/community/py3-bluez/pkg/py3-bluez-pyc/usr/lib/python3.11/site-packages/bluetooth/__pycache__' >>> py3-bluez-pyc*: Preparing subpackage py3-bluez-pyc... >>> py3-bluez-pyc*: Running postcheck for py3-bluez-pyc >>> py3-bluez*: Running postcheck for py3-bluez >>> py3-bluez*: Preparing package py3-bluez... >>> py3-bluez*: Stripping binaries >>> py3-bluez-pyc*: Scanning shared objects >>> py3-bluez*: Scanning shared objects >>> py3-bluez-pyc*: Tracing dependencies... python3~3.11 >>> py3-bluez-pyc*: Package size: 168.0 KB >>> py3-bluez-pyc*: Compressing data... >>> py3-bluez-pyc*: Create checksum... >>> py3-bluez-pyc*: Create py3-bluez-pyc-0.23-r6.apk >>> py3-bluez*: Tracing dependencies... python3~3.11 so:libbluetooth.so.3 so:libc.musl-x86.so.1 >>> py3-bluez*: Package size: 240.0 KB >>> py3-bluez*: Compressing data... >>> py3-bluez*: Create checksum... >>> py3-bluez*: Create py3-bluez-0.23-r6.apk >>> py3-bluez: Build complete at Fri, 27 Oct 2023 20:15:45 +0000 elapsed time 0h 0m 24s >>> py3-bluez: Cleaning up srcdir >>> py3-bluez: Cleaning up pkgdir >>> py3-bluez: Uninstalling dependencies... (1/22) Purging .makedepends-py3-bluez (20231027.201538) (2/22) Purging python3-dev (3.11.6-r1) (3/22) Purging py3-setuptools-pyc (68.2.2-r0) (4/22) Purging py3-setuptools (68.2.2-r0) (5/22) Purging py3-packaging-pyc (23.2-r0) (6/22) Purging py3-packaging (23.2-r0) (7/22) Purging py3-parsing-pyc (3.1.1-r0) (8/22) Purging py3-parsing (3.1.1-r0) (9/22) Purging bluez-dev (5.70-r0) (10/22) Purging bluez-libs (5.70-r0) (11/22) Purging python3-pyc (3.11.6-r1) (12/22) Purging python3-pycache-pyc0 (3.11.6-r1) (13/22) Purging pyc (3.11.6-r1) (14/22) Purging python3 (3.11.6-r1) (15/22) Purging gdbm (1.23-r1) (16/22) Purging libbz2 (1.0.8-r6) (17/22) Purging libffi (3.4.4-r3) (18/22) Purging libpanelw (6.4_p20231007-r0) (19/22) Purging mpdecimal (2.5.1-r2) (20/22) Purging readline (8.2.1-r2) (21/22) Purging sqlite-libs (3.43.2-r0) (22/22) Purging xz-libs (5.4.4-r0) Executing busybox-1.36.1-r13.trigger OK: 376 MiB in 102 packages >>> py3-bluez: Updating the community/x86 repository index... >>> py3-bluez: Signing the index...