Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227995 - python-updater script does not recognize PostgreSQL as a dependency
Summary: python-updater script does not recognize PostgreSQL as a dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 07:54 UTC by Kevin M. Kilbride
Modified: 2008-06-24 17:12 UTC (History)
0 users

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 Kevin M. Kilbride 2008-06-18 07:54:18 UTC
The python-updater script does not recognize that PostgreSQL needs to be rebuilt when the latter has been built with Python language support.

Reproducible: Always

Steps to Reproduce:
1. Stop PostgreSQL service
2. Upgrade Python to new version (to get new libraries)
3. Run 'python-updater' script [many packages rebuilt]
4. Start PostgreSQL service: libraries still unavailable
5. Stop PostgreSQL service
6. Explicitly re-emerge postgresql
7. Start PostgreSQL service: libraries are now available

Actual Results:  
hashlib library could not be imported in pgpython scripts after upgrade

Expected Results:  
hashlib should have been available in Python 2.5, but python-updater did not recognize that PostgreSQL was among the many packages that needed to be rebuilt.
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-06-20 14:45:45 UTC
What version of python-updater are you using?
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2008-06-24 17:12:52 UTC
python-updater-0.5 has an additional check "soname" for this type of issues.
Thanks for reporting :-]