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

Fix boost fPIC management #5071

Merged

Conversation

klimkin
Copy link
Contributor

@klimkin klimkin commented Mar 26, 2021

Specify library name and version: boost/1.75.0

  • 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
Copy link
Collaborator

Failure in build 1 (514f82e58b295920befea7a6b9345cd51d1d2374):

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

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

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

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

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

    Logs for packageID 727d60343179b253bf28fa34a36c6113ac6a0a57:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    os_build=Windows
    [options]
    boost:shared=False
    
    -- Skipping already existing target: CONAN_LIB::Boost_contract_libboost_contract
    -- Found: C:/J/w/BuildSingleReference@12/s/ea03ee/1/lib/libboost_contract.lib
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J/w/BuildSingleReference@12/conan-center-index/recipes/boost/all/test_package/build/1b8c8ab2ffb2312cd4c9d61e30db1d5c43f65eaf
    
    ----Running------
    > cmake --build C:\J\w\BuildSingleReference@12\conan-center-index\recipes\boost\all\test_package\build\1b8c8ab2ffb2312cd4c9d61e30db1d5c43f65eaf --config Debug -- /m:16 /verbosity:minimal
    -----------------
    Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Checking Build System
    MSBUILD : error MSB4166: Child node "4" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\J\w\BuildSingleReference@12\8761\247db6f4-7173-4ae6-8683-19cbf7d62599\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
      Building Custom Rule C:/J/w/BuildSingleReference@12/conan-center-index/recipes/boost/all/test_package/CMakeLists.txt
      Building Custom Rule C:/J/w/BuildSingleReference@12/conan-center-index/recipes/boost/all/test_package/CMakeLists.txt
      Building Custom Rule C:/J/w/BuildSingleReference@12/conan-center-index/recipes/boost/all/test_package/CMakeLists.txt
      Building Custom Rule C:/J/w/BuildSingleReference@12/conan-center-index/recipes/boost/all/test_package/CMakeLists.txt
      Building Custom Rule C:/J/w/BuildSingleReference@12/conan-center-index/recipes/boost/all/test_package/CMakeLists.txt
    [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::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.72.0 (test package): Error in build() method, line 38
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@12\conan-center-index\recipes\boost\all\test_package\build\1b8c8ab2ffb2312cd4c9d61e30db1d5c43f65eaf --config Debug -- /m:16 /verbosity:minimal
    
  • boost/1.73.0@:
    All packages built successfully! (All logs)

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

@prince-chrismc
Copy link
Contributor

MSBUILD : error MSB4166: Child node "4" exited prematurely.

Again....

You'll need to retrigger CI, close the pr wait 10s and then re-open it 🔁

@conan-center-bot
Copy link
Collaborator

Failure in build 3 (1cd561ac6295230804b962034d2adcfd91657c4e):

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

    Logs for packageID f099860f5a185ac923521547c91b337d0627335b:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=15
    os=Windows
    os_build=Windows
    [options]
    boost:shared=True
    
                  _Ty=boost::intrusive_ptr<boost::fibers::algo::work_stealing>
              ]
    C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/algo/work_stealing.hpp(47): warning C4251: 'boost::fibers::algo::work_stealing::rqueue_': class 'boost::fibers::detail::context_spinlock_queue' needs to have dll-interface to be used by clients of class 'boost::fibers::algo::work_stealing' [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\fiber_exe.vcxproj]
      C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/detail/context_spinlock_queue.hpp(29): note: see declaration of 'boost::fibers::detail::context_spinlock_queue'
    C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/algo/work_stealing.hpp(49): warning C4251: 'boost::fibers::algo::work_stealing::mtx_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'boost::fibers::algo::work_stealing' [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\fiber_exe.vcxproj]
      C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'
    C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/algo/work_stealing.hpp(50): warning C4251: 'boost::fibers::algo::work_stealing::cnd_': class 'std::condition_variable' needs to have dll-interface to be used by clients of class 'boost::fibers::algo::work_stealing' [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\fiber_exe.vcxproj]
      C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\mutex(682): note: see declaration of 'std::condition_variable'
    C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/condition_variable.hpp(49): warning C4251: 'boost::fibers::condition_variable_any::wait_queue_splk_': class 'boost::fibers::detail::spinlock_ttas' needs to have dll-interface to be used by clients of class 'boost::fibers::condition_variable_any' [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\fiber_exe.vcxproj]
      C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/detail/spinlock_ttas.hpp(28): note: see declaration of 'boost::fibers::detail::spinlock_ttas'
    C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/condition_variable.hpp(50): warning C4251: 'boost::fibers::condition_variable_any::wait_queue_': class 'boost::intrusive::list<boost::fibers::context,boost::intrusive::function_hook<boost::fibers::detail::wait_functor>,boost::intrusive::constant_time_size<false>,void,void>' needs to have dll-interface to be used by clients of class 'boost::fibers::condition_variable_any' [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\fiber_exe.vcxproj]
      C:\J\w\BuildSingleReference@2\s\105d9e\1\include\boost/fiber/context.hpp(134): note: see declaration of 'boost::intrusive::list<boost::fibers::context,boost::intrusive::function_hook<boost::fibers::detail::wait_functor>,boost::intrusive::constant_time_size<false>,void,void>'
      chrono_exe.vcxproj -> C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\bin\chrono_exe.exe
      regex_exe.vcxproj -> C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\bin\regex_exe.exe
      locale_exe.vcxproj -> C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\bin\locale_exe.exe
      test_exe.vcxproj -> C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\bin\test_exe.exe
    MSBUILD : error MSB4166: Child node "5" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\J\w\BuildSingleReference@2\8860\f571c159-17b1-4528-ad06-f0be9c7aaf8d\" 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 1. [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\fiber_exe.vcxproj]
    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 1. [C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91\coroutine_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::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.70.0 (test package): Error in build() method, line 38
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@2\conan-center-index\recipes\boost\all\test_package\build\46a78c20248f30d2cea5d50242174ac857727f91 --config Debug -- /m:16 /verbosity:minimal
    
  • boost/1.72.0@:
    All packages built successfully! (All logs)

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

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

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

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

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

@conan-center-bot
Copy link
Collaborator

All green in build 4 (1cd561ac6295230804b962034d2adcfd91657c4e):

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

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

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

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

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

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

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

@conan-center-bot conan-center-bot merged commit c910926 into conan-io:master Apr 1, 2021
@adklimki adklimki deleted the hotfix/fix-boost-fpic-management branch April 1, 2021 17:44
AlvaroFS pushed a commit to AlvaroFS/conan-center-index that referenced this pull request May 7, 2021
* Fix typos

* Fix fPIC management

* Update recipes/boost/all/conanfile.py

Co-authored-by: Chris Mc <[email protected]>

* Use usual pattern for getting deleted options

Co-authored-by: Chris Mc <[email protected]>
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

Successfully merging this pull request may close these issues.

5 participants