Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571948 - net-nds/openldap must be rebuilt when dev-db/lmdb version changes
Summary: net-nds/openldap must be rebuilt when dev-db/lmdb version changes
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LDAP Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-14 23:03 UTC by Andreas Steinmetz
Modified: 2016-03-03 20:14 UTC (History)
2 users (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 Andreas Steinmetz 2016-01-14 23:03:54 UTC
slapd has a built in check against the lmdb version is is loading compared to the lmdb version it was built against. In case of a mismatch slapd refuses to start.
Thus openldap needs a build time dependency causing an automatic rebuild whenever lmdb is up-/downgraded.
I was stuck more than once by an "emerge -uND world" causing a lmdb upgrade but not an openldap rebuild.

Reproducible: Always
Comment 1 Brian Evans Gentoo Infrastructure gentoo-dev 2016-01-15 18:00:49 UTC
Unfortunately, portage does not have an automatic rebuild function on a dependency version change.  It is able to do so on subslot changes, but dev-db/lmdb does not use subslots.

Passing to maintainers for further reference.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-01-18 01:15:03 UTC
eras, mind adding subslots to lmdb?
Comment 3 Eray Aslan gentoo-dev 2016-02-12 08:26:56 UTC
Subslots added to dev-db/lmdb