Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617278 - >=net-libs/openslp-2.0.0 breaks OpenLDAP if built with USE slp
Summary: >=net-libs/openslp-2.0.0 breaks OpenLDAP if built with USE slp
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Deadline: 2019-11-05
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-05-02 20:06 UTC by Timo Eissler
Modified: 2019-11-05 22:35 UTC (History)
6 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 Timo Eissler 2017-05-02 20:06:01 UTC
If OpenLDAP is built with slp USE Flag against openslp 2.0.0 or newer it fails to start with the following error message:

~ # /etc/init.d/slapd start
5908dc47 register_matching_rule: could not locate associated matching rule generalizedTimeMatch for ( 2.5.13.28 NAME 'generalizedTimeOrderingMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
slap_schema_init: Error registering matching rule ( 2.5.13.28 NAME 'generalizedTimeOrderingMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
5908dc47 slaptest: slap_schema_init failed
slaptest: slap_init failed!
 * There is a problem with your slapd.conf!
 * ERROR: slapd failed to start

To fix the problem you either have to remove the slp USE Flag from OpenLDAP or according to https://sourceforge.net/p/openslp/bugs/149/ set "-DHAVE_STRNCASECMP" while compiling openslp.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-06-09 23:23:59 UTC
This should be fixed in net-libs/openslp-2.0.0-r5

Please test.
Comment 2 masc 2017-06-21 06:54:40 UTC
(In reply to Andreas K. Hüttel from comment #1)
> This should be fixed in net-libs/openslp-2.0.0-r5
> 
> Please test.

I can confirm openslp-2.0.0-r5 fixes this issue.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-11-05 22:35:11 UTC
Removing.