Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641742 - net-voip/telepathy-haze-0.8.0-r2[test] fails: ImportError: No module named gobject
Summary: net-voip/telepathy-haze-0.8.0-r2[test] fails: ImportError: No module named go...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-12-19 17:43 UTC by Thomas Deutschmann (RETIRED)
Modified: 2019-10-16 13:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,64.16 KB, text/plain)
2017-12-19 17:43 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-19 17:43:38 UTC
Created attachment 510998 [details]
build.log

HAZE_TEST_UNINSTALLED=1 \
  HAZE_ABS_TOP_SRCDIR=/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0 \
  HAZE_ABS_TOP_BUILDDIR=/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0 \
  HAZE_TEST_SLEEP=$haze_test_sleep \
  ./run-test.sh "avatar-requirements.py cm/protocols.py connect/fail.py connect/success.py connect/twice-to-same-account.py presence/presence.py roster/initial-roster.py roster/groups.py roster/publish.py roster/removed-from-rp-subscribe.py roster/subscribe.py sasl/close.py sasl/telepathy-password.py text/destroy.py text/ensure.py text/initiate-requestotron.py text/initiate.py text/respawn.py text/test-text-delayed.py text/test-text-no-body.py text/test-text.py"
Testing avatar-requirements.py ...
Traceback (most recent call last):
  File "/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0/tests/twisted/avatar-requirements.py", line 1, in <module>
    from servicetest import call_async, EventPattern
  File "/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0/tests/twisted/servicetest.py", line 6, in <module>
    from twisted.internet import glib2reactor
  File "/usr/lib/python2.7/site-packages/twisted/internet/glib2reactor.py", line 19, in <module>
    from twisted.internet import gtk2reactor
  File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 45, in <module>
    import gobject
ImportError: No module named gobject
FAIL: avatar-requirements.py (1)
Testing cm/protocols.py ...
Traceback (most recent call last):
  File "/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0/tests/twisted/cm/protocols.py", line 8, in <module>
    from servicetest import (assertEquals, tp_path_prefix, assertContains,
  File "/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0/tests/twisted/servicetest.py", line 6, in <module>
    from twisted.internet import glib2reactor
  File "/usr/lib/python2.7/site-packages/twisted/internet/glib2reactor.py", line 19, in <module>
    from twisted.internet import gtk2reactor
  File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 45, in <module>
    import gobject
ImportError: No module named gobject
FAIL: cm/protocols.py (1)
Testing connect/fail.py ...
Traceback (most recent call last):
  File "/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0/tests/twisted/connect/fail.py", line 8, in <module>
    from servicetest import (assertEquals, assertContains)
  File "/var/tmp/portage/net-voip/telepathy-haze-0.8.0-r2/work/telepathy-haze-0.8.0/tests/twisted/servicetest.py", line 6, in <module>
    from twisted.internet import glib2reactor
  File "/usr/lib/python2.7/site-packages/twisted/internet/glib2reactor.py", line 19, in <module>
    from twisted.internet import gtk2reactor
  File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 45, in <module>
    import gobject
ImportError: No module named gobject
FAIL: connect/fail.py (1)
[...]
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-19 17:45:11 UTC
=================================================================
                        Package Settings
=================================================================

dev-python/pygobject-3.22.0::gentoo was built with the following:
USE="cairo threads -examples -test" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"


Portage 2.3.13 (python 3.5.4-final-0, default/linux/x86/13.0, gcc-6.4.0, glibc-2.25-r9, 4.14.7-gentoo i686)
=================================================================
System uname: Linux-4.14.7-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3107824 total,   1582720 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Tue, 19 Dec 2017 11:26:19 +0000
Head commit of repository gentoo: 640442785f9341dac2db1ce20801e0e6c622daaf

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FACTERDIR="/usr/lib"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.3-r3/html"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-25"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMAKEPATH="/usr/lib/tmake/linux-g++"
TMUX="/tmp/tmux-0/default,5119,0"
TMUX_PANE="%3"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2018-01-17 08:31:02 UTC
Actually, this is a twisted ebuild dependency problem. Pre-split, the package could pull required dependencies via USE=gtk (so we can fix this one) but now, it is not expressed in the ebuild.
Comment 3 Larry the Git Cow gentoo-dev 2019-10-16 13:19:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c7f9475c891ec2aafb071589408fabfaf0b0ea

commit c0c7f9475c891ec2aafb071589408fabfaf0b0ea
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2019-10-16 13:13:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-10-16 13:19:06 +0000

    net-voip/telepathy-haze: add dev-python/pygobject:2 to test deps
    
    Acked-by: Mart Raudsepp <leio@gentoo.org>
    Closes: https://bugs.gentoo.org/641742
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)