Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31167 - sys-libs/db-4.1.25_p1-r1 messes up includes when dbus-0.13 is installed => openldap won't find db-4.1
Summary: sys-libs/db-4.1.25_p1-r1 messes up includes when dbus-0.13 is installed => op...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 18:30 UTC by Stephane Loeuillet
Modified: 2004-08-19 12:50 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 Stephane Loeuillet 2003-10-14 18:30:03 UTC
i had dbus-0.13 and db-4.0.X

i dediced to install db-4.1 for openldap-2.1
so i emerged openldap-2.1, which wanted db-4.1 first

after a succesful db-4.1 emerge, openldap can't find db.h

looking at /usr/include/, i found the 2 funny symlinks to non-existant files :

ll db*
lrwxrwxrwx    1 root     root           17 2003-10-15 03:14 db_185.h ->
dbus-1.0/db_185.h
lrwxrwxrwx    1 root     root           13 2003-10-15 03:14 db.h -> dbus-1.0/db.h
 
db1:
total 24
-rw-r--r--    1 root     root         8298 2003-07-28 03:31 db.h
-rw-r--r--    1 root     root         4456 2003-07-28 03:31 mpool.h
-rw-r--r--    1 root     root         2881 2003-07-28 03:31 ndbm.h
 
db3:
total 84
-r--r--r--    1 root     root         5657 2003-09-06 03:37 db_185.h
-r--r--r--    1 root     root        19263 2003-09-06 03:37 db_cxx.h
-r--r--r--    1 root     root        51043 2003-09-06 03:37 db.h
 
db4:
total 116
-r--r--r--    1 root     root         1209 2003-09-06 03:18 cxx_common.h
-r--r--r--    1 root     root         2129 2003-09-06 03:18 cxx_except.h
-r--r--r--    1 root     root         5903 2003-09-06 03:18 db_185.h
-r--r--r--    1 root     root        22225 2003-09-06 03:18 db_cxx.h
-r--r--r--    1 root     root        70362 2003-09-06 03:18 db.h
 
db4.1:
total 128
-r--r--r--    1 root     root         1212 2003-10-15 03:13 cxx_common.h
-r--r--r--    1 root     root         3967 2003-10-15 03:13 cxx_except.h
-r--r--r--    1 root     root         6210 2003-10-15 03:13 db_185.h
-r--r--r--    1 root     root        25120 2003-10-15 03:13 db_cxx.h
-r--r--r--    1 root     root        78588 2003-10-15 03:13 db.h
 
dbus-1.0:
total 4
drwxr-xr-x    2 root     root         4096 2003-10-11 01:29 dbus


so, i removed those 2 symlinks, remerged db-4.1 and those symlinks were back,
still the same broken non-sense

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-15 01:36:57 UTC
Ok, I'll smarten up the link script. For now, just link db.h (and friends)
to db4.1/db.h . The script apparently sees dbus as a db subdir while it clearly
is not.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-15 02:05:38 UTC
Please try to remerge db (after a short while to give time for the changes
to get to rsync). The symlinking should now be more picky in what it accepts
as being a db dir, and as such should ignore the dbus include dir (and library
symlinks)
Comment 3 Stephane Loeuillet 2003-10-15 03:18:36 UTC
emerge db
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/db-4.1.25_p1-r1 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/db.eclass: line 45: unexpected EOF
while looking for matching `"'
/usr/sbin/ebuild.sh: /usr/portage/eclass/db.eclass: line 79: syntax error:
unexpected end of file
 
!!! ERROR: sys-libs/db-4.1.25_p1-r1 failed.
!!! Function inherit, Line 1017, Exitcode 1
!!! died sourcing /usr/portage/eclass/db.eclass in inherit()

i'll retry later, after a new rsync
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-15 03:53:45 UTC
Ok, I made a typo. Please check again after the new db.eclass has been made
available.
Comment 5 Stephane Loeuillet 2003-10-15 07:40:13 UTC
bug fixed

db-4.1 emerges well and do the good symlinks
openldap now finds db.h and start compiling (broke at configure before)

i let you mark it FIXED
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 12:50:46 UTC
Closing the bug