Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403221 - net-libs/gnutls +nettle break openldap
Summary: net-libs/gnutls +nettle break openldap
Status: RESOLVED DUPLICATE of bug 337504
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-11 23:55 UTC by Francesco Riosa
Modified: 2012-02-12 00:00 UTC (History)
0 users

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 Francesco Riosa 2012-02-11 23:55:58 UTC
net-nds/openldap-2.4.28  

these use flags work:
USE="berkdb crypt ipv6 odbc overlays perl samba sasl slp ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal (-selinux) -smbkrb5passwd"

But adding 'gnutls' does not, the compile error seem related to gcrypt but it's not (at least not directly)

see also:
http://forums.gentoo.org/viewtopic-p-6571193.html

x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe -frecord-gcc-switches -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop
 -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 -mtune=core2 -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity
 -floop-block -floop-interchange -floop-strip-mine -ggdb -gdwarf-4 -fvar-tracking-assignments -D_GNU_SOURCE -o .libs/apitest apitest.o  ./.libs/libldap.so /va
r/tmp/portage/net-nds/openldap-2.4.28/work/openldap-2.4.28/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/libluti
l/liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls -lcrypt -lresolv
x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe -frecord-gcc-switches -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop
 -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 -mtune=core2 -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity
 -floop-block -floop-interchange -floop-strip-mine -ggdb -gdwarf-4 -fvar-tracking-assignments -D_GNU_SOURCE -o .libs/ltest test.o  ./.libs/libldap.so /var/tmp
/portage/net-nds/openldap-2.4.28/work/openldap-2.4.28/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/lib
lutil.a /usr/lib64/libsasl2.so -ldl -lgnutls -lcrypt -lresolv
x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe -frecord-gcc-switches -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop
 -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 -mtune=core2 -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity
 -floop-block -floop-interchange -floop-strip-mine -ggdb -gdwarf-4 -fvar-tracking-assignments -D_GNU_SOURCE -o .libs/dntest dntest.o  ./.libs/libldap.so /var/
tmp/portage/net-nds/openldap-2.4.28/work/openldap-2.4.28/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/
liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls -lcrypt -lresolv
x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe -frecord-gcc-switches -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop
 -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -msse4.1 -mtune=core2 -fgcse-after-reload -fpredictive-commoning -ftree-vectorize -funswitch-loops -fgraphite-identity
 -floop-block -floop-interchange -floop-strip-mine -ggdb -gdwarf-4 -fvar-tracking-assignments -D_GNU_SOURCE -o .libs/ftest ftest.o  ./.libs/libldap.so /var/tm
p/portage/net-nds/openldap-2.4.28/work/openldap-2.4.28/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/li
blutil.a /usr/lib64/libsasl2.so -ldl -lgnutls -lcrypt -lresolv
..//..libslibs//libldap.solibldap.so::  undefinedundefined  referencereference  toto  ``gcry_controlgcry_control''

collect2: collect2: ld returned 1 exit statusld returned 1 exit status

./make[2]: .*** [apitest] Error 1
libs/libldap.so: undefined reference to `gcry_control'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [ftest] Error 1
./.collect2: libs/libldap.so:ld returned 1 exit status undefined
 reference to `gcry_control'
collect2: ld returned 1 exit status
make[2]: *** [dntest] Error 1
make[2]: *** [ltest] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.28/work/openldap-2.4.28/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.28/work/openldap-2.4.28/libraries'
make: *** [all-common] Error 1
Comment 1 Rafał Mużyło 2012-02-12 00:00:15 UTC

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