From owner-freebsd-stable@FreeBSD.ORG Tue Jan 30 13:43:56 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F79416A409 for ; Tue, 30 Jan 2007 13:43:56 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id DA89813C4A8 for ; Tue, 30 Jan 2007 13:43:55 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id A109C5EC8; Tue, 30 Jan 2007 16:43:54 +0300 (MSK) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 7D6CC5EE1; Tue, 30 Jan 2007 16:43:54 +0300 (MSK) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l0UDhrWW019176; Tue, 30 Jan 2007 16:43:53 +0300 (MSK) (envelope-from ru) Date: Tue, 30 Jan 2007 16:43:53 +0300 From: Ruslan Ermilov To: archon Message-ID: <20070130134353.GC1052@rambler-co.ru> References: <1169826560.9859.15.camel@cameroon.enclave.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline In-Reply-To: <1169826560.9859.15.camel@cameroon.enclave.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: freebsd-stable@freebsd.org Subject: Re: 'make buildworld' fails 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: Tue, 30 Jan 2007 13:43:56 -0000 --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2007 at 08:49:19PM +0500, archon wrote: > I've just updated the sources in FreeBSD 6.2-RELEASE and tried to > rebuild world. With option 'NO_CXX=3DYES' in /etc/make.conf world compiled > successful, if this option not added 'make buildworld' failed. 'make > buildworld' fails: > <..> > =3D=3D=3D> gnu/usr.bin/groff/src/libs/libgroff (depend) > Making version.cpp > rm -f .depend > mkdep -f .depend -a -DHAVE_CONFIG_H > -I/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/= groff/src/include -I/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../s= rc/include /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../c= ontrib/groff/src/libs/libgroff/iftoa.c /usr/src/gnu/usr.bin/groff/src/libs/= libgroff/../../../../../../contrib/groff/src/libs/libgroff/itoa.c /usr/src/= gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/lib= s/libgroff/matherr.c /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../= =2E./../../contrib/groff/src/libs/libgroff/progname.c > mkdep -f .depend > -a /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../= contrib/groff/src/libs/libgroff/assert.cpp /usr/src/gnu/usr.bin/groff/src/l= ibs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/change_lf.cp= p /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/gr= off/src/libs/libgroff/cmap.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff= /../../../../../../contrib/groff/src/libs/libgroff/color.cpp /usr/src/gnu/u= sr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/lib= groff/cset.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../= =2E./contrib/groff/src/libs/libgroff/device.cpp /usr/src/gnu/usr.bin/groff/= src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/errarg.= cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/= groff/src/libs/libgroff/error.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgr= off/../../../../../../contrib/groff/src/libs/libgroff/fatal.cpp /usr/src/gn= u/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/= libgroff/filename.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../..= /../../../contrib/groff/src/libs/libgroff/font.cpp /usr/src/gnu/usr.bin/gro= ff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/font= file.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../con= trib/groff/src/libs/libgroff/geometry.cpp /usr/src/gnu/usr.bin/groff/src/li= bs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/glyphuni.cpp = /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/grof= f/src/libs/libgroff/htmlhint.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgro= ff/../../../../../../contrib/groff/src/libs/libgroff/hypot.cpp /usr/src/gnu= /usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/l= ibgroff/invalid.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../.= =2E/../../contrib/groff/src/libs/libgroff/lf.cpp /usr/src/gnu/usr.bin/groff= /src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/lineno= =2Ecpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contr= ib/groff/src/libs/libgroff/macropath.cpp /usr/src/gnu/usr.bin/groff/src/lib= s/libgroff/../../../../../../contrib/groff/src/libs/libgroff/maxfilename.cp= p /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/gr= off/src/libs/libgroff/mksdir.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgro= ff/../../../../../../contrib/groff/src/libs/libgroff/nametoindex.cpp /usr/s= rc/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/= libs/libgroff/new.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../..= /../../../contrib/groff/src/libs/libgroff/paper.cpp /usr/src/gnu/usr.bin/gr= off/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/pri= me.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contr= ib/groff/src/libs/libgroff/ptable.cpp /usr/src/gnu/usr.bin/groff/src/libs/l= ibgroff/../../../../../../contrib/groff/src/libs/libgroff/searchpath.cpp /u= sr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/= src/libs/libgroff/string.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/.= =2E/../../../../../contrib/groff/src/libs/libgroff/strsave.cpp /usr/src/gnu= /usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/l= ibgroff/symbol.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../..= /../../contrib/groff/src/libs/libgroff/tmpfile.cpp /usr/src/gnu/usr.bin/gro= ff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/tmpn= ame.cpp /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../cont= rib/groff/src/libs/libgroff/unicode.cpp /usr/src/gnu/usr.bin/groff/src/libs= /libgroff/../../../../../../contrib/groff/src/libs/libgroff/uniglyph.cpp /u= sr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/= src/libs/libgroff/uniuni.cpp version.cpp=20 > /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 [...] > /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/gr= off/src/libs/libgroff/uniuni.cpp:29:21: unicode.h: No such file or directory > mkdep: compile failed > *** Error code 1 >=20 > Stop in /usr/src/gnu/usr.bin/groff/src/libs/libgroff. > *** Error code 1 [...] > My /etc/make.conf configuration file: >=20 > CPUTYPE?=3Dpentium4 > CFLAGS=3D-O0 -g -pipe > MAKE_SHELL?=3Dsh > COPTFLAGS=3D-O0 -g -pipe > CXXFLAGS=3D-O0 -g -pipe Don't do that! The make.conf(5) manpage states it explicitly that CXXFLAGS (if ever set) is to be set using the +=3D operator. By setting it explicitly, you broke it -- by default, it's set to ${CFLAGS} (the latter is expanded at run time!). In your case, just removing the CXXFLAGS line will 1) do what you want and 2) unbreak the build. : CXXFLAGS (str) Controls the compiler settings when compiling C++ : code. CXXFLAGS is initially set to the value of CFLAGS. : If you want to add to the CXXFLAGS value, use ``+=3D'' : instead of ``=3D''. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFv0uZqRfpzJluFF4RAt5jAJ4wGvyzSchfgY+ab/mUWRRubMnICgCeN6Ah W2MwJK3KiOsySSzKZr+EAts= =zbGE -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz--