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

erikzenker-hsm: add package_type + bump boost #21456

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

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Nov 28, 2023

Specify library name and version: lib/1.0


@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (8b67f3dfac5df7720552bea1c7f5f7006b73bb18):

  • erikzenker-hsm/2.1.0:
    All packages built successfully! (All logs)

  • erikzenker-hsm/2.3.0:
    All packages built successfully! (All logs)

  • erikzenker-hsm/1.4.7:
    CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    
    [...]
              with
              [
                  Event=Coin
              ]
    C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_package\test_package.cpp(54): message : see reference to function template instantiation 'void hsm::sm<Turnstile>::process_event<Coin>(Event &&)' being compiled [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
              with
              [
                  Event=Coin
              ]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/optional.hpp(108,46): error C2338: hana::optional::operator* requires a non-empty optional [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(481): message : see reference to function template instantiation 'auto boost::hana::optional<>::operator *<>(void) const' being compiled [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(481,65): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'void' [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(481,66): message : There is no context in which this conversion is possible [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(481,35): error C2737: 'index': constexpr object must be initialized [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(482,39): error C2672: 'boost::hana::at_c': no matching overloaded function found [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(482,1): error C2971: 'boost::hana::at_c': template parameter 'n': 'index': a variable with non-static storage duration cannot be used as a non-type argument [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/tuple.hpp(291): message : see declaration of 'boost::hana::at_c' [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(481): message : see declaration of 'index' [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\s\7e76b0\1\include\boost/hana/map.hpp(482,26): error C2672: 'operator __surrogate_func': no matching overloaded function found [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\62286\faaee\.conan\data\erikzenker-hsm\1.4.7\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\hsm/details/sm.h(308,1): error C2109: subscript requires array or pointer type [C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\test_package\test_package.vcxproj]
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        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
    
    
    boost/1.83.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
    erikzenker-hsm/1.4.7 (test package): WARN: 
         ************************************************
         The 'cmake_find_package_multi' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    erikzenker-hsm/1.4.7 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    erikzenker-hsm/1.4.7 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    ERROR: erikzenker-hsm/1.4.7 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J2\w\prod-v1\bsr\cci-a6c23359\recipes\erikzenker-hsm\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c --config Release -- /m:8 /verbosity:minimal
    

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.

See details:

Failure in build 2 (8b67f3dfac5df7720552bea1c7f5f7006b73bb18):

  • erikzenker-hsm/2.3.0:
    Didn't run or was cancelled before finishing

  • erikzenker-hsm/2.1.0:
    Didn't run or was cancelled before finishing

  • erikzenker-hsm/1.4.7:
    CI failed to create some packages (All logs)

    Logs for packageID da39a3ee5e6b4b0d3255bfef95601890afd80709:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=17
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    
    [...]
              with
              [
                  Event=Push,
                  Key=boost::hana::type_impl<hsm::noneEvent>::_
              ]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\erikz2314c446f709f\p\include\hsm/details/sm.h(198): message : see reference to function template instantiation 'decltype(auto) hsm::sm<Turnstile>::get_dispatch_table_entry<hsm::noneEvent,hsm::sm<Turnstile>::Region>(Event &,Region)' being compiled [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
              with
              [
                  Event=hsm::noneEvent,
                  Region=hsm::sm<Turnstile>::Region
              ]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\erikz2314c446f709f\p\include\hsm/details/sm.h(189): message : while compiling class template member function 'auto hsm::sm<Turnstile>::process_anonymous_transitions(void)' [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\test_package.cpp(48): message : see reference to class template instantiation 'hsm::sm<Turnstile>' being compiled [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\erikz2314c446f709f\p\include\hsm/details/sm.h(81): message : see reference to function template instantiation 'bool hsm::sm<Turnstile>::process_event_internal<Event&>(Coin&)' being compiled [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
              with
              [
                  Event=Coin
              ]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\erikz2314c446f709f\p\include\hsm/details/sm.h(82): message : see reference to function template instantiation 'bool hsm::sm<Turnstile>::process_event_internal<Event&>(Coin&)' being compiled [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
              with
              [
                  Event=Coin
              ]
    C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\test_package.cpp(54): message : see reference to function template instantiation 'void hsm::sm<Turnstile>::process_event<Coin>(Event &&)' being compiled [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
              with
              [
                  Event=Coin
              ]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/optional.hpp(108,46): error C2338: hana::optional::operator* requires a non-empty optional [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(481): message : see reference to function template instantiation 'auto boost::hana::optional<>::operator *<>(void) const' being compiled [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(481,65): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'void' [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(481,66): message : There is no context in which this conversion is possible [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(481,35): error C2737: 'index': constexpr object must be initialized [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(482,39): error C2672: 'boost::hana::at_c': no matching overloaded function found [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(482,1): error C2971: 'boost::hana::at_c': template parameter 'n': 'index': a variable with non-static storage duration cannot be used as a non-type argument [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/tuple.hpp(291): message : see declaration of 'boost::hana::at_c' [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(481): message : see declaration of 'index' [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\boost0604266816385\p\include\boost/hana/map.hpp(482,26): error C2672: 'operator __surrogate_func': no matching overloaded function found [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    C:\J2\w\prod-v2\bsr@3\49706\dcfab\p\erikz2314c446f709f\p\include\hsm/details/sm.h(308,1): error C2109: subscript requires array or pointer type [C:\J2\w\prod-v2\bsr@3\cci-731a5875\recipes\erikzenker-hsm\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
    
    *********************************************************
    Recipe 'erikzenker-hsm/1.4.7 (test package)' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: erikzenker-hsm/1.4.7 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 1 while executing
    

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.

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