Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136153 - confcache depends needs python w/ berkdb USE flag
Summary: confcache depends needs python w/ berkdb USE flag
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
: 141017 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-08 23:56 UTC by Raul Metsma
Modified: 2006-07-19 03:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raul Metsma 2006-06-08 23:56:52 UTC
I spent lot of time to get confcache working. Finally I found
that it depends perl berkdb USE flag. I think there should be
some kind warning, when you emerge confcache, that it depends
perl berkdb USE flag.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-09 04:57:01 UTC
Uh Brian, what you think of this? I was quite sure that confcache was pure python
Comment 2 Brian Harring (RETIRED) gentoo-dev 2006-06-09 17:48:10 UTC
It is pure python (no perl)...

confcache ought to work with bsddb, gddbm, and berkdb for python- uses shelve for this reason.... so... invalid, less some details about what was horked get spilled.
Comment 3 Raul Metsma 2006-06-10 01:54:10 UTC
Sorry I feel so stupid, I meant python.
I tried enable only gdbm but it didn't work
ebuild   R   ] dev-lang/python-2.4.3-r1  USE="X gdbm ipv6 readline ssl -berkdb -bootstrap -build -doc -ncurses -nocxx -tcltk -ucs2" 0 kB 

and any package what I build i get this
Traceback (most recent call last):
  File "/usr/bin/confcache", line 549, in ?
    sys.exit(c.run(args))
  File "/usr/bin/confcache", line 182, in run
    elif not self._verify_files():
  File "/usr/bin/confcache", line 288, in _verify_files
    self.file_db = shelve.open(self.db_path)
  File "/usr/lib/python2.4/shelve.py", line 231, in open
    return DbfilenameShelf(filename, flag, protocol, writeback, binary)
  File "/usr/lib/python2.4/shelve.py", line 212, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary)
  File "/usr/lib/python2.4/anydbm.py", line 82, in open
    mod = __import__(result)
  File "/usr/lib/python2.4/dbhash.py", line 5, in ?
    import bsddb 

It only works when I enable berkdb
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-29 11:37:53 UTC
I'm closing them as UPSTREAM as for now I can't do much until Brian provides me a new version of confcache that allows to trace who poisoned the cache.
This is also the main reason why confcache is masked right now.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-19 03:25:06 UTC
*** Bug 141017 has been marked as a duplicate of this bug. ***