Another recent WITH_META_MODE= gotcha ": handling svn commit: r334008 - head/bin/sh

Bryan Drewery bdrewery at FreeBSD.org
Thu May 24 18:50:02 UTC 2018


On 5/21/2018 10:17 PM, Mark Millard wrote:
> Attempting to build head -r334014 from -r333947 includes the code from -r334008,
> and for which I get:
> 
> --- parser.o ---
> /usr/src/bin/sh/parser.c:1440:9: error: use of undeclared identifier 'CQNL'
>                         case CQNL:
>                              ^
> 1 error generated.
> 
> for what was added in -r334008.
> 
> # grep -r CQNL /usr/src/* | more
> /usr/src/bin/sh/mksyntax.c:     { "CQNL",       "newline character in quotes" },
> /usr/src/bin/sh/mksyntax.c:     add("\n", "CQNL");
> /usr/src/bin/sh/mksyntax.c:     add("\n", "CQNL");
> /usr/src/bin/sh/mksyntax.c:     add("\n", "CQNL");
> /usr/src/bin/sh/parser.c:                       case CQNL:
> /usr/src/contrib/libarchive/libarchive/test/test_read_format_rar_binary_data.rar.uu:M+M7)?9;.A%CQNL-+4::&_UJQ*P"PPW:>)I5*8)7^>6(\]!Q"^9YCE>>`9OG8
> 
> Apparently this is something WITH_META_MODE= does not deal with.
> Rebuilding after:
> 
> rm -fr /usr/obj/amd64_clang/*
> 
> (here I normally have the build materials) built fine.
> 
> (The "Making top.local.h from /usr/src/contrib/top/top.local.hs"
> change to no longer have top.local.h or top.local.hs was another
> example: for a while top.local.h was still referenced and old ones
> would still be used if present.)
> 

It was a bug with the rescue build with dependency handling. I've fixed
it in r334177.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180524/a5e62f13/attachment.sig>


More information about the freebsd-current mailing list