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

[boost-system] Build failure on arm64-osx #42388

Closed
dennisraush opened this issue Nov 27, 2024 · 1 comment
Closed

[boost-system] Build failure on arm64-osx #42388

dennisraush opened this issue Nov 27, 2024 · 1 comment

Comments

@dennisraush
Copy link

Package: boost-system:[email protected]

Host Environment

  • Host: arm64-osx
  • Compiler: AppleClang 16.0.0.16000026
  • vcpkg-tool version: 2024-11-12-eb492805e92a2c14a230f5c3deb3e89f6771c321
    vcpkg-scripts version: f523208 2024-11-26 (16 hours ago)

To Reproduce

vcpkg install

Failure logs

Downloading boostorg-system-boost-1.86.0.tar.gz
Successfully downloaded boostorg-system-boost-1.86.0.tar.gz.
-- Extracting source /Users/dennisraush/.vcpkg-clion/vcpkg/downloads/boostorg-system-boost-1.86.0.tar.gz
-- Applying patch compat.diff
-- Using source at /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean
-- Found external ninja('1.12.1').
-- Configuring arm64-osx
-- Building arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /opt/homebrew/bin/cmake --build . --config Debug --target install -- -v -j9
    Working Directory: /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/arm64-osx-dbg
    See logs for more information:
      /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/install-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  /Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  /Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  /Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/share/vcpkg-boost/boost-install.cmake:65 (vcpkg_cmake_install)
  buildtrees/versioning_/versions/boost-system/7c85bcb721e1a1cc3bd96660476a30c0eba11f8f/portfile.cmake:16 (boost_configure_and_install)
  scripts/ports.cmake:196 (include)



/Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/install-arm64-osx-dbg-out.log
Change Dir: '/Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/arm64-osx-dbg'

Run Build Command(s): /opt/homebrew/bin/ninja -v -v -j9 install
[1/3] /Library/Developer/CommandLineTools/usr/bin/c++  -I/Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean/libs/system/include -isystem /Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/include -fPIC -g -std=gnu++11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk -fvisibility=hidden -fvisibility-inlines-hidden -fcolor-diagnostics -MD -MT libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o -MF libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o.d -o libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o -c /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean/libs/system/src/error_code.cpp
FAILED: libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o 
/Library/Developer/CommandLineTools/usr/bin/c++  -I/Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean/libs/system/include -isystem /Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/include -fPIC -g -std=gnu++11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk -fvisibility=hidden -fvisibility-inlines-hidden -fcolor-diagnostics -MD -MT libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o -MF libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o.d -o libs/system/CMakeFiles/boost_system.dir/src/error_code.cpp.o -c /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean/libs/system/src/error_code.cpp
In file included from /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean/libs/system/src/error_code.cpp:17:
In file included from /Users/dennisraush/.vcpkg-clion/vcpkg/buildtrees/boost-system/src/ost-1.86.0-c57474edd7.clean/libs/system/include/boost/system/config.hpp:13:
In file included from /Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/include/boost/config.hpp:44:
/Users/dennisraush/waveye/mantis/cmake-build-debug/vcpkg_installed/arm64-osx/include/boost/config/detail/select_stdlib_config.hpp:26:14: fatal error: 'cstddef' file not found
   26 | #    include <cstddef>
      |              ^~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

Additional context

vcpkg.json
{
  "name": "mantis",
  "version-string": "1.0.0",
  "builtin-baseline": "e44bf6a1068f81369d9abdb3a74c40fd0bb0f985",
  "dependencies": [
    {
      "name": "openssl",
      "version>=": "3.3.0"
    },
    {
      "name": "vcpkg-cmake-config",
      "version>=": "2024-05-23"
    },
    {
      "name": "vcpkg-cmake-get-vars",
      "version>=": "2023-12-31"
    },
    {
      "name": "vcpkg-cmake",
      "version>=": "2024-04-23"
    },
    {
      "name": "zlib",
      "version>=": "1.3.1"
    },
    {
      "name": "zstd",
      "version>=": "1.5.6"
    },
    {
      "name": "boost-asio",
      "version>=": "1.85.0"
    },
    {
      "name": "pybind11",
      "platform": "windows",
      "version>=": "2.13.6"
    },
    {
      "name": "hdf5",
      "version>=": "1.14.4.3#1"
    },
    {
      "name": "boost-system",
      "version>=": "1.86.0"
    }
  ]
}

@dennisraush
Copy link
Author

Fixed this issue after reinstalling XCode and Command Line Tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant