Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2017 14:26:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216181] make(1) -n is confused
Message-ID:  <bug-216181-8@https.bugs.freebsd.org/bugzilla/>

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

            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: phk@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.

--=20
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-216181-8>