Open raulcd opened 1 month ago
Stack trace below:
My attempt at reproducing the conflict didn't work:
# docker run --rm -it condaforge/miniforge3
conda create -n foofy
conda install glib=2.80.5 compilers libsqlite libpq pkg-config r-testthat
...so it must be some other package causing it. We can also try using system R instead of Conda R.
It's odd that this only happens on macOS and not Ubuntu (might that also be why you couldn't repro it Dewey?)
$ CONDA_SUBDIR=osx-64 mamba create -n temp compilers glib=2.80.5 arrow-c-glib=15.0.2
$ mamba activate temp
$ CONDA_SUBDIR=osx-64 mamba install r-testthat
This fails for me.
Reading between the lines
└─ r-base 4.4** is installable and it requires
├─ clang_osx-64 >=16 with the potential options
│ ├─ clang_osx-64 16.0.0 would require
│ │ └─ clang 16.0.0.* , which can be installed;
│ ├─ clang_osx-64 16.0.1 would require
│ │ └─ clang 16.0.1.* , which can be installed;
│ ├─ clang_osx-64 16.0.2 would require
│ │ └─ clang 16.0.2.* , which can be installed;
│ ├─ clang_osx-64 16.0.3 would require
│ │ └─ clang 16.0.3.* , which can be installed;
│ ├─ clang_osx-64 16.0.4 would require
│ │ └─ clang 16.0.4.* , which can be installed;
│ ├─ clang_osx-64 16.0.5 would require
│ │ └─ clang 16.0.5.* , which can be installed;
│ ├─ clang_osx-64 16.0.6 would require
│ │ ├─ clang 16.0.6.* , which can be installed;
│ │ └─ clang_impl_osx-64 [16.0.6 h8787910_10|16.0.6 h8787910_11|...|16.0.6 h8787910_9], which requires
│ │ └─ clang 16.0.6.* , which can be installed;
│ ├─ clang_osx-64 17.0.6 would require
│ │ └─ clang_impl_osx-64 [17.0.6 h1af8efd_10|17.0.6 h1af8efd_11|...|17.0.6 h1af8efd_9], which requires
│ │ └─ clang 17.0.6.* , which can be installed;
│ ├─ clang_osx-64 18.1.2 would require
│ │ └─ clang_impl_osx-64 18.1.2 h73f7f27_11, which requires
│ │ └─ clang 18.1.2.* , which can be installed;
│ ├─ clang_osx-64 18.1.3 would require
│ │ └─ clang_impl_osx-64 18.1.3 hdbcc6ac_11, which requires
│ │ └─ clang 18.1.3.* , which can be installed;
│ ├─ clang_osx-64 18.1.4 would require
│ │ └─ clang_impl_osx-64 18.1.4 h290ea64_12, which requires
│ │ └─ clang 18.1.4.* , which can be installed;
│ ├─ clang_osx-64 18.1.5 would require
│ │ └─ clang_impl_osx-64 [18.1.5 h9fcaeef_13|18.1.5 h9fcaeef_14], which requires
│ │ └─ clang 18.1.5.* , which can be installed;
│ ├─ clang_osx-64 18.1.6 would require
│ │ └─ clang_impl_osx-64 18.1.6 h2ef7af4_15, which requires
│ │ └─ clang 18.1.6.* , which can be installed;
│ ├─ clang_osx-64 18.1.7 would require
│ │ └─ clang_impl_osx-64 18.1.7 h671483d_16, which requires
│ │ └─ clang 18.1.7.* , which can be installed;
│ ├─ clang_osx-64 18.1.8 would require
│ │ └─ clang_impl_osx-64 [18.1.8 h6a44ed1_16|18.1.8 h6a44ed1_17|18.1.8 h6a44ed1_18|18.1.8 h6a44ed1_19], which requires
│ │ └─ clang 18.1.8.* , which can be installed;
│ └─ clang_osx-64 19.1.0 would require
│ └─ clang_impl_osx-64 19.1.0 hf08c70f_19, which requires
│ └─ clang 19.1.0.* , which can be installed;
└─ gfortran_osx-64 12.* with the potential options
├─ gfortran_osx-64 12.2.0 would require
│ └─ gfortran_impl_osx-64 12.2.0 , which can be installed;
└─ gfortran_osx-64 12.3.0 would require
└─ gfortran_impl_osx-64 12.3.0 , which can be installed.
$ mamba list | rg gfortran
gfortran 13.2.0 h2c809b3_1 conda-forge
gfortran_impl_osx-64 13.2.0 h2bc304d_3 conda-forge
gfortran_osx-64 13.2.0 h18f7dce_1 conda-forge
libgfortran 5.0.0 13_2_0_h97931a8_3 conda-forge
libgfortran-devel_osx-64 13.2.0 h80d4556_3 conda-forge
libgfortran5 13.2.0 h2873a65_3 conda-forge
I think the issue is that r-base
pins gfortran 12
but we already have gfortran 13
Actually, that raises the question of why mamba won't just upgrade gfortran
since it's evidently not blocked...
Evidently something isn't installable for some reason which mamba can't explain, since even if I try to request exactly what appears to be a valid set of packages, mamba won't do it:
$ CONDA_SUBDIR=osx-64 mamba install -c conda-forge 'r-base=4.4' 'gfortran=12.3' 'clang_osx-64=17.0.6' 'gfortran_impl_osx-64=12.3' 'gfortran_osx-64=12.3.0'
Could not solve for environment specs
The following packages are incompatible
├─ clang_osx-64 17.0.6** is requested and can be installed;
├─ gfortran_impl_osx-64 12.3** is requested and can be installed;
└─ r-base 4.4** is installable and it requires
└─ gfortran_osx-64 12.* with the potential options
├─ gfortran_osx-64 12.2.0 would require
│ └─ gfortran_impl_osx-64 12.2.0 , which conflicts with any installable versions previously reported;
└─ gfortran_osx-64 12.3.0, which can be installed.
What happened?
The nightly jobs for macOS have been failing for over a month, initial failure: https://github.com/apache/arrow-adbc/actions/runs/10764318102 Latest failure: https://github.com/apache/arrow-adbc/actions/runs/11171778585/job/31057152124#step:8:34054
The error is resolving the installation for the following command:
which ends with:
Stack Trace
No response
How can we reproduce the bug?
No response
Environment/Setup
No response