>>> Test phase: dev-python/pyusb-1.0.2 * python2_7: running distutils-r1_run_phase python_test /var/tmp/portage/dev-python/pyusb-1.0.2/temp/environment: line 2485: 7409 Segmentation fault "${PYTHON}" testall.py * ERROR: dev-python/pyusb-1.0.2::gentoo failed (test phase): * Tests failed with python2.7 * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_test_20180117-212411 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy3 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-python/pyusb [ebuild N ] dev-python/pyusb-1.0.2 PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Created attachment 515670 [details] emerge-info.txt
Created attachment 515672 [details] dev-python:pyusb-1.0.2:20180121-123919.log
Created attachment 515674 [details] emerge-history.txt
Created attachment 515676 [details] environment
Created attachment 515678 [details] etc.portage.tbz2
Created attachment 675556 [details] pyusb-1.1.0.ebuild Seems to be fixed in 1.1.0, attaching a working ebuild. Note that building this version against GitHub tarballs would require bypassing setuptools_scm, fortunately PyPI ones now include tests. This also appears to take care of python3_9 support, that said I am not 100% sure of it - at the moment the only system I have got with full python_targets_python3_9 set-up is a container and over there one of the pyusb tests fails (on ALL Python versions) due to limited access to USB. All other tests pass on 3.9, though.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75eec14cda77354d357710efacf66a8d4839e00c commit 75eec14cda77354d357710efacf66a8d4839e00c Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-01 23:08:02 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-01 23:08:21 +0000 dev-python/pyusb: bump to 1.1.0 Tests no longer segfault python, supports python3_9, some cosmetics. Pushed with permission from mgorny on behalf of the Python project. Closes: https://bugs.gentoo.org/645254 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-python/pyusb/Manifest | 1 + dev-python/pyusb/pyusb-1.1.0.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+)