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 Tue, Dec 13, 2011 at 09:04:03AM +0100, 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.

With the patch this time.

-- 
Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Index: distrib/common/Makefile.makedev
===================================================================
RCS file: /cvsroot/src/distrib/common/Makefile.makedev,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile.makedev
--- distrib/common/Makefile.makedev     25 Oct 2008 22:27:34 -0000      1.15
+++ distrib/common/Makefile.makedev     23 Nov 2011 20:04:00 -0000
@@ -46,9 +46,9 @@ ${MAKEDEVSPEC}:       ${MAKEDEVSCRIPT}
        -rm -f ${.TARGET} ${.TARGET}.tmp
        MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \
            ${HOST_SH} ${MAKEDEVSCRIPT} -s ${MAKEDEVTARGETS} \
-           | ${TOOL_SED} -e '/^\. type=dir/d' -e 's,^\.,./dev,' \
-           > ${.TARGET}.tmp \
-       && sort -o ${.TARGET} ${.TARGET}.tmp
+           > ${.TARGET}.tmp
+       ${TOOL_SED} -e '/^\. type=dir/d' -e 's,^\.,./dev,' ${.TARGET}.tmp \
+           | sort -o ${.TARGET}
 
 .else  # ! MAKEDEVTARGETS
 


Home | Main Index | Thread Index | Old Index