Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119145 - OpenSSH fails to compile
Summary: OpenSSH fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Andrea Barisani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 17:38 UTC by Tomas Cohen Arazi
Modified: 2006-04-15 00:33 UTC (History)
2 users (show)

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


Attachments
Preprocessed source stored into /var/tmp/portage/openssh-4.2_p1/temp/ccl4aAJ5.out (ccl4aAJ5.out,364.39 KB, application/octet-stream)
2006-01-15 17:43 UTC, Tomas Cohen Arazi
Details
Preprocessed source stored into /var/tmp/portage/openssh-4.1_p1-r1/temp/ccUw9erz.out (ccUw9erz.out,316.74 KB, application/octet-stream)
2006-01-15 17:45 UTC, Tomas Cohen Arazi
Details
Preprocessed source, openssh-4.2_p1-r1 (bug.err,413.95 KB, text/plain)
2006-02-12 03:09 UTC, Perki Pat
Details
Patches openssh ebuild to avoid gcc internal error (openssh-4.2_p1-r1.ebuild.diff,506 bytes, patch)
2006-02-25 12:37 UTC, Jesús P Rey (Chuso)
Details | Diff
Patches openssh ebuild to avoid gcc internal error (openssh-4.2_p1-r1.ebuild.diff,567 bytes, patch)
2006-02-25 15:02 UTC, Jesús P Rey (Chuso)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Cohen Arazi 2006-01-15 17:38:06 UTC
(a) When trying to compile (gcc-3.4.4 and gcc-3.4.5) net-misc/openssh-4.1_p1-r1 I get this error message:

i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -Wall -Wpointer-arith -Wno-uninitialized -I. -I.  -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c auth2-chall.c
session.c: In function `do_setusercontext':
session.c:1349: aviso: se us
Comment 1 Tomas Cohen Arazi 2006-01-15 17:38:06 UTC
(a) When trying to compile (gcc-3.4.4 and gcc-3.4.5) net-misc/openssh-4.1_p1-r1 I get this error message:

i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -Wall -Wpointer-arith -Wno-uninitialized -I. -I.  -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c auth2-chall.c
session.c: In function `do_setusercontext':
session.c:1349: aviso: se usó
Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/openssh-4.1_p1-r1/temp/ccUw9erz.out file, please attach this to your bugreport.
make: *** [session.o] Error 1
make: *** Se espera a que terminen otras tareas....


(b) When trying to compile (gcc-3.4.4 and gcc-3.4.5) net-misc/openssh-4.2_p1 I get this error message:

