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

openassetio: migrate to Conan v2 #23199

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Mar 21, 2024

The recipe is almost up to date but it can be fully migrated now that the cpython package is available.

@conan-center-bot

This comment has been minimized.

@RubenRBS RubenRBS self-assigned this Mar 21, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 4 (84083d794783a60114ad17dc3105af1c046b0ddf):

  • openassetio/1.0.0-alpha.9:
    CI failed to create some packages (All logs)

    Logs for packageID cd5eac0d476ac70003d7fd2753f83215588b7720:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    openassetio:shared=False
    
    [...]
    
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_POLICY_DEFAULT_CMP0091
    
    
    /usr/bin/ld: cannot find -ltk8.6
    /usr/bin/ld: cannot find -ltkstub8.6
    /usr/bin/ld: cannot find -lfontconfig
    /usr/bin/ld: cannot find -lfreetype
    /usr/bin/ld: cannot find -lpng
    /usr/bin/ld: cannot find -ltcl8.6
    /usr/bin/ld: cannot find -ltclstub8.6
    /usr/bin/ld: cannot find -lssl
    /usr/bin/ld: cannot find -lcrypto
    /usr/bin/ld: cannot find -lbrotlienc
    /usr/bin/ld: cannot find -lbrotlidec
    /usr/bin/ld: cannot find -lbrotlicommon
    /usr/bin/ld: cannot find -llzma
    /usr/bin/ld: cannot find -lncurses++w
    /usr/bin/ld: cannot find -lticw
    /usr/bin/ld: cannot find -lformw
    /usr/bin/ld: cannot find -lmenuw
    /usr/bin/ld: cannot find -lpanelw
    /usr/bin/ld: cannot find -lncursesw
    /usr/bin/ld: cannot find -ltinfow
    /usr/bin/ld: cannot find -lsqlite3
    /usr/bin/ld: cannot find -lgdbm
    /usr/bin/ld: cannot find -lbz2
    /usr/bin/ld: cannot find -lmpdec++
    /usr/bin/ld: cannot find -lmpdec
    /usr/bin/ld: cannot find -lffi
    /usr/bin/ld: cannot find -lexpat
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/test.python.bridge.dir/build.make:100: test.python.bridge] Error 1
    make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/test.python.bridge.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:101: all] Error 2
    WARN: openssl/3.2.1: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.10.0 to zlib/1.3.1 
    WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.3.1 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.13.93 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 
    openassetio/1.0.0-alpha.9 (test package): 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
    openassetio/1.0.0-alpha.9 (test package): 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
    openassetio/1.0.0-alpha.9 (test package): 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
    openassetio/1.0.0-alpha.9 (test package): 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
    ERROR: openassetio/1.0.0-alpha.9 (test package): Error in build() method, line 46
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/cci-a824a922/recipes/openassetio/all/test_v1_package/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.

See details:

Failure in build 4 (84083d794783a60114ad17dc3105af1c046b0ddf):

  • openassetio/1.0.0-alpha.9:
    CI failed to create some packages (All logs)

    Logs for packageID 8f7df2d4ff7511e409b9b128df594cef71034b24:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    -- Configuring done (1.4s)
    -- Generating done (0.0s)
    -- Build files have been written to: /home/conan/workspace/prod-v2/bsr/cci-e07d5837/recipes/openassetio/all/test_package/build/gcc-11-x86_64-17-release
    
    openassetio/1.0.0-alpha.9 (test package): Running CMake.build()
    openassetio/1.0.0-alpha.9 (test package): RUN: cmake --build "/home/conan/workspace/prod-v2/bsr/cci-e07d5837/recipes/openassetio/all/test_package/build/gcc-11-x86_64-17-release" -- -j3
    [ 50%] Building CXX object CMakeFiles/test.python.bridge.dir/test.python.bridge.cpp.o
    [ 50%] Building CXX object CMakeFiles/test.cpp.core.dir/test.core.cpp.o
    [ 75%] Linking CXX executable test.cpp.core
    [100%] Linking CXX executable test.python.bridge
    /opt/conan/binutils/bin/ld: cannot find -ltk8.6
    /opt/conan/binutils/bin/ld: cannot find -ltkstub8.6
    /opt/conan/binutils/bin/ld: cannot find -lfontconfig
    /opt/conan/binutils/bin/ld: cannot find -lfreetype
    /opt/conan/binutils/bin/ld: cannot find -lpng
    /opt/conan/binutils/bin/ld: cannot find -ltcl8.6
    /opt/conan/binutils/bin/ld: cannot find -ltclstub8.6
    /opt/conan/binutils/bin/ld: cannot find -lssl
    /opt/conan/binutils/bin/ld: cannot find -lcrypto
    /opt/conan/binutils/bin/ld: cannot find -llzma
    /opt/conan/binutils/bin/ld: cannot find -lncurses++w
    /opt/conan/binutils/bin/ld: cannot find -lticw
    /opt/conan/binutils/bin/ld: cannot find -lformw
    /opt/conan/binutils/bin/ld: cannot find -lmenuw
    /opt/conan/binutils/bin/ld: cannot find -lpanelw
    /opt/conan/binutils/bin/ld: cannot find -lncursesw
    /opt/conan/binutils/bin/ld: cannot find -ltinfow
    /opt/conan/binutils/bin/ld: cannot find -lexpat
    /opt/conan/binutils/bin/ld: cannot find -lbrotlienc
    /opt/conan/binutils/bin/ld: cannot find -lbrotlidec
    /opt/conan/binutils/bin/ld: cannot find -lbrotlicommon
    /opt/conan/binutils/bin/ld: cannot find -lbz2
    /opt/conan/binutils/bin/ld: cannot find -lsqlite3
    /opt/conan/binutils/bin/ld: cannot find -lgdbm
    /opt/conan/binutils/bin/ld: cannot find -lmpdec++
    /opt/conan/binutils/bin/ld: cannot find -lmpdec
    /opt/conan/binutils/bin/ld: cannot find -lffi
    collect2: error: ld returned 1 exit status
    CMakeFiles/test.python.bridge.dir/build.make:99: recipe for target 'test.python.bridge' failed
    make[2]: *** [test.python.bridge] Error 1
    CMakeFiles/Makefile2:110: recipe for target 'CMakeFiles/test.python.bridge.dir/all' failed
    make[1]: *** [CMakeFiles/test.python.bridge.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    [100%] Built target test.cpp.core
    Makefile:100: recipe for target 'all' failed
    make: *** [all] Error 2
    
    ERROR: openassetio/1.0.0-alpha.9 (test package): Error in build() method, line 35
    	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