Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670110

Summary: dev-python/openstacksdk-0.17.2 : ImportError: cannot import name Lock
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:openstacksdk-0.17.2:20181101-205512.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-11-01 22:49:02 UTC
  File "/usr/lib64/python2.7/site-packages/dogpile/cache/region.py", line 2, in <module>
    from .. import Lock, NeedRegenerationException
ImportError: cannot import name Lock
 * ERROR: dev-python/openstacksdk-0.17.2::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_abi32+64_20181029-212829

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpvO dev-python/openstacksdk
[ebuild  N    ] dev-python/openstacksdk-0.17.2  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2018-11-01 22:49:05 UTC
Created attachment 553826 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-01 22:49:08 UTC
Created attachment 553828 [details]
dev-python:openstacksdk-0.17.2:20181101-205512.log
Comment 3 Toralf Förster gentoo-dev 2018-11-01 22:49:11 UTC
Created attachment 553830 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-11-01 22:49:13 UTC
Created attachment 553832 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-11-01 22:49:16 UTC
Created attachment 553834 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-01 22:49:19 UTC
Created attachment 553836 [details]
temp.tbz2
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-02 01:02:56 UTC
looks like that's a dogpile-cache thing, but I'm not seeing why, since the lock class is there.

qlist dev-python/dogpile-cache | grep /lock.py$
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2019-10-21 00:25:44 UTC
could you try 0.27.0 or 0.36.0 and see if that works?
Comment 9 Toralf Förster gentoo-dev 2019-10-25 13:20:25 UTC
0.36.0 emerges fine at various images
Comment 10 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2019-10-25 14:37:48 UTC
ok, going to close this then (and remove everything older than current stable)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 11:28:20 UTC
Old version removed.  Please reopen if it still happens.