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.
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.
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)
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
Ok, I made a typo. Please check again after the new db.eclass has been made available.
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
Closing the bug