session.c: In function `do_setusercontext':
session.c:1356: aviso: se usó
Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/openssh-4.2_p1/temp/ccl4aAJ5.out file, please attach this to your bugreport.
make: *** [session.o] Error 1
make: *** Se espera a que terminen otras tareas....


#emerge --info

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Sempron(TM) 2400+
Gentoo Base System version 1.12.0_pre14
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="es_AR.ISO-8859-1"
LC_ALL="es_AR.ISO-8859-1"
LINGUAS="es en"
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 7zip X Xaw3d a52 aac aalib acl acpi aim alsa amarok amuled apache2 apm aqua_theme arts audiofile avalon bash-completion berkdb big-tables bitmap-fonts bootsplash browserplugin bzip2 cairo carbone_theme ccache cdb cddb cdparanoia cdr cgi chroot clamav cli cracklib crypt css ctype cups curl dba dbus directfb dts dvd dvdr dvdread eds effects emacs emboss encode esd ethereal exif expat fam fame fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb fortran gd gdbm geoip gif gimp gimpprint glgd glibc-omitfp glitz glut glx gmail gmp gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal haskell hfs id3 idn ieee1394 imagemagick imap imlib imlib2 inkjar innodb j2ee jack java javascript jpeg jpeg2k junit kde kipi lame latex lcms ldap libcaca libclamav libg++ libsamplerate libvisual libwww lirc lm_sensors logrotate lzo mad maildir matroska mhash mikmod mime ming mjpeg mmx mmxext mng mono motif mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer msn msnextras musepack musicbrainz mysql mythtv nas ncurses netbeans new-login nls nptl nptlonly nsplugin ntfs nvidia ofx ogg oggvorbis openal openexr opengl openssl oss pam pascal pcntl pcre pdflib pear perl php pic plugin png posix postgres povray python qmail qt quicktime quotas rar readline real recode reiserfs remote rpc rtc ruby samba scanner scp sdl sensord servlet-2.4 session slang soap sockets sou spamassassin spell spl sql sqlite sse sse-filters ssl struts subp subtitles subversion svg svga svgz sysvipc t1lib tcltk tcpd tetex theora tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vcdimager vfat virus-scan visualization vlm vorbis win32codecs winbind wma123 wmf wxgtk1 wxwindows xanim xcomposite xft xine xml xml2 xmlrpc xmms xosd xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yv12 zip zlib zvbi elibc_glibc kernel_linux linguas_es linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Tomas Cohen Arazi 2006-01-15 17:43:21 UTC
Created attachment 77218 [details]
Preprocessed source stored into /var/tmp/portage/openssh-4.2_p1/temp/ccl4aAJ5.out
Comment 3 Tomas Cohen Arazi 2006-01-15 17:45:16 UTC
Created attachment 77219 [details]
 Preprocessed source stored into /var/tmp/portage/openssh-4.1_p1-r1/temp/ccUw9erz.out
Comment 4 Perki Pat 2006-02-12 03:09:58 UTC
Created attachment 79559 [details]
Preprocessed source, openssh-4.2_p1-r1

i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c auth-options.c
i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c session.c
session.c: In function `do_setusercontext':
session.c:1426: aviso: se us
Comment 5 Perki Pat 2006-02-12 03:09:58 UTC
Created attachment 79559 [details]
Preprocessed source, openssh-4.2_p1-r1

i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c auth-options.c
i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c session.c
session.c: In function `do_setusercontext':
session.c:1426: aviso: se usó
Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/openssh-4.2_p1-r1/temp/cccyBPL5.out file, please attach this to your bugreport.
make: *** [session.o] Error 1
Comment 6 Perki Pat 2006-02-12 03:17:15 UTC
I get the same error, but for openssh-4.2_p1-r1 (also in Spanish, I knew problems with l10n with, for example, mplayer, but also with others)

#MAKEOPTS="-j1" emerge --update openssh

[...]

i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c auth-options.c
i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c session.c
session.c: In function `do_setusercontext':
session.c:1426: aviso: se us
Comment 7 Perki Pat 2006-02-12 03:17:15 UTC
I get the same error, but for openssh-4.2_p1-r1 (also in Spanish, I knew problems with l10n with, for example, mplayer, but also with others)

#MAKEOPTS="-j1" emerge --update openssh

[...]

