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

samarium: migrate to Conan v2, drop old version #25396

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Sep 24, 2024

Summary

Changes to recipe: lib/[version]

Motivation

Details

The author appears to have changed their username. The source archive hash has not changed, though.


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (3703cd354da99c8c123876a8a5eaeee2d308d3b0):

  • samarium/1.0.1:
    CI failed to create some packages (All logs)

    Logs for packageID b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    samarium:shared=True
    
    [...]
       90 |     for (auto �[01;35m�[Ki�[m�[K : range(params.detail))
          |               �[01;35m�[K^�[m�[K
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 3 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 4 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 5 (>= sh_info of 3)
    �[01m�[K/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/src/test/dev.cpp:�[m�[K In lambda function:
    �[01m�[K/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/src/test/dev.cpp:35:33:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter '�[01m�[Kdt�[m�[K' [�[01;35m�[K-Wunused-parameter�[m�[K]
       35 |     const auto update = [&](�[01;35m�[Kf64 dt�[m�[K) {};
          |                             �[01;35m�[K~~~~^~�[m�[K
    �[01m�[K/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/src/test/dev.cpp:�[m�[K In function '�[01m�[Kint main()�[m�[K':
    �[01m�[K/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/src/test/dev.cpp:31:10:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused variable '�[01m�[Kdistance�[m�[K' [�[01;35m�[K-Wunused-variable�[m�[K]
       31 |     auto �[01;35m�[Kdistance�[m�[K = 0.0;
          |          �[01;35m�[K^~~~~~~~�[m�[K
    �[01m�[K/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/src/test/dev.cpp:35:16:�[m�[K �[01;35m�[Kwarning: �[m�[Kvariable '�[01m�[Kupdate�[m�[K' set but not used [�[01;35m�[K-Wunused-but-set-variable�[m�[K]
       35 |     const auto �[01;35m�[Kupdate�[m�[K = [&](f64 dt) {};
          |                �[01;35m�[K^~~~~~�[m�[K
    �[01m�[K/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/src/test/dev.cpp:36:16:�[m�[K �[01;35m�[Kwarning: �[m�[Kvariable '�[01m�[Kdraw�[m�[K' set but not used [�[01;35m�[K-Wunused-but-set-variable�[m�[K]
       36 |     const auto �[01;35m�[Kdraw�[m�[K   = [&]
          |                �[01;35m�[K^~~~�[m�[K
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 3 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 4 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 5 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `std::_Function_handler<void (), sm::Keyboard::OnKeyDown>::_M_invoke(std::_Any_data const&)':
    dev.cpp:(.text._ZNSt17_Function_handlerIFvvEN2sm8Keyboard9OnKeyDownEE9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFvvEN2sm8Keyboard9OnKeyDownEE9_M_invokeERKSt9_Any_data]+0x4): undefined reference to `sm::Keyboard::OnKeyDown::operator()()'
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `main':
    dev.cpp:(.text.startup+0xb6): undefined reference to `sm::file::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path const&)'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text.startup+0x147): undefined reference to `sm::Stopwatch::print() const'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text.startup+0x1ac): undefined reference to `sm::App::dims() const'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text.startup+0x1de): undefined reference to `sm::App::transformed_bounding_box() const'
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `sm::App::App(sm::App::Settings const&)':
    dev.cpp:(.text._ZN2sm3AppC2ERKNS0_8SettingsE[_ZN2sm3AppC5ERKNS0_8SettingsE]+0x471): undefined reference to `sm::Mouse::update(sf::RenderWindow const&)'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text._ZN2sm3AppC2ERKNS0_8SettingsE[_ZN2sm3AppC5ERKNS0_8SettingsE]+0x865): undefined reference to `sm::ThreadPool::~ThreadPool()'
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `sm::App::~App()':
    dev.cpp:(.text._ZN2sm3AppD2Ev[_ZN2sm3AppD5Ev]+0x68): undefined reference to `sm::ThreadPool::~ThreadPool()'
    collect2: error: ld returned 1 exit status
    make[2]: *** [test/samarium_tests] Error 1
    make[1]: *** [test/CMakeFiles/samarium_tests.dir/all] Error 2
    make: *** [all] Error 2
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    samarium/1.0.1: 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
    samarium/1.0.1: 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
    samarium/1.0.1: ERROR: Package 'b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00' build failed
    samarium/1.0.1: WARN: Build folder /home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/build/Release
    ERROR: samarium/1.0.1: Error in build() method, line 90
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/101203/baafb/.conan/data/samarium/1.0.1/_/_/build/b7b4ee189348f2f3b6572d8b2c6f8bcd2fef4e00/build/Release" '--' '-j3'
    

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.

Failure in build 1 (3703cd354da99c8c123876a8a5eaeee2d308d3b0):

  • samarium/1.0.1:
    CI failed to create some packages (All logs)

    Logs for packageID fba3d9097efc69d2e5e6fd98b050fa4869d78431:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=20
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 3 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 4 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 5 (>= sh_info of 3)
    [ 89%] Built target samarium
    Scanning dependencies of target samarium_tests
    [ 94%] Building CXX object test/CMakeFiles/samarium_tests.dir/dev.cpp.o
    �[01m�[K/home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/src/test/dev.cpp:�[m�[K In lambda function:
    �[01m�[K/home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/src/test/dev.cpp:35:33:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter '�[01m�[Kdt�[m�[K' [�[01;35m�[K-Wunused-parameter�[m�[K]
       35 |     const auto update = [&](�[01;35m�[Kf64 dt�[m�[K) {};
          |                             �[01;35m�[K~~~~^~�[m�[K
    �[01m�[K/home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/src/test/dev.cpp:�[m�[K In function '�[01m�[Kint main()�[m�[K':
    �[01m�[K/home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/src/test/dev.cpp:31:10:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused variable '�[01m�[Kdistance�[m�[K' [�[01;35m�[K-Wunused-variable�[m�[K]
       31 |     auto �[01;35m�[Kdistance�[m�[K = 0.0;
          |          �[01;35m�[K^~~~~~~~�[m�[K
    �[01m�[K/home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/src/test/dev.cpp:35:16:�[m�[K �[01;35m�[Kwarning: �[m�[Kvariable '�[01m�[Kupdate�[m�[K' set but not used [�[01;35m�[K-Wunused-but-set-variable�[m�[K]
       35 |     const auto �[01;35m�[Kupdate�[m�[K = [&](f64 dt) {};
          |                �[01;35m�[K^~~~~~�[m�[K
    �[01m�[K/home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/src/test/dev.cpp:36:16:�[m�[K �[01;35m�[Kwarning: �[m�[Kvariable '�[01m�[Kdraw�[m�[K' set but not used [�[01;35m�[K-Wunused-but-set-variable�[m�[K]
       36 |     const auto �[01;35m�[Kdraw�[m�[K   = [&]
          |                �[01;35m�[K^~~~�[m�[K
    [100%] Linking CXX executable samarium_tests
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 3 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 4 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 5 (>= sh_info of 3)
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `std::_Function_handler<void (), sm::Keyboard::OnKeyDown>::_M_invoke(std::_Any_data const&)':
    dev.cpp:(.text._ZNSt17_Function_handlerIFvvEN2sm8Keyboard9OnKeyDownEE9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFvvEN2sm8Keyboard9OnKeyDownEE9_M_invokeERKSt9_Any_data]+0x4): undefined reference to `sm::Keyboard::OnKeyDown::operator()()'
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `main':
    dev.cpp:(.text.startup+0xb6): undefined reference to `sm::file::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path const&)'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text.startup+0x147): undefined reference to `sm::Stopwatch::print() const'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text.startup+0x1ac): undefined reference to `sm::App::dims() const'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text.startup+0x1de): undefined reference to `sm::App::transformed_bounding_box() const'
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `sm::App::App(sm::App::Settings const&)':
    dev.cpp:(.text._ZN2sm3AppC2ERKNS0_8SettingsE[_ZN2sm3AppC5ERKNS0_8SettingsE]+0x471): undefined reference to `sm::Mouse::update(sf::RenderWindow const&)'
    /opt/conan/binutils/bin/ld: dev.cpp:(.text._ZN2sm3AppC2ERKNS0_8SettingsE[_ZN2sm3AppC5ERKNS0_8SettingsE]+0x865): undefined reference to `sm::ThreadPool::~ThreadPool()'
    /opt/conan/binutils/bin/ld: CMakeFiles/samarium_tests.dir/dev.cpp.o: in function `sm::App::~App()':
    dev.cpp:(.text._ZN2sm3AppD2Ev[_ZN2sm3AppD5Ev]+0x68): undefined reference to `sm::ThreadPool::~ThreadPool()'
    collect2: error: ld returned 1 exit status
    test/CMakeFiles/samarium_tests.dir/build.make:90: recipe for target 'test/samarium_tests' failed
    make[2]: *** [test/samarium_tests] Error 1
    CMakeFiles/Makefile2:950: recipe for target 'test/CMakeFiles/samarium_tests.dir/all' failed
    make[1]: *** [test/CMakeFiles/samarium_tests.dir/all] Error 2
    Makefile:140: recipe for target 'all' failed
    make: *** [all] Error 2
    
    samarium/1.0.1: ERROR: 
    Package 'fba3d9097efc69d2e5e6fd98b050fa4869d78431' build failed
    samarium/1.0.1: WARN: Build folder /home/conan/workspace/prod-v2/bsr/90165/bbbdf/p/b/samar138446b725e07/b/build/Release
    ERROR: samarium/1.0.1: Error in build() method, line 90
    	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.

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks!

@AbrilRBS AbrilRBS self-assigned this Sep 25, 2024
@AbrilRBS
Copy link
Member

Seems like there are still some missing libraries there! Ping me once this gets fixed :)

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