conda-forge / gsl-feedstock

A conda-smithy repository for gsl.
BSD 3-Clause "New" or "Revised" License
6 stars 18 forks source link

cblas.lib cannot be found during build #51

Open tschoonj opened 4 years ago

tschoonj commented 4 years ago

Hi!

I am trying to build this recipe locally on my Windows 10 VM, but I am failing early on when running configure due to cblas.lib not being available:

configure:3512: clang.exe -I/c/Users/TomSc/miniconda3/conda-bld/gsl_1591987330164/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -I/c/Users/TomSc/miniconda3/conda-bld/gsl_1591987330164/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -L/c/Users/TomSc/miniconda3/conda-bld/gsl_1591987330164/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
lld-link: error: could not open 'cblas.lib': no such file or directory

This file is not provided by the conda-forge libcblas package, which only contains the dll.

Any thoughts on how this can be fixed?


Environment (conda list):

``` $ conda list # packages in environment at C:\Users\TomSc\miniconda3: # # Name Version Build Channel beautifulsoup4 4.9.1 py37_0 blinker 1.4 py37_0 boolean.py 3.7 py_0 conda-forge bzip2 1.0.8 he774522_0 ca-certificates 2020.1.1 0 certifi 2020.4.5.1 py37_0 cffi 1.14.0 py37h7a1dbc1_0 chardet 3.0.4 py37_1003 conda 4.8.3 py37_0 conda-build 3.18.11 py37_0 conda-forge-pinning 2020.06.10.22.19.47 0 conda-forge conda-package-handling 1.6.1 py37h62dcd97_0 conda-smithy 3.7.3 py_0 conda-forge console_shortcut 0.1.1 4 cryptography 2.9.2 py37h7a1dbc1_0 deprecated 1.2.10 py_0 filelock 3.0.12 py_0 git 2.23.0 h6bb4b03_0 gitdb 4.0.5 py_0 gitpython 3.1.1 py_1 glob2 0.7 py_0 gsl 2.6 h86b8168_0 conda-forge hdf5 1.10.6 nompi_ha405e13_100 conda-forge hub 2.14.2 h02a5a22_0 conda-forge idna 2.9 py_1 intel-openmp 2020.0 166 isodate 0.6.0 py_1 jinja2 2.11.2 py_0 libarchive 3.4.2 h5e25573_0 libblas 3.8.0 15_mkl conda-forge libcblas 3.8.0 15_mkl conda-forge libiconv 1.15 h1df5818_7 liblapack 3.8.0 15_mkl conda-forge liblief 0.10.1 ha925a31_0 libxml2 2.9.9 h464c3ec_0 license-expression 1.2 py_0 conda-forge lz4-c 1.9.2 h62dcd97_0 m2-bash 4.3.042 5 m2-findutils 4.6.0 2 m2-gcc-libs 5.3.0 4 m2-grep 2.22 4 m2-libiconv 1.14 3 m2-libintl 0.19.7 4 m2-libpcre 8.38 2 m2-msys2-runtime 2.5.0.17080.65c939c 3 m2w64-binutils 2.25.1 5 m2w64-bzip2 1.0.6 6 m2w64-gcc-libgfortran 5.3.0 6 m2w64-gcc-libs 5.3.0 7 m2w64-gcc-libs-core 5.3.0 7 m2w64-gmp 6.1.0 2 m2w64-libiconv 1.14 6 m2w64-libwinpthread-git 5.0.0.4634.697f757 2 m2w64-tools-git 5.0.0.4592.90b8472 2 m2w64-zlib 1.2.8 10 markupsafe 1.1.1 py37he774522_0 menuinst 1.4.16 py37he774522_0 mkl 2020.0 166 msrest 0.6.16 pyh9f0ad1d_0 conda-forge msys2-conda-epoch 20160418 1 numpy 1.18.5 py37hae9e721_0 conda-forge oauthlib 3.1.0 py_0 openssl 1.1.1g he774522_0 pip 20.0.2 py37_3 pkginfo 1.5.0.1 py37_0 powershell_shortcut 0.0.1 3 psutil 5.7.0 py37he774522_0 py-lief 0.10.1 py37ha925a31_0 pycosat 0.6.3 py37he774522_0 pycparser 2.20 py_0 pycrypto 2.6.1 py37hfa6e2cd_9 pygithub 1.51 py_0 conda-forge pyjwt 1.7.1 py37_0 pyopenssl 19.1.0 py37_0 pysocks 1.7.1 py37_0 python 3.7.7 h81c818b_4 python-libarchive-c 2.9 py_0 python_abi 3.7 1_cp37m conda-forge pytz 2020.1 py_0 pywin32 227 py37he774522_1 pyyaml 5.3.1 py37he774522_0 requests 2.23.0 py37_0 requests-oauthlib 1.3.0 py_0 ruamel.yaml 0.16.10 py37he774522_1 ruamel.yaml.clib 0.2.0 py37he774522_0 ruamel_yaml 0.15.87 py37he774522_0 scrypt 0.8.15 py37h90766aa_0 conda-forge setuptools 47.1.1 py37_0 six 1.15.0 py_0 smmap 3.0.2 py_0 soupsieve 2.0.1 py_0 sqlite 3.31.1 h2a8f88b_1 toolz 0.10.0 py_0 tqdm 4.46.0 py_0 urllib3 1.25.8 py37_0 vc 14.1 h0510ff6_4 vs2015_runtime 14.16.27012 hf0eaf9b_2 vsts-python-api 0.1.22 py_0 conda-forge wheel 0.34.2 py37_0 win_inet_pton 1.1.0 py37_0 wincertstore 0.2 py37_0 wrapt 1.12.1 py37he774522_1 xraylib 4.0.0 py37h6049954_0 conda-forge xz 5.2.5 h62dcd97_0 yaml 0.1.7 hc54c509_2 zlib 1.2.11 h62dcd97_4 zstd 1.4.4 ha9fde0e_3 ```


Details about conda and system ( conda info ):

``` $ conda info active environment : base active env location : C:\Users\TomSc\miniconda3 shell level : 1 user config file : C:\Users\TomSc\.condarc populated config files : C:\Users\TomSc\.condarc conda version : 4.8.3 conda-build version : 3.18.11 python version : 3.7.7.final.0 virtual packages : base environment : C:\Users\TomSc\miniconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch https://conda.anaconda.org/conda-forge/win-64 https://conda.anaconda.org/conda-forge/noarch package cache : C:\Users\TomSc\miniconda3\pkgs C:\Users\TomSc\.conda\pkgs C:\Users\TomSc\AppData\Local\conda\conda\pkgs envs directories : C:\Users\TomSc\miniconda3\envs C:\Users\TomSc\.conda\envs C:\Users\TomSc\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.7 Windows/10 Windows/10.0.19041 administrator : False netrc file : None offline mode : False ```