<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - clang: tests unable to find hmaptool in stand-alone builds"
   href="https://bugs.llvm.org/show_bug.cgi?id=38407">38407</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang: tests unable to find hmaptool in stand-alone builds
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>38406
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The following clang tests fail in stand-alone builds:

********************
Failing Tests (5):
    Clang :: Modules/double-quotes.m
    Clang :: Modules/framework-public-includes-private.m
    Clang :: Preprocessor/headermap-rel.c
    Clang :: Preprocessor/headermap-rel2.c
    Clang :: Preprocessor/nonportable-include-with-hmap.c


The issue is wrong path to hmaptool:

Command Output (stderr):
--
+ : 'RUN: at line 3'
+ rm -rf
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999-abi_x86_64.amd64/test/Modules/Output/double-quotes.m.tmp
+ : 'RUN: at line 4'
+ mkdir
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999-abi_x86_64.amd64/test/Modules/Output/double-quotes.m.tmp
+ : 'RUN: at line 6'
+ /var/tmp/portage/sys-devel/clang-7.0.9999/temp/python2.7/bin/python
/usr/lib64/llvm/7/bin/hmaptool write
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999/test/Modules/Inputs/double-quotes/a.hmap.json
/var/tmp/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999-abi_x86_64.amd64/test/Modules/Output/double-quotes.m.tmp/a.hmap
/usr/bin/python2.7: can't open file '/usr/lib64/llvm/7/bin/hmaptool': [Errno 2]
No such file or directory

--

I've submitted a potential fix as <a href="https://reviews.llvm.org/D50156">https://reviews.llvm.org/D50156</a>.  Once it's
committed to trunk, please backport to release_70.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 7.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=38406">Bug 38406</a>] [meta] 7.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>