When attempting to emerge openssh 4.1, it fails to configure stating "compiler cannot create working executables" while everything else on the system will compile fine. Reproducible: Always Steps to Reproduce: 1.emerge -uvDa openssh 2. 3. Actual Results: It failed to configure due to not creating executables. Expected Results: It should have compiled and installed successfully. :)
please give emerge info too
abyss64 ~ # emerge -uvDa openssh These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-misc/openssh-4.1_p1 [4.0_p1-r1] -X509 -chroot -debug -ipv6 -kerberos +ldap +libedit -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] yes >>> emerge (1 of 1) net-misc/openssh-4.1_p1 to / >>> md5 files ;-) openssh-4.1_p1.ebuild >>> md5 files ;-) openssh-4.0_p1-r1.ebuild >>> md5 files ;-) openssh-3.8.1_p1-r1.ebuild >>> md5 files ;-) openssh-3.9_p1-r2.ebuild >>> md5 files ;-) files/openssh-3.8.1_p1-largekey.patch.bz2 >>> md5 files ;-) files/openssh-3.9_p1-fix_suid.patch.bz2 >>> md5 files ;-) files/digest-openssh-4.1_p1 >>> md5 files ;-) files/openssh-3.8.1_p1-resolv_functions.patch.bz2 >>> md5 files ;-) files/openssh-3.9_p1-kerberos-detection.patch >>> md5 files ;-) files/openssh-3.8_p1-kerberos.patch.bz2 >>> md5 files ;-) files/sshd.pam_include >>> md5 files ;-) files/digest-openssh-3.9_p1-r2 >>> md5 files ;-) files/openssh-3.8_p1-chroot.patch.bz2 >>> md5 files ;-) files/openssh-3.5_p1-gentoo-sshd-gcc3.patch.bz2 >>> md5 files ;-) files/digest-openssh-3.8.1_p1-r1 >>> md5 files ;-) files/openssh-3.9_p1-pamfix.patch.bz2 >>> md5 files ;-) files/openssh-3.8.1_p1-kerberos.patch.bz2 >>> md5 files ;-) files/openssh-3.8_p1-skey.patch.bz2 >>> md5 files ;-) files/openssh-3.9_p1-configure-openct.patch >>> md5 files ;-) files/digest-openssh-4.0_p1-r1 >>> md5 files ;-) files/openssh-3.9_p1-chroot.patch >>> md5 files ;-) files/sshd.pam >>> md5 files ;-) files/sshd.rc6 >>> md5 files ;-) files/openssh-4.0_p1-smartcard-ldap-happy.patch >>> md5 files ;-) files/openssh-3.8.1_p1-skey.patch.bz2 >>> md5 files ;-) files/openssh-3.9_p1-selinux.diff.bz2 >>> md5 files ;-) files/openssh-3.9_p1-opensc.patch.bz2 >>> md5 files ;-) files/openssh-3.7.1_p1-selinux.diff.bz2 >>> md5 files ;-) files/openssh-3.9_p1-sftplogging-1.2-gentoo.patch.bz2 >>> md5 files ;-) files/openssh-3.9_p1-infoleak.patch >>> md5 files ;-) files/openssh-3.8.1_p1-opensc.patch.bz2 >>> md5 files ;-) files/openssh-3.9_p1-largekey.patch.bz2 >>> md5 files ;-) files/openssh-3.8.1_p1-chroot.patch.bz2 >>> 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-skey.patch.bz2 >>> md5 files ;-) files/openssh-3.8_p1-resolv_functions.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=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --with-ldflags= -lldap --disable-strip --sysconfdir=/etc/ssh --libexecdir=/usr/lib64/misc --datadir=/usr/share/openssh --disable-suid-ssh --with-privsep-path=/var/empty --with-privsep-user=sshd --with-md5-passwords --with-libedit --without-kerberos5 --with-tcp-wrappers --without-skey --without-opensc --with-pam --with-ipv4-default checking for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether byte ordering is bigendian... no checking for gawk... gawk checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... x86_64-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... no 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 ***
Created attachment 60710 [details] config.log
Recompile openldap and try again, please. Reopen if it still does not work then. *** This bug has been marked as a duplicate of 94458 ***