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

[crossguid] Build error on x64-osx #22569

Closed
autoantwort opened this issue Jan 17, 2022 · 1 comment
Closed

[crossguid] Build error on x64-osx #22569

autoantwort opened this issue Jan 17, 2022 · 1 comment
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@autoantwort
Copy link
Contributor

Package: crossguid[core]:x64-osx -> 2021-10-22#1
Host Environment

  • Host: arm64-osx
  • Compiler: AppleClang 13.0.0.13000029
  • vcpkg-tool version: 2999-12-31-unknownhash-debug
    vcpkg-scripts version: 4fff1e9 2022-01-17 (2 minutes ago)

To Reproduce
vcpkg install

Failure logs

-- Using cached graeme-hill-crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz.
-- Extracting source /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/downloads/graeme-hill-crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz
-- Using source at /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/src/08ee1b7681-b00dc18d3c.clean
-- Found external ninja('1.10.2').
-- Configuring x64-osx-dbg
-- Configuring x64-osx-rel
-- Building x64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:157 (message):
    Command failed: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/downloads/tools/cmake-3.21.1-osx/cmake-3.21.1-macos-universal/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v -j11
    Working Directory: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/x64-osx-dbg
    See logs for more information:
      /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/install-x64-osx-dbg-out.log

Call Stack (most recent call first):
  /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
  /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
  ports/crossguid/portfile.cmake:17 (vcpkg_cmake_install)
  scripts/ports.cmake:145 (include)



/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/install-x64-osx-dbg-out.log
[1/3] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DGUID_CFUUID -I/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/src/08ee1b7681-b00dc18d3c.clean/include -fPIC -g -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fPIC -Werror -Wall -std=c++17 -MD -MT CMakeFiles/crossguid.dir/src/guid.cpp.o -MF CMakeFiles/crossguid.dir/src/guid.cpp.o.d -o CMakeFiles/crossguid.dir/src/guid.cpp.o -c /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/src/08ee1b7681-b00dc18d3c.clean/src/guid.cpp
FAILED: CMakeFiles/crossguid.dir/src/guid.cpp.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DGUID_CFUUID -I/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/src/08ee1b7681-b00dc18d3c.clean/include -fPIC -g -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fPIC -Werror -Wall -std=c++17 -MD -MT CMakeFiles/crossguid.dir/src/guid.cpp.o -MF CMakeFiles/crossguid.dir/src/guid.cpp.o.d -o CMakeFiles/crossguid.dir/src/guid.cpp.o -c /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/src/08ee1b7681-b00dc18d3c.clean/src/guid.cpp
/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/crossguid/src/08ee1b7681-b00dc18d3c.clean/src/guid.cpp:399:7: error: unused function 'swap<xg::Guid>' [-Werror,-Wunused-function]
        void swap(xg::Guid &lhs, xg::Guid &rhs) noexcept
             ^
1 error generated.
ninja: build stopped: subcommand failed.

Additional context

vcpkg.json
{
  "name": "lichtsteuerung",
  "version-string": "2.0.0",
  "dependencies": [
    "crossguid"
  ]
}

@LilyWangLL LilyWangLL added the category:port-bug The issue is with a library, which is something the port should already support label Jan 17, 2022
@LilyWangLL
Copy link
Contributor

Thanks for posting this issue. It's duplicated to #15594, let's track this issue there.

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

No branches or pull requests

2 participants