Re: clang-tblgen: Too many positional arguments specified!

2014-06-10 Thread Dimitry Andric
On 10 Jun 2014, at 03:19, Craig Rodrigues  wrote:
> I did the following with a tree checked out from HEAD at
> svn r267307:
> 
> (1)  Did a "make buildworld; make buildkernel; make installkernel;
> make installworld", with no special settings in /etc/src.conf or
> /etc/make.conf
> (2)  rebooted
> (3)  Waited for system to come up, and then did the following:
>  cd src/lib/clang
>  make WITH_LLDB=yes obj all
> 
> I got this error:
> 
> 
> ===> liblldb (all)
> clang-tblgen -gen-clang-diags-defs -clang-component=Common  -I
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic
> -d DiagnosticCommonKinds.inc.d  -o DiagnosticCommonKinds.inc.h
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticAnalysisKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCategories.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
> /opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.td
> clang-tblgen: Too many positional arguments specified!
> Can specify at most 1 positional arguments: See: clang-tblgen -help

This should now be fixed with r267335.  Thanks for the report.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


clang-tblgen: Too many positional arguments specified!

2014-06-09 Thread Craig Rodrigues
Hi,

I did the following with a tree checked out from HEAD at
svn r267307:

(1)  Did a "make buildworld; make buildkernel; make installkernel;
make installworld", with no special settings in /etc/src.conf or
/etc/make.conf
(2)  rebooted
(3)  Waited for system to come up, and then did the following:
  cd src/lib/clang
  make WITH_LLDB=yes obj all

I got this error:


===> liblldb (all)
clang-tblgen -gen-clang-diags-defs -clang-component=Common  -I
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic
-d DiagnosticCommonKinds.inc.d  -o DiagnosticCommonKinds.inc.h
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticAnalysisKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCategories.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.td
clang-tblgen: Too many positional arguments specified!
Can specify at most 1 positional arguments: See: clang-tblgen -help
*** Error code 1

Stop.
make[1]: stopped in /opt2/branches/head/lib/clang/liblldb
*** Error code 1

Stop.
make: stopped in /opt2/branches/head/lib/clang


I'm not familiar with this clang error.
Any idea what caused it?

A similar error (not identical) was reported here:

http://lists.freebsd.org/pipermail/freebsd-stable/2014-June/078879.html

--
Craig
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"