Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97540 - openssh-4.1_p1 emerge failed with ldap USE enabled and no openLDAP installed
Summary: openssh-4.1_p1 emerge failed with ldap USE enabled and no openLDAP installed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 13:35 UTC by simone
Modified: 2005-06-30 13:47 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 simone 2005-06-30 13:35:47 UTC
When i try to emerge openssh-4.1_p1 i get "can't create executables" error 
during econf. I have no openldap installed. All goes fine if i set 
USE="-ldap".   

Reproducible: Always
Steps to Reproduce:
1.emerge openssh 
2. 
3. 
 
Actual Results:  
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 
 


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.11-gentoo-r10 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r10 i686 AMD Athlon(tm) XP 2400+ 
Gentoo Base System version 1.6.12 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.9 
sys-devel/autoconf:  2.13, 2.59-r7 
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.1 
sys-devel/libtool:   1.5.18 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=athlon-xp -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/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/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-xp -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/  
http://gentoo.oregonstate.edu  
http://www.ibiblio.org/pub/Linux/distributions/gentoo  
http://pandemonium.tiscali.de/pub/gentoo/" 
LINGUAS="it" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowext X aalib alsa apache2 apm arts avi berkdb bindist 
bitmap-fonts cdr cdrw crypt cups curl divx4linux dv dvb dvd dvdr dvdread 
emboss encode esd fam flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 
gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack jack-tmpfs java joystick 
jpeg kde kdeenablefinal ldap libg++ libwww linguas_it mad mikmod mjpeg mmx 
mmxext motif mp3 mpeg mysql ncurses nls offensive ogg oggvorbis opengl oss pam 
pdflib perl png python qt quicktime readline real scanner sdl spell sse sse2 
ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb 
v4l vidix vorbis win32codecs xine xml xml2 xmms xv xvid zlib video_cards_ati 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-30 13:47:47 UTC
(In reply to comment #0)
> When i try to emerge openssh-4.1_p1 i get "can't create executables" error 
> during econf. I have no openldap installed. All goes fine if i set 
> USE="-ldap".

That is not possible, openssh RDEPENDs on openldap if you have ldap in your USE
flags; openldap will be emerged before openssh.

USE="ldap" emerge -epv openssh
<snip>
...

[ebuild  N    ] net-nds/openldap-2.1.30-r4  +berkdb +crypt -debug +gdbm -ipv6
+odbc +perl +readline -samba +sasl -slp +ssl +tcpd 1,996 kB
[ebuild  N    ] net-misc/openssh-3.9_p1-r2  -X509 -chroot -hpn -ipv6 -kerberos
+ldap* -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 43 kB
</snip>

So your steps to reproduce won't work. Please explain.