i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c auth-options.c
i686-pc-linux-gnu-gcc -march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99  -I. -I.  -I/usr/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c session.c
session.c: In function `do_setusercontext':
session.c:1426: aviso: se usó
Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/openssh-4.2_p1-r1/temp/cccyBPL5.out file, please attach this to your bugreport.
make: *** [session.o] Error 1


#emerge info

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
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/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=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LANG="es_ES@euro.UTF-8"
LC_ALL="es_ES@euro.UTF-8"
LINGUAS="es"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 3dfx X Xaw3dxanim aalib acl acpi adns alib alsa apache apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bmp bonobo bzip2 bzlib c++ calendar caps cdda cddb cdparanoia cdr chroot cpdflib cpudetection cracklib cross crypt cscope css ctype cups curl curls curlwrappersdga directfb distribution divx4linux doc droproot dvb dvd dvdr dvdread dxr3 ecc ecode eds emacs emacs-w3 emboss encode escreen esd ethereal exif expat extensions fam fb fbcon ffmpeg fftw flac font-server foomaticdb fortran fping fpx ftp gcj gd gdbm gif gimpprint glut glx gmp gnome gnuplot gnutls gphoto2 gpm gps graphviz gs gssapi gstreamer gtk gtk2 gtkhtml hal high-ints howl idea idn imagemagick imlib ipv6 ithreads jabber java javacomm javascript jce jcs jikes jpeg kde kerberos krb4 latex lcms ldap leim libcaca libedit libg++ libgda libwww lingerd lirc lm_sensors lzw-tiff mad math matroska mbox mcal mem-cache memlimit mhash mikmod mime mmap mmx mmxext mng mono mozcalendar mozilla moznoirc moznomail mozp3p mozsvg mp3 mpc mpeg mpeg4 mpi mplayer mpm-leader mpm-metux mpm-peruser mpm-prefork mpm-threadpool mpm-worker msn mule multiprocess multislot mysql mysqli mythtv mzscheme nas native ncurses netbeans nfs nls nocardbus noimage nopie nossp nptl ntlm nvidia objc ogg oggvorbis openal opengl openntpd openssh pam pam_chroot pam_console pam_timestamp pcntl pcre pdflib perl php plotutils png posix private python qt quicktime quictime quotas rar readline real recode reiserfs rrdtool samba sasl sdl sftp sftplogging sharedext sharedmem simplexml slp smime snmp soap sockets socks5 softmmu speex spell spl sse sse2 sse3 ssl stats stencil-buffer subtitles svg svga svgz sysfs sysvipc szip tcpd tetex tga theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vhosts vim-pager vorbis win32codecs winbind wma123 wmf wxwindows x86 xchatdccserver xchattext xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc yahoo yaz zlib zvbi linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 8 Jesús P Rey (Chuso) 2006-02-25 12:37:08 UTC
Created attachment 80720 [details, diff]
Patches openssh ebuild to avoid gcc internal error

In my case, the problem was caused by this line:

      fatal("Couldn't chroot to user directory % s", user_dir);

because of the "% s" intead of "%s".

Here is the patch I used to fix this in the ebuild of 4.2_p1-r1
I need to do this everytime I update openssh, so the patch is applicable to any version.
Comment 9 Jesús P Rey (Chuso) 2006-02-25 14:56:23 UTC
Comment on attachment 80720 [details, diff]
Patches openssh ebuild to avoid gcc internal error

><HTML><BODY TEXT="#000000"><PRE>--- net-misc/openssh/openssh-4.2_p1-r1.ebuild	2006-02-25 21:02:26.000000000 +0100
>+++ net-misc/openssh/openssh-4.2_p1-r1.ebuild	2006-02-25 21:02:37.000000000 +0100
>@@ -58,6 +58,9 @@
> 	use X509 && epatch "${DISTDIR}"/${X509_PATCH}
> 	use sftplogging && epatch "${FILESDIR}"/openssh-4.2_p1-sftplogging-1.4-gentoo.patch.bz2
> 	use chroot && epatch "${FILESDIR}"/openssh-3.9_p1-chroot.patch
>+
>+	sed -i -e "s/% s/%s/" session.c
>+
> 	epatch "${FILESDIR}"/openssh-4.2_p1-selinux.patch
> 	use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch
> 	if ! use X509 ; then
Comment 10 Jesús P Rey (Chuso) 2006-02-25 15:02:09 UTC
Created attachment 80724 [details, diff]
Patches openssh ebuild to avoid gcc internal error

Ignore the previous comment.

And about the patch I post, it was wrong since the broken code is added with the chroot patch, so my fix must be applied after this patch.

This other patch for the ebuild does work.

Since the broken code is in the chroot patch, another workaround may be to disable chroot USE flag.
Comment 11 SpanKY gentoo-dev 2006-04-15 00:33:13 UTC
fixed in cvs