Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 12:14:40 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        freebsd-stable@freebsd.org
Subject:   make release without a lot of the base system
Message-ID:  <20030327111440.GJ93053@pcwin002.win.tue.nl>

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

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

Hi,

I'm trying to make a release of RELENG_4 that doesn't include a lot of opti=
ons
from the base system. I have this in the chroot environment's /etc/make.con=
f:

----->8------>8------>8-----

#
# /etc/make.conf for chroot release build environment.
#

# We're not in the USA.
USA_RESIDENT=3D	no

# Do not build various parts of the system that we either provide from
# ports, or do not need at all.
NO_BIND=3D	true
NO_FORTRAN=3D	true
NO_I4B=3D		true
NO_IPFILTER=3D	true
NO_LPR=3D		true
NO_OBJC=3D	true
NOSECURE=3D	true
NO_OPENSSH=3D	true
NO_OPENSSL=3D	true
NO_X=3D		true
NOPERL=3D		true
NOUUCP=3D		true

----->8------>8------>8-----

The first buildworld, done before make release, was done without any
NO_* options, so the populated environment is pretty standard.

The problem is, make release always fails at the chroot buildworld stage,
when trying to 'make depend' in kerberosIV stuff, because it's missing
openssl headers:

----->8------>8------>8-----

=3D=3D=3D> kerberosIV/lib/libkrb
ln -sf /usr/src/kerberosIV/lib/libkrb/../../../crypto/kerberosIV/include/pr=
otos.
H protos.h
rm -f .depend
mkdep -f .depend -a ...

[A LOT OF FILENAMES SNIPPED]

In file included from /usr/src/kerberosIV/lib/libkrb/../../../crypto/kerber=
osIV/lib/krb/krb_locl.h:126,
                 from /usr/src/kerberosIV/lib/libkrb/../../../crypto/kerber=
osIV/lib/krb/check_time.c:34:
/usr/src/kerberosIV/lib/libkrb/../../../crypto/kerberosIV/lib/krb/krb.h:52:=
 openssl/des.h: No such file or directory

[LOTS OF REPEATS OF THIS EXACT SAME ERROR]

----->8------>8------>8-----

First, should even kerberos be built with the NO* options above? I don't
think it makes much sense to do so, but then again I have never done anythi=
ng
with kerberos.

Second, I have tried adding MAKE_KERBEROS4=3Dno to make.conf but that doesn=
't
appear to make a difference. What's the correct option in /etc/make.conf to
skip building kerberos 4 and 5?

I also tried building without NOSECURE=3Dyes but that also got me an error.
Unfortunately I assumed it was because you couldn't build secure sources
without OPENSSL/OPENSSH so I forgot to note the error. I can try to
reproduce it if it's needed.

--Stijn

--=20
Help Wanted: Telepath. You know where to apply.

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

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

iD8DBQE+gt0gY3r/tLQmfWcRAqCNAJ9UjH06CpGC988zKHg0Za6V1W/cPQCgnsDY
NEV1Gd6LKe7FfwXm2tgpAgk=
=6HnF
-----END PGP SIGNATURE-----

--ExXT7PjY8AI4Hyfa--



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