Re: make release cross-platform: Malformed conditional (${MK_SENDMAIL} != "no")

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Sun, 10 Sep 2006 12:24:56 +0400
On Sat, Sep 09, 2006 at 04:06:43PM +0200, Angelo Turetta wrote:
> I'm trying to build a -CURRENT install cdrom, using the following command:
> 
> make release CHROOTDIR=/usr/current \
>        EXTPORTSDIR=/usr/ports \
>        CVSROOT="/home/ncvs" NO_FLOPPIES=YES \
>        NODOC=YES NOPORTS=YES MAKE_ISOS=YES \
>        KERNELS_BASE=GENERIC TARGET_ARCH=amd64 \
>        BUILDNAME=7.0-20060909-SNAP
> 
> 
> from a XEON server running 6.1-STABLE FreeBSD Thu Sep  7 13:42:16 CEST 2006
> 
> First question (reality check): is it possible to build 7-CURRENT(amd64) 
> on 6-STABLE(i386)?
> 
Should be.

> If yes, do you know what may be the cause of the error I get after the 
> 'build world' phase? (please see attachment for make output)
>   cd /usr/src/release/../etc && make distrib-dirs 
> DESTDIR=/R/stage/trees/base
>   "Makefile", line 6: Malformed conditional (${MK_SENDMAIL} != "no")
>   "Makefile", line 8: if-less endif
> 
> 
A bug in release/Makefile?  Try changing this line:

        cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/base

to:

        cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Sun Sep 10 2006 - 06:24:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC