On Wed, 2014-04-30 at 10:55 -0700, Manoj Srivastava wrote:
> On Wed, Apr 30 2014, Paul Smith wrote:
> 
> > On Wed, 2014-04-30 at 18:19 +0200, Guillem Jover wrote:
> >> build-stamp:
> >>         echo $@
> >> 
> >> build-arch: build-stamp
> >
> >> $ make --version | head -n1
> >> GNU Make 4.0
> >> $ make -f detect.mk -qn build-arch; echo $?
> >> 2
> >
> > This is definitely a bug in GNU make 4.0 in handling -q (note the -n is
> > not relevant: you can leave it out and get the same behavior).  The docs
> > are clear on what the exit codes should be, and with -q make should exit
> > with 1 if something needs to be updated and no error was detected.
> 
>         Opened bug in Savannah BTS:
>  https://savannah.gnu.org/bugs/?42249

Yes, thanks to Guillem for the repro case.  I see the problem; there's a
failure to propagate the correct exit code up through prerequisites.  I
tried a quick fix but it was not sufficient; I'll need to look into it
further this evening.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1398883455.14617.7.camel@pdsdesk

Reply via email to