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

[llvm] build failure #11916

Closed
learn-more opened this issue Jun 13, 2020 · 2 comments · Fixed by #11956
Closed

[llvm] build failure #11916

learn-more opened this issue Jun 13, 2020 · 2 comments · Fixed by #11956
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@learn-more
Copy link

It seems that not installing the package-default clang leads to problems in the (?install?) step.

Host Environment

  • OS: Windows 10, 1903
  • Compiler: MSVC 19.25.28614.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg.exe install --triplet x64-windows-static llvm[core,disable-assertions,target-arm,target-aarch64,target-mips,target-powerpc,target-sparc,target-x86]

Failure logs

Starting package 7/9: llvm:x64-windows-static
Building package llvm[core,disable-assertions,target-aarch64,target-arm,target-mips,target-powerpc,target-sparc,target-x86]:x64-windows-static...
-- Downloading https://github.com/llvm/llvm-project/archive/llvmorg-10.0.0.tar.gz...
-- Extracting source E:/Projects/rehex/vcpkg/vcpkg/downloads/llvm-llvm-project-llvmorg-10.0.0.tar.gz
-- Applying patch 0001-allow-to-use-commas.patch
-- Applying patch 0002-fix-install-paths.patch
-- Applying patch 0003-fix-vs2019-v16.6.patch
-- Using source at E:/Projects/rehex/vcpkg/vcpkg/buildtrees/llvm/src/org-10.0.0-32c002c70c
-- Downloading https://www.python.org/ftp/python/3.8.3/python-3.8.3-embed-amd64.zip...
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
-- Building x64-windows-static-rel
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:116 (message):

  'E:/Projects/rehex/vcpkg/vcpkg/packages/llvm_x64-windows-static/debug/share/clang'
  does not exist.
Call Stack (most recent call first):
  ports/llvm/portfile.cmake:201 (vcpkg_fixup_cmake_targets)
  scripts/ports.cmake:76 (include)


Error: Building package llvm:x64-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: llvm:x64-windows-static
  Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

Some relevant files from E:\Projects\rehex\vcpkg\vcpkg\buildtrees\llvm:
stdout-x64-windows-static.log
x64-windows-static.vcpkg_abi_info.txt

@LilyWangL LilyWangL added the requires:repro The issue is not currently repro-able label Jun 15, 2020
@LilyWangL LilyWangL added category:port-bug The issue is with a library, which is something the port should already support and removed requires:repro The issue is not currently repro-able labels Jun 16, 2020
@learn-more
Copy link
Author

Looking at the activity on this ticket, I can ignore the email about not being able to reproduce?

@LilyWangL
Copy link
Contributor

Yes, this issue will be fixed in PR #11956.

vicroms pushed a commit that referenced this issue Jun 23, 2020
* [llvm] fix issue #11916

* Remove include(vcpkg_common_functions)

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants