<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - ninja package failing with "FindFirstFileExA(note: including file""
   href="https://llvm.org/bugs/show_bug.cgi?id=27226">27226</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ninja package failing with "FindFirstFileExA(note: including file"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>ninja: error: FindFirstFileExA(note: including file:      c:/program files
(x86)
/microsoft visual studio 12.0/vc/include): The filename, directory name, or
volu
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
package.

"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õÿÿpNote:
including file:      C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/INCLUDE/ConcurrencySal.hAõÿÿhNote: 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>