NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/45620: MAKEDEV failures remains unoticed in miniroot build

On Wed, Feb 15, 2012 at 07:25:03PM +0000, dieter roelants wrote:
> The following reply was made to PR toolchain/45620; it has been noted by 
> From: dieter roelants <>
> To:
> Cc: 
> Subject: Re: toolchain/45620: MAKEDEV failures remains unoticed in miniroot
>  build
> Date: Wed, 15 Feb 2012 20:05:48 +0100
>  On Tue, 14 Feb 2012 20:25:02 +0000 (UTC)
>  Nicolas Joly <> wrote:
>  >  The following patch improves the situation. I moved the pipe to group
>  >  sed (which is unlikely to fail) and sort. Unfortunately the error
>  >  still gets ignored for parallel builds.
>  I think the patch will work if you remove the leading "-" from the rm
>  command. This is probably ok anyway, because rm -f will not fail for
>  nonexisting files and for other errors (e.g. EPERM) failing seems to be
>  the right thing to do.

Seems the right thing to do ... I'm testing it, and will commit if

>  (As for why make decides to ignore the exit status of all commands for
>  the target, I have no clue. I'll ask on tech-userlevel.)

I can reproduce the problem with this small testcase.

njoly@lanfeust [tmp/make]> cat Makefile
njoly@lanfeust [tmp/make]> make
*** Error code 1

make: stopped in /home/njoly/tmp/make
njoly@lanfeust [tmp/make]> make -j 1
*** [foo] Error code 1 (ignored)

Looks like a 'make -j' bug to me; at least, behaviour should be


Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.

Home | Main Index | Thread Index | Old Index