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

Distribution of fastjet-config broken #12

Open
1 task done
matthewfeickert opened this issue Aug 12, 2024 · 0 comments
Open
1 task done

Distribution of fastjet-config broken #12

matthewfeickert opened this issue Aug 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matthewfeickert
Copy link
Member

matthewfeickert commented Aug 12, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Depending on scikit-hep/fastjet#308 this may or may not be relevant, but the fastjet conda-forge distribution is not distributing fastjet-config as a command line tool and has the paths of fastjet-config options broken, as it is using the paths in the CI build machine.

$ micromamba env create --yes --name fastjet-bug-example fastjet
$ micromamba activate fastjet-bug-example
$ command -v fastjet-config
$ fastjet-config
Command 'fastjet-config' not found, but can be installed with:
sudo apt install libfastjet-dev
$ find ~/micromamba/envs/fastjet-bug-example/ -type f -iname "fastjet-config"
/home/feickert/micromamba/envs/fastjet-bug-example/lib/python3.12/site-packages/fastjet/_fastjet_core/bin/fastjet-config
$ $(find ~/micromamba/envs/fastjet-bug-example/ -type f -iname "fastjet-config") --cxxflags --libs --plugins
-I/home/conda/feedstock_root/build_artifacts/fastjet_1715455618311/work/src/fastjet/_fastjet_core/include -Wl,-rpath,/home/conda/feedstock_root/build_artifacts/fastjet_1715455618311/work/src/fastjet/_fastjet_core/lib -L/home/conda/feedstock_root/build_artifacts/fastjet_1715455618311/work/src/fastjet/_fastjet_core/lib -lfastjettools -lfastjet -lgmp -lm -lfastjetplugins -lsiscone_spherical -lsiscone

This also brings up the question of if fastjet was ever meant to also be a distribution method for the FastJet C++ library in addition to providing the Python bindings? Or was this a non-goal that should be pursued through a conda-forge feedstock different than https://github.com/conda-forge/fastjet-feedstock/?

Installed packages

Name                Version   Build                Channel    
──────────────────────────────────────────────────────────────────
  _libgcc_mutex       0.1       conda_forge          conda-forge
  _openmp_mutex       4.5       2_gnu                conda-forge
  awkward             2.6.7     pyhd8ed1ab_0         conda-forge
  awkward-cpp         37        py312h3402730_0      conda-forge
  bzip2               1.0.8     h4bc722e_7           conda-forge
  ca-certificates     2024.7.4  hbcca054_0           conda-forge
  fastjet             3.4.0.6   py312h3b45572_6      conda-forge
  fsspec              2024.6.1  pyhff2d567_0         conda-forge
  gmp                 6.3.0     hac33072_2           conda-forge
  importlib-metadata  8.2.0     pyha770c72_0         conda-forge
  importlib_metadata  8.2.0     hd8ed1ab_0           conda-forge
  ld_impl_linux-64    2.40      hf3520f5_7           conda-forge
  libblas             3.9.0     23_linux64_openblas  conda-forge
  libcblas            3.9.0     23_linux64_openblas  conda-forge
  libexpat            2.6.2     h59595ed_0           conda-forge
  libffi              3.4.2     h7f98852_5           conda-forge
  libgcc-ng           14.1.0    h77fa898_0           conda-forge
  libgfortran-ng      14.1.0    h69a702a_0           conda-forge
  libgfortran5        14.1.0    hc5f4f2c_0           conda-forge
  libgomp             14.1.0    h77fa898_0           conda-forge
  liblapack           3.9.0     23_linux64_openblas  conda-forge
  libnsl              2.0.1     hd590300_0           conda-forge
  libopenblas         0.3.27    pthreads_hac2b453_1  conda-forge
  libsqlite           3.46.0    hde9e2c9_0           conda-forge
  libstdcxx-ng        14.1.0    hc0a3c3a_0           conda-forge
  libuuid             2.38.1    h0b41bf4_0           conda-forge
  libxcrypt           4.4.36    hd590300_1           conda-forge
  libzlib             1.3.1     h4ab18f5_1           conda-forge
  ncurses             6.5       h59595ed_0           conda-forge
  numpy               2.0.1     py312h1103770_0      conda-forge
  openssl             3.3.1     h4bc722e_2           conda-forge
  packaging           24.1      pyhd8ed1ab_0         conda-forge
  pip                 24.2      pyhd8ed1ab_0         conda-forge
  python              3.12.5    h2ad013b_0_cpython   conda-forge
  python_abi          3.12      4_cp312              conda-forge
  readline            8.2       h8228510_1           conda-forge
  setuptools          72.1.0    pyhd8ed1ab_0         conda-forge
  tk                  8.6.13    noxft_h4845f30_101   conda-forge
  typing-extensions   4.12.2    hd8ed1ab_0           conda-forge
  typing_extensions   4.12.2    pyha770c72_0         conda-forge
  tzdata              2024a     h0c530f3_0           conda-forge
  vector              1.4.1     pyhd8ed1ab_0         conda-forge
  wheel               0.44.0    pyhd8ed1ab_0         conda-forge
  xz                  5.2.6     h166bdaf_0           conda-forge
  zipp                3.19.2    pyhd8ed1ab_0         conda-forge

Environment info

       libmamba version : 1.5.8
     micromamba version : 1.5.8
           curl version : libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /home/feickert/micromamba/envs
          package cache : /home/feickert/micromamba/pkgs
                          /home/feickert/.mamba/pkgs
            environment : fastjet-bug-example (active)
           env location : /home/feickert/micromamba/envs/fastjet-bug-example
      user config files : /home/feickert/.mambarc
 populated config files : /home/feickert/.condarc
       virtual packages : __unix=0=0
                          __linux=6.5.0=0
                          __glibc=2.35=0
                          __archspec=1=x86_64-v3
                          __cuda=12.2=0
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/nodefaults/linux-64
                          https://conda.anaconda.org/nodefaults/noarch
       base environment : /home/feickert/micromamba
               platform : linux-64
@matthewfeickert matthewfeickert added the bug Something isn't working label Aug 12, 2024
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