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

CatBoost-1.2-gfbf-2023a.eb fails on RHEL9 because it uses openssl/1.1.1s via Conan #20394

Open
boegel opened this issue Apr 18, 2024 · 0 comments
Milestone

Comments

@boegel
Copy link
Member

boegel commented Apr 18, 2024

Sanity check for CatBoost/1.2-gfbf-2023a fails on RHEL9 with:

ImportError: /software/CatBoost/1.2-gfbf-2023a/lib/python3.11/site-packages/catboost/_catboost.so: undefined symbol: SSL_get1_peer_certificate,  (at easybuild/framework/easyblock.py:3669 in _sanity_check_step)

Problem is that _catboost.so gets linked to an openssl/1.1.1s that is obtained via Conan:

  -- Conan: Found program /software/conan/1.60.2-GCCcore-12.3.0/bin/conan
  -- Conan: Version found Conan version 1.60.2
  -- Conan executing: /conan/1.60.2-GCCcore-12.3.0/bin/conan install /tmp/easybuild/CatBoost/1.2/gfbf-2023a/CatBoost/catboost-1.2/catboost_all_src --remote conancenter --install-folder /tmp/easybuild/CatBoost/1.2/gfbf-2023a/CatBoost/catboost-1.2/build/temp.linux-x86_64-cpython-311 --build missing --env CONAN_CMAKE_GENERATOR=Ninja --settings build_type=Release --settings compiler=clang --settings compiler.version=16 --settings compiler.libcxx=libstdc++11 --settings compiler.cppstd=20 --conf tools.cmake.cmaketoolchain:generator=Ninja
  Configuration:
  [settings]
  arch=x86_64
  arch_build=x86_64
  build_type=Release
  compiler=clang
  compiler.cppstd=20
  compiler.libcxx=libstdc++11
  compiler.version=16
  os=Linux
  os_build=Linux
  [options]
  [build_requires]
  [env]
  CONAN_CMAKE_GENERATOR=Ninja
  [conf]
  tools.cmake.cmaketoolchain:generator=Ninja

  conanfile.txt: Installing package
  Requirements
      libiconv/1.15 from 'conancenter' - Cache
      openssl/1.1.1s from 'conancenter' - Cache
      zlib/1.2.13 from 'conancenter' - Cache
  Packages
      libiconv/1.15:c6f9039f2ddafd2e1452deeeb59e849e8ccc1eec - Cache
      openssl/1.1.1s:b293902f842cdd85ecde7f677cdbeea7070d8e14 - Cache
      zlib/1.2.13:b293902f842cdd85ecde7f677cdbeea7070d8e14 - Cache

So we'll need to figure out how to "tame" Conan, so it doesn't download stuff on the fly, and so we can convince it to use the system OpenSSL (3.x) provided by RHEL9 (along with libiconv and zlib dependencies provided by EasyBuild)

@boegel boegel modified the milestones: 5.0, 4.x Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant