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

cern-root: migrate to Conan v2 #18900

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 25, 2023

@conan-center-bot

This comment has been minimized.

@valgur
Copy link
Contributor Author

valgur commented Jul 26, 2023

Closing temporarily to avoid unnecessary load on the CI. Will reopen when I'm actively working on the PR again.

@valgur valgur closed this Jul 26, 2023
@valgur valgur reopened this Aug 16, 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.

@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
@stale stale bot removed the stale label Nov 15, 2023
@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 Nov 28, 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.

@mayeut mayeut mentioned this pull request Dec 3, 2023
3 tasks
@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Jan 4, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 15 (9998b16bc6da3c05bab5b1e2d3e3779c4f1d24bc):

  • cern-root/v6-22-06:
    CI failed to create some packages (All logs)

    Logs for packageID fc1cd82e932fe11b2ffdf77a7f5e07ac18b311dc:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=10
    os=Linux
    
    [...]
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/result.h:242:43:   required from ‘arrow::Result<T>::Result(arrow::Result<U>&&) [with U = arrow::Decimal256; E = void; T = arrow::Decimal256]’
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/decimal.h:220:5:   required from here
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h:36:37: error: ‘reinterpret_cast’ from type ‘const std::aligned_storage<32, 8>::type*’ to type ‘arrow::Decimal256*’ casts away qualifiers
       36 |     return arrow::internal::launder(reinterpret_cast<T*>(&data_));
          |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h:37:3: error: body of ‘constexpr’ function ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const [with T = arrow::Decimal256]’ not a return-statement
       37 |   }
          |   ^
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h: In instantiation of ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const [with T = std::pair<arrow::Decimal256, arrow::Decimal256>]’:
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/result.h:427:55:   required from ‘T arrow::Result<T>::MoveValueUnsafe() [with T = std::pair<arrow::Decimal256, arrow::Decimal256>]’
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/result.h:242:43:   required from ‘arrow::Result<T>::Result(arrow::Result<U>&&) [with U = std::pair<arrow::Decimal256, arrow::Decimal256>; E = void; T = std::pair<arrow::Decimal256, arrow::Decimal256>]’
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/decimal.h:237:5:   required from here
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h:36:37: error: ‘reinterpret_cast’ from type ‘const std::aligned_storage<64, 8>::type*’ to type ‘std::pair<arrow::Decimal256, arrow::Decimal256>*’ casts away qualifiers
       36 |     return arrow::internal::launder(reinterpret_cast<T*>(&data_));
          |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h:37:3: error: body of ‘constexpr’ function ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const [with T = std::pair<arrow::Decimal256, arrow::Decimal256>]’ not a return-statement
       37 |   }
          |   ^
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h: In instantiation of ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const [with T = int]’:
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/result.h:427:55:   required from ‘T arrow::Result<T>::MoveValueUnsafe() [with T = int]’
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/result.h:242:43:   required from ‘arrow::Result<T>::Result(arrow::Result<U>&&) [with U = int; E = void; T = int]’
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/decimal.h:281:14:   required from here
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h:36:37: error: ‘reinterpret_cast’ from type ‘const std::aligned_storage<4, 4>::type*’ to type ‘int*’ casts away qualifiers
       36 |     return arrow::internal::launder(reinterpret_cast<T*>(&data_));
          |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/arrow/14.0.1/_/_/package/e1c1066213b8b46d57eaaa640273411c889c0f87/include/arrow/util/aligned_storage.h:37:3: error: body of ‘constexpr’ function ‘constexpr T* arrow::internal::AlignedStorage<T>::get() const [with T = int]’ not a return-statement
       37 |   }
          |   ^
    make[2]: *** [tree/dataframe/CMakeFiles/ROOTDataFrame.dir/build.make:368: tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RArrowDS.cxx.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [CMakeFiles/Makefile2:22009: tree/dataframe/CMakeFiles/ROOTDataFrame.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:171: all] Error 2
    WARN: cfitsio/4.3.0: requirement zlib/[>=1.2.11 <2] overridden by cern-root/v6-22-06 to zlib/1.3 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by cern-root/v6-22-06 to zlib/1.3 
    WARN: libpng/1.6.40: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3 
    WARN: libcurl/8.5.0: requirement openssl/[>=1.1 <4] overridden by cern-root/v6-22-06 to openssl/3.2.0 
    WARN: libcurl/8.5.0: requirement zlib/[>=1.2.11 <2] overridden by cern-root/v6-22-06 to zlib/1.3 
    WARN: openssl/3.2.0: requirement zlib/[>=1.2.11 <2] overridden by libcurl/8.5.0 to zlib/1.3 
    WARN: libmysqlclient/8.1.0: requirement openssl/[>=1.1 <4] overridden by cern-root/v6-22-06 to openssl/3.2.0 
    WARN: libmysqlclient/8.1.0: requirement zlib/[>=1.2.11 <2] overridden by cern-root/v6-22-06 to zlib/1.3 
    WARN: libxml2/2.11.5: requirement zlib/[>=1.2.11 <2] overridden by cern-root/v6-22-06 to zlib/1.3 
    WARN: pcre/8.45: requirement zlib/[>=1.2.11 <2] overridden by cern-root/v6-22-06 to zlib/1.3 
    cern-root/v6-22-06: 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
    cern-root/v6-22-06: 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
    cern-root/v6-22-06: ERROR: Package 'fc1cd82e932fe11b2ffdf77a7f5e07ac18b311dc' build failed
    cern-root/v6-22-06: WARN: Build folder /home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/cern-root/v6-22-06/_/_/build/fc1cd82e932fe11b2ffdf77a7f5e07ac18b311dc/build/Debug
    ERROR: cern-root/v6-22-06: Error in build() method, line 298
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/w/prod-v1/bsr/82954/abbef/.conan/data/cern-root/v6-22-06/_/_/build/fc1cd82e932fe11b2ffdf77a7f5e07ac18b311dc/build/Debug" '--' '-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 14 (9998b16bc6da3c05bab5b1e2d3e3779c4f1d24bc):

  • cern-root/v6-22-06:
    CI failed to create some packages (All logs)

    Logs for packageID aed133b2f25cbe25680b278e632325ec6415664f:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQObject.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRefCnt.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRef.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRegexp.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRemoteObject.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStopwatch.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStorage.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TString.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStringLong.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStyle.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSysEvtHandler.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSystem.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSystemDirectory.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSystemFile.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTask.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTime.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTimer.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTimeStamp.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TUri.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TUrl.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TUUID.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualFFT.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualGL.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualMonitoring.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualMutex.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPad.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPadEditor.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPadPainter.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPerfStats.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPS.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualViewer3D.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualX.cxx.o
    [ 58%] Building CXX object core/base/CMakeFiles/Base.dir/v7/src/RError.cxx.o
    [ 58%] Built target Base
    Makefile:151: recipe for target 'all' failed
    make: *** [all] Error 2
    
    cern-root/v6-22-06: ERROR: 
    Package 'aed133b2f25cbe25680b278e632325ec6415664f' build failed
    cern-root/v6-22-06: WARN: Build folder /home/conan/w/prod-v2/bsr/68396/bcabf/p/b/cern-3e20bac315456/b/build/Release
    *********************************************************
    Recipe 'cern-root/v6-22-06' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: cern-root/v6-22-06: Error in build() method, line 298
    	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.

@valgur
Copy link
Contributor Author

valgur commented Jan 24, 2024

The missing xpmCreatePixmapFromImage symbol is caused by a bug in the libxpm recipe (src/CrPFrI.c is not included in the build). Fixed by #22197.

Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants