[llvm-bugs] [Bug 27226] New: ninja package failing with "FindFirstFileExA(note: including file"

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 5 13:03:59 PDT 2016


            Bug ID: 27226
           Summary: ninja package failing with "FindFirstFileExA(note:
                    including file"
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org, nicolasweber at gmx.de
    Classification: Unclassified

ninja: error: FindFirstFileExA(note: including file:      c:/program files
/microsoft visual studio 12.0/vc/include): The filename, directory name, or
me label syntax is incorrect. 

It looks like something that's probably the output from --show-includes is
getting passed to FindFirstFileExA instead of a filename.

Maybe this is related to r264174?

I think this also coincides with me trying to include the OpenMP runtime in the

"ninja -t deps package" doesn't provide any hints:

D:\src\llvm_package_264563\build32>ninja -t deps package
package: deps not found 

But, if I peek in the .ninja_deps file, I see stuff like this:

  @   projects/openmp/runtime/src/CMakeFiles/omp.dir/libomp.rc.resBõÿÿp   Note:
including file:      C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/INCLUDE/ConcurrencySal.h  Aõÿÿh   Note: including file:

Which doesn't look good, and points in the OpenMP direction.

So maybe a problem with the OpenMP CMake files? Could also be a Ninja issue, of
course - I'm using Ninja 1.6.0.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160405/7930b89a/attachment.html>

More information about the llvm-bugs mailing list