Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94458 - net-misc/openssh-4.1_p1 build fails when USE=ldap
Summary: net-misc/openssh-4.1_p1 build fails when USE=ldap
Status: RESOLVED DUPLICATE of bug 93074
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 95026 95145 95175 95198 95332 95704 96788 96984 101284 101625 101818 101868 119427 121319 121419 121452 121520 121608 121698 121780 121823 121864 121948 122116 122341 122750 123273 123672 123673 125683 127381 131245 132406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-29 23:07 UTC by Meder Bakirov
Modified: 2006-05-05 23:58 UTC (History)
32 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,19.41 KB, text/plain)
2005-05-29 23:10 UTC, Meder Bakirov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meder Bakirov 2005-05-29 23:07:35 UTC
net-misc/openssh-4.1_p1 build fails at the configure stage.

Reproducible: Always
Steps to Reproduce:
1.emerge -u openssh
2.
3.

Actual Results:  

Calculating world dependencies ...done!
>>> emerge (1 of 4) net-misc/openssh-4.1_p1 to /
>>> md5 files   ;-) openssh-4.1_p1.ebuild
>>> md5 files   ;-) openssh-3.9_p1-r2.ebuild
>>> md5 files   ;-) openssh-4.0_p1-r1.ebuild
>>> md5 files   ;-) openssh-3.8.1_p1-r1.ebuild
>>> md5 files   ;-) files/openssh-3.9_p1-fix_suid.patch.bz2
>>> md5 files   ;-) files/digest-openssh-4.1_p1
>>> md5 files   ;-) files/openssh-3.9_p1-pamfix.patch.bz2
>>> md5 files   ;-) files/sshd.pam
>>> md5 files   ;-) files/sshd.rc6
>>> md5 files   ;-) files/openssh-3.9_p1-chroot.patch
>>> md5 files   ;-) files/digest-openssh-4.0_p1-r1
>>> md5 files   ;-) files/openssh-3.9_p1-configure-openct.patch
>>> md5 files   ;-) files/openssh-3.9_p1-infoleak.patch
>>> md5 files   ;-) files/openssh-3.9_p1-terminal_restore.patch.bz2
>>> md5 files   ;-) files/openssh-4.0_p1-sftplogging-1.2-gentoo.patch.bz2
>>> md5 files   ;-) files/openssh-3.9_p1-kerberos-detection.patch
>>> md5 files   ;-) files/digest-openssh-3.9_p1-r2
>>> md5 files   ;-) files/sshd.pam_include
>>> md5 files   ;-) files/openssh-4.0_p1-smartcard-ldap-happy.patch
>>> md5 files   ;-) files/digest-openssh-3.8.1_p1-r1
>>> md5 files   ;-) files/openssh-3.5_p1-gentoo-sshd-gcc3.patch.bz2
>>> md5 files   ;-) files/openssh-3.7.1_p1-selinux.diff.bz2
>>> md5 files   ;-) files/openssh-3.8.1_p1-chroot.patch.bz2
>>> md5 files   ;-) files/openssh-3.8.1_p1-kerberos.patch.bz2
>>> md5 files   ;-) files/openssh-3.8.1_p1-largekey.patch.bz2
>>> md5 files   ;-) files/openssh-3.8.1_p1-opensc.patch.bz2
>>> md5 files   ;-) files/openssh-3.8.1_p1-resolv_functions.patch.bz2
>>> md5 files   ;-) files/openssh-3.8.1_p1-skey.patch.bz2
>>> md5 files   ;-) files/openssh-3.8_p1-kerberos.patch.bz2
>>> md5 files   ;-) files/openssh-3.8_p1-chroot.patch.bz2
>>> md5 files   ;-) files/openssh-3.9_p1-sftplogging-1.2-gentoo.patch.bz2
>>> md5 files   ;-) files/openssh-3.8_p1-resolv_functions.patch.bz2
>>> md5 files   ;-) files/openssh-3.8_p1-skey.patch.bz2
>>> md5 files   ;-) files/openssh-3.9_p1-largekey.patch.bz2
>>> md5 files   ;-) files/openssh-3.9_p1-opensc.patch.bz2
>>> md5 files   ;-) files/openssh-3.9_p1-selinux.diff.bz2
>>> md5 files   ;-) files/openssh-3.9_p1-skey.patch.bz2
>>> md5 src_uri ;-) openssh-4.1p1.tar.gz
>>> md5 src_uri ;-) openssh-lpk-4.0p1-0.3.4.patch
>>> Unpacking source...
>>> Unpacking openssh-4.1p1.tar.gz to /var/tmp/portage/openssh-4.1_p1/work
 * Applying openssh-3.9_p1-kerberos-detection.patch ...                        
                                     [ ok ]
 * Applying openssh-lpk-4.0p1-0.3.4.patch ...                                  
                                     [ ok ]
