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

byte-lite: add package_type #21417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Nov 27, 2023

Specify library name and version: lib/1.0


@AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS self-assigned this Nov 27, 2023
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 2 (8699e07c97d50a75980c905f45badbdded7fca70):

  • byte-lite/0.3.0:
    All packages built successfully! (All logs)

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 1 (8699e07c97d50a75980c905f45badbdded7fca70):

  • byte-lite/0.3.0:
    CI failed to create some packages (All logs)

    Logs for packageID da39a3ee5e6b4b0d3255bfef95601890afd80709:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    byte-lite/0.3.0 (test package): Running CMake.configure()
    byte-lite/0.3.0 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/build/gcc-11-x86_64-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package"
    -- Using Conan toolchain: /home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/build/gcc-11-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The CXX compiler identification is GNU 11.1.0
    -- Check for working CXX compiler: /usr/local/bin/c++
    -- Check for working CXX compiler: /usr/local/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: Component target declared 'nonstd::byte-lite'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/build/gcc-11-x86_64-17-release
    
    byte-lite/0.3.0 (test package): Running CMake.build()
    byte-lite/0.3.0 (test package): RUN: cmake --build "/home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/build/gcc-11-x86_64-17-release" -- -j3
    Scanning dependencies of target test_package
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    /home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/test_package.cpp: In function 'int main()':
    /home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/test_package.cpp:12:46: error: no matching function for call to 'to_integer(std::byte&)'
       12 |     byte r1 = b1 ^ b2; if( 0xff != to_integer( r1 )               ) throw std::exception();  // not (yet) standard, needs C++11
          |                                    ~~~~~~~~~~^~~~~~
    In file included from /home/conan/w/prod-v2/bsr/48913/fdfdd/p/b/byte-05350450942d0/p/include/nonstd/byte.hpp:68,
                     from /home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/test_package.cpp:1:
    /usr/local/include/c++/11.1.0/cstddef:174:5: note: candidate: 'template<class _IntegerType> constexpr _IntegerType std::to_integer(std::__byte_op_t<_IntegerType>)'
      174 |     to_integer(__byte_op_t<_IntegerType> __b) noexcept
          |     ^~~~~~~~~~
    /usr/local/include/c++/11.1.0/cstddef:174:5: note:   template argument deduction/substitution failed:
    /home/conan/w/prod-v2/bsr/cci-658672b3/recipes/byte-lite/all/test_package/test_package.cpp:12:46: note:   couldn't deduce template parameter '_IntegerType'
       12 |     byte r1 = b1 ^ b2; if( 0xff != to_integer( r1 )               ) throw std::exception();  // not (yet) standard, needs C++11
          |                                    ~~~~~~~~~~^~~~~~
    CMakeFiles/test_package.dir/build.make:62: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed
    make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1
    CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test_package.dir/all' failed
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    
    *********************************************************
    Recipe 'byte-lite/0.3.0 (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: byte-lite/0.3.0 (test package): Error in build() method, line 20
    	cmake.build()
    	ConanException: Error 2 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.

3 participants