[llvm-bugs] [Bug 38407] New: clang: tests unable to find hmaptool in stand-alone builds

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 1 13:13:12 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38407

            Bug ID: 38407
           Summary: clang: tests unable to find hmaptool in stand-alone
                    builds
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 38406

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 https://reviews.llvm.org/D50156.  Once it's
committed to trunk, please backport to release_70.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=38406
[Bug 38406] [meta] 7.0.0 Release Blockers
-- 
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/20180801/86508dfc/attachment.html>


More information about the llvm-bugs mailing list