https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216181

            Bug ID: 216181
           Summary: make(1) -n is confused
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: p...@freebsd.org

Make(1) with the -n argument seems to be confused, or at least
confusable:

    phk> make all

    phk> make -n all | wc -l
         176

    phk> gmake -n all
    gmake: Nothing to be done for 'all'.

    phk> make -n all | head -1
    cc -o lib/libvarnish/binary_heap.o [...]

    phk> make -n lib/libvarnish/binary_heap.o
    cc -o lib/libvarnish/binary_heap.o [...]

    phk> make  lib/libvarnish/binary_heap.o
    `lib/libvarnish/binary_heap.o' is up to date.

    phk> gmake -n lib/libvarnish/binary_heap.o
    gmake: 'lib/libvarnish/binary_heap.o' is up to date.

    phk> gmake lib/libvarnish/binary_heap.o
    gmake: 'lib/libvarnish/binary_heap.o' is up to date.

    phk> ls -l  lib/libvarnish/binary_heap.c
    -rw-rw-r--  1 phk  wheel  14505 Jan 16 13:12 lib/libvarnish/binary_heap.c

    phk> ls -l  lib/libvarnish/binary_heap.o
    -rw-rw-r--  1 phk  wheel  18160 Jan 17 14:05 lib/libvarnish/binary_heap.o

The makefile is huge (7k lines) but utterly trivial, being emitted by a
program.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to