Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang: tests unable to find hmaptool in stand-alone builds #37755

Closed
llvmbot opened this issue Aug 1, 2018 · 2 comments
Closed

clang: tests unable to find hmaptool in stand-alone builds #37755

llvmbot opened this issue Aug 1, 2018 · 2 comments
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 1, 2018

Bugzilla Link 38407
Resolution FIXED
Resolved on Aug 06, 2018 23:58
Version 7.0
OS Linux
Blocks #37754
Reporter LLVM Bugzilla Contributor
CC @zmodem
Fixed by commit(s) r338627 r339102

Extended Description

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.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Aug 1, 2018

Now in trunk as r338627.

@zmodem
Copy link
Collaborator

zmodem commented Aug 7, 2018

Now in trunk as r338627.

Merged in r339102.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

2 participants