amd64/161326: [PATCH] cannot buildworld FreeBSD-9.0-BETA3 (RELENG_9)
Andrei Lavreniyuk
andy.lavr at gmail.com
Thu Oct 6 09:40:08 UTC 2011
>Number: 161326
>Category: amd64
>Synopsis: [PATCH] cannot buildworld FreeBSD-9.0-BETA3 (RELENG_9)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 06 09:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Andrei Lavreniyuk
>Release: FreeBSD 9.0-BETA3
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD opensolaris.technica-03.local 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Mon Oct 3 15:10:26 EEST 2011 root at opensolaris.technica-03.local:/usr/obj/usr/src/sys/SMP64R amd64
>Description:
===> secure/lib/libcrypto/engines/libatalla (all)
===> secure/lib/libcrypto/engines/libcswift (all)
===> secure/lib/libcrypto/engines/libchil (all)
===> secure/lib/libcrypto/engines/libnuron (all)
===> secure/lib/libcrypto/engines/libsureware (all)
===> secure/lib/libcrypto/engines/libubsec (all)
===> secure/lib/libssl (all)
===> secure/lib/libssh (all)
===> secure/libexec (all)
===> secure/libexec/sftp-server (all)
===> secure/libexec/ssh-keysign (all)
clang -O2 -pipe -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -march=core2 -I/usr/src/secure/libexec/ssh-keysign/../../../crypto/openssh -include ssh_namespace.h -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -c /usr/src/secure/libexec/ssh-keysign/../../../crypto/openssh/readconf.c
ctfconvert -L VERSION readconf.o
clang -O2 -pipe -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -march=core2 -I/usr/src/secure/libexec/ssh-keysign/../../../crypto/openssh -include ssh_namespace.h -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -o ssh-keysign ssh-keysign.o readconf.o roaming_dummy.o -lssh -lcrypt -lcrypto -lz
clang: warning: argument unused during compilation: '-std=gnu99'
readconf.o: In function `fill_default_options':
/usr/src/secure/libexec/ssh-keysign/../../../crypto/openssh/readconf.c:(.text+0x2272): undefined reference to `ssh_buffer_get_max_len'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop in /usr/src/secure/libexec/ssh-keysign.
*** Error code 1
Stop in /usr/src/secure/libexec.
*** Error code 1
Stop in /usr/src/secure.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
---------------------------------------
1 warning generated.
ctfconvert -L VERSION mux.o
clang -O2 -pipe -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -march=core2 -I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include ssh_namespace.h -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -c /usr/src/secure/usr.bin/ssh/../../../crypto/openssh/roaming_common.c
ctfconvert -L VERSION roaming_common.o
clang -O2 -pipe -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -march=core2 -I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include ssh_namespace.h -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -c /usr/src/secure/usr.bin/ssh/../../../crypto/openssh/roaming_client.c
ctfconvert -L VERSION roaming_client.o
clang -O2 -pipe -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -march=core2 -I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include ssh_namespace.h -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -c /usr/src/secure/usr.bin/ssh/../../../crypto/openssh/gss-genr.c
ctfconvert -L VERSION gss-genr.o
clang -O2 -pipe -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -march=core2 -I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include ssh_namespace.h -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o mux.o roaming_common.o roaming_client.o gss-genr.o -lssh -lutil -lz -lgssapi -lcrypt -lcrypto
clang: warning: argument unused during compilation: '-std=gnu99'
ssh.o: In function `main':
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c:(.text+0x1b32): undefined reference to `ssh_sock_get_rcvbuf'
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c:(.text+0x1b53): undefined reference to `ssh_sock_get_rcvbuf'
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c:(.text+0x1b88): undefined reference to `ssh_channel_set_hpn'
readconf.o: In function `fill_default_options':
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/readconf.c:(.text+0x2272): undefined reference to `ssh_buffer_get_max_len'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop in /usr/src/secure/usr.bin/ssh.
*** Error code 1
Stop in /usr/src/secure/usr.bin.
*** Error code 1
Stop in /usr/src/secure.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
---------------------
clang: warning: argument unused during compilation: '-std=gnu99'
sshd.o: In function `main':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/sshd.c:(.text+0x210c): undefined reference to `ssh_channel_set_hpn'
servconf.o: In function `fill_default_server_options':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/servconf.c:(.text+0x871): undefined reference to `ssh_sock_get_rcvbuf'
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/servconf.c:(.text+0x88a): undefined reference to `ssh_buffer_get_max_len'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop in /usr/src/secure/usr.sbin/sshd.
*** Error code 1
Stop in /usr/src/secure/usr.sbin.
*** Error code 1
Stop in /usr/src/secure.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
------------------
>How-To-Repeat:
>Fix:
Please view 3 patch.
Patch attached with submission follows:
--- Makefile.orig 2011-09-23 03:51:37.000000000 +0300
+++ Makefile 2011-10-06 12:13:46.000000000 +0300
@@ -9,7 +9,7 @@
MAN= ssh.1 ssh_config.5
MLINKS= ssh.1 slogin.1
-SRCS= ssh.c readconf.c clientloop.c sshtty.c \
+SRCS= ssh.c misc.c buffer.c channels.c readconf.c clientloop.c sshtty.c \
sshconnect.c sshconnect1.c sshconnect2.c mux.c \
roaming_common.c roaming_client.c
--- Makefile.orig 2011-10-06 11:39:19.000000000 +0300
+++ Makefile 2011-10-06 11:52:49.536800467 +0300
@@ -1,7 +1,7 @@
# $FreeBSD: src/secure/libexec/ssh-keysign/Makefile,v 1.9.2.1 2011/09/23 00:51:37 kensmith Exp $
PROG= ssh-keysign
-SRCS= ssh-keysign.c readconf.c roaming_dummy.c
+SRCS= ssh-keysign.c buffer.c readconf.c roaming_dummy.c
MAN= ssh-keysign.8
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
.if defined(ENABLE_SUID_SSH)
--- Makefile.orig 2011-10-06 12:22:38.544802099 +0300
+++ Makefile 2011-10-06 12:21:39.000000000 +0300
@@ -16,7 +16,7 @@
auth2-gss.c gss-serv.c gss-serv-krb5.c \
loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \
sftp-server.c sftp-common.c \
- roaming_common.c roaming_serv.c
+ roaming_common.c roaming_serv.c misc.c buffer.c channels.c
# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
SRCS+= gss-genr.c
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list