make release without a lot of the base system

Stijn Hoop stijn at win.tue.nl
Thu Mar 27 03:14:58 PST 2003


Hi,

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

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

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

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

# Do not build various parts of the system that we either provide from
# ports, or do not need at all.
NO_BIND=	true
NO_FORTRAN=	true
NO_I4B=		true
NO_IPFILTER=	true
NO_LPR=		true
NO_OBJC=	true
NOSECURE=	true
NO_OPENSSH=	true
NO_OPENSSL=	true
NO_X=		true
NOPERL=		true
NOUUCP=		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-----

===> kerberosIV/lib/libkrb
ln -sf /usr/src/kerberosIV/lib/libkrb/../../../crypto/kerberosIV/include/protos.
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/kerberosIV/lib/krb/krb_locl.h:126,
                 from /usr/src/kerberosIV/lib/libkrb/../../../crypto/kerberosIV/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 anything
with kerberos.

Second, I have tried adding MAKE_KERBEROS4=no 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=yes 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

-- 
Help Wanted: Telepath. You know where to apply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030327/dc5d8aa3/attachment.bin


More information about the freebsd-stable mailing list