Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 14:28:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202656] make(1) prerequisite not assigned to target if target has ./ prefix
Message-ID:  <bug-202656-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202656

            Bug ID: 202656
           Summary: make(1) prerequisite not assigned to target if target
                    has ./ prefix
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: sdaoden@yandex.com

Makefile contains

  $(AMALGAM_TARGET) mime_types.o: mime_types.h

make(1) produces

==========
  CC ./mime_types.c
./mime_types.c:95:10: fatal error: 'mime_types.h' file not found
#include "mime_types.h"
         ^
1 error generated.
*** Error code 1

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

Stop.
make: stopped in /usr/home/sdaoden/usr/src/nail.git
==========

It works if i add a ./mime_types.o target.
I guess a basename(3) should be added somewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202656-8>