svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus

Ed Maste emaste at freebsd.org
Mon Dec 15 14:47:32 UTC 2014


On 15 December 2014 at 09:25, Ed Maste <emaste at freebsd.org> wrote:
> Author: emaste
> Date: Mon Dec 15 14:25:42 2014
> New Revision: 275804
> URL: https://svnweb.freebsd.org/changeset/base/275804
>
> Log:
>   Remove empty generated file upon gperf failure
>...
> -           ${.ALLSRC} > ${.TARGET}
> +           ${.ALLSRC} > ${.TARGET} || (rm -f ${.TARGET}; false)

There are additional cases of this potential issue in the tree. In
most cases I examined the target invokes tools that are expected to
exist on the build host (such as sed or awk) so should not be a
problem in practice. There are some cases (gensnmptree, make-roken)
that we may want to revisit as part of a more holistic build
infrastructure project.


More information about the svn-src-head mailing list