Re: make .SUFFIXES bug?

From: Garrett Cooper <yaneurabeya_at_gmail.com>
Date: Tue, 15 Dec 2015 09:00:36 -0800
> On Dec 15, 2015, at 07:01, Carsten Kunze <carsten.kunze_at_arcor.de> wrote:
> 
> Hello,
> 
> current groff doesn't build on FreeBSD.  I had noticed the same issue some months ago on NetBSD and cross checked on FreeBSD and it had worked on FreeBSD.  There must have somethig changed since then.  How to reproduce:
> 
> When there is a file "test.1.man" and a makefile:
> 
> .SUFFIXES:
> .SUFFIXES: .roff .in .ps .mom .pdf .me .ms .ps .html .txt .texi .dvi .pdf .xhtml .man .c .cpp .log .o .obj .sed .sin .test .test$(EXEEXT) .trs .ypp
> 
> .man:
>        _at_echo Making $_at_ from $<
>        rm -f $_at_
>        _at_LC_ALL=C \
>         sed -e "s|foo|bar|g" \
>         $< >$_at_
> 
> "make test.1" results in "make: don't know how to make test.1. Stop".
> 
> When ".man" is put to the start of the list it works.  It also works when the first .SUFFIXES line is removed.
> 
> The answer from NetBSD is that this is very likely a bug in make.  May this also be the case for FreeBSD?

Hi Carsten,

Probably since both use bmake... (I saw you started the other thread on tech-userlevel_at_netbsd.org).

Simon maintains bmake. I've CCed him for visibility.

Thanks!
-NGie
Received on Tue Dec 15 2015 - 16:00:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC