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-cobalt] Build error on x64-linux #40290

Closed
CBlackSun opened this issue Aug 5, 2024 · 5 comments
Closed

[boost-cobalt] Build error on x64-linux #40290

CBlackSun opened this issue Aug 5, 2024 · 5 comments
Assignees
Labels
requires:repro The issue is not currently repro-able Stale

Comments

@CBlackSun
Copy link

Package: boost-cobalt:[email protected]#2

Host Environment

  • Host: x64-linux
  • Compiler: GNU 9.4.0
  • vcpkg-tool version: 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
    vcpkg-scripts version: fe1cde6 2024-08-03 (2 days ago)

To Reproduce

vcpkg install boost

Failure logs

-- Using cached boostorg-cobalt-boost-1.85.0.tar.gz.
-- Cleaning sources at /home/gk/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/gk/vcpkg/downloads/boostorg-cobalt-boost-1.85.0.tar.gz
-- Using source at /home/gk/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /usr/local/bin/cmake --build . --config Debug --target install -- -v -j23
    Working Directory: /home/gk/vcpkg/buildtrees/boost-cobalt/x64-linux-dbg
    See logs for more information:
      /home/gk/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-out.log
      /home/gk/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-err.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  installed/x64-linux/share/vcpkg-boost/boost-install.cmake:65 (vcpkg_cmake_install)
  ports/boost-cobalt/portfile.cmake:12 (boost_configure_and_install)
  scripts/ports.cmake:192 (include)



/home/gk/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-err.log
ninja: error: unknown target 'install'
/home/gk/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-out.log
Change Dir: '/home/gk/vcpkg/buildtrees/boost-cobalt/x64-linux-dbg'

Run Build Command(s): /home/gk/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j23 install
@Cheney-W Cheney-W added the requires:repro The issue is not currently repro-able label Aug 5, 2024
@Cheney-W
Copy link
Contributor

Cheney-W commented Aug 5, 2024

I can't reproduce this issue in my side with the latest vcpkg, my test env as below:

Ubuntu 23.10
GNU 13.2.0
Installing 7/7 boost-cobalt:[email protected]#2...
Building boost-cobalt:[email protected]#2...
-- Downloading https://github.com/boostorg/cobalt/archive/boost-1.85.0.tar.gz -> boostorg-cobalt-boost-1.85.0.tar.gz...
-- Extracting source /mnt/cheney/vcpkg/downloads/boostorg-cobalt-boost-1.85.0.tar.gz
-- Using source at /mnt/cheney/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /mnt/cheney/vcpkg/packages/boost-cobalt_x64-linux/share/boost-cobalt/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 259 ms.
Elapsed time to handle boost-cobalt:x64-linux: 7.7 s
boost-cobalt:x64-linux package ABI: 04d69951b0c0853790e52e71c692d185d3e99bc36bb08adf147f007745b253c6
Total install time: 15 s
The package boost-cobalt is compatible with built-in CMake targets of FindBoost.cmake:

    find_package(Boost REQUIRED COMPONENTS cobalt)
    target_link_libraries(main PRIVATE Boost::cobalt)

or the generated cmake configs via:

    find_package(boost_cobalt REQUIRED CONFIG)
    target_link_libraries(main PRIVATE Boost::cobalt)

@sunz123
Copy link

sunz123 commented Aug 5, 2024

I have the same problem. but my computer is windows11 and compiler is msbuild 16.4.0.56107.

@mayconcarlete
Copy link

same with wsl2 windows 11

@dg0yt
Copy link
Contributor

dg0yt commented Aug 5, 2024

Fails when compiler capabilites are insufficient.
The config log has this or similar:

-- Boost.Cobalt: not building, can't include <coroutine>.

Cf. https://github.com/boostorg/cobalt/blob/develop/cmake/CheckRequirements.cmake

Copy link

github-actions bot commented Sep 3, 2024

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Sep 3, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able Stale
Projects
None yet
Development

No branches or pull requests

5 participants