conda-forge / ripgrep-feedstock

A conda-smithy repository for ripgrep.
BSD 3-Clause "New" or "Revised" License
3 stars 12 forks source link

clobber between ripgrep and rav1e (and potential other rust packages) #27

Open hmaarrfk opened 6 months ago

hmaarrfk commented 6 months ago

Solution to issue cannot be found in the documentation.

Issue

ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge/linux-64::rav1e-0.6.6-he8a937b_2, conda-forge/linux-64::ripgrep-14.0.3-he8a937b_1
  path: '.crates2.json'

Installed packages

$ mamba list | grep -E "(ripgrep|rav1e)"
rav1e                     0.6.6                he8a937b_2    conda-forge
ripgrep                   14.0.3               he8a937b_1    conda-forge

Environment info

mamba version : 1.5.6
     active environment : dev
    active env location : /home/mark/miniforge3/envs/dev
            shell level : 2
       user config file : /home/mark/.condarc
 populated config files : /home/mark/miniforge3/.condarc
                          /home/mark/.condarc
          conda version : 23.11.0
    conda-build version : 3.28.2
         python version : 3.10.13.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=zen
                          __conda=23.11.0=0
                          __cuda=12.2=0
                          __glibc=2.35=0
                          __linux=5.19.0=0
                          __unix=0=0
       base environment : /home/mark/miniforge3  (writable)
      conda av data dir : /home/mark/miniforge3/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 : /home/mark/miniforge3/pkgs
                          /home/mark/.conda/pkgs
       envs directories : /home/mark/miniforge3/envs
                          /home/mark/.conda/envs
               platform : linux-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Linux/5.19.0-50-generic ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.6
                UID:GID : 1003:1003
             netrc file : None
           offline mode : False
dbast commented 4 months ago

sounds like .crates2.json has to be added to the rm line here https://github.com/conda-forge/ripgrep-feedstock/blob/main/recipe/build.sh#L16 ?