The current stable version of app-misc/screen fails to compile with the following error: !!! ERROR: app-misc/screen-4.0.2 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed Other output below. Reproducible: Always Steps to Reproduce: 1. emerge screen 2. Er... 3. That's it. Actual Results: The following output was seen from emerge: >>> Unpacking source... >>> Unpacking screen-4.0.2.tar.gz to /var/tmp/portage/screen-4.0.2/work * Applying screen-4.0.1-int-overflow-fix.patch... [ ok ] * Applying screen-4.0.1-vsprintf.patch... [ ok ]>>> Source unpacked. pam this is screen version 4.0.2 checking for i686-pc-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for library containing strerror... none required checking for gawk... gawk checking for a BSD-compatible install... /bin/install -c configure: checking for buggy tools... - sh is 'GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)'. - sed is 'GNU sed version 4.0.9'. checking if a system-wide socket dir should be used... yes checking for the socket dir... "/var/run/screen" configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking SVR4... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dwarf.h usability... yes checking dwarf.h presence... yes checking for dwarf.h... yes configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setreuid... configure: checking seteuid... configure: checking select... configure: checking fifos... - your fifos are usable configure: checking for broken fifo implementation... - your implementation is ok configure: checking sockets... - your sockets are usable configure: checking socket implementation... - you are normal - both sockets and fifos usable. let's take fifos. configure: checking select return value... - select can't count configure: checking for tgetent... configure: checking libcurses... - you use the terminfo database configure: checking ospeed... configure: checking for /dev/ptc... configure: checking for SVR4 ptys... checking for getpt... yes configure: checking for ptyranges... configure: checking default tty permissions/group... - pty mode: 0620, group: 5 configure: checking getutent... configure: checking ut_host... checking utempter.h usability... yes checking utempter.h presence... yes checking for utempter.h... yes configure: checking for libutil(s)... configure: checking getloadavg... assuming posix signal definition configure: checking for crypt and sec libraries... configure: checking crypt... configure: checking IRIX sun library... configure: checking syslog... configure: checking syslog in libbsd.a... - bad news: syslog missing. configure: checking wait union... configure: checking for termio or termios... configure: checking getspnam... configure: checking getttyent... configure: checking fdwalk... configure: checking whether memcpy/memmove/bcopy handles overlapping arguments... checking long file names... yes checking for vsprintf... no checking for dirent.h that defines DIR... yes checking for library containing opendir... no checking for setenv... no checking for putenv... no checking for nl_langinfo(CODESET)... no checking for library containing gethostname... no checking for rename... no checking for fchmod... no checking for fchown... no checking for strerror... no checking for lstat... no checking for _exit... no checking for utimes... no checking for vsnprintf... no checking for getcwd... no checking for setlocale... no checking for strftime... no checking for PAM support... noconfigure: error: Can't run the compiler - internal error. Sorry. !!! ERROR: app-misc/screen-4.0.2 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed Expected Results: A successful emerge. Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-wolk3.0) ================================================================= System uname: 2.6.5-wolk3.0 i686 AMD Athlon(tm) MP 2000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -Os -pipe -fomit-frame-pointer -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -Os -pipe -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Do you have sys-libs/pam and the needed modules installed?
Yes - ebuild version 0.77 is installed.
I'm a little stumped as it compiles for me. Can you try for the sake of it recompiling sys-libs/pam and then screen. If it still fails can you attach /var/log/portage/app-misc/screen-4.0.2/workdir/app-misc/screen-4.0.2/config.log. Can I also get your pam version although I doubt it will have too much influence. Thanks.
I got a few other people to test this and it works without problem. If you want to reopen it attach the config.log previously mentioned