Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 11:53:25 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        Kris Kennaway <kris@obsecurity.org>, stable@FreeBSD.ORG
Subject:   Re: buildworld (update from 4.3-stable) failed at crypto
Message-ID:  <20020927085325.GB66744@sunbay.com>
In-Reply-To: <20020927031512.P14903-100000@woozle.rinet.ru>
References:  <20020927030846.F14903-100000@woozle.rinet.ru> <20020927031512.P14903-100000@woozle.rinet.ru>

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

[-- Attachment #1 --]
On Fri, Sep 27, 2002 at 03:17:12AM +0400, Dmitry Morozovsky wrote:
> On Fri, 27 Sep 2002, Dmitry Morozovsky wrote:
> 
> DM> KK> > The crypto dist was installed (I've got the headers mentioned:
> DM> KK>
> DM> KK> Do you have the crypto sources in your source tree as well (and if
> DM> KK> yes, you're not building with NO_CRYPTO or NO_SECURE)?  OpenSSL is
> DM> KK> supposed to be rebuilt before pam_ssh in the world build (it uses the
> DM> KK> new OpenSSL headers instead of the stale ones in /usr/include).
> DM>
> DM> Yes, I'd missed mentioning this in my original posting (I'd been aware of The
> DM> Standard/Usual Trouble [tm] ;-)
> DM>
> DM> root@toriss:/usr/src# egrep 'SECURE|CRYPT' /etc/make.conf
> DM> #NOCRYPT=true
> DM> #NOSECURE=true
> DM>
> DM> root@toriss:/usr/src# grep crypt /usr/local/etc/stable-supfile
> DM> # These are the individual collections that make up FreeBSD's crypto
> DM> src-crypto
> DM> src-sys-crypto
> DM>
> DM> However, there's no installed version of these headers after [Pass 4:
> DM> populating /usr/obj.../include] :
> DM>
> DM> root@toriss:/usr/src# find /usr/obj -name rsa.h
> DM> [no output]
> 
> Also, there's such headers:
> 
> root@toriss:/usr/src# find crypto/openssl/ -name rsa.h -o -name dsa.h -o -name evp.h
> crypto/openssl/crypto/dsa/dsa.h
> crypto/openssl/crypto/evp/evp.h
> crypto/openssl/crypto/rsa/rsa.h
> 
Was this by accident a -DNOCLEAN buildworld?  I had a similar problem
upgrading a 4.5-RELEASE box to 4.7-RC, and it turned out to be a
build problem in secure/lib/ makefiles.  I have since fixed it in
5.0-CURREN, but did not yet merged the fixes to RELENG_4.

If that's the case, just removing /usr/obj/usr/src/secure/lib/*/openssl
may help.

But you said you don't have these headers in /usr/obj, and this looks
suspicious.  I hardly can say what's going on without actually having
looked at the logs -- try analyzing why they weren't installed in the
``stage 4: populating ${WORLDTMP}/usr/include''.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9lByFUkv4P6juNwoRAuKQAJ9QN0eLG5sYQqKQf7Ikf9O3zIh3dwCfX+5M
yoN0zEYsAyzW7fmf2oR29VE=
=YYBi
-----END PGP SIGNATURE-----

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