conda-forge / conda-forge/julia-feedstock
Needs upper bound on libcurl
- Dominant language
- Shell
- Stars
- 25
- Forks
- 33
- Avg merge
- 12h 47m
- Merged PRs (30d)
- 4
Description
### Solution to issue cannot be found in the documentation.
- [x] I checked the documentation.
### Issue
If creating a fresh environment with the julia package installed from conda-forge, trying to install packages in a julia session will result in a segfault:
```
└ @ Downloads.Curl ~/miniforge3/envs/julia/share/julia/stdlib/v1.10/Downloads/src/Curl/utils.jl:57
┌ Error: curl_multi_assign: 1
└ @ Downloads.Curl ~/miniforge3/envs/julia/share/julia/stdlib/v1.10/Downloads/src/Curl/utils.jl:57
[51913] signal (6.-6): Aborted
in expression starting at none:0
unknown function (ip: 0x7fc8f4619eec)
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
uv__io_poll at /workspace/srcdir/libuv/src/unix/epoll.c:166
uv_run at /workspace/srcdir/libuv/src/unix/core.c:400
ijl_task_get_next at /usr/local/src/conda/julia-1.10.4/src/partr.c:478
poptask at ./task.jl:985
wait at ./task.jl:994
#wait#645 at ./condition.jl:130
wait at ./condition.jl:125 [inlined]
_wait at /home/conda/feedstock_root/build_artifacts/julia_1718579682237/work/usr/share/julia/stdlib/v1.10/FileWatching/src/FileWatching.jl:562
wait at /home/conda/feedstock_root/build_artifacts/julia_1718579682237/work/usr/share/julia/stdlib/v1.10/FileWatching/src/FileWatching.jl:590
#58 at /home/conda/feedstock_root/build_artifacts/julia_1718579682237/work/usr/share/julia/stdlib/v1.10/Downloads/src/Curl/Multi.jl:188
(jfptr_YY.58_92826.1 at /home/david/miniforge3/envs/julia/lib/julia/sys.so (unknown line)
jl_apply at /usr/local/src/conda/julia-1.10.4/src/julia.h:1982 [inlined]
start_task at /usr/local/src/conda/julia-1.10.4/src/task.c:1238
Allocations: 4426715 (Pool: 4421815; Big: 4900); GC: 8
)[1] 51913 IOT instruction (core dumped) julia
```
Downgrading libcurl to <8.10 as suggested here works:
https://discourse.julialang.org/t/curl-multi-assign-and-segmentation-fault-when-installing-package/120901/4
Since it is known that the latest julia doesn't work with the latest libcurl, would be very helpful to upper bound the version of curl to <8.10, so that the packages selected by the version resolver would result in a more usable environment.
### Installed packages
```shell
# packages in environment at /home/david/miniforge3/envs/julia2:
#
# Name Version Build Channel
_openmp_mutex 4.5 3_kmp_llvm conda-forge
arpack 3.9.1 nompi_hf03ea27_102 conda-forge
blas 2.131 mkl conda-forge
blas-devel 3.9.0 31_hcf00494_mkl conda-forge
bzip2 1.0.8 h4bc722e_7 conda-forge
c-ares 1.34.5 hb9d3cd8_0 conda-forge
ca-certificates 2025.6.15 hbd8a1cb_0 conda-forge
curl 8.14.1 h332b0f4_0 conda-forge
git 2.49.0 pl5321h59d505e_0 conda-forge
gmp 6.3.0 hac33072_2 conda-forge
icu 75.1 he02047a_0 conda-forge
julia 1.10.4 hf18f99d_1 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
krb5 1.21.3 h659f571_0 conda-forge
libamd 3.3.3 h456b2da_7100101 conda-forge
libblas 3.9.0 31_hfdb39a5_mkl conda-forge
libbtf 2.3.2 hf02c80a_7100101 conda-forge
libcamd 3.3.3 hf02c80a_7100101 conda-forge
libcblas 3.9.0 31_h372d94f_mkl conda-forge
libccolamd 3.3.4 hf02c80a_7100101 conda-forge
libcholmod 5.3.1 h9cf07ce_7100101 conda-forge
libcolamd 3.3.4 hf02c80a_7100101 conda-forge
libcurl 8.14.1 h332b0f4_0 conda-forge
libcxsparse 4.4.1 hf02c80a_7100101 conda-forge
libedit 3.1.20250104 pl5321h7949ede_0 conda-forge
libev 4.33 hd590300_2 conda-forge
libexpat 2.7.0 h5888daf_0 conda-forge
libgcc 15.1.0 h767d61c_2 conda-forge
libgcc-ng 15.1.0 h69a702a_2 conda-forge
libgfortran 15.1.0 h69a702a_2 conda-forge
libgfortran-ng 15.1.0 h69a702a_2 conda-forge
libgfortran5 15.1.0 hcea5267_2 conda-forge
libgit2 1.8.4 hd24f944_1 conda-forge
libhwloc 2.11.2 default_h0d58e46_1001 conda-forge
libiconv 1.18 h4ce23a2_1 conda-forge
libklu 2.3.5 h95ff59c_7100101 conda-forge
liblapack 3.9.0 31_hc41d3b0_mkl conda-forge
liblapacke 3.9.0 31_hbc6e62b_mkl conda-forge
libldl 3.3.2 hf02c80a_7100101 conda-forge
liblzma 5.8.1 hb9d3cd8_2 conda-forge
libnghttp2 1.64.0 h161d5f1_0 conda-forge
libopenblas-ilp64 0.3.29 pthreads_h3e26593_0 conda-forge
libopenlibm4 0.8.1 hd590300_1 conda-forge
libparu 1.0.0 hc6afc67_7100101 conda-forge
librbio 4.3.4 hf02c80a_7100101 conda-forge
libspex 3.2.3 h9226d62_7100101 conda-forge
libspqr 4.3.4 h23b7119_7100101 conda-forge
libssh2 1.11.1 hcf80075_0 conda-forge
libstdcxx 15.1.0 h8f9b012_2 conda-forge
libstdcxx-ng 15.1.0 h4852527_2 conda-forge
libsuitesparseconfig 7.10.1 h901830b_7100101 conda-forge
libumfpack 6.3.5 h873dde6_7100101 conda-forge
libunwind 1.6.2 h9c3ff4c_0 conda-forge
libutf8proc 2.8.0 hf23e847_1 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libxml2 2.13.8 h4bc477f_0 conda-forge
libzlib 1.3.1 hb9d3cd8_2 conda-forge
llvm-openmp 20.1.7 h024ca30_0 conda-forge
mbedtls 3.6.3.1 h5888daf_0 conda-forge
metis 5.1.0 hd0bcaf9_1007 conda-forge
mkl 2024.2.2 ha957f24_16 conda-forge
mkl-devel 2024.2.2 ha770c72_16 conda-forge
mkl-include 2024.2.2 ha957f24_16 conda-forge
mpfr 4.2.1 h90cbb55_3 conda-forge
ncurses 6.5 h2d0b736_3 conda-forge
openblas-ilp64 0.3.29 pthreads_h3d04fff_0 conda-forge
openlibm 0.8.1 hd590300_1 conda-forge
openssl 3.5.0 h7b32b05_1 conda-forge
p7zip 16.02 h9c3ff4c_1001 conda-forge
pcre2 10.44 hc749103_2 conda-forge
perl 5.32.1 7_hd590300_perl5 conda-forge
suitesparse 7.10.1 h5b2951e_7100101 conda-forge
tbb 2021.13.0 hceb3a55_1 conda-forge
zlib 1.3.1 hb9d3cd8_2 conda-forge
zstd 1.5.7 hb8e6e7a_2 conda-forge
```
### Environment info
```shell
mamba version : 1.5.9
active environment : julia2
active env location : /home/david/miniforge3/envs/julia2
shell level : 2
user config file : /home/david/.condarc
populated config files : /home/david/miniforge3/.condarc
conda version : 24.11.3
conda-build version : not installed
python version : 3.12.6.final.0
solver : libmamba (default)
virtual packages : __archspec=1=skylake
__conda=24.11.3=0
__glibc=2.36=0
__linux=6.1.0=0
__unix=0=0
base environment : /home/david/miniforge3 (writable)
conda av data dir : /home/david/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/david/miniforge3/pkgs
/home/david/.conda/pkgs
envs directories : /home/david/miniforge3/envs
/home/david/.conda/envs
platform : linux-64
user-agent : conda/24.11.3 requests/2.32.3 CPython/3.12.6 Linux/6.1.0-37-amd64 debian/12.11 glibc/2.36 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9
UID:GID : 1000:1000
netrc file : None
offline mode : False
```
Contributor guide
Assessment
This issue has not been assessed yet.