From owner-freebsd-stable@FreeBSD.ORG Wed Aug 27 04:33:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2471065690 for ; Wed, 27 Aug 2008 04:33:52 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8C78FC0C for ; Wed, 27 Aug 2008 04:33:51 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so371453eyi.7 for ; Tue, 26 Aug 2008 21:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=GOb7aoldF5DdjBR6KxSuJeJ0FYHk+m9J8bMKma7e41w=; b=klweRpt3R4vwP5LUbCWB8cB1bhvNDrm3jaSSrIwt11jDE6kZJM4HeWbqtSbUCfjfOH phy/mHoYtEAP0AUtooHIHDrhMJeTEoof5120ZR37Zs2PLhf/vqevWA26w+3n3AMSY8Wx Zfls+qbMSCVKPYS1TNqS7+yxdntHyR9Z2VxHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=kWM9QgK9SYBfO0k/iZWzUpNv3/KLQx6P6sYPe3VVRpcP57ETQCMFpXMSVpWkm3gYhJ lAWZ8rydSiHrH+2XTV52T+s84JJYp/JuWLTWIuSRTYinMex8EDA/FfVP49AMxDBJGe3B uoR9W4zFD/iCQrdnpQMOSiHZAhu4Ieq/wMRVE= Received: by 10.210.49.19 with SMTP id w19mr129645ebw.70.1219810401150; Tue, 26 Aug 2008 21:13:21 -0700 (PDT) Received: from ?192.168.1.2? ( [85.173.18.252]) by mx.google.com with ESMTPS id t2sm28665384gve.9.2008.08.26.21.13.19 (version=SSLv3 cipher=RC4-MD5); Tue, 26 Aug 2008 21:13:20 -0700 (PDT) Message-ID: <48B4D45A.7090204@gmail.com> Date: Wed, 27 Aug 2008 08:13:14 +0400 From: Yuri Pankov User-Agent: Thunderbird 3.0a1 (Windows/2008050715) MIME-Version: 1.0 To: Alex Goncharov References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Another attempt [Re: Groff is not working in the latest code] 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: Wed, 27 Aug 2008 04:33:52 -0000 Alex Goncharov wrote: > `groff' is still not working for me, and with it `man' doesn't: > > ---------------------------------------- > $ uname -srv > FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #34: Tue Aug 26 18:14:46 EDT 2008... > > $ man man > /usr/bin/groff: can't find `DESC' file > /usr/bin/groff:fatal error: invalid device `ascii' > ---------------------------------------- > [snip] > > So, I looked at how things are being built and think that the > following is supposed to happen with respect to `groff' -- a GNU > program: > > 1. The build is driven by `gnu/usr.bin/groff/Makefile' (all paths in > the following are relative to `/usr/src'. > > 2. During the build, the original "contrib" code is used, to be found > in `contrib/groff'. > > That code is configured by the pristine `contrib/groff/configure' > and results in setting the "prefix" to the GNU-usual `/usr/local' > and generating the FreeBSD-unaware `defs.h' and `config.h'. contrib/groff/configure shouldn't be called at all, looks like there's something wrong with your local build environment. Check timestamps on src/contrib/groff and src/gnu/usr.bin/groff contents (try removing them and checkout again). Posting relevant entries from /etc/{make,src}.conf and your `env` output could be helpful too. > 3. Then some magic "is supposed to happen / was happening two weeks > ago for me", when the newly generated `defs.h' and `config.h' are > replaced with the FreeBSD hard versions that had been delivered > from CVS -- and the paths get corrected to eliminate the `local' > component from them and do other path adjustments to bring it all > to the FreeBSD standards: > > -------------------- > $ diff contrib/groff/src/include/defs.h gnu/usr.bin/groff/src/include/defs.h | head -n 12 yuri:/usr/src> diff -u contrib/groff/src/include/defs.h gnu/usr.bin/groff/src/include/defs.h diff: contrib/groff/src/include/defs.h: No such file or directory [snip] > 4. Then the build happens with whatever `defs.h' and `config.h' will > be found at that time under `contrib/groff/src/include'. > > If the step 3 worked before but is not working now, it explains my > current end results. > > But how about others: everything works for you? What could have > triggered the change in the process for me a week or so ago? `man man` works for me on 7.0-RELEASE with groff built from RELENG_7 src. > Anybody is able and willing to lead me out of my lasting misery? > > Thanks, > > -- Alex -- alex-goncharov@comcast.net -- HTH, Yuri