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
>Release:        NetBSD 6.0_STABLE
Architecture: x86_64
Machine: amd64
I first saw this when trying to build BIND on NetBSD with some old make. 
Also reported here:
(it worked with FreeBSD's old pmake but not with FreeBSD's newer bmake)

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

With only the Makefile and 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 

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 


Home | Main Index | Thread Index | Old Index