From owner-freebsd-hackers Sat Sep 23 04:19:32 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA27921 for hackers-outgoing; Sat, 23 Sep 1995 04:19:32 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA27857 for ; Sat, 23 Sep 1995 04:19:27 -0700 Received: from corbin.Root.COM (corbin [198.145.90.34]) by Root.COM (8.6.12/8.6.5) with ESMTP id EAA03314; Sat, 23 Sep 1995 04:18:06 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id EAA00251; Sat, 23 Sep 1995 04:20:36 -0700 Message-Id: <199509231120.EAA00251@corbin.Root.COM> To: mal@aristotle.algonet.se (Mats Lofkvist) cc: freebsd-hackers@freebsd.org Subject: Re: [2.1-stable] No def. of GZIPCMD in .../share/doc/usd/1[02].*/Makefile In-reply-to: Your message of "Sat, 23 Sep 95 12:51:22 +0200." <9509231051.AA25907@sophocles.> From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 23 Sep 1995 04:20:31 -0700 Sender: owner-hackers@freebsd.org Precedence: bulk >I got the following output from a make in /usr/src (sup'ed today): > > >===> share/doc/10.exref >(cd /usr/src/share/doc/usd/10.exref/../../../../usr.bin/vi/USD.doc/exref; groff >-Tps -t -ms -o1- ex.summary) | > summary.ps.gz >*** Signal 11 > > ^^ > not much here... > >The line in /usr/src/share/doc/usd/10.exref/Makefile is > (cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET} > >Maybe the patch below changes it to the way it was ment to be done? Actually, no, but thanks for trying. :-) GZIPCMD is normally defined in /usr/share/mk/bsd.doc.mk and bsd.info.mk. For some reason, your versions of those files must be out of date - but it's possible that there is a chicken and egg problem caused by 'make' reading these on startup. You see, it used to be just "GZIP" in the previous version of these files and this was changed recently to GZIPCMD. Jordan reported a similar problem, but it disappeared after the proper bsd.*.mk files were installed and he re-did his 'make world'. >(About the segfault: > I did run this via a make in /usr/src twice and got the segfault both times. > When going to /usr/obj/share/doc/usd/10.exref and running the line above by > cut/paste, I did _not_ get the segfault.) The segfault was caused by a bug in the shell not properly dealing with null commands in a pipe. When Jordan had this problem I debugged the shell and fixed the bug...so you'll never see THIS one again. :-) Anyway, now that you have proper bsd.*.mk files, try to 'make world' again; I think the problem will be gone. -DG