pybluez 2to3 #299

Closed
opened 2022-10-16 16:40:30 +02:00 by onkelbeh · 2 comments
Owner
root@g18-hasstest:/usr/portage/homeassistant/dev-python/pybluez # emerge -1tv pybluez

Local copy of remote index is up-to-date and will be used.

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/pybluez-0.23::HomeAssistantRepository  USE="test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11" 0 KiB
[ebuild  N     ]  net-wireless/bluez-5.64:0/3::gentoo  USE="mesh obex readline udev -btpclient -cups -debug -deprecated -doc -experimental -extra-tools -midi (-selinux) -systemd -test -test-programs" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 2125 KiB
[ebuild  N     ]   dev-libs/libical-3.0.14-r1:0/3::gentoo  USE="glib introspection -doc -examples -static-libs -test -vala" 867 KiB
[ebuild  N     ]   dev-libs/json-c-0.16-r1:0/5::gentoo  USE="-doc -static-libs -threads" CPU_FLAGS_X86="-rdrand" 344 KiB
[ebuild  N     ]   dev-libs/ell-0.53::gentoo  USE="-pie -test" 538 KiB

Total: 5 packages (5 new), Size of downloads: 3873 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 5) dev-libs/ell-0.53::gentoo
>>> Emerging (2 of 5) dev-libs/json-c-0.16-r1::gentoo
>>> Emerging (3 of 5) dev-libs/libical-3.0.14-r1::gentoo
>>> Installing (1 of 5) dev-libs/ell-0.53::gentoo
>>> Installing (2 of 5) dev-libs/json-c-0.16-r1::gentoo
>>> Installing (3 of 5) dev-libs/libical-3.0.14-r1::gentoo
>>> Emerging (4 of 5) net-wireless/bluez-5.64::gentoo
>>> Installing (4 of 5) net-wireless/bluez-5.64::gentoo
>>> Emerging (5 of 5) dev-python/pybluez-0.23::HomeAssistantRepository
>>> Failed to emerge dev-python/pybluez-0.23, Log file:
>>>  '/var/tmp/portage/dev-python/pybluez-0.23/temp/build.log'
>>> Jobs: 4 of 5 complete, 1 failed                 Load avg: 3.22, 1.52, 0.92
 * Package:    dev-python/pybluez-0.23:0
 * Repository: HomeAssistantRepository
 * Maintainer: b@edevau.net
 * Upstream:   ashuang@alum.mit.edu
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pybluez-0.23.gh.tar.gz to /var/tmp/portage/dev-python/pybluez-0.23/work
>>> Source unpacked in /var/tmp/portage/dev-python/pybluez-0.23/work
>>> Preparing source in /var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23 ...
 * Build system packages:
 *   dev-python/setuptools         : 65.3.0
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23 ...
 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile
python3.10 setup.py build -j 6
error in PyBluez setup command: use_2to3 is invalid.
 * ERROR: dev-python/pybluez-0.23::HomeAssistantRepository failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_compile
 *   environment, line 3304:  Called distutils-r1_src_compile
 *   environment, line 1534:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  680:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2996:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2559:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2557:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1007:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1516:  Called distutils-r1_python_compile
 *   environment, line 1325:  Called esetup.py 'build' '-j' '6'
 *   environment, line 2098:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/pybluez-0.23::HomeAssistantRepository'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pybluez-0.23::HomeAssistantRepository'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23'
 * S: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23'

 * Messages for package net-wireless/bluez-5.64:

 * To use dial up networking you must install net-dialup/ppp
 * Some example .json files were installed into
 * /usr/share/doc/bluez-5.64 to be used with meshctl. Feel free to
 * uncompress and copy them to ~/.config/meshctl to use them.
 *
 * (Note: Above message is only printed the first time package is
 * installed. Please look at /usr/share/doc/bluez-5.64/README.gentoo*
 * for future reference)

 * Messages for package dev-python/pybluez-0.23:

 * ERROR: dev-python/pybluez-0.23::HomeAssistantRepository failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_compile
 *   environment, line 3304:  Called distutils-r1_src_compile
 *   environment, line 1534:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  680:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2996:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2559:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2557:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1007:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1516:  Called distutils-r1_python_compile
 *   environment, line 1325:  Called esetup.py 'build' '-j' '6'
 *   environment, line 2098:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/pybluez-0.23::HomeAssistantRepository'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pybluez-0.23::HomeAssistantRepository'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23'
 * S: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23'
