Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52479 - openssh-3.8.1_p1-r1 fails to compile
Summary: openssh-3.8.1_p1-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 55929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-30 10:56 UTC by Rene Androsch
Modified: 2004-08-05 17:36 UTC (History)
2 users (show)

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


Attachments
Attached is a config.log (config.log,431.70 KB, text/x-log)
2004-06-01 08:00 UTC, Kayne K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Androsch 2004-05-30 10:56:04 UTC
Emerging openssh-3.8.1_p1-r1 doesn't work.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
if test "doc" = "cat"; then \ 
        manpage=./`echo ssh_config.5.out | sed 's/\.[1-9]\.out$/\.0/'`; \ 
else \ 
        manpage=./`echo ssh_config.5.out | sed 's/\.out$//'`; \ 
fi; \ 
if test "doc" = "man"; then \ 
        /bin/sed -e 's|/etc/ssh/ssh_prng_cmds|/etc/ssh/ssh_prng_cmds|g' -e 
's|/etc/ssh/ssh_config|/etc/ssh/ssh_config|g' -e 
's|/etc/ssh/ssh_known_hosts|/etc/ssh/ssh_known_hosts|g' -e 
's|/etc/ssh/sshd_config|/etc/ssh/sshd_config|g' -e 's|/usr/libexec|/usr/lib/misc|g' -e 
's|/etc/shosts.equiv|/etc/ssh/shosts.equiv|g' -e 
's|/etc/ssh/ssh_host_key|/etc/ssh/ssh_host_key|g' -e 
's|/etc/ssh/ssh_host_dsa_key|/etc/ssh/ssh_host_dsa_key|g' -e 
's|/etc/ssh/ssh_host_rsa_key|/etc/ssh/ssh_host_rsa_key|g' -e 
's|/etc/ssh/ca/ca-bundle.crt|/etc/ssh/ca/ca-bundle.crt|g' -e 
's|/etc/ssh/ca/crt|/etc/ssh/ca/crt|g' -e 
's|/etc/ssh/ca/ca-bundle.crl|/etc/ssh/ca/ca-bundle.crl|g' -e 
's|/etc/ssh/ca/crl|/etc/ssh/ca/crl|g' -e 's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e 
's|/etc/ssh/moduli|/etc/ssh/moduli|g' -e 's|/etc/sshrc|/etc/ssh/sshrc|g' -e 
's|/usr/X11R6/bin/xauth|/usr/X11R6/bin/xauth|g' -e 's|/var/empty|/var/empty|g' -e 
's|/usr/bin:/bin:/usr/sbin:/sbin|/usr/bin:/bin:/usr/sbin:/sbin|g' ${manpage} | gawk 
-f ./mdoc2man.awk > ssh_config.5.out; \ 
else \ 
        /bin/sed -e 's|/etc/ssh/ssh_prng_cmds|/etc/ssh/ssh_prng_cmds|g' -e 
