From owner-freebsd-current Fri May 1 22:03:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA07317 for freebsd-current-outgoing; Fri, 1 May 1998 22:03:27 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA07310 for ; Fri, 1 May 1998 22:03:22 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id AAA15206; Sat, 2 May 1998 00:01:40 -0400 (EDT) Date: Sat, 2 May 1998 00:01:40 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: John Birrell cc: jkh@time.cdrom.com, FreeBSD-current@FreeBSD.ORG Subject: Re: groff/devascii In-Reply-To: <199805020413.OAA08074@cimlogic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 2 May 1998, John Birrell wrote: > Chuck Robey wrote: > > If it is, could you give me a guess as to why it would been seen in a > > buildworld, but not in a make from gnu/usr.bin/groff? That's the part > > that I found confusing. > > buildworld builds things into /usr/obj/usr/src/tmp and executes them > for the rest of the build. Only when all things have been built using > the new tools does it remove DESTDIR and allow programs to get installed > in /usr/bin etc. When you did a make from gnu/usr.bin/groff, I bet you > didn't set DESTDIR to /usr/obj/usr/src/tmp, so you were using the > old (= working) version of bc. If you had done a 'make all && make > install' in src/gnu/usr.bin/bc, then groff/devascii would have failed. > > This is an example of what is good about the build process. It doesn't > clobber anything if the buildworld fails. > > The problem here, though, is that the changes to bc were obviously > committed without the developer doing a make world. Well, a minimal fix would be to change the line 240 / 10 | bc to 240 / 10 | bc | sed -e "1d" which would trim out the first line. I took a look at the bc code, it wasn't obvious how to get that echoing off ... it's likely some change in readline, I think. I'll commit this myself, after I do a test buildworld, if I don't hear any howls. It's in /usr/src/gnu/usr.bin/groff/Makefile.tty (thanks for that tip, John, I'd never have found it!) > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message