[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make 4.0: archive rebuild resulted in 73 packages broken (help wante
From: |
Paul Smith |
Subject: |
Re: make 4.0: archive rebuild resulted in 73 packages broken (help wanted) |
Date: |
Wed, 30 Apr 2014 12:39:48 -0400 |
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.