Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94415 - openldap-2.2.26-r2 compile failure
Summary: openldap-2.2.26-r2 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 93320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-29 13:33 UTC by Andrej Filipcic
Modified: 2005-05-29 21:41 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 Andrej Filipcic 2005-05-29 13:33:01 UTC
On amd64, openldap-2.2.26-r2 fails to compile with USE=kerberos.
There is a bug in ebuild. The following chunk should have -fPIC added to compile flags:

       if useq kerberos ; then
                cd ${S}/contrib/slapd-modules/passwd/ && \
                ${CC} -shared -I../../../include ${CFLAGS} \
                -DHAVE_KRB5 -o pw-kerberos.so kerberos.c || \
                die "failed to compile kerberos module"
        fi
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-29 21:35:41 UTC
*** Bug 93320 has been marked as a duplicate of this bug. ***
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-29 21:41:21 UTC
fixed in CVS.