NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49198: make not seeing all .SUFFIXES suffixes



>Number:         49198
>Category:       bin
>Synopsis:       make not seeing all .SUFFIXES suffixes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 12 13:50:00 +0000 2014
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD 6.0_STABLE
>Organization:
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
I first saw this when trying to build BIND on NetBSD with some old make. 
Also reported here:
https://lists.isc.org/pipermail/bind-users/2014-September/093916.html
(it worked with FreeBSD's old pmake but not with FreeBSD's newer bmake)

>How-To-Repeat:
TARGETS =       foo
all: ${TARGETS}
.SUFFIXES:
.SUFFIXES: .1 .2 .3 .4 .5 .6 .7 .8 .9 .a .b .py
.py:
        cp -f $< $@

With only the Makefile and foo.py in directory.

make: don't know how to make foo. Stop
make: stopped in /tmp/m

If I remove one suffix then it works. If I put the .py at the front it 
works.

On ICB, I was told that even a shorter list of suffixes fails:
.SUFFIXES: .1 .2 .3 .4 .py
(I see that fails for me also on a different system.)

I was told on ICB that it does work with the new (controversial) make 
changes.  But I am opening this ticket anyways as I don't know status of 
that.
>Fix:

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index