NetBSD-Bugs archive

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

bin/50176: make(1) prerequisite not assigned to target if target has ./ prefix



>Number:         50176
>Category:       bin
>Synopsis:       make(1) prerequisite not assigned to target if target has ./ prefix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 26 11:35:01 +0000 2015
>Originator:     Steffen Nurpmeso
>Release:        NetBSD 7.0_RC3
>Organization:
>Environment:
NetBSD nbsd 7.0_RC3 NetBSD 7.0_RC3 (GENERIC.201508110747Z) i386
>Description:
Makefile contains

  $(AMALGAM_TARGET) mime_types.o: mime_types.h

which happens to end up as

  CC ./mime_types.c
./mime_types.c:95:24: fatal error: mime_types.h: No such file or directory
 #include "mime_types.h"
                        ^
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /home/sdaoden/usr/src/s-nail.git
*** Error code 1

Stop.
make: stopped in /home/sdaoden/usr/src/s-nail.git
>How-To-Repeat:
Use relative path names for CWD.
>Fix:
A basename(3) call is missing somewhere. 



Home | Main Index | Thread Index | Old Index