dev-python/home-assistant-bluetooth-1.9.2 fails to build #801

Open
opened 3 months ago by serafean · 2 comments

Portage doesn't survive this:

 * python3_8: running distutils-r1_run_phase distutils-r1_python_compile
python3.8 setup.py build -j 2
Traceback (most recent call last):
  File "setup.py", line 28, in <module>
    from build_ext import *
  File "/var/tmp/portage/dev-python/home-assistant-bluetooth-1.9.2/work/home_assistant_bluetooth-1.9.2/build_ext.py", line 15, in <module>
    def build(setup_kwargs: dict[Any, Any]) -> None:
TypeError: 'type' object is not subscriptable
Portage doesn't survive this: ``` * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 2 Traceback (most recent call last): File "setup.py", line 28, in <module> from build_ext import * File "/var/tmp/portage/dev-python/home-assistant-bluetooth-1.9.2/work/home_assistant_bluetooth-1.9.2/build_ext.py", line 15, in <module> def build(setup_kwargs: dict[Any, Any]) -> None: TypeError: 'type' object is not subscriptable ```
Poster

callstack:

 * ERROR: dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3314:  Called distutils-r1_src_compile
 *   environment, line 1513:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  684:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3014:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2570:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2568:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  999:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1495:  Called distutils-r1_python_compile
 *   environment, line 1301:  Called esetup.py 'build' '-j' '2'
 *   environment, line 2102:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
callstack: ``` * ERROR: dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3314: Called distutils-r1_src_compile * environment, line 1513: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 684: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3014: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2570: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2568: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 999: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1495: Called distutils-r1_python_compile * environment, line 1301: Called esetup.py 'build' '-j' '2' * environment, line 2102: Called die * The specific snippet of code: * "${@}" || die -n; ```
onkelbeh self-assigned this 2 months ago
onkelbeh added the Bug label 2 months ago
onkelbeh added this to the 2023.1.7 milestone 2 months ago
Owner

cannot reproduce,
perhaps is does not run (anymore) on 3.8, I have no box with 3.8 left to try:

root@g18-hasstest:/usr/portage/homeassistant/dev-python/pyopenuv # emerge -1tv =dev-python/home-assistant-bluetooth-1.9.2

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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!
[binary   R    ] dev-python/home-assistant-bluetooth-1.9.2-1::HomeAssistantRepository  USE="test" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB

Total: 1 package (1 reinstall, 1 binary), Size of downloads: 0 KiB

>>> Emerging binary (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository
>>> Installing (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository
>>> Jobs: 1 of 1 complete                           Load avg: 0.36, 0.22, 0.18

 * GNU info directory index is up-to-date.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

-> Searching for services that need to be restarted ... done
=> Found 4 services that need to be restarted or reloaded
=-> class SV_ALWAYS (2): ntpd sshd
=-> unclassified services (2): netatalk vmware-tools
=> Found 0 inittab processes that need to be restarted
root@g18-hasstest:/usr/portage/homeassistant/dev-python/pyopenuv # emerge -1tv =dev-python/home-assistant-bluetooth-1.9.2 --usepkg-exclude=*

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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   R    ] dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository  USE="test" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository
>>> Installing (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository
>>> Jobs: 1 of 1 complete                           Load avg: 0.78, 0.34, 0.22

 * GNU info directory index is up-to-date.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

-> Searching for services that need to be restarted ... done
=> Found 4 services that need to be restarted or reloaded
=-> class SV_ALWAYS (2): ntpd sshd
=-> unclassified services (2): netatalk vmware-tools
=> Found 0 inittab processes that need to be restarted
root@g18-hasstest:/usr/portage/homeassistant/dev-python/pyopenuv #
cannot reproduce, perhaps is does not run (anymore) on 3.8, I have no box with 3.8 left to try: ``` root@g18-hasstest:/usr/portage/homeassistant/dev-python/pyopenuv # emerge -1tv =dev-python/home-assistant-bluetooth-1.9.2 * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. 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! [binary R ] dev-python/home-assistant-bluetooth-1.9.2-1::HomeAssistantRepository USE="test" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB Total: 1 package (1 reinstall, 1 binary), Size of downloads: 0 KiB >>> Emerging binary (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository >>> Installing (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository >>> Jobs: 1 of 1 complete Load avg: 0.36, 0.22, 0.18 * GNU info directory index is up-to-date. * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. -> Searching for services that need to be restarted ... done => Found 4 services that need to be restarted or reloaded =-> class SV_ALWAYS (2): ntpd sshd =-> unclassified services (2): netatalk vmware-tools => Found 0 inittab processes that need to be restarted root@g18-hasstest:/usr/portage/homeassistant/dev-python/pyopenuv # emerge -1tv =dev-python/home-assistant-bluetooth-1.9.2 --usepkg-exclude=* * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. 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 R ] dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository USE="test" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository >>> Installing (1 of 1) dev-python/home-assistant-bluetooth-1.9.2::HomeAssistantRepository >>> Jobs: 1 of 1 complete Load avg: 0.78, 0.34, 0.22 * GNU info directory index is up-to-date. * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. -> Searching for services that need to be restarted ... done => Found 4 services that need to be restarted or reloaded =-> class SV_ALWAYS (2): ntpd sshd =-> unclassified services (2): netatalk vmware-tools => Found 0 inittab processes that need to be restarted root@g18-hasstest:/usr/portage/homeassistant/dev-python/pyopenuv # ```
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#801
Loading…
There is no content yet.