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

Bug 239070

Summary: sys-apps/portage-2.2_rc11 does not store PROPERTIES in sqlite database
Product: Portage Development Reporter: Martin Väth <martin>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077    

Description Martin Väth 2008-09-29 18:51:24 UTC
I observed the problem when I implemented support for PROPERTIES in eix:
Although there is some azColName "PROPERTIES" stored in the sqlite database,
the corresponding entry is always empty (after emerge --metadata with
  portdbapi.auxdbmodule = cache.sqlite.database
  eclass_cache.dbmodule = cache.sqlite.database
in /etc/portage/modules) even for those packages for which it is nonempty in
the /usr/portage/metadata/cache database.

Other metadata like azColName "RESTRICT" does not have such a problem.
For the case that it is important: pysqlite-2.3.5 and sqlite-3.5.9 are used.
Comment 1 Zac Medico gentoo-dev 2008-09-29 19:32:38 UTC
This is fixed in svn r11560.
Comment 2 Zac Medico gentoo-dev 2008-10-09 21:49:56 UTC
This is fixed in 2.2_rc12.

If you run emerge --metadata then it should update the PROPERTIES values.