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 v1.86.0: add process library #25388

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

robomics
Copy link
Contributor

Summary

Changes to recipe: boost/1.86.0

In Boost v1.86.0 boos.process v2 was turned into a compiled library (see changelog).

This PR adds process to the list of dependencies and adds tests for the new library component.

Motivation

Details


@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 3 (2943d1062baa783167b8a6bb89ed55b4318cbf58):

  • boost/1.84.0:
    All packages built successfully! (All logs)

  • boost/1.83.0:
    All packages built successfully! (All logs)

  • boost/1.81.0:
    Didn't run or was cancelled before finishing

  • boost/1.72.0:
    All packages built successfully! (All logs)

  • boost/1.79.0:
    All packages built successfully! (All logs)

  • boost/1.77.0:
    Didn't run or was cancelled before finishing

  • boost/1.85.0:
    All packages built successfully! (All logs)

  • boost/1.76.0:
    Didn't run or was cancelled before finishing

  • boost/1.86.0:
    CI failed to create some packages (All logs)

    Logs for packageID ce39064c4e77ad6ad749f287e250e59185adedde:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    boost:header_only=False
    boost:shared=False
    
    [...]
          Start  7: boost_nowide
     7/13 Test  #7: boost_nowide .....................   Passed    0.19 sec
          Start  8: boost_locale
     8/13 Test  #8: boost_locale .....................   Passed    0.30 sec
          Start  9: boost_stacktrace_noop
     9/13 Test  #9: boost_stacktrace_noop ............   Passed    0.17 sec
          Start 10: boost_stacktrace_windbg
    10/13 Test #10: boost_stacktrace_windbg ..........   Passed    0.30 sec
          Start 11: boost_stacktrace_windbg_cached
    11/13 Test #11: boost_stacktrace_windbg_cached ...   Passed    0.31 sec
          Start 12: boost_url
    12/13 Test #12: boost_url ........................   Passed    0.21 sec
          Start 13: boost_boost
    13/13 Test #13: boost_boost ......................   Passed    0.26 sec
    
    100% tests passed, 0 tests failed out of 13
    
    Total Test time (real) =   3.76 sec
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        Boost_USE_STATIC_LIBS
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    boost/1.86.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    boost/1.86.0 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    boost/1.86.0 (test package): WARN: 
         ************************************************
         The 'cmake_find_package' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    boost/1.86.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    
  • boost/1.78.0:
    All packages built successfully! (All logs)

  • boost/1.75.0:
    All packages built successfully! (All logs)

  • boost/1.80.0:
    Didn't run or was cancelled before finishing

  • boost/1.82.0:
    Didn't run or was cancelled before finishing

  • boost/1.71.0:
    All packages built successfully! (All logs)

  • boost/1.74.0:
    All packages built successfully! (All logs)

  • boost/1.73.0:
    All packages built successfully! (All logs)


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 3 (2943d1062baa783167b8a6bb89ed55b4318cbf58):

  • boost/1.86.0:
    CI failed to create some packages (All logs)

    Logs for packageID a4554d476bbbba8c8466a25bf2fdf9692d1f3ba7:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=14
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    [options]
    */*:shared=False
    boost/*:header_only=False
    
    [...]
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      json.cpp
      json_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\json_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      lambda.cpp
      lambda_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\lambda_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      locale.cpp
      locale_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\locale_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      nowide.cpp
      nowide_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\nowide_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      process.cpp
      Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
      - add -D_WIN32_WINNT=0x0601 to the compiler command line; or
      - add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions.
      Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).
    libboost_process.lib(process_handle_windows.obj) : error LNK2019: unresolved external symbol RtlNtStatusToDosError referenced in function "public: void __cdecl boost::process::v2::detail::basic_process_handle_win<class boost::asio::any_io_executor>::resume(class boost::system::error_code &)" (?resume@?$basic_process_handle_win@Vany_io_executor@asio@boost@@@detail@v2@process@boost@@QEAAXAEAVerror_code@system@5@@Z) [C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\process_exe.vcxproj]
    libboost_process.lib(process_handle_windows.obj) : error LNK2019: unresolved external symbol NtResumeProcess referenced in function "public: void __cdecl boost::process::v2::detail::basic_process_handle_win<class boost::asio::any_io_executor>::resume(class boost::system::error_code &)" (?resume@?$basic_process_handle_win@Vany_io_executor@asio@boost@@@detail@v2@process@boost@@QEAAXAEAVerror_code@system@5@@Z) [C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\process_exe.vcxproj]
    libboost_process.lib(process_handle_windows.obj) : error LNK2019: unresolved external symbol NtSuspendProcess referenced in function "public: void __cdecl boost::process::v2::detail::basic_process_handle_win<class boost::asio::any_io_executor>::suspend(class boost::system::error_code &)" (?suspend@?$basic_process_handle_win@Vany_io_executor@asio@boost@@@detail@v2@process@boost@@QEAAXAEAVerror_code@system@5@@Z) [C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\process_exe.vcxproj]
    C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\process_exe.exe : fatal error LNK1120: 3 unresolved externals [C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\process_exe.vcxproj]
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      random.cpp
      random_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\random_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      regex.cpp
      regex_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\regex_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      stacktrace.cpp
         Creating library C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/build/msvc-192-x86_64-14-release/Release/stacktrace_noop_exe.lib and object C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/build/msvc-192-x86_64-14-release/Release/stacktrace_noop_exe.exp
      stacktrace_noop_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\stacktrace_noop_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      stacktrace.cpp
         Creating library C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/build/msvc-192-x86_64-14-release/Release/stacktrace_windbg_cached_exe.lib and object C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/build/msvc-192-x86_64-14-release/Release/stacktrace_windbg_cached_exe.exp
      stacktrace_windbg_cached_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\stacktrace_windbg_cached_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      stacktrace.cpp
         Creating library C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/build/msvc-192-x86_64-14-release/Release/stacktrace_windbg_exe.lib and object C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/build/msvc-192-x86_64-14-release/Release/stacktrace_windbg_exe.exp
      stacktrace_windbg_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\stacktrace_windbg_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      test.cpp
      test_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\test_exe.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@3/cci-39c46f1d/recipes/boost/all/test_package/CMakeLists.txt
      url.cpp
      url_exe.vcxproj -> C:\J\workspace\prod-v2\bsr@3\cci-39c46f1d\recipes\boost\all\test_package\build\msvc-192-x86_64-14-release\Release\url_exe.exe
    
    ERROR: boost/1.86.0 (test package): Error in build() method, line 56
    	cmake.build()
    	ConanException: Error 1 while executing
    
  • boost/1.84.0:
    Didn't run or was cancelled before finishing

  • boost/1.76.0:
    Didn't run or was cancelled before finishing

  • boost/1.83.0:
    All packages built successfully! (All logs)

  • boost/1.85.0:
    All packages built successfully! (All logs)

  • boost/1.82.0:
    All packages built successfully! (All logs)

  • boost/1.74.0:
    Didn't run or was cancelled before finishing

  • boost/1.78.0:
    All packages built successfully! (All logs)

  • boost/1.80.0:
    Didn't run or was cancelled before finishing

  • boost/1.79.0:
    Didn't run or was cancelled before finishing

  • boost/1.73.0:
    All packages built successfully! (All logs)

  • boost/1.77.0:
    Didn't run or was cancelled before finishing

  • boost/1.81.0:
    Didn't run or was cancelled before finishing

  • boost/1.75.0:
    Didn't run or was cancelled before finishing

  • boost/1.72.0:
    Didn't run or was cancelled before finishing

  • boost/1.71.0:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Copy link
Contributor

Hooks produced the following warnings for commit 2943d10
boost/1.84.0@#c34fffae9e4aaf55c66df7a4a30d894f
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
boost/1.83.0@#ca296b4c22d1651ce963368efb3a911d
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
boost/1.72.0@#4d649765e0abc0e5557c95baa05ff4cc
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
boost/1.79.0@#1df9f39b9de84a0bc9310fd666658949
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
boost/1.85.0@#669f48f6fa69e5fd6918c7019ea1c41d
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
boost/1.78.0@#30cfbea560760ae9d3e7d9eba162e9d7
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
boost/1.75.0@#589b208e076b402c11aa9a36d24dbb55
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
boost/1.71.0@#16a13076db6ce8efee6d594ed4403db0
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
boost/1.74.0@#d26bf1f59bfd84b31e4d82a6d0f44f27
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'secur32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\boost_log_setup.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.

@robomics
Copy link
Contributor Author

Uhm... I guess the link error could be fixed with something like

if (WIN32)
    target_link_libraries(executable ntdll)
endif()

But I don't know whether this error is a symptom of another issue happening upstream (e.g. a link flag missing in Boost.Asio).

Unfortunately I do not daily run Windows and do very little development on it, so I am not sure what's the best way forward here.

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

Successfully merging this pull request may close these issues.

2 participants