Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656856 - gnome-base/libgnome-keyring-3.12.0-r1 : [TEST] ImportError: No module named gobject
Summary: gnome-base/libgnome-keyring-3.12.0-r1 : [TEST] ImportError: No module named g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-05-29 17:12 UTC by Toralf Förster
Modified: 2019-02-14 08:45 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.20 KB, text/plain)
2018-05-29 17:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,37.91 KB, text/plain)
2018-05-29 17:12 UTC, Toralf Förster
Details
environment (environment,155.62 KB, text/plain)
2018-05-29 17:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.71 KB, application/x-bzip)
2018-05-29 17:12 UTC, Toralf Förster
Details
gnome-base:libgnome-keyring-3.12.0-r1:20180529-055409.log (gnome-base:libgnome-keyring-3.12.0-r1:20180529-055409.log,125.93 KB, text/plain)
2018-05-29 17:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.67 KB, application/x-bzip)
2018-05-29 17:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,44.76 KB, application/x-bzip)
2018-05-29 17:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-29 17:12:41 UTC
  File "/var/tmp/portage/gnome-base/libgnome-keyring-3.12.0-r1/work/libgnome-keyring-3.12.0/library/tests/mock/service.py", line 27, in <module>
    import gobject
ImportError: No module named gobject
  /keyrings/remove-incomplete:                                         Gkr-Message: secret service operation failed: The name org.mock.Service was not provided by any .service files
**
ERROR:/var/tmp/portage/gnome-base/libgnome-keyring-3.12.0-r1/work/libgnome-keyring-3.12.0/library/tests/test-keyrings.c:57:test_remove_incomplete: assertion failed (GNOME_KEYRING_RESULT_OK == res): (0 == 6)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_test_20180527-110136

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)




emerge -qpv gnome-base/libgnome-keyring
[ebuild  N    ] gnome-base/libgnome-keyring-3.12.0-r1  USE="introspection {test} -debug -vala" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-05-29 17:12:44 UTC
Created attachment 533978 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-29 17:12:47 UTC
Created attachment 533980 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-29 17:12:50 UTC
Created attachment 533982 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-29 17:12:54 UTC
Created attachment 533984 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-29 17:12:57 UTC
Created attachment 533986 [details]
gnome-base:libgnome-keyring-3.12.0-r1:20180529-055409.log
Comment 6 Toralf Förster gentoo-dev 2018-05-29 17:13:00 UTC
Created attachment 533988 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-29 17:13:03 UTC
Created attachment 533990 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-02-13 23:59:42 UTC
The bug has been closed via the following commit(s):

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

commit b592ea85c912d43b196b17bd742042df01956174
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-13 23:46:43 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-13 23:59:19 +0000

    gnome-base/libgnome-keyring: add some missing test deps
    
    The ones appear obviously missing based on imports, though have
    not tested it through (who would want to install such old things..).
    But they fail for sure without pygobject:2
    
    Closes: https://bugs.gentoo.org/656856
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gnome-base/libgnome-keyring/libgnome-keyring-3.12.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 Arfrever Frehtes Taifersar Arahesis 2019-02-14 00:59:54 UTC
It is incomplete.

https://wiki.gentoo.org/wiki/Project:Python/python-any-r1#Package_with_additional_dependencies

gnome-base/libgnome-keyring ebuild should contain:

python_check_deps() {
    has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
    has_version "dev-python/pygobject:2[${PYTHON_USEDEP}]"
}

pkg_setup() {
    use test && python-any-r1_pkg_setup
}
Comment 10 Mart Raudsepp gentoo-dev 2019-02-14 08:45:51 UTC
I thought about it and it should be unnecessary at this time because PYTHON_COMPAT only contains one entry.