Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2006 11:04:59 +0400
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Ricardo Branco <goabranco@hotmail.com>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: FreeBSD 6.2-PRELEASE (RELENG_6) doesn't build
Message-ID:  <20061008070459.GB83718@rambler-co.ru>
In-Reply-To: <BAY108-F33ABF95014149A60EF0414B5110@phx.gbl>
References:  <BAY108-F33ABF95014149A60EF0414B5110@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

--dkEUBIird37B8yKS
Content-Type: multipart/mixed; boundary="FkmkrVfFsRoUs1wW"
Content-Disposition: inline


--FkmkrVfFsRoUs1wW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 08, 2006 at 12:23:45AM +0000, Ricardo Branco wrote:
> I update the whole world and kernel at least once a week.  This is the=20
> second time I'm trying to build world and it fails with:
>=20
> /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to=20
> `SHA256_Update'
> /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to=20
> `SHA256_Final'
> /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_In=
it'
>=20
There's a problem in the build system in RELENG_6, fixed by the
attached patch.  If you don't want to apply the patch for some
reason, temporary comment out NO_KERBEROS in /etc/make.conf.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--FkmkrVfFsRoUs1wW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=p
Content-Transfer-Encoding: quoted-printable

Index: secure/lib/libssh/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/secure/lib/libssh/Makefile,v
retrieving revision 1.34.2.4
diff -u -p -r1.34.2.4 Makefile
--- secure/lib/libssh/Makefile	6 Oct 2006 14:07:23 -0000	1.34.2.4
+++ secure/lib/libssh/Makefile	7 Oct 2006 15:43:13 -0000
@@ -32,14 +32,14 @@ LDADD=3D	-lz
=20
 .if !defined(NO_KERBEROS)
 CFLAGS+=3D -DGSSAPI -DHAVE_GSSAPI_H=3D1 -DKRB5 -DHEIMDAL
-DPADD+=3D	${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBR=
OKEN}
-LDADD+=3D	-lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
+DPADD+=3D	${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
+LDADD+=3D	-lgssapi -lkrb5 -lasn1 -lcom_err -lroken
 .endif
=20
 NO_LINT=3D
=20
-DPADD+=3D	${LIBCRYPTO} ${LIBCRYPT}
-LDADD+=3D	-lcrypto -lcrypt
+DPADD+=3D	${LIBCRYPTO} ${LIBCRYPT} ${LIBMD}
+LDADD+=3D	-lcrypto -lcrypt -lmd
=20
 .include <bsd.lib.mk>
=20
Index: secure/libexec/ssh-keysign/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/secure/libexec/ssh-keysign/Makefile,v
retrieving revision 1.6.2.1
diff -u -p -r1.6.2.1 Makefile
--- secure/libexec/ssh-keysign/Makefile	8 Jul 2006 14:37:18 -0000	1.6.2.1
+++ secure/libexec/ssh-keysign/Makefile	8 Oct 2006 00:42:40 -0000
@@ -8,8 +8,8 @@ CFLAGS+=3D-I${SSHDIR} -include ssh_namespa
 BINMODE=3D4511
 .endif
=20
-DPADD=3D	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD=3D	-lssh -lcrypt -lcrypto -lz
+DPADD=3D	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBMD} ${LIBZ}
+LDADD=3D	-lssh -lcrypt -lcrypto -lmd -lz
=20
 .include <bsd.prog.mk>
=20
Index: secure/usr.bin/sftp/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/secure/usr.bin/sftp/Makefile,v
retrieving revision 1.12.2.1
diff -u -p -r1.12.2.1 Makefile
--- secure/usr.bin/sftp/Makefile	8 Jul 2006 14:37:18 -0000	1.12.2.1
+++ secure/usr.bin/sftp/Makefile	7 Oct 2006 15:29:30 -0000
@@ -4,8 +4,8 @@ PROG=3D	sftp
 SRCS=3D   sftp.c sftp-client.c sftp-common.c sftp-glob.c progressmeter.c
 CFLAGS+=3D-I${SSHDIR} -include ssh_namespace.h
=20
-DPADD=3D	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} ${LIBEDIT}
-LDADD=3D	-lssh -lcrypt -lcrypto -lz -ledit
+DPADD=3D	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} ${LIBEDIT} ${LIBNCURSE=
S}
+LDADD=3D	-lssh -lcrypt -lcrypto -lz -ledit -lncurses
=20
 .include <bsd.prog.mk>
=20
Index: secure/usr.bin/ssh/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/secure/usr.bin/ssh/Makefile,v
retrieving revision 1.31.2.1
diff -u -p -r1.31.2.1 Makefile
--- secure/usr.bin/ssh/Makefile	8 Jul 2006 14:37:18 -0000	1.31.2.1
+++ secure/usr.bin/ssh/Makefile	7 Oct 2006 17:26:38 -0000
@@ -11,13 +11,15 @@ SRCS=3D	ssh.c readconf.c clientloop.c ssht
 	sshconnect.c sshconnect1.c sshconnect2.c \
 	gss-genr.c
=20
+DPADD=3D	${LIBSSH} ${LIBMD} ${LIBUTIL} ${LIBZ}
+LDADD=3D	-lssh -lmd -lutil -lz
 DPADD=3D	${LIBSSH} ${LIBUTIL} ${LIBZ}
 LDADD=3D	-lssh -lutil -lz
=20
 .if !defined(NO_KERBEROS)
 CFLAGS+=3D -DGSSAPI -DHAVE_GSSAPI_H=3D1 -DKRB5 -DHEIMDAL
-DPADD+=3D	 ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIB=
ROKEN}
-LDADD+=3D	 -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
+DPADD+=3D	 ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
+LDADD+=3D	 -lgssapi -lkrb5 -lasn1 -lcom_err -lroken
 .endif
=20
 .if defined(X11BASE)
Index: secure/usr.bin/ssh-keyscan/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/secure/usr.bin/ssh-keyscan/Makefile,v
retrieving revision 1.9.2.1
diff -u -p -r1.9.2.1 Makefile
--- secure/usr.bin/ssh-keyscan/Makefile	8 Jul 2006 14:37:19 -0000	1.9.2.1
+++ secure/usr.bin/ssh-keyscan/Makefile	7 Oct 2006 15:29:58 -0000
@@ -3,8 +3,8 @@
 PROG=3D	ssh-keyscan
 CFLAGS+=3D-I${SSHDIR} -include ssh_namespace.h
=20
-DPADD=3D	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD=3D	-lssh -lcrypt -lcrypto -lz
+DPADD=3D	${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBMD} ${LIBZ}
+LDADD=3D	-lssh -lcrypt -lcrypto -lmd -lz
=20
 .include <bsd.prog.mk>
=20

--FkmkrVfFsRoUs1wW--

--dkEUBIird37B8yKS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFKKMbqRfpzJluFF4RAoNZAKCa+57DEWBAdjVR9eklLMxNNwjhfACeNGit
k9iuPJbhmi1infjuOEN9qoc=
=PGVc
-----END PGP SIGNATURE-----

--dkEUBIird37B8yKS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061008070459.GB83718>