NetBSD-Bugs archive

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

bin/52737: bmake crash for invalid usage of .PATH



>Number:         52737
>Category:       bin
>Synopsis:       bmake crash for invalid usage of .PATH
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 19 17:25:00 +0000 2017
>Originator:     Kamil Rytarowski
>Release:        NetBSD 8.99.6 amd64
>Organization:
TNF
>Environment:
NetBSD chieftec 8.99.6 NetBSD 8.99.6 (GENERIC) #7: Thu Nov  9 20:58:03 CET 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
A Makefile for bmake with:

.PATH ../core

instead of

.PATH: ../core

crashes bmake:

$ make USETOOLS=no MAKEVERBOSE=3 2>&1        
make: "/public/haxm/netbsd/Makefile" line 21: Unknown directive
assertion "paths == NULL" failed: file "/usr/src/usr.bin/make/parse.c", line 1745, function "ParseDoDependency"
Abort (core dumped)
>How-To-Repeat:
$ cat Makefile                                                                                                               
.PATH ../dev
$ make
make: "/tmp/Makefile" line 1: Unknown directive
assertion "paths == NULL" failed: file "/usr/src/usr.bin/make/parse.c", line 1745, function "ParseDoDependency"
Abort (core dumped)
>Fix:
N/A



Home | Main Index | Thread Index | Old Index