Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448336 - net-nds/openldap-2.4.33-r1 fails with USE="gnutls"
Summary: net-nds/openldap-2.4.33-r1 fails with USE="gnutls"
Status: RESOLVED DUPLICATE of bug 421463
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 22:46 UTC by tman
Modified: 2012-12-24 04:46 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 tman 2012-12-23 22:46:42 UTC
net-nds/openldap-2.4.33-r1 compilation fails with USE="gnutls"

Reproducible: Always

Actual Results:  
tr.o getvalues.o addentry.o request.o os-ip.o url.o pagectrl.o sortctrl.o vlvctrl.o init.o options.o print.o string.o util-int.o schema.o charray.o os-local.o dnssrv.o utf-8.o utf-8-conv.o tls2.o tls_o.o tls_g.o tls_m.o turn.o ppolicy.o dds.o txn.o ldap_sync.o stctrl.o assertion.o deref.o ldif.o fetch.o version.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libldap.a
libtool: link: ( cd ".libs" && rm -f "libldap.la" && ln -s "../libldap.la" "libldap.la" )
/bin/bash ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=corei7 -O2 -pipe -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed   -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2  -lgnutls -lgcrypt   -lresolv
/bin/bash ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=corei7 -O2 -pipe -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed   -o dntest dntest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2  -lgnutls -lgcrypt   -lresolv
/bin/bash ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=corei7 -O2 -pipe -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed   -o ftest ftest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2  -lgnutls -lgcrypt   -lresolv
/bin/bash ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=corei7 -O2 -pipe -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed   -o ltest test.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2  -lgnutls -lgcrypt   -lresolv
/bin/bash ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=corei7 -O2 -pipe -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed   -o urltest urltest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2  -lgnutls -lgcrypt   -lresolv
libtool: link: x86_64-pc-linux-gnu-gcc -march=corei7 -O2 -pipe -D_GNU_SOURCE -Wl,-O1 -o .libs/ltest test.o  -Wl,--as-needed ./.libs/libldap.so /var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -lresolv
libtool: link: x86_64-pc-linux-gnu-gcc -march=corei7 -O2 -pipe -D_GNU_SOURCE -Wl,-O1 -o .libs/apitest apitest.o  -Wl,--as-needed ./.libs/libldap.so /var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -lresolv
libtool: link: x86_64-pc-linux-gnu-gcc -march=corei7 -O2 -pipe -D_GNU_SOURCE -Wl,-O1 -o .libs/dntest dntest.o  -Wl,--as-needed ./.libs/libldap.so /var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -lresolv
libtool: link: x86_64-pc-linux-gnu-gcc -march=corei7 -O2 -pipe -D_GNU_SOURCE -Wl,-O1 -o .libs/ftest ftest.o  -Wl,--as-needed ./.libs/libldap.so /var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -lresolv
libtool: link: x86_64-pc-linux-gnu-gcc -march=corei7 -O2 -pipe -D_GNU_SOURCE -Wl,-O1 -o .libs/urltest urltest.o  -Wl,--as-needed ./.libs/libldap.so /var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a /usr/lib64/libsasl2.so -ldl -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -lresolv
..//..libs/libldap.so: undefined reference to `gnutls_certificate_get_x509_cas'
libs/libldap.so: undefined reference to `collect2: gnutls_certificate_get_x509_cas'
ld returned 1 exit status
collect2: ld returned 1 exit status
./.libs/libldap.so: undefined reference to `gnutls_certificate_get_x509_cas'
make[2]: collect2: *** [ftest] Error 1ld returned 1 exit status

make[2]: *** Waiting for unfinished jobs....
make[2]: *** [urltest] Error 1
make[2]: *** [ltest] Error 1
./.libs/libldap.so: undefined reference to `gnutls_certificate_get_x509_cas'
collect2: ld returned 1 exit status
make[2]: *** [dntest] Error 1
./.libs/libldap.so: undefined reference to `gnutls_certificate_get_x509_cas'
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33/libraries'
make: *** [all-common] Error 1
 ^[[31;01m*^[[0m ERROR: net-nds/openldap-2.4.33-r1 failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=net-nds/openldap-2.4.33-r1'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=net-nds/openldap-2.4.33-r1'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/net-nds:openldap-2.4.33-r1:20121223-223551.log'.
 ^[[31;01m*^[[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/net-nds/openldap-2.4.33-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/net-nds/openldap-2.4.33-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/net-nds/openldap-2.4.33-r1/work/openldap-2.4.33'
                                                                                                                                                                                                       


Portage 2.1.11.38 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.7.1-gentoo x86_64)
=================================================================
System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
Timestamp of tree: Sun, 23 Dec 2012 22:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p39-r1
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mpd nikai java-overlay ruby emacs gamerlay science mgorny scarabeus qt mva wirelay Techwolf poly-c lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/hosts /etc/make.conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-12-24 04:46:31 UTC

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