Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 1995 04:20:31 -0700
From:      David Greenman <davidg@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 
Message-ID:  <199509231120.EAA00251@corbin.Root.COM>
In-Reply-To: Your message of "Sat, 23 Sep 95 12:51:22 %2B0200." <9509231051.AA25907@sophocles.> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I got the following output from a make in /usr/src (sup'ed today):
>
><snip>
>===> 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
><snip>
>                              ^^
>                              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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509231120.EAA00251>