From owner-freebsd-current@FreeBSD.ORG Fri Aug 1 22:51:53 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F56F37B401 for ; Fri, 1 Aug 2003 22:51:53 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B075743F93 for ; Fri, 1 Aug 2003 22:51:43 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h725oU0U058328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Aug 2003 08:50:30 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h725oTb9058322; Sat, 2 Aug 2003 08:50:29 +0300 (EEST) (envelope-from ru) Date: Sat, 2 Aug 2003 08:50:29 +0300 From: Ruslan Ermilov To: Peorth Message-ID: <20030802055028.GB55688@sunbay.com> References: <1059796086.35389.255.camel@artificial.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: <1059796086.35389.255.camel@artificial.ath.cx> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: groff and mkdep? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 05:51:53 -0000 --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 01, 2003 at 08:48:07PM -0700, Peorth wrote: > I've just started to try and sync up to -CURRENT, and my first time > asking on the lists, and everything seems to be going fine, except > groff's build dies with > rm -f .depend > mkdep -f .depend -a =20 > /usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../contrib/g= roff/src/libs/libdriver/input.cpp /usr/src/gnu/usr.bin/groff/src/libs/libdr= iver/../../../../../../contrib/groff/src/libs/libdriver/printer.cpp > /usr/src/contrib/groff/src/libs/libdriver/input.cpp:244:20: driver.h: No > such file or directory > /usr/src/contrib/groff/src/libs/libdriver/input.cpp:245:20: device.h: No > such file or directory > /usr/src/contrib/groff/src/libs/libdriver/printer.cpp:29:20: driver.h: > No such file or directory > mkdep: compile failed > *** Error code 1 >=20 > I've tried everything I can think of, including changing the Makefile to > explicitly include the groff directories via CFLAGS, CXXFLAGS, and such > (and it adds the directive), but that doesn't seem to help in the > slightest. > Does anyone have any idea what's wrong with this? Is there any way to > bypass this particular program in the build, and is it safe to do so? >=20 I can only reproduce this with "make depend CFLAGS=3D". Something somewhere overrides the normal CFLAGS value; the command line above is incorrect, the correct one should look like this: mkdep -f .depend -a -DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/groff/src/lib= s/libdriver/../../../../../../contrib/groff/src/include -I/usr/src/gnu/usr.= bin/groff/src/libs/libdriver/../../../src/include /usr/src/gnu/usr.bin/g= roff/src/libs/libdriver/../../../../../../contrib/groff/src/libs/libdriver/= input.cpp /usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../c= ontrib/groff/src/libs/libdriver/printer.cpp So in short, something is wrong with your build environment. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/K1EkUkv4P6juNwoRAu/vAJ93dnRpU20c1d3+DmUpdg4Xew4ucACfXY3/ PYqskC1SR8uediXVj5WedGY= =9WUm -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc--