From owner-freebsd-stable@FreeBSD.ORG Sun Dec 4 19:14:14 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0B6916A41F for ; Sun, 4 Dec 2005 19:14:14 +0000 (GMT) (envelope-from michael.bowerman@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6393543D6A for ; Sun, 4 Dec 2005 19:14:04 +0000 (GMT) (envelope-from michael.bowerman@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so752565wxc for ; Sun, 04 Dec 2005 11:14:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hYQxltcc7kOiXnvytTrVOXA7NK4ABtsyW2Fkrs6rkDENY0LDJDcYelbBmSF9a/ZpIF1JIORFwFJk4g1QOSNGGDUkvOmSqWb/RqEgUCt+Z0LA8e0g0tvFAh1eUhdlxRKtcOae/Wl9T8qgQT+Lqu5Dk+Sfl07yHAlcLNGt56/DAvc= Received: by 10.70.50.10 with SMTP id x10mr5668100wxx; Sun, 04 Dec 2005 11:14:01 -0800 (PST) Received: by 10.70.33.3 with HTTP; Sun, 4 Dec 2005 11:14:01 -0800 (PST) Message-ID: <8038a35b0512041114x2dff35dbk81dab3bd89d762cf@mail.gmail.com> Date: Sun, 4 Dec 2005 13:14:01 -0600 From: Michael Bowerman To: Ruslan Ermilov In-Reply-To: <20051204075917.GB84983@ip.net.ua> MIME-Version: 1.0 References: <8038a35b0512031557j59e6ee11i84d9eb228d04ffdd@mail.gmail.com> <20051204075511.GA84983@ip.net.ua> <20051204075917.GB84983@ip.net.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: make buildworld fails:: cmap.h: No such file or directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 19:14:14 -0000 The poblem ended up being that I had in my make.conf: CFLAGS=3D -O2 -pipe CXXFLAGS=3D -O2 -pipe I ended up just removing the CXXFLAGS line. I probably cold have used CXXFLAGS+=3D... But, I don't think I have any needs for specific C++ flags= . Thanks for the help, Mike On 12/4/05, Ruslan Ermilov wrote: > > On Sun, Dec 04, 2005 at 09:55:11AM +0200, Ruslan Ermilov wrote: > > On Sat, Dec 03, 2005 at 05:57:09PM -0600, Michael Bowerman wrote: > > > When I do a make buildword, I get a bunch of .h files not found: > > > > /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/gr= off/src/libs/libgroff/cmap.cpp:27:18: > > > cmap.h: No such file or directory > > > > > > The cmap.h file is in another place in the source tree (an include > > > directory, I think). I'm wondering if this is a bug or some error on > my > > > part. I tried to rm -rf /usr/src/* and rm -rf /usr/obj/*, before a > cvsup. > > > But, that didn't seem to help, and I tried a different cvsup mirror > with no > > > luck. > > > > > > I like to run update in one command so I can (when everything goes > well) > > > leave the computer to do its thing. So, I typed: cvsup -g -L 2 > > > ~/stable-supfile > & ! ~/buildworld.log && make -j4 buildworld >> & > > > ~/buildworld.log && make -j4 buildkernel >> & ~/buildworld.log && mak= e > -j4 > > > installkernel >> & ~/buildworld.log & > > > > > > Here is the tail buildworld.log: > > > > > You seem to be hard-wiring your CFLAGS in such a way that -I's from > makefiles > > don't get passed to it. The command should have been > > > > mkdep -f .depend -a -DHAVE_CONFIG_H -I.../contrib/groff/src/include ... > > > Forgot to add: this likely happens because you pass CFLAGS on the make's > command line, such as "make ... CFLAGS=3D...". This way, make(1) actuall= y > has two CFLAGS variables: command-line and global. CFLAGS+=3D adds to th= e > global CFLAGS variable but ${CFLAGS} expands a value of the command-line > CFLAGS variable (which has a higher precedence). Go learn the different > types of make variables in the make(1) manpage. > > > Cheers, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer > > >