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: header only boost::system #5051

Closed

Conversation

klimkin
Copy link
Contributor

@klimkin klimkin commented Mar 26, 2021

Specify library name and version: boost/1.75.0

Use boost_system as header-only library

Starting v1.69.0 Boost.System is header-only. A stub library is still built for compatibility, but linking to it is no longer necessary.
https://www.boost.org/doc/libs/1_75_0/libs/system/doc/html/system.html#changes_in_boost_1_69

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@klimkin
Copy link
Contributor Author

klimkin commented Mar 26, 2021

The errors doesn't look right:

ERROR: [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not managed correctly. Please remove it for shared option: del self.options.fpic 

But the recipe has del self.options.fPIC.

@conan-center-bot

This comment has been minimized.

@klimkin klimkin force-pushed the hotfix/header-only-boost-system branch from 6250116 to 0a92b75 Compare March 26, 2021 03:20
@conan-center-bot

This comment has been minimized.

@klimkin klimkin force-pushed the hotfix/header-only-boost-system branch from 0a92b75 to e859470 Compare March 26, 2021 03:40
@conan-center-bot

This comment has been minimized.

@klimkin klimkin force-pushed the hotfix/header-only-boost-system branch from e859470 to 23ea9de Compare March 26, 2021 04:14
@conan-center-bot

This comment has been minimized.

@klimkin klimkin force-pushed the hotfix/header-only-boost-system branch from 23ea9de to 8876a35 Compare March 26, 2021 17:38
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@klimkin
Copy link
Contributor Author

klimkin commented Mar 26, 2021

Could you provide the details for the error, please?

MSBUILD : error MSB4166: Child node "5" exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt.

@conan-center-bot

This comment has been minimized.

@adklimki adklimki force-pushed the hotfix/header-only-boost-system branch from 7882f1f to c3e486d Compare April 23, 2021 14:09
@conan-center-bot

This comment has been minimized.

Starting v1.69.0 Boost.System is header-only. A stub library is still
built for compatibility, but linking to it is no longer necessary.
https://www.boost.org/doc/libs/1_75_0/libs/system/doc/html/system.html#changes_in_boost_1_69
@adklimki adklimki force-pushed the hotfix/header-only-boost-system branch from c3e486d to 6ff495e Compare April 23, 2021 17:58
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Failure in build 12 (6ff495e5fd56076365410dfde060a001e2e750c5):

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

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

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

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

    Logs for packageID c33b402ff707adcdf65eaaf089ad579f652a860e:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    os_build=Windows
    [options]
    boost:shared=False
    
      fiber.cpp
      chrono.cpp
      lambda.cpp
      coroutine.cpp
      Building Custom Rule C:/J/w/BuildSingleReference@4/conan-center-index/recipes/boost/all/test_package/CMakeLists.txt
      locale.cpp
      regex.cpp
      random.cpp
      test.cpp
      C:\J\w\BuildSingleReference@4\s\2b0c2b\1\include\boost/detail/scoped_enum_emulation.hpp(17): note: This header is deprecated. Use <boost/core/scoped_enum.hpp> instead.
    C:\J\w\BuildSingleReference@4\conan-center-index\recipes\boost\all\test_package\random.cpp(15): warning C4267: 'argument': conversion from 'size_t' to 'IntType', possible loss of data [C:\J\w\BuildSingleReference@4\conan-center-index\recipes\boost\all\test_package\build\d1b2155256a3679393d74ff4f4850917ae035a2a\random_exe.vcxproj]
              with
              [
                  IntType=int
              ]
      nowide.cpp
    MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\J\w\BuildSingleReference@4\9965\78e69e05-5552-4f34-982a-aa723dfe559e\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(720,5): error MSB6006: "link.exe" exited with code -1073741502. [C:\J\w\BuildSingleReference@4\conan-center-index\recipes\boost\all\test_package\build\d1b2155256a3679393d74ff4f4850917ae035a2a\lambda_exe.vcxproj]
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::boost libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::headers libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::_boost_cmake libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::_libboost libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::diagnostic_definitions libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::disable_autolinking libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::dynamic_linking libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::fiber_numa libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::math libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::stacktrace libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::stacktrace_addr2line libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::stacktrace_backtrace libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::stacktrace_basic libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::system libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component boost::test libdir "lib" does not contain any declared library
    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
    
    
    ERROR: boost/1.74.0 (test package): Error in build() method, line 38
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@4\conan-center-index\recipes\boost\all\test_package\build\d1b2155256a3679393d74ff4f4850917ae035a2a --config Release -- /m:16 /verbosity:minimal
    
  • boost/1.75.0@:
    Didn't run or was cancelled before finishing

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

  • boost/1.73.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.

@stale
Copy link

stale bot commented Jun 25, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Jul 25, 2021

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants