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

magnum: migrate to Conan v2 #18860

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 24, 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.

@valgur valgur closed this Jul 26, 2023
@valgur valgur reopened this Sep 11, 2023
@conan-center-bot

This comment has been minimized.

@valgur valgur marked this pull request as ready for review September 11, 2023 16:43
@valgur
Copy link
Contributor Author

valgur commented Sep 11, 2023

@uilianries ERROR: Missing prebuilt package for 'sdl/2.26.5'

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Oct 15, 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 Oct 15, 2023
@RubenRBS RubenRBS self-assigned this Oct 18, 2023
@stale stale bot removed the stale label Oct 18, 2023
@conan-center-bot conan-center-bot added the Version conflict There is a version conflict when solving the dependencies graph label Nov 15, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur
Copy link
Contributor Author

valgur commented Nov 18, 2023

Blocked by #21221

@conan-center-bot conan-center-bot removed the Version conflict There is a version conflict when solving the dependencies graph label Nov 18, 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.

@conan-center-bot

This comment has been minimized.

@conan-center-bot conan-center-bot added the Missing dependencies Build failed due missing dependencies in Conan Center label Jan 2, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Mar 23, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (eec4fce3b058070e22a8e1f223423692c59b5bb2):

  • magnum/2020.06:
    CI failed to create some packages (All logs)

    Logs for packageID 2d442433f9f704eb9c86da670e190eccf8580a3e:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    [options]
    magnum:shared=False
    
    [...]
    [ 32%] Building CXX object src/Magnum/CMakeFiles/Magnum.dir/ImageView.cpp.o
    [ 33%] Building CXX object src/Magnum/CMakeFiles/Magnum.dir/Mesh.cpp.o
    [ 33%] Building CXX object src/Magnum/CMakeFiles/Magnum.dir/PixelFormat.cpp.o
    [ 34%] Building CXX object src/Magnum/CMakeFiles/Magnum.dir/VertexFormat.cpp.o
    [ 34%] Building CXX object src/Magnum/CMakeFiles/Magnum.dir/Animation/Player.cpp.o
    [ 34%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/ContextState.cpp.o
    [ 34%] Built target MagnumTextObjects
    [ 35%] Building CXX object src/Magnum/CMakeFiles/Magnum.dir/Animation/Interpolation.cpp.o
    [ 36%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/FramebufferState.cpp.o
    [ 36%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/MeshState.cpp.o
    [ 36%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/QueryState.cpp.o
    [ 37%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/RendererState.cpp.o
    [ 37%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/ShaderProgramState.cpp.o
    [ 38%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/ShaderState.cpp.o
    [ 38%] Linking CXX static library ../../Release/lib/libMagnum.a
    [ 38%] Built target MagnumDebugToolsObjects
    [ 38%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/State.cpp.o
    [ 39%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/TextureState.cpp.o
    [ 39%] Built target Magnum
    [ 39%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/driverSpecific.cpp.o
    [ 40%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/maxTextureSize.cpp.o
    [ 40%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/RectangleTexture.cpp.o
    [ 41%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/PrimitiveQuery.cpp.o
    [ 41%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/TextureArray.cpp.o
    [ 42%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/TransformFeedback.cpp.o
    [ 42%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/TransformFeedbackState.cpp.o
    [ 42%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/DebugOutput.cpp.o
    [ 42%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/BufferTexture.cpp.o
    [ 43%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/Implementation/DebugState.cpp.o
    [ 44%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/CubeMapTextureArray.cpp.o
    [ 44%] Building CXX object src/Magnum/GL/CMakeFiles/MagnumGLObjects.dir/MultisampleTexture.cpp.o
    [ 44%] Built target MagnumGLObjects
    magnum/2020.06: 
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        WITH_VULKANTESTER
    
    
    make[2]: *** No rule to make target `/Users/jenkins/workspace/prod-v1/bsr/49794/deacc/.conan/data/magnum/2020.06/_/_/build/2d442433f9f704eb9c86da670e190eccf8580a3e/src/CORRADE_RC_PROGRAM-NOTFOUND', needed by `src/Magnum/Shaders/resource_MagnumShaders_RCS.cpp'.  Stop.
    make[1]: *** [src/Magnum/Shaders/CMakeFiles/MagnumShadersObjects.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    magnum/2020.06: ERROR: Package '2d442433f9f704eb9c86da670e190eccf8580a3e' build failed
    magnum/2020.06: WARN: Build folder /Users/jenkins/workspace/prod-v1/bsr/49794/deacc/.conan/data/magnum/2020.06/_/_/build/2d442433f9f704eb9c86da670e190eccf8580a3e/build/Release
    ERROR: magnum/2020.06: Error in build() method, line 379
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/Users/jenkins/workspace/prod-v1/bsr/49794/deacc/.conan/data/magnum/2020.06/_/_/build/2d442433f9f704eb9c86da670e190eccf8580a3e/build/Release" '--' '-j8'
    

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 (eec4fce3b058070e22a8e1f223423692c59b5bb2):

  • magnum/2020.06:
    CI failed to create some packages (All logs)

    Logs for packageID 7192e4c32594c7eb636f28c51b835d46f5287fdf:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    -- Conan: Component target declared 'wayland::wayland-egl-backend'
    -- Conan: Target declared 'wayland::wayland'
    -- Conan: Target declared 'libffi::libffi'
    -- Conan: Target declared 'LibXml2::LibXml2'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/libxm16e7a80d6ef8f/p/lib/cmake/conan-official-libxml2-variables.cmake'
    -- Conan: Target declared 'expat::expat'
    -- Conan: Target declared 'egl::egl'
    -- Conan: Component target declared 'libunwind::unwind'
    -- Conan: Component target declared 'libunwind::generic'
    -- Conan: Component target declared 'libunwind::ptrace'
    -- Conan: Component target declared 'libunwind::setjmp'
    -- Conan: Component target declared 'libunwind::coredump'
    -- Conan: Target declared 'libunwind::libunwind'
    -- Conan: Target declared 'LibLZMA::LibLZMA'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/xz_ut9bf5feda5f60d/p/lib/cmake/conan-official-xz_utils-variables.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-vars.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-gl-info.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-al-info.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-distancefieldconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-fontconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-imageconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-sceneconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-vars.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-gl-info.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-al-info.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-distancefieldconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-fontconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-imageconverter.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/lib/cmake/conan-magnum-sceneconverter.cmake'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/workspace/prod-v2/bsr/cci-f9b3c93d/recipes/magnum/all/test_package/build/gcc-11-x86_64-17-release
    
    magnum/2020.06 (test package): Running CMake.build()
    magnum/2020.06 (test package): RUN: cmake --build "/home/conan/workspace/prod-v2/bsr/cci-f9b3c93d/recipes/magnum/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
    [100%] Linking CXX executable test_package
    Running magnum-gl-info
    /home/conan/workspace/prod-v2/bsr/44150/dddbc/p/b/magnuba4b675dd3aca/p/bin/magnum-gl-info: error while loading shared libraries: libMagnumGL.so.2: cannot open shared object file: No such file or directory
    CMakeFiles/test_package.dir/build.make:87: recipe for target 'test_package' failed
    make[2]: *** [test_package] Error 127
    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
    
    ERROR: magnum/2020.06 (test package): Error in build() method, line 55
    	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.

None yet

3 participants