From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 21 20:25:56 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8B5106567D for ; Fri, 21 Mar 2008 20:25:56 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service2.sh.cvut.cz (service2.sh.cvut.cz [IPv6:2001:718:2:0:217:a4ff:fe3f:b3d4]) by mx1.freebsd.org (Postfix) with ESMTP id 7DD0F8FC18 for ; Fri, 21 Mar 2008 20:25:55 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service2.sh.cvut.cz (Postfix) with ESMTP id ADCAA137742; Fri, 21 Mar 2008 21:25:54 +0100 (CET) Received: from service2.sh.cvut.cz ([127.0.0.1]) by localhost (service2.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04813-02; Fri, 21 Mar 2008 21:25:47 +0100 (CET) Received: from [192.168.1.2] (r4v24.net.upc.cz [84.42.149.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by service2.sh.cvut.cz (Postfix) with ESMTP id 47B1013773A; Fri, 21 Mar 2008 21:25:47 +0100 (CET) Message-ID: <47E419A5.7060407@sh.cvut.cz> Date: Fri, 21 Mar 2008 21:25:09 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: "M. Warner Losh" References: <47E02602.1050102@sh.cvut.cz> <20080319043647.GA6088@kobe.laptop> <20080321.103454.174086793.imp@bsdimp.com> In-Reply-To: <20080321.103454.174086793.imp@bsdimp.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigCF43B03C9349EAF091464BFD" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at service2.sh.cvut.cz X-Spam-Status: No, hits=0.0 tagged_above=-255.0 required=5.0 tests=AWL, CRM114_HAM_00, JR_RCVD_TOO_FEW_HOPS X-Spam-Level: Cc: keramida@ceid.upatras.gr, hackers@FreeBSD.org Subject: Re: Building in /usr/src copied to $HOME X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 20:25:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCF43B03C9349EAF091464BFD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable M. Warner Losh wrote, On 21.3.2008 17:34: > In message: <20080319043647.GA6088@kobe.laptop> > Giorgos Keramidas writes: > : On 2008-03-18 21:28, V??clav Haisman wrote: > : > Hi, > : > I am trying to use /usr/src copied to my $HOME but the build proces= s > : > doesn't want to work. For example when I try build /bin/cp I get th= e > : > following: > : > > : > shell::wilx:~/freebsd/src/bin/cp> make > : > "/usr/home/users/wilx/freebsd/src/bin/cp/../Makefile.inc", line 9: > : > Malformed conditional (${MK_DYNAMICROOT} =3D=3D "no") > : > "/usr/share/mk/bsd.init.mk", line 15: if-less endif > : > make: fatal errors encountered -- cannot continue > : > > : > Is there any sort of tutorial/prescription anywhere how to use /usr= /src > : > tree that does not reside in /usr/src? > :=20 > : Hmmm, that should work. I regularly build as a non-root user, at > : `/home/build/src'. > :=20 > : The error about ``Malformed conditional'' seems a bit odd too. Are y= ou > : using /usr/bin/make? What version of FreeBSD is the build host runni= ng, > : and what version of the source tree have you checked out? >=20 > The problem is that MK_DYNAMICROOT is defined by bsd.own.mk. This > likely means that he's not building the same version of FreeBSD as the > system is running, otherwise the system's bsd.own.mk file would cope. >=20 > Warner That was the problem as I stated in email from two days ago. I guess nobo= dy=20 noticed the second email :) -- VH --------------enigCF43B03C9349EAF091464BFD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH5Bm3oUFWwtEPkHIRCDWVAJ9/MxtdueE1EeGqGBuPfOv6ybKsJACfVESl HSkffh6qSdmhkmKDrvKOk/g= =FTjK -----END PGP SIGNATURE----- --------------enigCF43B03C9349EAF091464BFD--