's|/etc/ssh/ssh_config|/etc/ssh/ssh_config|g' -e 
's|/etc/ssh/ssh_known_hosts|/etc/ssh/ssh_known_hosts|g' -e 
's|/etc/ssh/sshd_config|/etc/ssh/sshd_config|g' -e 's|/usr/libexec|/usr/lib/misc|g' -e 
's|/etc/shosts.equiv|/etc/ssh/shosts.equiv|g' -e 
's|/etc/ssh/ssh_host_key|/etc/ssh/ssh_host_key|g' -e 
's|/etc/ssh/ssh_host_dsa_key|/etc/ssh/ssh_host_dsa_key|g' -e 
's|/etc/ssh/ssh_host_rsa_key|/etc/ssh/ssh_host_rsa_key|g' -e 
's|/etc/ssh/ca/ca-bundle.crt|/etc/ssh/ca/ca-bundle.crt|g' -e 
's|/etc/ssh/ca/crt|/etc/ssh/ca/crt|g' -e 
's|/etc/ssh/ca/ca-bundle.crl|/etc/ssh/ca/ca-bundle.crl|g' -e 
's|/etc/ssh/ca/crl|/etc/ssh/ca/crl|g' -e 's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e 
's|/etc/ssh/moduli|/etc/ssh/moduli|g' -e 's|/etc/sshrc|/etc/ssh/sshrc|g' -e 
's|/usr/X11R6/bin/xauth|/usr/X11R6/bin/xauth|g' -e 's|/var/empty|/var/empty|g' -e 
's|/usr/bin:/bin:/usr/sbin:/sbin|/usr/bin:/bin:/usr/sbin:/sbin|g' ${manpage} > 
ssh_config.5.out; \ 
fi 
(cd openbsd-compat && make) 
make[1]: Entering directory 
`/var/tmp/portage/openssh-3.8.1_p1-r1/work/openssh-3.8.1p1/openbsd-compat' 
gcc -march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse 
-fprefetch-loop-arrays -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..  
-I/usr/include -DHAVE_CONFIG_H -c bsd-arc4random.c 
gcc -march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse 
-fprefetch-loop-arrays -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.  
-I/usr/include -DSSHDIR=\"/etc/ssh\" -DSSHCADIR=\"/etc/ssh/ca\" 
-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 
acss.c 
In file included from bsd-arc4random.c:17: 
../includes.h:180:19: kafs.h: No such file or directory 
In file included from acss.c:18: 
includes.h:180:19: kafs.h: No such file or directory 
make[1]: *** [bsd-arc4random.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/openssh-3.8.1_p1-r1/work/openssh-3.8.1p1/openbsd-compat' 
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2 
make: *** Waiting for unfinished jobs.... 
make: *** [acss.o] Error 1 
 
!!! ERROR: net-misc/openssh-3.8.1_p1-r1 failed. 
!!! Function src_compile, Line 99, Exitcode 2 
!!! compile problem 
 


Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 
2.4.25-gentoo-r2) 
================================================================= 
System uname: 2.4.25-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 
2.00GHz 
Gentoo Base System version 1.4.15 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops 
-fprefetch-loop-arrays -pipe" 
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/lib/jboss /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse 
-funroll-loops -fprefetch-loop-arrays -pipe" 
DISTDIR="/nfs/svn/distfiles" 
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" 
MAKEOPTS="-j2" 
PKGDIR="/nfs/svn/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X X509 acpi alsa apache apache2 apm arts artswrappersuid avantgo avi 
berkdb bluetooth bonobo cdr chroot crypt cups divx4linux doc dvd dvdr encode 
evo faad foomaticdb gcj gd-external gdbm ggi gif gnome gnomedb gphoto2 gpm gtk 
gtk2 gtkhtml idea imap imlib ipv6 irda irmc java javamail javascript jpeg kde 
kerberos ldap libg++ libgda libwww mad memlimit mhash mikmod mmx motif mozilla 
mpeg nas ncurses nls nvidia objc odbc oggvorbis ooo-kde opengl oss pda pdflib 
perl png pnp python qt quicktime readline ruby samba scanner sdl skey slang spell 
sqlite sse sse2 ssl tcltk tcpd tetex tiff truetype usb vim-with-x wifi x86 xml xml2 xmms 
xosd xv xvid zlib"
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-05-31 02:00:58 UTC
Please attach config.log from /var/tmp/portage/openssh-3.8.1_p1-r1/work/openssh-3.8.1p1
Comment 2 Kayne K 2004-06-01 08:00:15 UTC
Created attachment 32461 [details]
Attached is a config.log

Im including *my* config.log since the original bug poster did not.   Note that
I have a similar problem emerging openssh-3.8.1p1.
Comment 3 Kayne K 2004-06-01 08:28:33 UTC
reemerge heimdal-0.6.2 and openssl-0.9.7d and reemerged openssl and it seemed to emerge fine now.  Kafs.h is part of heimdal-0.6.2.   
Comment 4 Kayne K 2004-06-01 08:29:13 UTC
Er reemerge openssh, please excuse my typo.
Comment 5 Wolfram Schlich (RETIRED) gentoo-dev 2004-06-29 16:18:48 UTC
I have the same problem.

Installed:
--8<--
net-misc/openssh-3.8_p1
dev-libs/openssl-0.9.7d-r1
app-crypt/heimdal-0.6
--8<--

trying to upgrade openssh to:
--8<--
net-misc/openssh-3.8.1_p1-r1
--8<--

results in:
--8<--
gcc -march=pentium3 -O3 -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..   -I/usr/include -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from acss.c:18:
includes.h:180:19: kafs.h: No such file or directory
make: *** [acss.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -march=pentium3 -O3 -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..   -I/usr/include -DHAVE_CONFIG_H -c bsd-cray.c
In file included from bsd-arc4random.c:17:
../includes.h:180:19: kafs.h: No such file or directory
gcc -march=pentium3 -O3 -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..   -I/usr/include -DHAVE_CONFIG_H -c bsd-cygwin_util.c
make[1]: *** [bsd-arc4random.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from bsd-cygwin_util.c:30:
../includes.h:180:19: kafs.h: No such file or directory
make[1]: *** [bsd-cygwin_util.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openssh-3.8.1_p1-r1/work/openssh-3.8.1p1/openbsd-compat'
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

!!! ERROR: net-misc/openssh-3.8.1_p1-r1 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! compile problem
--8<--
Comment 6 Wolfram Schlich (RETIRED) gentoo-dev 2004-06-29 16:38:47 UTC
remerging resp. upgrading heimdal to app-crypt/heimdal-0.6.2 solved the problem for me. any ideas about the cause?!
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-07-02 20:15:34 UTC
*** Bug 55929 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-05 17:36:48 UTC
.