>>> Source unpacked.
 * econf: updating openssh-4.1p1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating openssh-4.1p1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu --with-ldflags= -lldap
--disable-strip --sysconfdir=/etc/ssh --libexecdir=/usr/lib/misc
--datadir=/usr/share/openssh --disable-suid-ssh --with-privsep-path=/var/empty
--with-privsep-user=sshd --with-md5-passwords --without-libedit
--without-kerberos5 --without-tcp-wrappers --without-skey --without-opensc
--with-pam --with-ipv4-default
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... no
checking for gawk... gawk
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for a BSD-compatible install... /bin/install -c
checking for ar... /usr/bin/ar
checking for cat... /bin/cat
checking for kill... /bin/kill
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sed... /bin/sed
checking for ent... no
checking for bash... /bin/bash
checking for ksh... (cached) /bin/bash
checking for sh... (cached) /bin/bash
checking for sh... /bin/sh
checking for groupadd... /usr/sbin/groupadd
checking for useradd... /usr/sbin/useradd
checking for pkgmk... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for login... /bin/login
checking for passwd... /bin/passwd
checking for inline... inline
checking compiler and flags for sanity... no
configure: error: *** compiler cannot create working executables, check
config.log ***

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/openssh-4.1_p1/work/openssh-4.1p1/config.log

!!! ERROR: net-misc/openssh-4.1_p1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
Normally update/install openssh

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 AMD Sempron(TM) 2500+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr
-fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr
-fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://distfiles.transfer.kg ftp://mtv.kg
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.koi8r"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.kyrnet.kg/gentoo-portage"
USE="3dnow 3dnowex aac acpi alsa arts avi berkdb bitmap-fonts bzlib crypt cups
dga divx4linux fbcon ffmpeg flac gd gdbm gif gpm iconv icq imap java jpeg kde
kdeenablefinal ldap lesstif mad maildir mmx mmx2 mmxext mozilla mp3 mpeg ncurses
nls nptl nvidia ogg oggvorbis opengl pam png qt quicktime readline samba shared
sharedmem snmp spell sse sse2 ssl svga theora tiff truetype truetype-fonts
type1-fonts unicode userlocales vidix vorbis win32codecs x86 xine xml xml2 xmms
xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Meder Bakirov 2005-05-29 23:10:28 UTC
Created attachment 60158 [details]
config.log

Attached config.log.
Comment 2 Dead Schorsch 2005-05-30 02:28:58 UTC
Got a different one:

checking for dlopen in -ldl... yes
checking for pam_set_item in -lpam... yes
checking for pam_getenvlist... yes
checking for pam_putenv... yes
checking whether pam_strerror takes only one argument... no
checking OpenSSL header version... 90707f (OpenSSL 0.9.7g 11 Apr 2005)
checking OpenSSL library version... 90705f (OpenSSL 0.9.7e 25 Oct 2004)
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your library.
Check config.log for details.
Also see contrib/findssl.sh for help identifying header/library mismatches.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/openssh-4.1_p1/work/openssh-4.1p1/config.log

!!! ERROR: net-misc/openssh-4.1_p1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Patrick Fourniols 2005-05-30 03:33:09 UTC
ebuild unpack, compile, install, qmerge work very fine BUT this way
openssh-lpk-4.0p1-0.3.4.patch is not applied :( ( use flag ldap not detected by
calling ebuild directly ;) )
bug in portage? and is this patch really needed?
Comment 4 Nathan Sullivan 2005-05-30 19:22:20 UTC
So far thats more than 1 issue, would it be smart to mask this build for a little?
Comment 5 SpanKY gentoo-dev 2005-05-30 20:00:14 UTC
comment #2 is unrelated to this bug ... your openssl headers/libs are screwed
up, i'd suggest you fix them

