File "/var/tmp/portage/dev-python/gst-python-1.14.1/work/gst-python-1.14.1/gi/overrides/Gst.py", line 569, in <module> from . import _gi_gst ImportError: cannot import name _gi_gst make[2]: *** [Makefile:507: check-local] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-python/gst-python-1.14.1/work/gst-python-1.14.1-python2_7/testsuite' make[1]: *** [Makefile:385: check-am] Error 2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-systemd_test_20180623-161602 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.8.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-python/gst-python [ebuild N ] dev-python/gst-python-1.14.1 PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Created attachment 537888 [details] emerge-info.txt
Created attachment 537890 [details] dev-python:gst-python-1.14.1:20180630-102401.log
Created attachment 537892 [details] emerge-history.txt
Created attachment 537894 [details] environment
Created attachment 537896 [details] etc.portage.tbz2
Created attachment 537898 [details] logs.tbz2
Created attachment 537900 [details] temp.tbz2
Same on x86.
This is happening because of our multi-python support ending up with multiple build dirs, while testsuite expects srcdir==builddir for tests to use the just compiled _gi_gst. testsuites/overrides_hack.py is forcing in ../../gi/overrides relative to itself as path, but that will be the source dir, not where _gi_gst was built at, thus it will fail tests at first install (and wrongly use system _gi_gst instead of just built version when not first install)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2a7f5afb82612422b7021297ff453cb62412cf3 commit b2a7f5afb82612422b7021297ff453cb62412cf3 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2018-07-30 06:43:38 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2018-07-30 06:44:12 +0000 dev-python/gst-python: fix fresh install tests Closes: https://bugs.gentoo.org/659714 Package-Manager: Portage-2.3.43, Repoman-2.3.10 .../{gst-python-1.14.1.ebuild => gst-python-1.14.1-r1.ebuild} | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)