Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171494 - sys-libs/db4.5 db_cxx.h symlink mismatch
Summary: sys-libs/db4.5 db_cxx.h symlink mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-news project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 22:42 UTC by Michel Aartsen
Modified: 2007-04-15 00:03 UTC (History)
1 user (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 Michel Aartsen 2007-03-19 22:42:22 UTC
After upgrading to DB 4.5 (auto update via emerge --ask --update world), klibido stopped working. It took some time to track down, but the boils down to that the db_cxx.h header file was symlinked to the 4.2 install and klibido was build with 4.5. 

After changing the symlink from the 4.2 dir to the 4.5 dir, klibido worked again (after a rebuild of course). 

Strangely the db.h and db_185.h were properly relinked.

Reproducible: Always

Steps to Reproduce:
1.Upgrade to db 4.5
2.Rebuild klibido
3.Crash of klibido
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2007-03-23 20:27:19 UTC
There shouldn't be a /usr/include/db_cxx.h, if there is and it's owned by any package that is a bug. The db.h and db_185.h headers are just fixes to make broken stuff compile. The structural solution is to include the actual include directory. Something that the klibido ebuild does, utilizing the db-use eclass. The problem is however that you exclusively have the masked db-4.5 library installed while klibido does not support it (and as such has broken dependencies).

Further the script used in the ebuild probably complained about not being able to find a suitable version. The ebuild does not check it's return code though and as such doesn't die.
Comment 2 Sven Wegener gentoo-dev 2007-04-15 00:03:35 UTC
philantrop added support for db-4.5