```bash root@g18-hasstest:/usr/portage/homeassistant/dev-python/pybluez # emerge -1tv pybluez Local copy of remote index is up-to-date and will be used. Local copy of remote index is up-to-date and will be used. These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] dev-python/pybluez-0.23::HomeAssistantRepository USE="test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11" 0 KiB [ebuild N ] net-wireless/bluez-5.64:0/3::gentoo USE="mesh obex readline udev -btpclient -cups -debug -deprecated -doc -experimental -extra-tools -midi (-selinux) -systemd -test -test-programs" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 2125 KiB [ebuild N ] dev-libs/libical-3.0.14-r1:0/3::gentoo USE="glib introspection -doc -examples -static-libs -test -vala" 867 KiB [ebuild N ] dev-libs/json-c-0.16-r1:0/5::gentoo USE="-doc -static-libs -threads" CPU_FLAGS_X86="-rdrand" 344 KiB [ebuild N ] dev-libs/ell-0.53::gentoo USE="-pie -test" 538 KiB Total: 5 packages (5 new), Size of downloads: 3873 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 5) dev-libs/ell-0.53::gentoo >>> Emerging (2 of 5) dev-libs/json-c-0.16-r1::gentoo >>> Emerging (3 of 5) dev-libs/libical-3.0.14-r1::gentoo >>> Installing (1 of 5) dev-libs/ell-0.53::gentoo >>> Installing (2 of 5) dev-libs/json-c-0.16-r1::gentoo >>> Installing (3 of 5) dev-libs/libical-3.0.14-r1::gentoo >>> Emerging (4 of 5) net-wireless/bluez-5.64::gentoo >>> Installing (4 of 5) net-wireless/bluez-5.64::gentoo >>> Emerging (5 of 5) dev-python/pybluez-0.23::HomeAssistantRepository >>> Failed to emerge dev-python/pybluez-0.23, Log file: >>> '/var/tmp/portage/dev-python/pybluez-0.23/temp/build.log' >>> Jobs: 4 of 5 complete, 1 failed Load avg: 3.22, 1.52, 0.92 * Package: dev-python/pybluez-0.23:0 * Repository: HomeAssistantRepository * Maintainer: b@edevau.net * Upstream: ashuang@alum.mit.edu * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pybluez-0.23.gh.tar.gz to /var/tmp/portage/dev-python/pybluez-0.23/work >>> Source unpacked in /var/tmp/portage/dev-python/pybluez-0.23/work >>> Preparing source in /var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23 ... * Build system packages: * dev-python/setuptools : 65.3.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py build -j 6 error in PyBluez setup command: use_2to3 is invalid. * ERROR: dev-python/pybluez-0.23::HomeAssistantRepository failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3304: Called distutils-r1_src_compile * environment, line 1534: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 680: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2996: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2559: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2557: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1007: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1516: Called distutils-r1_python_compile * environment, line 1325: Called esetup.py 'build' '-j' '6' * environment, line 2098: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/pybluez-0.23::HomeAssistantRepository'`, * the complete build log and the output of `emerge -pqv '=dev-python/pybluez-0.23::HomeAssistantRepository'`. * The complete build log is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23' * S: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23' * Messages for package net-wireless/bluez-5.64: * To use dial up networking you must install net-dialup/ppp * Some example .json files were installed into * /usr/share/doc/bluez-5.64 to be used with meshctl. Feel free to * uncompress and copy them to ~/.config/meshctl to use them. * * (Note: Above message is only printed the first time package is * installed. Please look at /usr/share/doc/bluez-5.64/README.gentoo* * for future reference) * Messages for package dev-python/pybluez-0.23: * ERROR: dev-python/pybluez-0.23::HomeAssistantRepository failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3304: Called distutils-r1_src_compile * environment, line 1534: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 680: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2996: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2559: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2557: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1007: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1516: Called distutils-r1_python_compile * environment, line 1325: Called esetup.py 'build' '-j' '6' * environment, line 2098: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/pybluez-0.23::HomeAssistantRepository'`, * the complete build log and the output of `emerge -pqv '=dev-python/pybluez-0.23::HomeAssistantRepository'`. * The complete build log is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pybluez-0.23/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23' * S: '/var/tmp/portage/dev-python/pybluez-0.23/work/pybluez-0.23' ```
onkelbeh added the
Bug
Cleanup
labels 2022-10-16 16:40:30 +02:00
onkelbeh self-assigned this 2022-10-16 16:40:30 +02:00
Author
Owner

(dev-python/pyownet-0.10.0_p1)
(dev-python/RtmAPI-0.7.2-r2)

(dev-python/pyownet-0.10.0_p1) (dev-python/RtmAPI-0.7.2-r2)
onkelbeh referenced this issue from a commit 2022-10-18 07:32:11 +02:00
onkelbeh referenced this issue from a commit 2022-10-19 01:24:19 +02:00
onkelbeh added this to the 2022.11.0 milestone 2022-10-30 12:26:38 +01:00
Author
Owner
a853447aa
Sign in to join this conversation.
No Label
Bug
Cleanup
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#299
No description provided.