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

Can not install geant4 and root_base packages simultaneously #214

Open
1 task done
tkittel opened this issue Aug 16, 2023 · 1 comment
Open
1 task done

Can not install geant4 and root_base packages simultaneously #214

tkittel opened this issue Aug 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tkittel
Copy link
Member

tkittel commented Aug 16, 2023

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Trying to install both geant4 and root_base packages results in a dependency conflict. This is unfortunate, as I was hoping to be able to produce easy instructions for me colleagues concerning how to deploy both Geant4 and ROOT in the same conda environment (in order to build garfield++).

I am not 100% sure, but the conflict might be caused by the krb5 dependency, dragged in through xrootd. Or at least, that was one Issue I managed to track down, but there might be others.

Personally, I would love it if there was a an alternative root_minimal package (mimicking -Dminimal=ON), since the number of dependencies of a full-blown root package is rather sizeable. I am investigating providing my colleagues with a custom conda package recipe for such a minimal package, but it would of course be preferable if it was made available from the real experts :-)

Cheers,
Thomas

Installed packages

geant4 / root_base (but obviously I didn't manage)

Environment info

conda version : 23.7.2
    conda-build version : 3.26.0
         python version : 3.9.17.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.31=0
                          __linux=5.4.0=0
                          __unix=0=0
       base environment : /some/where/miniforge_install/miniforge_installed  (writable)
      conda av data dir : /some/where/miniforge_install/miniforge_installed/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /some/where/miniforge_install/miniforge_installed/pkgs
                          $HOME/.conda/pkgs
       envs directories : /some/where/miniforge_install/miniforge_installed/envs
                          $HOME/.conda/envs
               platform : linux-64
             user-agent : conda/23.7.2 requests/2.31.0 CPython/3.9.17 Linux/5.4.0-155-generic ubuntu/20.04.6 glibc/2.31
                UID:GID : 1001:1001
             netrc file : None
           offline mode : False
@tkittel tkittel added the bug Something isn't working label Aug 16, 2023
@tkittel
Copy link
Member Author

tkittel commented Aug 16, 2023

Actually, scratch that last remark about root-minimal. Even e.g. garfield needs one or two specific components enabled, so that obviously won't work then. However, it would be great if there was a root_reallybase without the most potentially troublesome components (those which pin dependencies to non-standard values like llvm/clang/cling and apparently also xrootd).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant