Giter Club home page Giter Club logo

curl-feedstock's Introduction

About curl_split_recipe-feedstock

Feedstock license: BSD-3-Clause

Home: http://curl.haxx.se/

Package license: curl

Summary: tool and library for transferring data with URL syntax

Development: https://github.com/curl/curl

Documentation: https://curl.haxx.se/docs/

Curl is an open source command line tool and library for transferring data with URL syntax. It is used in command lines or scripts to transfer data.

Current build status

Azure
VariantStatus
linux_64 variant
linux_aarch64 variant
linux_ppc64le variant
osx_64 variant
osx_arm64 variant
win_64 variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing curl_split_recipe

Installing curl_split_recipe from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, curl, libcurl, libcurl-static can be installed with conda:

conda install curl libcurl libcurl-static

or with mamba:

mamba install curl libcurl libcurl-static

It is possible to list all of the versions of curl available on your platform with conda:

conda search curl --channel conda-forge

or with mamba:

mamba search curl --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search curl --channel conda-forge

# List packages depending on `curl`:
mamba repoquery whoneeds curl --channel conda-forge

# List dependencies of `curl`:
mamba repoquery depends curl --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating curl_split_recipe-feedstock

If you would like to improve the curl_split_recipe recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/curl_split_recipe-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

curl-feedstock's People

Contributors

beckermr avatar chrisburr avatar cj-wright avatar conda-forge-admin avatar conda-forge-curator[bot] avatar cpaulik avatar github-actions[bot] avatar h-vetinari avatar hmaarrfk avatar isuruf avatar jaimergp avatar jakirkham avatar jjhelmus avatar jonashaag avatar lexual avatar maggie-m avatar mariusvniekerk avatar mingwandroid avatar msarahan avatar nehaljwani avatar nsoranzo avatar ocefpaf avatar regro-cf-autotick-bot avatar schribl avatar shelnutt2 avatar wolfv avatar xhochy avatar xylar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

curl-feedstock's Issues

curl 7.71.1 _3 broken on osx

If I install the _3 build:

>conda install --offline curl=7.71.1=hbdca1c0_3
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Users/rmay/miniconda3

  added / updated specs:
    - curl==7.71.1=hbdca1c0_3


The following packages will be UPDATED:

  curl                                    7.71.1-hbdca1c0_2 --> 7.71.1-hbdca1c0_3
  libcurl                                 7.71.1-he6690cf_2 --> 7.71.1-he6690cf_3


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

I get a completely broken curl on osx:

>curl
dyld: Library not loaded: @rpath/libssh2.1.dylib
  Referenced from: /Users/rmay/miniconda3/lib/libcurl.4.dylib
  Reason: image not found
[1]    20759 abort      curl

curl.exe removed form curl, not just libcurl

I downloaded and untarred the latest win build:
https://anaconda.org/conda-forge/curl/7.71.1/download/win-64/curl-7.71.1-h4b64cdc_6.tar.bz2

$ tar xvf curl-7.71.1-h4b64cdc_6.tar.bz2 
info/paths.json
info/hash_input.json
info/index.json
info/about.json
info/files
info/git
info/recipe/parent/build.sh
info/test/run_test.bat
info/recipe/parent/install_static.bat
info/recipe/parent/install_dll.bat
info/recipe/parent/bld.bat
info/licenses/COPYING
info/recipe/conda_build_config.yaml
info/recipe/meta.yaml
info/recipe/parent/meta.yaml

and there is no Library/bin/curl.exe

I did the same for the previous build:
https://anaconda.org/conda-forge/curl/7.71.1/download/win-64/curl-7.71.1-h4b64cdc_5.tar.bz2
and Library/bin/curl.exe is there, as expected.

$ tar xvf curl-7.71.1-h4b64cdc_5.tar.bz2 
info/files
info/hash_input.json
info/paths.json
info/index.json
info/about.json
info/git
info/test/run_test.bat
info/recipe/parent/install_dll.bat
info/recipe/parent/install_static.bat
info/recipe/parent/bld.bat
info/licenses/COPYING
info/recipe/conda_build_config.yaml
info/recipe/meta.yaml
info/recipe/parent/meta.yaml
info/recipe/parent/build.sh
Library/bin/curl.exe

It looks very likely that #81 has inadvertently removed curl.exe from curl, too!

add SPENGO support

Please build libcurl/curl with SPNEGO support so we can make requests to Kerberos-enabled services.

Options that curl was built with (from curl -V output)
from RHEL 7.6 as an example:

Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets

from Anaconda:

Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy

Missing libcurl options build option to add GSS-Negotiate support:

GSSAPI support: no (--with-gssapi) 
SNPEGO support: no (--with-spnego)

Thank you.

ClobberWarning: This transaction has incompatible packages due to a shared path

I got a warning on windows, supposedly curl and libcurl have a conflict:

ClobberWarning: This transaction has incompatible packages due to a shared path.
2020-08-05T12:08:13.0883381Z   packages: conda-forge/win-64::libcurl-7.71.1-h4b64cdc_4, conda-forge/win-64::curl-7.71.1-h4b64cdc_4
2020-08-05T12:08:13.0884015Z   path: 'library/bin/curl.exe'

However the files section of libcurl seems correct and does not list the .exe

tests with ssl cert

Hello

I'm trying to use this recipe and build it locally, as part of an investigation

I'm getting errors, I believe related to the configure options:
https://github.com/conda-forge/curl-feedstock/blob/master/recipe/build.sh#L13

