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

ogre: migrate to Conan v2, bump to latest version #21073

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Nov 11, 2023

Ogre switched to semver when transitioning from v1.12 to v13.x: https://www.ogre3d.org/2021/08/14/ogre-13-released

@conan-center-bot conan-center-bot added Failed Missing dependencies Build failed due missing dependencies in Conan Center labels Nov 11, 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.

@valgur valgur marked this pull request as ready for review November 12, 2023 13:00
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@RubenRBS RubenRBS self-assigned this Nov 15, 2023
@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Nov 22, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@uilianries uilianries added the Missing dependencies Build failed due missing dependencies in Conan Center label Dec 7, 2023
@conan-center-bot conan-center-bot added Version conflict There is a version conflict when solving the dependencies graph and removed Missing dependencies Build failed due missing dependencies in Conan Center labels Mar 23, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur valgur changed the title ogre: migrate to Conan v2 ogre: migrate to Conan v2, bump to latest version Apr 20, 2024
@conan-center-bot conan-center-bot removed the Version conflict There is a version conflict when solving the dependencies graph label Apr 20, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 3 (31b90f85b87281706903266efb168835fb074043):

  • ogre/14.2.4:
    CI failed to create some packages (All logs)

    Logs for packageID d3cafb825d6713ab8818859cd8c2c075cd420f9f:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    ogre:shared=False
    
    [...]
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/OgreMain/include/OgreRay.h:53:51: warning: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::z’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 :mOrigin(origin), mDirection(direction) {}
                                                       ^
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1421:17: note: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::z’ was declared here
             Vector3 ret;
                     ^~~
    In file included from /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/OgreMain/include/OgreSceneQuery.h:33:0,
                     from /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/OgreMain/include/OgreSceneManager.h:40,
                     from /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/include/OgreTerrain.h:36,
                     from /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:28:
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/OgreMain/include/OgreRay.h:53:51: warning: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 :mOrigin(origin), mDirection(direction) {}
                                                       ^
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1421:17: note: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::y’ was declared here
             Vector3 ret;
                     ^~~
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:4010:9: warning: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (tDir.x < 0.0f)
             ^~
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1421:17: warning: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::z’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             Vector3 ret;
                     ^~~
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1322:53: warning: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                             outVec.x -= mBase; outVec.y -= mBase;
                                                ~~~~~~~~~^~~~~~~~
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1421:17: note: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::y’ was declared here
             Vector3 ret;
                     ^~~
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1322:34: warning: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                             outVec.x -= mBase; outVec.y -= mBase;
                             ~~~~~~~~~^~~~~~~~
    /home/conan/workspace/prod-v1/bsr/27901/dcaec/.conan/data/ogre/14.2.4/_/_/build/d3cafb825d6713ab8818859cd8c2c075cd420f9f/src/Components/Terrain/src/OgreTerrain.cpp:1421:17: note: ‘ret.Ogre::Vector<3, float>::<anonymous>.Ogre::VectorBase<3, float>::x’ was declared here
             Vector3 ret;
                     ^~~
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: zziplib/0.13.72: requirement zlib/[>=1.2.11 <2] overridden by ogre/14.2.4 to zlib/1.3.1 
    WARN: openssl/3.2.1: requirement zlib/[>=1.2.11 <2] overridden by pulseaudio/14.2 to zlib/1.3.1 
    WARN: libxml2/2.12.6: requirement zlib/[>=1.2.11 <2] overridden by wayland/1.22.0 to zlib/1.3.1 
    WARN: libunwind/1.8.0: requirement zlib/[>=1.2.11 <2] overridden by sdl/2.30.2 to zlib/1.3.1 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by ogre/14.2.4 to zlib/1.3.1 
    WARN: libpng/1.6.43: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    WARN: assimp/5.3.1: requirement zlib/[>=1.2.11 <2] overridden by ogre/14.2.4 to zlib/1.3.1 
    WARN: minizip/1.2.13: requirement zlib/[>=1.2.11 <2] overridden by assimp/5.3.1 to zlib/1.3.1 
    WARN: openexr/2.5.7: requirement zlib/[>=1.2.11 <2] overridden by ogre/14.2.4 to zlib/1.3.1 
    ogre/14.2.4: 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
    ogre/14.2.4: 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
    [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] The conan-center repository doesn't allow the packages to contain CMake find modules or config files. The packages have to be located using generators and the declared `cpp_info` information (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016-CMAKE-MODULES-CONFIG-FILES) 
    [HOOK - conan-center.py] post_package(): ERROR: [CMAKE-MODULES-CONFIG-FILES (KB-H016)] Found files: ./lib/cmake/OGRE/FindCg.cmake; ./lib/cmake/OGRE/FindDirectX.cmake; ./lib/cmake/OGRE/FindDirectX11.cmake; ./lib/cmake/OGRE/FindGLSLOptimizer.cmake; ./lib/cmake/OGRE/FindHLSL2GLSL.cmake; ./lib/cmake/OGRE/FindPkgMacros.cmake; ./lib/cmake/OGRE/FindSoftimage.cmake (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H016-CMAKE-MODULES-CONFIG-FILES) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    

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 3 (31b90f85b87281706903266efb168835fb074043):

  • ogre/14.2.4:
    CI failed to create some packages (All logs)

    Logs for packageID 18fc91c7aab7131867ab9cec149e708162f21a3b:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
      FEATURE SUMMARY
    ----------------------------------------------------------------------------
    
    Building components:
      + Bites
      + Bullet
      + MeshLodGenerator
      + Overlay
      + Overlay Dear Imgui
      + Paging
      + Property
      + RTShader System
      + RTShader System Shaders
      + Terrain
      + Volume
    Building plugins:
      + BSP scene manager
      + Octree scene manager
      + OpenEXR image codec
      + STBI codec (generic)
      + Portal connected zone scene manager
      + Particle FX
      + DotScene loader
      + Assimp loader (.obj, .ply, .fbx and more)
    Building rendersystems:
      + OpenGL
      + OpenGL 3+
    Building core features:
      + Mesh Lod
      + DDS image codec (.dds)
      + ETC image codec (.pkm, .ktx) 
      + ASTC image codec (.astc)
      + ZIP archives
      + Multi-threaded WorkQueue
    
    Build type:                      static
    Use double precision:            disabled
    Assert mode:                     release exceptions
    
    ----------------------------------------------------------------------------
    
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/workspace/prod-v2/bsr/24853/fceaf/p/b/ogre1070b8d6f359b/b/build/Release/CMakeFiles/CMakeOutput.log".
    
    ogre/14.2.4: ERROR: 
    Package '18fc91c7aab7131867ab9cec149e708162f21a3b' build failed
    ogre/14.2.4: WARN: Build folder /home/conan/workspace/prod-v2/bsr/24853/fceaf/p/b/ogre1070b8d6f359b/b/build/Release
    ERROR: ogre/14.2.4: Error in build() method, line 416
    	cmake.configure(build_script_folder=self.source_path.parent)
    	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.

None yet

4 participants