Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647438 - media-libs/gexiv2-0.10.8: make check failed: test/python{2,3}-test failed
Summary: media-libs/gexiv2-0.10.8: make check failed: test/python{2,3}-test failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 647408
  Show dependency tree
 
Reported: 2018-02-12 18:43 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-02-13 15:16 UTC (History)
0 users

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


Attachments
build.log (build.log,53.65 KB, text/plain)
2018-02-12 18: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 2018-02-12 18:43:31 UTC
Created attachment 519268 [details]
build.log

> make  check-TESTS
> make[3]: Entering directory '/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8'
> make[4]: Entering directory '/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8'
> PASS: test/gexiv2-regression
> FAIL: test/python3-test
> FAIL: test/python2-test
> ============================================================================
> Testsuite summary for gexiv2 0.10.8
> ============================================================================
> # TOTAL: 3
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0

/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8/test-suite.log:

> =====================================
>    gexiv2 0.10.8: ./test-suite.log
> =====================================
> 
> # TOTAL: 3
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: test/python2-test
> =======================
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/usr/lib/python2.7/unittest/__main__.py", line 12, in <module>
>     main(module=None)
>   File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
>     self.createTests()
>   File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
>     self.module)
>   File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>     module = __import__('.'.join(parts_copy))
>   File "/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8/test/python/gexiv2.py", line 29, in <module>
>     import gi.overrides
> ImportError: No module named gi.overrides
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/usr/lib/python2.7/unittest/__main__.py", line 12, in <module>
>     main(module=None)
>   File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
>     self.createTests()
>   File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
>     self.module)
>   File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>     module = __import__('.'.join(parts_copy))
>   File "/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8/test/python/test_metadata.py", line 33, in <module>
>     import gi
> ImportError: No module named gi
> FAIL test/python2-test (exit status: 1)
> 
> FAIL: test/python3-test
> =======================
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
>     "__main__", mod_spec)
>   File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
>     exec(code, run_globals)
>   File "/usr/lib/python3.5/unittest/__main__.py", line 18, in <module>
>     main(module=None)
>   File "/usr/lib/python3.5/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib/python3.5/unittest/main.py", line 141, in parseArgs
>     self.createTests()
>   File "/usr/lib/python3.5/unittest/main.py", line 148, in createTests
>     self.module)
>   File "/usr/lib/python3.5/unittest/loader.py", line 219, in loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python3.5/unittest/loader.py", line 219, in <listcomp>
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python3.5/unittest/loader.py", line 153, in loadTestsFromName
>     module = __import__(module_name)
>   File "/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8/test/python/gexiv2.py", line 35, in <module>
>     gi.require_version('GExiv2', '0.10')
> AttributeError: module 'gi' has no attribute 'require_version'
> Traceback (most recent call last):
>   File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
>     "__main__", mod_spec)
>   File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
>     exec(code, run_globals)
>   File "/usr/lib/python3.5/unittest/__main__.py", line 18, in <module>
>     main(module=None)
>   File "/usr/lib/python3.5/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib/python3.5/unittest/main.py", line 141, in parseArgs
>     self.createTests()
>   File "/usr/lib/python3.5/unittest/main.py", line 148, in createTests
>     self.module)
>   File "/usr/lib/python3.5/unittest/loader.py", line 219, in loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python3.5/unittest/loader.py", line 219, in <listcomp>
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib/python3.5/unittest/loader.py", line 153, in loadTestsFromName
>     module = __import__(module_name)
>   File "/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8/test/python/test_metadata.py", line 34, in <module>
>     gi.require_version('GExiv2', '0.10')
> AttributeError: module 'gi' has no attribute 'require_version'
> FAIL test/python3-test (exit status: 1)



Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   1109292 free
KiB Swap:     488276 total,    482564 free
Timestamp of repository gentoo: Mon, 12 Feb 2018 17:13:56 +0000
Head commit of repository gentoo: b0660c2d7bc2a11b7c41707cf8c03ddd6866a3f2

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::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.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::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.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::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="/"
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"
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"
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"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/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="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4848,0"
TMUX_PANE="%1"
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 1 Larry the Git Cow gentoo-dev 2018-02-13 12:10:21 UTC
The bug has been referenced in the following commit(s):

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

commit 476d068b2500d138dc2596f6101339928572270f
Author:     Nicolas Bock <nicolasbock@gentoo.org>
AuthorDate: 2018-02-13 12:09:50 +0000
Commit:     Nicolas Bock <nicolasbock@gentoo.org>
CommitDate: 2018-02-13 12:10:09 +0000

    media-libs/gexiv2: Add dependencies for test
    
    The `test` suite requires additional dependencies which this change
    adds.
    
    Bug: https://bugs.gentoo.org/647438
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/gexiv2/gexiv2-0.10.8.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)}
Comment 2 Nicolas Bock gentoo-dev 2018-02-13 12:34:37 UTC
Thomas, I have tested this fix locally and it passes the test suite now. Could you verify that you get the same result? Thanks!
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-13 15:16:51 UTC
Thank you, fixed:

> make  check-TESTS
> make[3]: Entering directory '/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8'
> make[4]: Entering directory '/var/tmp/portage/media-libs/gexiv2-0.10.8/work/gexiv2-0.10.8'
> PASS: test/gexiv2-regression
> PASS: test/python2-test
> PASS: test/python3-test
> ============================================================================
> Testsuite summary for gexiv2 0.10.8
> ============================================================================
> # TOTAL: 3
> # PASS:  3
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================