Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275739 - app-emulation/wine doesn't recognize ldap with --as-needed
Summary: app-emulation/wine doesn't recognize ldap with --as-needed
Status: RESOLVED DUPLICATE of bug 189817
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-28 20:34 UTC by Mounir Lamouri (volkmar) (RETIRED)
Modified: 2009-08-18 07:29 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 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-06-28 20:34:01 UTC
Actually, I've tested also with 1.1.23 and it's also breaking.
Probably some older versions too but surely not stable one (1.1.12).

ldap version:
2.3.43 (stable), last unstable is 2.3.43-r1

Working if I add USE="-ldap"

Build log:
checking for LDAPSortKey... yes
checking for ldap_initialize in -lldap_r... no
checking for ldap_count_references... no
checking for ldap_first_reference... no
checking for ldap_next_reference... no
checking for ldap_parse_reference... no
checking for ldap_parse_sort_control... no
checking for ldap_parse_sortresponse_control... no
checking for ldap_parse_vlv_control... no
checking for ldap_parse_vlvresponse_control... no
configure: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
This is an error since --with-ldap was requested.

It goes without saying these functions are in libldap_r.so

Thanks.
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-06 13:42:18 UTC
app-emulation/wine-1.1.25 is not fixing this bug.

I've changed bug summary to make it clearer
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-20 12:30:21 UTC
Actually, the real --as-needed bug is from ldap side. See bug 189817.
It has been fixed in 2.3.43-r1.

So it can be fixed by changing dep to:
>=net-nds/openldap-2.3.43-r1

But the bug is also available for stable versions. At least 1.1.13.
Actually, with >app-emulation/wine-1.1.13, the bug results in an error. With <=app-emulation/wine-1.1.13, the bug results in a warning in the configure output. That's why it hasn't been seen before.

But the openldap version fixing the bug is not stable atm. So, the dep list can only be updated on not stable ebuilds. (ie. >app-emulation/wine-1.1.13)
Comment 3 SpanKY gentoo-dev 2009-07-20 15:38:56 UTC

*** This bug has been marked as a duplicate of bug 189817 ***
Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-21 15:51:55 UTC
I don't think it's a duplicate as it much more a consequence of the other bug that need to be fixed in wine ebuilds. So, I prefer to consider the other bug as a depend.

As it's up to you, if you really think it's a duplicate, change it and I will like with it.
Comment 5 Rafał Mużyło 2009-07-21 16:58:49 UTC
(In reply to comment #4)
> I don't think it's a duplicate as it much more a consequence of the other bug
> that need to be fixed in wine ebuilds. So, I prefer to consider the other bug
> as a depend.
> 
I'd say I could be worked around in wine ebuilds, not fixed.
While ELF shared libs can (and in rare cases have to) have
undefined symbols, pthread should be linked explicitly to
libldap_r.
Of course, best way to fix it, is to persuade openldap upstream
about linking being the correct solution... 
Good luck with that.
Comment 6 SpanKY gentoo-dev 2009-08-18 07:29:38 UTC
yeah, i still dont see info in here that says it's a wine bug

*** This bug has been marked as a duplicate of bug 189817 ***