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

tgbot: add version 1.6 and conan v2 support #16336

Closed
wants to merge 2 commits into from
Closed

tgbot: add version 1.6 and conan v2 support #16336

wants to merge 2 commits into from

Conversation

FaerHack
Copy link
Contributor

@FaerHack FaerHack commented Mar 1, 2023

Specify library name and version: tgbot/all


@conan-center-bot

This comment has been minimized.

1 similar comment
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@FaerHack FaerHack closed this Mar 2, 2023
@FaerHack FaerHack reopened this Mar 2, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

Hooks produced the following warnings for commit 5d4b6de
tgbot/1.3
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib, libTgBot.1.dylib

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

Hooks produced the following warnings for commit ebd8d17
tgbot/1.5
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
tgbot/1.2
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib
tgbot/1.3
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib, libTgBot.1.dylib
tgbot/1.2.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib, libTgBot.1.dylib
tgbot/1.6
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 12 (7f060c6fe13a6b57f80f628733ab7bad0fe4174d):

  • tgbot/1.5@:
    All packages built successfully! (All logs)

  • tgbot/1.3@:
    All packages built successfully! (All logs)

  • tgbot/1.2.1@:
    All packages built successfully! (All logs)

  • tgbot/1.2@:
    All packages built successfully! (All logs)

  • tgbot/1.6@:
    All packages built successfully! (All logs)


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 12 (7f060c6fe13a6b57f80f628733ab7bad0fe4174d):

  • tgbot/1.2.1@:
    Didn't run or was cancelled before finishing

  • tgbot/1.6@:
    CI failed to create some packages (All logs)

    Logs for packageID 604a6b5debfd7456f0378b59444dc82dda2d798d:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=gnu17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    -- Conan: Component target declared 'Boost::wave'
    -- Conan: Component target declared 'Boost::contract'
    -- Conan: Component target declared 'Boost::fiber'
    -- Conan: Component target declared 'Boost::fiber_numa'
    -- Conan: Component target declared 'Boost::graph'
    -- Conan: Component target declared 'Boost::iostreams'
    -- Conan: Component target declared 'Boost::locale'
    -- Conan: Component target declared 'Boost::log'
    -- Conan: Component target declared 'Boost::log_setup'
    -- Conan: Target declared 'boost::boost'
    -- Conan: Target declared 'BZip2::BZip2'
    -- Conan: Including build module from '/home/conan/w/prod-v2/BuildSingleReference/p/bzip217f1a2b1fc9af/p/lib/cmake/conan-official-bzip2-variables.cmake'
    -- Conan: Target declared 'libbacktrace::libbacktrace'
    -- Conan: Target declared 'ZLIB::ZLIB'
    -- Conan: Component target declared 'CURL::libcurl'
    -- Conan: Component target declared 'OpenSSL::Crypto'
    -- Conan: Component target declared 'OpenSSL::SSL'
    -- Conan: Target declared 'openssl::openssl'
    -- Conan: Including build module from '/home/conan/w/prod-v2/BuildSingleReference/p/opensd0517733a9756/p/lib/cmake/conan-official-openssl-variables.cmake'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/w/prod-v2/BuildSingleReference/cci-e550c194/recipes/tgbot/all/test_package/build/gcc-11-x86_64-gnu17-release
    
    tgbot/1.6 (test package): Running CMake.build()
    tgbot/1.6 (test package): RUN: cmake --build "/home/conan/w/prod-v2/BuildSingleReference/cci-e550c194/recipes/tgbot/all/test_package/build/gcc-11-x86_64-gnu17-release" -- -j3
    Scanning dependencies of target test_package
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable test_package
    /opt/conan/binutils/bin/ld: warning: libbacktrace.so.0, needed by /home/conan/w/prod-v2/BuildSingleReference/p/tgbotdc7e4c9867c1d/p/lib/libTgBot.so, not found (try using -rpath or -rpath-link)
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/boostfaaf9c5c19ab9/p/lib/libboost_stacktrace_backtrace.so.1.81.0: undefined reference to `backtrace_create_state'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/boostfaaf9c5c19ab9/p/lib/libboost_stacktrace_backtrace.so.1.81.0: undefined reference to `backtrace_pcinfo'
    /opt/conan/binutils/bin/ld: /home/conan/w/prod-v2/BuildSingleReference/p/boostfaaf9c5c19ab9/p/lib/libboost_stacktrace_backtrace.so.1.81.0: undefined reference to `backtrace_syminfo'
    collect2: error: ld returned 1 exit status
    CMakeFiles/test_package.dir/build.make:84: recipe for target 'test_package' failed
    make[2]: *** [test_package] 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 'tgbot/1.6 (test package)' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
    If it is your recipe, check it is updated to 2.0
    *********************************************************
    
    ERROR: tgbot/1.6 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing
    
  • tgbot/1.2@:
    Didn't run or was cancelled before finishing

  • tgbot/1.3@:
    Didn't run or was cancelled before finishing

  • tgbot/1.5@:
    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.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 7f060c6
tgbot/1.5
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
tgbot/1.3
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib, libTgBot.1.dylib
tgbot/1.2.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib, libTgBot.1.dylib
tgbot/1.2
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libTgBot.dylib
tgbot/1.6
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libTgBot.so' links to system library 'm' but it is not in cpp_info.system_libs.

Comment on lines -56 to -58
miss_boost_required_comp = any(getattr(self.options["boost"], "without_{}".format(boost_comp), True) for boost_comp in self._required_boost_components)
if self.options["boost"].header_only or miss_boost_required_comp:
raise ConanInvalidConfiguration("{0} requires non header-only boost with these components: {1}".format(self.name, ", ".join(self._required_boost_components)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not remove please

@stale
Copy link

stale bot commented Apr 25, 2023

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 stale bot added the stale label Apr 25, 2023
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@stale stale bot removed the stale label May 18, 2023
@stale
Copy link

stale bot commented Jun 18, 2023

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 Aug 10, 2023

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

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.

4 participants