I have looked for the header mentioned in bug #13795, didn't find it, getting the following error when trying to emerge openssh, using openssl 0.9.6m (see bug #56962): checking for getutxline... yes checking for pututxline... yes checking for setutxent... yes checking for utmpxname... yes checking for daemon... yes checking for getpagesize... yes checking whether snprintf correctly terminates long strings... yes checking for (overly) strict mkstemp... yes checking if openpty correctly handles controlling tty... yes checking whether getpgrp requires zero arguments... yes 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... not found configure: error: OpenSSL version header not found. !!! ERROR: net-misc/openssh-3.8.1_p1-r1 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1. emerge openssh Actual Results: compilation fails, bloking the initial emerge system step. Expected Results: clean install of openssh Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9,2.3.3.20040420-r0, 2.4.18-1-686) ================================================================= System uname: 2.4.18-1-686 i686 Pentium II (Klamath) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O1 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O1 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt encode foomaticdb gdbm gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis oss pam pdflib perl png python qt quicktime readline samba sdl slang spell svga tcpd truetype x86 xml2 xv zlib"
I have tried all the openssh ebuilds in portage tree with the same results, with openssl 0.9.7 and 0.9.6.
Please attach config.log from openssh.
Created attachment 35420 [details] config.log of a failed openssh emerge
Same problem as the openssl bug, "cannot enable executable stack as shared object requires: Error 14"... Have you enabled any grsecurity/hardened stuff or stack protecting things in the kernel? Does these errors occur when you have booted from a livecd? what version and what kernel? Could you post a complete log of the openssl compilation?
no grsec/hardened/selinux stuff enabled, bootstraping from debian stable (woody): 2.4.18-1-658 (the computer doesn't have a cd-drive to try livecd). Will post openssl compile log soon.
Seems like the compilation problems were caused by the debian kernel used while bootstrapping, with a kernel compiled on the newly installed gentoo system openssh emerges just fine.
this is Bug 31680
*** This bug has been marked as a duplicate of 31680 ***