Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 12:24:56 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Angelo Turetta <aturetta@commit.it>
Cc:        freebsd-current@freebsd.org
Subject:   Re: make release cross-platform: Malformed conditional (${MK_SENDMAIL} != "no")
Message-ID:  <20060910082456.GA48789@rambler-co.ru>
In-Reply-To: <4502CA73.5040100@commit.it>
References:  <4502CA73.5040100@commit.it>

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

[-- Attachment #1 --]
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@FreeBSD.org
FreeBSD committer

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

iD8DBQFFA8vYqRfpzJluFF4RAiE2AJ45mCPraN4objAGncAh+Lz2S2pDWQCeOiPA
m6CVzqYjDMN0SpJO/T/0i0M=
=8+N1
-----END PGP SIGNATURE-----

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