On 1/23/20 8:16 AM, Vaughan Butler via blfs-support wrote:
On 22/01/2020 22:37, Ken Moffat via blfs-support wrote:
On Wed, Jan 22, 2020 at 08:21:32PM +0000, Ken Moffat via blfs-support wrote:
On Wed, Jan 22, 2020 at 07:40:12PM +0000, Vaughan Butler via blfs-support wrote:
I'm trying to build LLVM-9.0.1 with the optional Clang package, which
appears to be required for Firefox to build.

This goes OK until invoking ninja, which immediately stops the build, with
the message

ninja: error: '../cmake/modules/Generate VersionFromVCS.cmake', needed by
'tools/clang/lib/Basic/VCSVersion.inc', missing and no known rule to make it

Update on this part:  the file name does not have a space after
Generate, and it is extracted to
cmake/modules/GenerateVersionFromVCS.cmake within llvm.  Did you
have a problem untarring llvm ?
In fact the error message did not have a space, must have happened during 
copy/paste.
Don't think there was a problem untarring. Wondering how to read that error 
message:
GenerateVersionFromVCS.cmake is present and in the correct location
VCSVersion.inc is not in the location in the error message, and nowhere else
I can only assume GenerateVersionFromVCS.cmake is needed to build VCSVersion.inc
I have seen some similar issues with cmake on the web, which seem to suggest 
that
cmake can struggle with PATH issues in certain circumstances, but resolving 
such an
issue is beyond me.


Hi Vaughn,


This is a long shot, but can you try rebuilding CMake? If you're using LFS 9.0, can you try updating your version of CMake to the latest if this doesn't work? Here's the instructions for the latest CMake (you shouldn't have to update any other dependencies, also I know this is the systemd version but the page is exactly the same in the SysV version as well):

http://linuxfromscratch.org/blfs/view/systemd/general/cmake.html

Otherwise can you verify the md5sums of the LLVM-9 tarballs please?

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to