comment #1 fails because of ldap:
configure:6510: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3
-mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays
-maccumulate-outgoing-args -pipe -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith
-Wno-uninitialized    -lldap conftest.c  >&5
conftest.c: In function `main':
conftest.c:21: warning: implicit declaration of function `exit'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../libldap.so: undefined
reference to `ber_memalloc_x'

the ebuild appends -llber, but it seems it's lost at that test

imo, if libldap.so needs liblber but doesnt list it in its NEEDED, then ldap is
broken, not openssh
Comment 6 SpanKY gentoo-dev 2005-05-30 20:01:06 UTC
i dont use ldap myself, but can someone post the output of this:
readelf -d /usr/lib/libldap.so | grep NEEDED
Comment 7 Will Briggs 2005-05-30 20:18:59 UTC
LDAP would be useful for me.

# readelf -d /usr/lib/libldap.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [liblber.so.2]
 0x00000001 (NEEDED)                     Shared library: [libresolv.so.2]
 0x00000001 (NEEDED)                     Shared library: [libssl.so.0.9.7]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.0.9.7]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
Comment 8 SpanKY gentoo-dev 2005-05-30 20:29:15 UTC
hmm, well i say it's still a bug in ldap :)

if doing `gcc test.c -ldap` fails with that error message, libldap.so is bjorked
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-30 20:44:58 UTC
This is bug #93074 striking again.
for a workaround, emerge the new openldap-2.2* twice
Comment 10 SpanKY gentoo-dev 2005-05-30 20:54:51 UTC
thanks Robin

*** This bug has been marked as a duplicate of 93074 ***
Comment 11 SpanKY gentoo-dev 2005-06-04 18:05:26 UTC
*** Bug 95026 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-06-05 15:02:29 UTC
*** Bug 95145 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 00:45:28 UTC
*** Bug 95175 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 14:25:40 UTC
*** Bug 95198 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-06-07 03:50:23 UTC
*** Bug 95332 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2005-06-10 10:49:20 UTC
*** Bug 95704 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2005-06-22 17:11:51 UTC
*** Bug 96788 has been marked as a duplicate of this bug. ***
Comment 18 Christian Ashby 2005-06-24 14:17:01 UTC
*** Bug 96984 has been marked as a duplicate of this bug. ***
Comment 19 SpanKY gentoo-dev 2005-08-04 06:33:16 UTC
*** Bug 101284 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 03:57:03 UTC
*** Bug 101625 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2005-08-08 20:15:03 UTC
*** Bug 101818 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2005-08-09 07:55:22 UTC
*** Bug 101868 has been marked as a duplicate of this bug. ***
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-01-18 08:27:23 UTC
*** Bug 119427 has been marked as a duplicate of this bug. ***
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-02-02 10:09:49 UTC
*** Bug 121319 has been marked as a duplicate of this bug. ***
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2006-02-03 05:15:46 UTC
*** Bug 121419 has been marked as a duplicate of this bug. ***
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-02-03 06:57:57 UTC
*** Bug 121433 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-02-03 10:05:01 UTC
*** Bug 121452 has been marked as a duplicate of this bug. ***
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 03:30:45 UTC
*** Bug 121520 has been marked as a duplicate of this bug. ***
Comment 29 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 11:41:45 UTC
*** Bug 121698 has been marked as a duplicate of this bug. ***
Comment 30 SpanKY gentoo-dev 2006-02-05 12:39:08 UTC
*** Bug 121608 has been marked as a duplicate of this bug. ***
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 00:22:01 UTC
*** Bug 121780 has been marked as a duplicate of this bug. ***
Comment 32 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 06:18:14 UTC
*** Bug 121823 has been marked as a duplicate of this bug. ***
Comment 33 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 12:53:19 UTC
*** Bug 121864 has been marked as a duplicate of this bug. ***
Comment 34 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 02:22:35 UTC
*** Bug 121948 has been marked as a duplicate of this bug. ***
Comment 35 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 06:12:48 UTC
*** Bug 122116 has been marked as a duplicate of this bug. ***
Comment 36 Jakub Moc (RETIRED) gentoo-dev 2006-02-10 02:04:46 UTC
*** Bug 122341 has been marked as a duplicate of this bug. ***
Comment 37 Jakub Moc (RETIRED) gentoo-dev 2006-02-14 00:46:39 UTC
*** Bug 122750 has been marked as a duplicate of this bug. ***
Comment 38 Ben Pharr 2006-02-14 05:38:41 UTC
I removed the ldap USE flag and I'm still getting the error.
Comment 39 Jakub Moc (RETIRED) gentoo-dev 2006-02-18 07:13:08 UTC
*** Bug 123273 has been marked as a duplicate of this bug. ***
Comment 40 SpanKY gentoo-dev 2006-02-21 20:32:48 UTC
*** Bug 123672 has been marked as a duplicate of this bug. ***
Comment 41 Jakub Moc (RETIRED) gentoo-dev 2006-02-22 00:21:38 UTC
*** Bug 123673 has been marked as a duplicate of this bug. ***
Comment 42 Jakub Moc (RETIRED) gentoo-dev 2006-03-10 02:22:42 UTC
*** Bug 125683 has been marked as a duplicate of this bug. ***
Comment 43 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 00:04:40 UTC
*** Bug 127381 has been marked as a duplicate of this bug. ***
Comment 44 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 10:44:35 UTC
*** Bug 131245 has been marked as a duplicate of this bug. ***
Comment 45 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 23:58:52 UTC
*** Bug 132406 has been marked as a duplicate of this bug. ***