in particular, the tests are looking for a CAfile in a location where it does not exist on my host
I have /etc/ssl/cacert.pem but not an ssl/cacert.pem` within the build or _test areas

I am not sure if I am missing something, but I hoped I could establish that I could build this recipe locally. Clearly this has built and is available, so I should be able to rebuild it

all advice gratefully received

marqh

Curl 7.79.0 returns Unsupported response code in HTTP response

Trying this with curl 7.79.0 fails:

> curl -k -s -v https://thredds.ucar.edu/thredds/dodsC/grib/NCEP/HRRR/CONUS_2p5km/Best                                                                                                                             ⏎

> User-Agent: curl/7.79.0
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Unsupported response code in HTTP response
* Closing connection 0
* TLSv1.3 (OUT), TLS alert, close notify (256):

but passes with older versions of curl:

> User-Agent: curl/7.78.0
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Mark bundle as not supporting multiuse
< HTTP/1.1 400 400
< Date: Wed, 22 Sep 2021 15:20:14 GMT
< Server: Apache
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< Strict-Transport-Security: max-age=63072000; includeSubdomains;
< Access-Control-Allow-Origin: *
< Content-Description: dods-error
< X-XSS-Protection: 1; mode=block
< Content-Security-Policy: form-action 'self'; frame-ancestors 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/plain
< 
Error {
    code = 400;
    message = "Unrecognized request";
};
* Closing connection 0
* TLSv1.3 (IN), TLS alert, close notify (256):
* TLSv1.3 (OUT), TLS alert, close notify (256):

The 400 code is expected. Not sure if that is a problem that will be fixed by #96. Investigating...

--with-darwinssl breaks some older systems

Issue:


Environment (conda list):
$ conda list
  c-ares             conda-forge/osx-64::c-ares-1.17.1-h0d85af4_1
  ca-certificates    conda-forge/osx-64::ca-certificates-2020.12.5-h033912b_0
  curl               conda-forge/osx-64::curl-7.75.0-h06286d4_0
  krb5               conda-forge/osx-64::krb5-1.17.2-h60d9502_0
  libcurl            conda-forge/osx-64::libcurl-7.75.0-h8ef9fac_0
  libcxx             conda-forge/osx-64::libcxx-11.1.0-habf9029_0
  libedit            conda-forge/osx-64::libedit-3.1.20191231-h0678c8f_2
  libev              conda-forge/osx-64::libev-4.33-haf1e3a3_1
  libnghttp2         conda-forge/osx-64::libnghttp2-1.43.0-h07e645a_0
  libssh2            conda-forge/osx-64::libssh2-1.9.0-h52ee1ee_6
  ncurses            conda-forge/osx-64::ncurses-6.2-h2e338ed_4
  openssl            conda-forge/osx-64::openssl-1.1.1k-h0d85af4_0
  tk                 conda-forge/osx-64::tk-8.6.10-h0419947_1
  zlib               conda-forge/osx-64::zlib-1.2.11-h7795811_1010

Details about conda and system ( conda info ):
$ conda info
     active environment : base
    active env location : /Users/isuruf/miniforge3
            shell level : 1
       user config file : /Users/isuruf/.condarc
 populated config files : /Users/isuruf/miniforge3/.condarc
                          /Users/isuruf/.condarc
          conda version : 4.10.0
    conda-build version : 3.21.4
         python version : 3.8.6.final.0
       virtual packages : __osx=10.9.5=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/isuruf/miniforge3  (writable)
      conda av data dir : /Users/isuruf/miniforge3/etc/conda
  conda av metadata url : https://repo.anaconda.com/pkgs/main
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/isuruf/miniforge3/pkgs
                          /Users/isuruf/.conda/pkgs
       envs directories : /Users/isuruf/miniforge3/envs
                          /Users/isuruf/.conda/envs
               platform : osx-64
             user-agent : conda/4.10.0 requests/2.25.1 CPython/3.8.6 Darwin/13.4.0 OSX/10.9.5
                UID:GID : 504:20
             netrc file : None
           offline mode : False

Because of this, mamba fails with SSL peer certificate or SSH remote key was not OK and git fails with SSL: certificate verification failed

libcurl 7.81 results in segfault in Julia

Continuous integration efforts picked up that julia 1.6.5 and 1.7.1 segfaults when using libcurl 7.81. Downgrading to libcurl 7.80 resolves the issue.

$ conda create -n julia171_20220107 julia=1.7.1
Collecting package metadata (current_repodata.json): done
Solving environment: done

# Package Plan ##

  environment location: /home/mkitti/anaconda3/envs/julia171_20220107

  added / updated specs:
    - julia=1.7.1


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    curl-7.81.0                |       h494985f_0          90 KB  conda-forge
    julia-1.7.1                |       h989b2f6_2       105.1 MB  conda-forge
    libcurl-7.81.0             |       h494985f_0         340 KB  conda-forge
    openlibm-0.7.5             |       h7f98852_0         208 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       105.7 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-1_gnu
  arpack             conda-forge/linux-64::arpack-3.7.0-hdefa2d7_2
  bzip2              conda-forge/linux-64::bzip2-1.0.8-h7f98852_4
  c-ares             conda-forge/linux-64::c-ares-1.18.1-h7f98852_0
  ca-certificates    conda-forge/linux-64::ca-certificates-2021.10.8-ha878542_0
  curl               conda-forge/linux-64::curl-7.81.0-h494985f_0
  expat              conda-forge/linux-64::expat-2.4.2-h9c3ff4c_0
  gettext            conda-forge/linux-64::gettext-0.19.8.1-h73d1719_1008
  git                conda-forge/linux-64::git-2.34.1-pl5321hf874766_0
  gmp                conda-forge/linux-64::gmp-6.2.1-h58526e2_0
  julia              conda-forge/linux-64::julia-1.7.1-h989b2f6_2
  krb5               conda-forge/linux-64::krb5-1.19.2-h48eae69_3
  libblas            conda-forge/linux-64::libblas-3.9.0-12_linux64_openblas
  libcblas           conda-forge/linux-64::libcblas-3.9.0-12_linux64_openblas
  libcurl            conda-forge/linux-64::libcurl-7.81.0-h494985f_0
  libedit            conda-forge/linux-64::libedit-3.1.20191231-he28a2e2_2
  libev              conda-forge/linux-64::libev-4.33-h516909a_1
  libffi             conda-forge/linux-64::libffi-3.4.2-h7f98852_5
  libgcc-ng          conda-forge/linux-64::libgcc-ng-11.2.0-h1d223b6_11
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-11.2.0-h69a702a_11
  libgfortran5       conda-forge/linux-64::libgfortran5-11.2.0-h5c6108e_11
  libgit2            conda-forge/linux-64::libgit2-1.3.0-haabb1ae_1
  libgomp            conda-forge/linux-64::libgomp-11.2.0-h1d223b6_11
  libiconv           conda-forge/linux-64::libiconv-1.16-h516909a_0
  liblapack          conda-forge/linux-64::liblapack-3.9.0-12_linux64_openblas
  libnghttp2         conda-forge/linux-64::libnghttp2-1.43.0-ha19adfc_1
  libopenblas        conda-forge/linux-64::libopenblas-0.3.18-pthreads_h8fe5266_0
  libopenblas-ilp64  conda-forge/linux-64::libopenblas-ilp64-0.3.18-pthreads_h0aa5bea_0
  libssh2            conda-forge/linux-64::libssh2-1.10.0-ha35d2d1_2
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-11.2.0-he4da1e4_11
  libunwind          conda-forge/linux-64::libunwind-1.5.0-h9c3ff4c_1
  libutf8proc        conda-forge/linux-64::libutf8proc-2.7.0-h7f98852_0
  libzlib            conda-forge/linux-64::libzlib-1.2.11-h36c2ea0_1013
  mbedtls            conda-forge/linux-64::mbedtls-3.1.0-h9c3ff4c_0
  metis              conda-forge/linux-64::metis-5.1.0-h58526e2_1006
  mpfr               conda-forge/linux-64::mpfr-4.1.0-h9202a9a_1
  ncurses            conda-forge/linux-64::ncurses-6.2-h58526e2_4
  openblas-ilp64     conda-forge/linux-64::openblas-ilp64-0.3.18-pthreads_h3d04fff_0
  openlibm           conda-forge/linux-64::openlibm-0.7.5-h7f98852_0
  openssl            conda-forge/linux-64::openssl-3.0.0-h7f98852_2
  p7zip              conda-forge/linux-64::p7zip-16.02-he1b5a44_1000
  pcre2              conda-forge/linux-64::pcre2-10.37-h032f7d1_0
  perl               conda-forge/linux-64::perl-5.32.1-1_h7f98852_perl5
  suitesparse        conda-forge/linux-64::suitesparse-5.10.1-h9e50725_1
  tbb                conda-forge/linux-64::tbb-2021.5.0-h4bd325d_0
  tk                 conda-forge/linux-64::tk-8.6.11-h27826a3_1
  zlib               conda-forge/linux-64::zlib-1.2.11-h36c2ea0_1013


Proceed ([y]/n)? 


Downloading and Extracting Packages
julia-1.7.1          | 105.1 MB  | ######################################################################################################################################################################## | 100% 
openlibm-0.7.5       | 208 KB    | ######################################################################################################################################################################## | 100% 
curl-7.81.0          | 90 KB     | ######################################################################################################################################################################## | 100% 
libcurl-7.81.0       | 340 KB    | ######################################################################################################################################################################## | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: |   No Changes to `~/anaconda3/envs/julia171_20220107/share/julia/environments/julia171_20220107/Project.toml`
  No Changes to `~/anaconda3/envs/julia171_20220107/share/julia/environments/julia171_20220107/Manifest.toml`

done
#
# To activate this environment, use
#
#     $ conda activate julia171_20220107
#
# To deactivate an active environment, use
#
#     $ conda deactivate

$ conda activate julia171_20220107
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.1 (2021-12-22)
 _/ |\__'_|_|_|\__'_|  |  https://github.com/conda-forge/julia-feedstock
|__/                   |

(@julia171_20220107) pkg> up
  No Changes to `~/anaconda3/envs/julia171_20220107/share/julia/environments/julia171_20220107/Project.toml`
  No Changes to `~/anaconda3/envs/julia171_20220107/share/julia/environments/julia171_20220107/Manifest.toml`
[ Info: We haven't cleaned this depot up for a bit, running Pkg.gc()...
      Active manifest files: 1 found
      Active artifact files: 0 found
      Active scratchspaces: 0 found
     Deleted no artifacts, repos, packages or scratchspaces

(@julia171_20220107) pkg> add Cxx
Cxx          CxxInterface  CxxWrap
(@julia171_20220107) pkg> add Cxx
Cxx          CxxInterface  CxxWrap
(@julia171_20220107) pkg> activate --temp
  Activating new project at `/tmp/jl_cwQiCr`

(jl_cwQiCr) pkg> add CxxWrap
   Resolving package versions...

signal (11): Segmentation fault
in expression starting at none:0
Curl_connect at /home/mkitti/anaconda3/envs/julia171_20220107/bin/../lib/julia/libcurl.so (unknown line)
multi_runsingle at /home/mkitti/anaconda3/envs/julia171_20220107/bin/../lib/julia/libcurl.so (unknown line)
multi_socket at /home/mkitti/anaconda3/envs/julia171_20220107/bin/../lib/julia/libcurl.so (unknown line)
curl_multi_socket_action at /home/mkitti/anaconda3/envs/julia171_20220107/bin/../lib/julia/libcurl.so (unknown line)
curl_multi_socket_action at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/LibCURL/src/lC_curl_h.jl:230 [inlined]
curl_multi_socket_action at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:91 [inlined]
macro expansion at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:35 [inlined]
#47 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/Multi.jl:147
lock at ./lock.jl:190
timer_callback at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/Multi.jl:146
jfptr_timer_callback_19000.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/local/src/conda/julia-1.7.1/src/gf.c:2247 [inlined]
jl_apply_generic at /usr/local/src/conda/julia-1.7.1/src/gf.c:2429
jlcapi_timer_callback_18861.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
Curl_update_timer.part.0 at /home/mkitti/anaconda3/envs/julia171_20220107/bin/../lib/julia/libcurl.so (unknown line)
curl_multi_add_handle at /home/mkitti/anaconda3/envs/julia171_20220107/bin/../lib/julia/libcurl.so (unknown line)
curl_multi_add_handle at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/LibCURL/src/lC_curl_h.jl:194 [inlined]
macro expansion at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:35 [inlined]
#27 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/Multi.jl:51
lock at ./lock.jl:190
add_handle at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/Multi.jl:44 [inlined]
#9 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:345
with_handle at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/Curl.jl:64
#8 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:311 [inlined]
arg_write at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/ArgTools/src/ArgTools.jl:112
#7 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:310 [inlined]
arg_read at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/ArgTools/src/ArgTools.jl:61
jfptr_arg_read_49372.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/local/src/conda/julia-1.7.1/src/gf.c:2247 [inlined]
jl_apply_generic at /usr/local/src/conda/julia-1.7.1/src/gf.c:2429
#request#5 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:309
request##kw at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:293 [inlined]
#3 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:222 [inlined]
#open#355 at ./io.jl:330
jfptr_YY.openYY.355_19311.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/local/src/conda/julia-1.7.1/src/gf.c:2247 [inlined]
jl_apply_generic at /usr/local/src/conda/julia-1.7.1/src/gf.c:2429
open##kw at ./io.jl:328
arg_write at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/ArgTools/src/ArgTools.jl:86
#download#2 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:221 [inlined]
download##kw at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:221
jfptr_downloadYY.YY.kw_18730.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/local/src/conda/julia-1.7.1/src/gf.c:2247 [inlined]
jl_apply_generic at /usr/local/src/conda/julia-1.7.1/src/gf.c:2429
#download#14 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Pkg/src/PlatformEngines.jl:282
download##kw at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Pkg/src/PlatformEngines.jl:259 [inlined]
#install_archive#32 at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:484
install_archive##kw at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:477
jfptr_install_archiveYY.YY.kw_57010.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/local/src/conda/julia-1.7.1/src/gf.c:2247 [inlined]
jl_apply_generic at /usr/local/src/conda/julia-1.7.1/src/gf.c:2429
macro expansion at /home/conda/feedstock_root/build_artifacts/julia_1641439672340/work/usr/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:698 [inlined]
#45 at ./task.jl:423
jfptr_YY.45_55733.clone_1 at /home/mkitti/anaconda3/envs/julia171_20220107/lib/julia/sys.so (unknown line)
_jl_invoke at /usr/local/src/conda/julia-1.7.1/src/gf.c:2247 [inlined]
jl_apply_generic at /usr/local/src/conda/julia-1.7.1/src/gf.c:2429
jl_apply at /usr/local/src/conda/julia-1.7.1/src/julia.h:1788 [inlined]
start_task at /usr/local/src/conda/julia-1.7.1/src/task.c:877
Allocations: 3924950 (Pool: 3922867; Big: 2083); GC: 5
Segmentation fault (core dumped)
$ conda add libcurl=7.80.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/mkitti/anaconda3/envs/julia171_20220107

  added / updated specs:
    - libcurl=7.80.0


The following packages will be DOWNGRADED:

  curl                                    7.81.0-h494985f_0 --> 7.80.0-h494985f_1
  libcurl                                 7.81.0-h494985f_0 --> 7.80.0-h494985f_1


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.1 (2021-12-22)
 _/ |\__'_|_|_|\__'_|  |  https://github.com/conda-forge/julia-feedstock
|__/                   |

(@julia171_20220107) pkg> add CxxWrap
   Resolving package versions...
   Installed libcxxwrap_julia_jll ─ v0.8.8+1
   Installed CxxWrap ────────────── v0.11.2
   Installed Preferences ────────── v1.2.3
  Downloaded artifact: libcxxwrap_julia
    Updating `~/anaconda3/envs/julia171_20220107/share/julia/environments/julia171_20220107/Project.toml`
  [1f15a43c] + CxxWrap v0.11.2
    Updating `~/anaconda3/envs/julia171_20220107/share/julia/environments/julia171_20220107/Manifest.toml`
  [1f15a43c] + CxxWrap v0.11.2
  [692b3bcd] + JLLWrappers v1.3.0
  [1914dd2f] + MacroTools v0.5.9
  [21216c6a] + Preferences v1.2.3
  [3eaa8342] + libcxxwrap_julia_jll v0.8.8+1
  [0dad84c5] + ArgTools
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML
  [a4e569a6] + Tar
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [deac9b47] + LibCURL_jll
  [29816b5a] + LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll
  [14a3606d] + MozillaCACerts_jll
  [83775a58] + Zlib_jll
  [8e850ede] + nghttp2_jll
  [3f19e933] + p7zip_jll
Precompiling project...
  8 dependencies successfully precompiled in 12 seconds

(@julia171_20220107) pkg>

BUG: cloning issues with curl 8.1.0 (current CI default) on linux

I see some cloning issues for the very beginning of a build in conda-forge/pytorch-cpu-feedstock#169:

Cloning into bare repository '/home/conda/feedstock_root/build_artifacts/git_cache/github.com/pytorch/pytorch.git'...
error: RPC failed; HTTP 408 curl 18 HTTP/2 stream 7 was reset
fatal: expected 'packfile'

At first I suspected a github issue, but this persists across restarts, and more importantly, it doesn't show up on OSX, only on linux. Based on the error message and the recently released new curl version, I'm suspecting this feedstock, but perhaps it's something else entirely...

Interestingly, the CI does not yet pull in 8.1.1, but rather:

++ conda list --show-channel-urls
# packages in environment at /opt/conda:
[...]
curl                      8.1.0                h409715c_0    conda-forge

I'm not sure if 8.1.1 would fix things already, but I wanted to open an issue if other people run into this.

CC @conda-forge/core

libcurl.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation when using with pypro

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

We found an undefined symbol problem in py310 and py311

Client 127.0.0.1:37096] request declined in mgs_hook_fixups
mod_wsgi (pid=13166, process='DEMO', application=''): Loading Python script file '/home/user/DEMO/wsgi/wms.wsgi'.
mod_wsgi (pid=13166): Failed to exec Python script file '/DEMO/wsgi/wms.wsgi'.
mod_wsgi (pid=13166): Exception occurred processing WSGI script 'wms.wsgi'.
Traceback (most recent call last):
  File "/DEMO/wsgi/wms.wsgi", line 29, in <module>
    from mslib.mswms.wms import app as application
  File "mssenv/lib/python3.10/site-packages/mslib/mswms/wms.py", line 67, in <module>
    from mslib.mswms.gallery_builder import add_image, write_html, add_levels, add_times, \\
  File "mssenv/lib/python3.10/site-packages/mslib/mswms/gallery_builder.py", line 35, in <module>
    from mslib.mswms.mpl_vsec import AbstractVerticalSectionStyle
  File "mssenv/lib/python3.10/site-packages/mslib/mswms/mpl_vsec.py", line 42, in <module>
    from mslib.utils.units import convert_to, units
  File "mssenv/lib/python3.10/site-packages/mslib/utils/units.py", line 31, in <module>
    from metpy.units import units, check_units  # noqa
  File "mssenv/lib/python3.10/site-packages/metpy/__init__.py", line 15, in <module>
    from .xarray import *  # noqa: F401, F403, E402
  File "mssenv/lib/python3.10/site-packages/metpy/xarray.py", line 26, in <module>
    from pyproj import CRS, Proj
  File "mssenv/lib/python3.10/site-packages/pyproj/__init__.py", line 33, in <module>
    import pyproj.network
  File "mssenv/lib/python3.10/site-packages/pyproj/network.py", line 10, in <module>
    from pyproj._network import (  # noqa: F401 pylint: disable=unused-import
ImportError: mssenv/lib/python3.10/site-packages/pyproj/../../.././libcurl.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
AH02001: Connection closed to child 512 with standard shutdown (server
```)
mod_wsgi (pid=5246): Failed to exec Python script file '/home/user/DEMO/wsgi/wms.wsgi'.
[Thu May 23mod_wsgi (pid=5246): Exception occurred processing WSGI script '/home/user/DEMO/wsgi/wms.wsgi'.
Traceback (most recent call last):
 File "/home/user/DEMO/wsgi/wms.wsgi", line 16, in <module>
   from mslib.mswms.wms import app as application
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mslib/mswms/wms.py", line 67, in <module>
   from mslib.mswms.gallery_builder import add_image, write_html, add_levels, add_times, \\
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mslib/mswms/gallery_builder.py", line 35, in <module>
   from mslib.mswms.mpl_vsec import AbstractVerticalSectionStyle
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mslib/mswms/mpl_vsec.py", line 42, in <module>
   from mslib.utils.units import convert_to, units
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mslib/utils/units.py", line 31, in <module>
   from metpy.units import units, check_units  # noqa
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/metpy/__init__.py", line 15, in <module>
   from .xarray import *  # noqa: F401, F403, E402
   ^^^^^^^^^^^^^^^^^^^^^
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/metpy/xarray.py", line 26, in <module>
   from pyproj import CRS, Proj
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/pyproj/__init__.py", line 33, in <module>
   import pyproj.network
 File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/pyproj/network.py", line 10, in <module>
   from pyproj._network import (  # noqa: F401 pylint: disable=unused-import
[Thu May 23 ImportError: /home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/pyproj/../../.././libcurl.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation

linking to Open-MSS/MSS#2387

The last version without this was 7.87.0

Installed packages

### Installed packages


# packages in environment at /home/user/Miniforge/envs/mssenv:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
alembic                   1.13.1             pyhd8ed1ab_1    conda-forge
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argon2-cffi               23.1.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py311h459d7ec_4    conda-forge
attr                      2.5.1                h166bdaf_1    conda-forge
backports                 1.0                pyhd8ed1ab_3    conda-forge
backports.tarfile         1.0.0              pyhd8ed1ab_1    conda-forge
basemap                   1.4.1           np126py311hb1fe3e7_0    conda-forge
basemap-data              1.3.2              pyhd8ed1ab_3    conda-forge
bcrypt                    4.1.3           py311h5ecf98a_0    conda-forge
bidict                    0.23.1             pyhd8ed1ab_0    conda-forge
blinker                   1.8.2              pyhd8ed1ab_0    conda-forge
brotli                    1.1.0                hd590300_1    conda-forge
brotli-bin                1.1.0                hd590300_1    conda-forge
brotli-python             1.1.0           py311hb755f60_1    conda-forge
bzip2                     1.0.8                hd590300_5    conda-forge
c-ares                    1.28.1               hd590300_0    conda-forge
ca-certificates           2024.2.2             hbcca054_0    conda-forge
cachetools                5.3.3              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            ha61ee94_1014    conda-forge
cartopy                   0.23.0          py311h14de704_1    conda-forge
certifi                   2024.2.2           pyhd8ed1ab_0    conda-forge
cffi                      1.16.0          py311hb3a22ac_0    conda-forge
cftime                    1.6.3           py311h18e1886_1    conda-forge
chameleon                 3.9.1              pyhd8ed1ab_0    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
click                     8.1.7           unix_pyh707e725_0    conda-forge
contourpy                 1.2.1           py311h9547e67_0    conda-forge
cryptography              42.0.2          py311hcb13ee4_0    conda-forge
curl                      8.1.2                h409715c_0    conda-forge
cycler                    0.12.1             pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
dbus-python               1.3.2           py311h703f8ee_4    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
dnspython                 2.6.1              pyhd8ed1ab_1    conda-forge
elementpath               4.4.0              pyhd8ed1ab_0    conda-forge
email-validator           2.1.1              pyhd8ed1ab_0    conda-forge
email_validator           2.1.1                hd8ed1ab_0    conda-forge
execnet                   2.1.1              pyhd8ed1ab_0    conda-forge
expat                     2.6.2                h59595ed_0    conda-forge
fastkml                   0.12               pyhd8ed1ab_0    conda-forge
fftw                      3.3.10          nompi_hc118613_108    conda-forge
flask                     2.3.3              pyhd8ed1ab_0    conda-forge
flask-cors                4.0.0              pyhd8ed1ab_0    conda-forge
flask-httpauth            4.8.0              pyhd8ed1ab_0    conda-forge
flask-login               0.6.3              pyhd8ed1ab_1    conda-forge
flask-mail                0.9.1                      py_2    conda-forge
flask-migrate             4.0.7              pyhd8ed1ab_0    conda-forge
flask-socketio            5.3.6              pyhd8ed1ab_0    conda-forge
flask-sqlalchemy          3.0.3              pyhd8ed1ab_0    conda-forge
flask-wtf                 1.2.1              pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_2    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.51.0          py311h459d7ec_0    conda-forge
freetype                  2.12.1               h267a509_2    conda-forge
fs                        2.4.16             pyhd8ed1ab_0    conda-forge
fs.sshfs                  1.0.2              pyhd8ed1ab_0    conda-forge
fs.webdavfs               0.4.2              pyhd8ed1ab_0    conda-forge
fs_filepicker             0.3.7              pyhd8ed1ab_5    conda-forge
future                    1.0.0              pyhd8ed1ab_0    conda-forge
geos                      3.12.1               h59595ed_0    conda-forge
gettext                   0.22.5               h59595ed_2    conda-forge
gettext-tools             0.22.5               h59595ed_2    conda-forge
giflib                    5.2.2                hd590300_0    conda-forge
git                       2.42.0          pl5321h86e50cf_0    conda-forge
gitdb                     4.0.11             pyhd8ed1ab_0    conda-forge
gitpython                 3.1.43             pyhd8ed1ab_0    conda-forge
glib                      2.78.1               hfc55251_0    conda-forge
glib-tools                2.78.1               hfc55251_0    conda-forge
gpxpy                     1.6.2              pyhd8ed1ab_0    conda-forge
graphite2                 1.3.13            h59595ed_1003    conda-forge
greenlet                  3.0.3           py311hb755f60_0    conda-forge
gst-plugins-base          1.22.0               h4243ec0_2    conda-forge
gstreamer                 1.22.0               h25f0c4b_2    conda-forge
gstreamer-orc             0.4.38               hd590300_0    conda-forge
h11                       0.14.0             pyhd8ed1ab_0    conda-forge
harfbuzz                  6.0.0                h8e241bc_0    conda-forge
hdf4                      4.2.15               h9772cbc_5    conda-forge
hdf5                      1.12.2          nompi_h4df4325_101    conda-forge
humanfriendly             10.0               pyhd8ed1ab_6    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.7                pyhd8ed1ab_0    conda-forge
importlib-metadata        7.1.0              pyha770c72_0    conda-forge
importlib-resources       6.4.0              pyhd8ed1ab_0    conda-forge
importlib_metadata        7.1.0                hd8ed1ab_0    conda-forge
importlib_resources       6.4.0              pyhd8ed1ab_0    conda-forge
isodate                   0.6.1              pyhd8ed1ab_0    conda-forge
itsdangerous              2.2.0              pyhd8ed1ab_0    conda-forge
jack                      1.9.22               h11f4161_0    conda-forge
jaraco.classes            3.4.0              pyhd8ed1ab_1    conda-forge
jaraco.context            5.3.0              pyhd8ed1ab_1    conda-forge
jaraco.functools          4.0.0              pyhd8ed1ab_0    conda-forge
jeepney                   0.8.0              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.4              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h0b41bf4_3    conda-forge
jplephem                  2.21               pyh864a33b_0    conda-forge
keyring                   25.2.1             pyha804496_0    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.5           py311h9547e67_1    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lame                      3.100             h166bdaf_1003    conda-forge
lcms2                     2.14                 h6ed2654_0    conda-forge
ld_impl_linux-64          2.40                 h55db66e_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libaec                    1.1.3                h59595ed_0    conda-forge
libasprintf               0.22.5               h661eb56_2    conda-forge
libasprintf-devel         0.22.5               h661eb56_2    conda-forge
libblas                   3.9.0           22_linux64_openblas    conda-forge
libbrotlicommon           1.1.0                hd590300_1    conda-forge
libbrotlidec              1.1.0                hd590300_1    conda-forge
libbrotlienc              1.1.0                hd590300_1    conda-forge
libcap                    2.67                 he9d0100_0    conda-forge
libcblas                  3.9.0           22_linux64_openblas    conda-forge
libclang                  15.0.7          default_h127d8a8_5    conda-forge
libclang13                15.0.7          default_h5d6823c_5    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   8.1.2                h409715c_0    conda-forge
libdb                     6.2.32               h9c3ff4c_0    conda-forge
libdeflate                1.14                 h166bdaf_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 hd590300_2    conda-forge
libevent                  2.1.10               h28343ad_4    conda-forge
libexpat                  2.6.2                h59595ed_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libflac                   1.4.3                h59595ed_0    conda-forge
libgcc-ng                 13.2.0               h77fa898_7    conda-forge
libgcrypt                 1.10.3               hd590300_0    conda-forge
libgettextpo              0.22.5               h59595ed_2    conda-forge
libgettextpo-devel        0.22.5               h59595ed_2    conda-forge
libgfortran-ng            13.2.0               h69a702a_7    conda-forge
libgfortran5              13.2.0               hca663fb_7    conda-forge
libglib                   2.78.1               hebfc3b9_0    conda-forge
libgomp                   13.2.0               h77fa898_7    conda-forge
libgpg-error              1.49                 h4f305b6_0    conda-forge
libiconv                  1.17                 hd590300_2    conda-forge
liblapack                 3.9.0           22_linux64_openblas    conda-forge
libllvm15                 15.0.7               hadd5161_1    conda-forge
libnetcdf                 4.9.1           nompi_h34a3ff0_101    conda-forge
libnghttp2                1.58.0               h47da74e_0    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.27          pthreads_h413a1c8_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpng                    1.6.43               h2797004_0    conda-forge
libpq                     15.3                 hbcd7760_1    conda-forge
libsndfile                1.2.2                hc60ed4a_1    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libsqlite                 3.45.3               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              13.2.0               hc0a3c3a_7    conda-forge
libsystemd0               253                  h8c4010b_1    conda-forge
libtiff                   4.4.0                h82bc61c_5    conda-forge
libtool                   2.4.7                h27087fc_0    conda-forge
libudev1                  253                  h0b41bf4_1    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libwebp                   1.2.4                h522a892_0    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libxkbcommon              1.5.0                h79f4944_1    conda-forge
libxml2                   2.10.3               hca2bb57_4    conda-forge
libxmlsec1                1.2.37               h927ea9a_0    conda-forge
libxslt                   1.1.37               h873f0b0_0    conda-forge
libzip                    1.10.1               h2629f0a_3    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
lxml                      4.9.2           py311h14a6109_0    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
mako                      1.3.5              pyhd8ed1ab_0    conda-forge
markdown                  3.6                pyhd8ed1ab_0    conda-forge
markupsafe                2.1.5           py311h459d7ec_0    conda-forge
matplotlib                3.8.4           py311h38be061_2    conda-forge
matplotlib-base           3.8.4           py311ha4ca890_2    conda-forge
metpy                     1.6.2              pyhd8ed1ab_0    conda-forge
mod_wsgi                  5.0.0           py311h459d7ec_0    conda-forge
more-itertools            10.2.0             pyhd8ed1ab_0    conda-forge
mpg123                    1.32.6               h59595ed_0    conda-forge
mss                       9.0.0           py311h38be061_0    conda-forge
multidict                 6.0.5           py311h459d7ec_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.33               hf1915f5_6    conda-forge
mysql-libs                8.0.33               hca2cd23_6    conda-forge
ncurses                   6.5                  h59595ed_0    conda-forge
netcdf4                   1.6.3           nompi_py311ha396515_100    conda-forge
nspr                      4.35                 h27087fc_0    conda-forge
nss                       3.100                hca3bf56_0    conda-forge
numpy                     1.26.4          py311h64a7726_0    conda-forge
openjpeg                  2.5.0                h7d73246_1    conda-forge
openssl                   3.1.5                h4ab18f5_1    conda-forge
owslib                    0.31.0             pyhd8ed1ab_0    conda-forge
packaging                 24.0               pyhd8ed1ab_0    conda-forge
pandas                    2.2.2           py311h14de704_1    conda-forge
paramiko                  3.4.0              pyhd8ed1ab_0    conda-forge
passlib                   1.7.4              pyhd8ed1ab_1    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
perl                      5.32.1          7_hd590300_perl5    conda-forge
pillow                    9.2.0           py311h9461556_3    conda-forge
pint                      0.23               pyhd8ed1ab_0    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
pixman                    0.43.2               h59595ed_0    conda-forge
platformdirs              4.2.2              pyhd8ed1ab_0    conda-forge
ply                       3.11               pyhd8ed1ab_2    conda-forge
pooch                     1.8.1              pyhd8ed1ab_0    conda-forge
proj                      9.1.1                h93bde94_0    conda-forge
property-cached           1.6.4                      py_0    conda-forge
psycopg2                  2.9.6           py311h68d4568_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pulseaudio                16.1                 hcb278e6_3    conda-forge
pulseaudio-client         16.1                 h5195f5e_3    conda-forge
pulseaudio-daemon         16.1                 ha8d29e2_3    conda-forge
pycountry                 22.3.5             pyhd8ed1ab_0    conda-forge
pycparser                 2.22               pyhd8ed1ab_0    conda-forge
pygeoif                   0.7                        py_1    conda-forge
pyjwt                     2.8.0              pyhd8ed1ab_1    conda-forge
pymysql                   1.1.0              pyhd8ed1ab_0    conda-forge
pynacl                    1.5.0           py311h459d7ec_3    conda-forge
pyopenssl                 24.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.1.2              pyhd8ed1ab_0    conda-forge
pyproj                    3.5.0           py311h945b3ca_0    conda-forge
pyqt                      5.15.9          py311hf0fb5b6_5    conda-forge
pyqt5-sip                 12.12.2         py311hb755f60_5    conda-forge
pysaml2                   7.5.0              pyhd8ed1ab_0    conda-forge
pyshp                     2.3.1              pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.11.6          hab00c5b_0_cpython    conda-forge
python-dateutil           2.9.0              pyhd8ed1ab_0    conda-forge
python-engineio           4.9.1              pyhd8ed1ab_0    conda-forge
python-slugify            8.0.4              pyhd8ed1ab_0    conda-forge
python-socketio           5.11.2             pyhd8ed1ab_0    conda-forge
python-tzdata             2024.1             pyhd8ed1ab_0    conda-forge
python_abi                3.11                    4_cp311    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0.1           py311h459d7ec_1    conda-forge
qt                        5.15.8               hf11cfaa_0    conda-forge
qt-main                   5.15.8               h5d23da1_6    conda-forge
qt-webengine              5.15.8               h77d6d84_0    conda-forge
readline                  8.2                  h8228510_1    conda-forge
requests                  2.32.2             pyhd8ed1ab_0    conda-forge
scipy                     1.13.0          py311h517d4fd_1    conda-forge
secretstorage             3.3.3           py311h38be061_2    conda-forge
setuptools                70.0.0             pyhd8ed1ab_0    conda-forge
sgp4                      2.22            py311h92ebd52_0    conda-forge
shapely                   2.0.4           py311h0bed3d6_1    conda-forge
simple-websocket          1.0.0              pyhd8ed1ab_1    conda-forge
sip                       6.7.12          py311hb755f60_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
skyfield                  1.48               pyhca7485f_0    conda-forge
skyfield-data             5.0.0              pyhd8ed1ab_0    conda-forge
smmap                     5.0.0              pyhd8ed1ab_0    conda-forge
sniffio                   1.3.1              pyhd8ed1ab_0    conda-forge
sqlalchemy                2.0.30          py311h331c9d8_0    conda-forge
sqlite                    3.45.3               h2c6b66d_0    conda-forge
text-unidecode            1.3                pyhd8ed1ab_1    conda-forge
tk                        8.6.13          noxft_h4845f30_101    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tornado                   6.4             py311h459d7ec_0    conda-forge
traitlets                 5.14.3             pyhd8ed1ab_0    conda-forge
typing-extensions         4.11.0               hd8ed1ab_0    conda-forge
typing_extensions         4.11.0             pyha770c72_0    conda-forge
tzdata                    2024a                h0c530f3_0    conda-forge
unicodecsv                0.14.1             pyhd8ed1ab_2    conda-forge
urllib3                   2.2.1              pyhd8ed1ab_0    conda-forge
validate_email            1.3                        py_3    conda-forge
webdavclient3             3.14.5             pyhd8ed1ab_1    conda-forge
websocket-client          1.8.0              pyhd8ed1ab_0    conda-forge
werkzeug                  2.3.8              pyhd8ed1ab_0    conda-forge
wheel                     0.43.0             pyhd8ed1ab_1    conda-forge
wsproto                   1.2.0              pyhd8ed1ab_0    conda-forge
wtforms                   3.1.2              pyhd8ed1ab_0    conda-forge
xarray                    2024.5.0           pyhd8ed1ab_0    conda-forge
xcb-util                  0.4.0                h516909a_0    conda-forge
xcb-util-image            0.4.0                h166bdaf_0    conda-forge
xcb-util-keysyms          0.4.0                h516909a_0    conda-forge
xcb-util-renderutil       0.3.9                h166bdaf_0    conda-forge
xcb-util-wm               0.4.1                h516909a_0    conda-forge
xkeyboard-config          2.38                 h0b41bf4_0    conda-forge
xmlschema                 2.5.1              pyhd8ed1ab_0    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.1.1                hd590300_0    conda-forge
xorg-libsm                1.2.4                h7391055_0    conda-forge
xorg-libx11               1.8.4                h0b41bf4_0    conda-forge
xorg-libxau               1.0.11               hd590300_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xstatic                   1.0.2              pyh9f0ad1d_0    conda-forge
xstatic-bootstrap         4.5.3.1            pyhd3deb0d_0    conda-forge
xstatic-jquery            3.5.1.1            pyhd8ed1ab_5    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
zipp                      3.17.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               hd590300_5    conda-forge
zstd                      1.5.6                ha6fb4c9_0    conda-forge

Environment info

### Environment info


mamba version : 1.5.8
     active environment : mssenv
    active env location : /home/user/Miniforge/envs/mssenv
            shell level : 2
       user config file : /home/user/.condarc
 populated config files : /home/user/Miniforge/.condarc
                          /home/user/.condarc
          conda version : 24.3.0
    conda-build version : not installed
         python version : 3.10.14.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=zen2
                          __conda=24.3.0=0
                          __glibc=2.35=0
                          __linux=5.15.0=0
                          __unix=0=0
       base environment : /home/user/Miniforge  (writable)
      conda av data dir : /home/user/Miniforge/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/user/Miniforge/pkgs
                          /home/user/.conda/pkgs
       envs directories : /home/user/Miniforge/envs
                          /home/user/.conda/envs
               platform : linux-64
             user-agent : conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/5.15.0-107-generic ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8
                UID:GID : 2000:33
             netrc file : None
           offline mode : False

/libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos

On a couple CentOS, Ubuntu and on a few RHEL6/7 Vagrant boxes this works fine. But on an older RH box, it looks like the curl feedstock isn't linked correctly, which breaks some packages that depend on it.

For example:

conda create -n rcurl-test
source activate rcurl-test
conda install -c conda-forge r-rcurl
(rcurl-test) -bash-4.1$ Rscript -e 'library(RCurl')
-bash: syntax error near unexpected token `)'
(rcurl-test) -bash-4.1$ Rscript -e 'library(RCurl)'
Loading required package: methods
Loading required package: bitops
Error: package or namespace load failed for âRCurlâ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/gpfs/users/kbdt501/local/share/bcbio/anaconda/envs/rcurl-test/lib/R/library/RCurl/libs/RCurl.so':
  /gpfs/users/kbdt501/local/share/bcbio/anaconda/envs/rcurl-test/lib/R/library/RCurl/libs/../../../../libcurl.so.4: undefined symbol: SSL_CTX_set_alpn_protos
Execution halted
Linux version 2.6.32-431.el6.x86_64 ([email protected]) (gcc
 version 4.4.7 20120313 (Red Hat 4.4.7-4)  (GCC) ) #1 SMP Sun Nov 10 22:19:54 EST 2013

Installing libcurl from defaults fixes the issue, so if we could build this curl similar to that one it would fix the problem.

Broken label for curl 7.55.1-0 has a trailing space

Issue:

I realize this is not the most pressing conda-forge issue, but it is not possible to download the broken version of curl 7.55.1-0 because it's label is "broken " with a trailing space. Anaconda Cloud recommends the following, which fails:

$ conda install -c "conda-forge/label/broken " curl=7.55.1=0
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - curl==7.55.1=0

Current channels:

  - https://conda.anaconda.org/conda-forge/label/broken/linux-64
  - https://conda.anaconda.org/conda-forge/label/broken/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

whereas this works when the label is "broken", e.g. for libiconv 1.15:

$ conda install -c conda-forge/label/broken libiconv

Environment (conda list):
$ conda list
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
asn1crypto                0.24.0                   py37_0  
ca-certificates           2016.2.28                     1    conda-forge/label/broken
certifi                   2018.10.15               py37_0  
cffi                      1.11.5           py37he75722e_1  
chardet                   3.0.4                    py37_1  
conda                     4.5.11                   py37_0  
conda-env                 2.6.0                         1  
cryptography              2.3.1            py37hc365091_0  
idna                      2.7                      py37_0  
libedit                   3.1.20170329         h6b74fdf_2  
libffi                    3.2.1                hd88cf55_4  
libgcc-ng                 8.2.0                hdf63c60_1  
libiconv                  1.15                          0    conda-forge/label/broken
libstdcxx-ng              8.2.0                hdf63c60_1  
ncurses                   6.1                  hf484d3e_0  
openssl                   1.0.2p               h14c3975_0  
pip                       10.0.1                   py37_0  
pycosat                   0.6.3            py37h14c3975_0  
pycparser                 2.18                     py37_1  
pyopenssl                 18.0.0                   py37_0  
pysocks                   1.6.8                    py37_0  
python                    3.7.0                hc3d631a_0  
readline                  7.0                  h7b6447c_5  
requests                  2.19.1                   py37_0  
ruamel_yaml               0.15.46          py37h14c3975_0  
setuptools                40.2.0                   py37_0  
six                       1.11.0                   py37_1  
sqlite                    3.24.0               h84994c4_0  
tk                        8.6.8                hbc83047_0  
urllib3                   1.23                     py37_0  
wheel                     0.31.1                   py37_0  
xz                        5.2.4                h14c3975_4  
yaml                      0.1.7                had09818_2  
zlib                      1.2.11               ha838bed_2  

Details about conda and system ( conda info ):
$ conda info

     active environment : base
    active env location : /opt/conda
            shell level : 1
       user config file : /root/.condarc
 populated config files : 
          conda version : 4.5.11
    conda-build version : not installed
         python version : 3.7.0.final.0
       base environment : /opt/conda  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /opt/conda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/conda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Linux/4.15.0-39-generic debian/9 glibc/2.24
                UID:GID : 0:0
             netrc file : None
           offline mode : False

undefined symbol: libssh2_scp_recv2

Error when trying to load libhdfs3 (conda-forge/hdfs3-feedstock#4 (comment)):

>>> ctypes.cdll.LoadLibrary('libhdfs3.so')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jlord/.conda/envs/dask/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "/home/jlord/.conda/envs/dask/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/jlord/.conda/envs/dask/lib/python3.6/lib-dynload/../.././libcurl.so.4: undefined symbol: libssh2_scp_recv2

Downgrading from 7.54.1 to 7.49.1 resolves the issue for me.

libcurl can crash when called from non-main thread

libcurl uses SIGALRM by default for realizing timeouts. This causes crashes when certain functions are called from a non-main thread as described here.

This can be solved by configuring with --enable-threaded-resolver or --enable-ares.

Unicode --data not working

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Originally reported by @squromiv in curl/curl#12231:

Unicode --data doesn't work:

curl -v --data спасти http://httpbin.org/post

the server is sent invalid data and replies with fffd (unknown) (������)

\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd

what curl should do is send the unicode --data and then the server will reply with the same characters:

\u0441\u043f\u0430\u0441\u0442\u0438

The reporter is using "C:\ProgramData\Anaconda3\Library\bin\curl.exe" 8.1.1 with "Unicode" in the features list.

I was able to reproduce with the curl.exe from curl-8.1.1-h68f0423_0 (and dependencies libcurl-8.1.1-h68f0423_0, libssh2-1.10.0-h680486a_3, openssl-1.1.1w-hcfcfb64_0, libzlib-1.2.13-hcfcfb64_5).

This is either a bug in curl or in your build process, I don't know which. In bld.bat ENABLE_UNICODE=yes which is the correct way to enable Unicode. I can see there are multiple build methods. It would be helpful to know exactly how the distributed version of curl.exe is built.

Installed packages

n/a not installed

Environment info

n/a not installed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.