conda-forge / zstd-feedstock

A conda-smithy repository for zstd.
BSD 3-Clause "New" or "Revised" License
2 stars 26 forks source link

Missing vcruntime140d.dll #37

Closed rebclarke closed 4 years ago

rebclarke commented 4 years ago

I'm unsure if this is the right place to raise this. But I am having an issue working with a package which depends on zstd. See https://github.com/OSGeo/gdal/issues/2019

When I execute the commands I get a pop up saying that vcruntime140d.dll can't be found, and then another pop up saying ucrtbased.dll can't be found.

I ran Dependency Walker and found the missing files are referenced under zstd.

image

conda info ``` active environment : test active env location : C:\Users\Rebecca\Miniconda3\envs\test shell level : 2 user config file : C:\Users\Rebecca\.condarc populated config files : conda version : 4.7.12 conda-build version : not installed python version : 3.7.4.final.0 virtual packages : __cuda=9.1 base environment : C:\Users\Rebecca\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 package cache : C:\Users\Rebecca\Miniconda3\pkgs C:\Users\Rebecca\.conda\pkgs C:\Users\Rebecca\AppData\Local\conda\conda\pkgs envs directories : C:\Users\Rebecca\Miniconda3\envs C:\Users\Rebecca\.conda\envs C:\Users\Rebecca\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362 administrator : False netrc file : None offline mode : False ```

The error only happens when I install the gdal package from the conda-forge channel. No error if I install from the default channel.

Here are the outputs from conda list:

after default channel install ``` blas 1.0 mkl bzip2 1.0.8 he774522_0 ca-certificates 2019.10.16 0 certifi 2019.9.11 py37_0 cfitsio 3.470 he774522_2 curl 7.65.3 h2a8f88b_0 expat 2.2.5 he025d50_0 freexl 1.0.5 hfa6e2cd_0 gdal 3.0.2 py37hdf43c64_0 geos 3.8.0 h33f27b4_0 geotiff 1.5.1 h5770a2b_0 hdf4 4.2.13 h712560f_2 hdf5 1.10.4 h7ebc959_0 icc_rt 2019.0.0 h0cc432a_1 icu 58.2 ha66f8fd_1 intel-openmp 2019.4 245 jpeg 9b hb83a4c4_2 kealib 1.4.7 h07cbb95_6 krb5 1.16.1 hc04afaa_7 libboost 1.67.0 hd9e427e_4 libcurl 7.65.3 h2a8f88b_0 libgdal 3.0.2 h1155b67_0 libiconv 1.15 h1df5818_7 libkml 1.3.0 he5f2a48_4 libnetcdf 4.6.1 h411e497_2 libpng 1.6.37 h2a8f88b_0 libpq 11.2 h3235a2c_0 libspatialite 4.3.0a h7ffb84d_0 libssh2 1.8.2 h7a1dbc1_0 libtiff 4.1.0 h56a325e_0 libxml2 2.9.9 h464c3ec_0 lz4-c 1.8.1.2 h2fa13f4_0 m2w64-expat 2.1.1 2 m2w64-gcc-libgfortran 5.3.0 6 m2w64-gcc-libs 5.3.0 7 m2w64-gcc-libs-core 5.3.0 7 m2w64-gettext 0.19.7 2 m2w64-gmp 6.1.0 2 m2w64-libiconv 1.14 6 m2w64-libwinpthread-git 5.0.0.4634.697f757 2 m2w64-xz 5.2.2 2 mkl 2019.4 245 mkl-service 2.3.0 py37hb782905_0 mkl_fft 1.0.15 py37h14836fe_0 mkl_random 1.1.0 py37h675688f_0 msys2-conda-epoch 20160418 1 numpy 1.17.3 py37h4ceb530_0 numpy-base 1.17.3 py37hc3f5095_0 openjpeg 2.3.0 h5ec785f_1 openssl 1.1.1d he774522_3 pcre 8.43 ha925a31_0 pip 19.3.1 py37_0 postgresql 11.2 h3235a2c_0 proj 6.2.1 h9f7ef89_0 python 3.7.5 h8c8aaf0_0 setuptools 41.6.0 py37_0 six 1.13.0 py37_0 sqlite 3.30.1 he774522_0 tbb 2018.0.5 he980bc4_0 tiledb 1.6.3 h7b000aa_0 tk 8.6.8 hfa6e2cd_0 vc 14.1 h0510ff6_4 vs2015_runtime 14.16.27012 hf0eaf9b_0 wheel 0.33.6 py37_0 wincertstore 0.2 py37_0 xerces-c 3.2.2 ha925a31_0 xz 5.2.4 h2fa13f4_4 zlib 1.2.11 h62dcd97_3 zstd 1.3.7 h508b16e_0 ```
after conda-forge channel install ``` boost-cpp 1.70.0 h6a4c333_2 conda-forge bzip2 1.0.8 hfa6e2cd_1 conda-forge ca-certificates 2019.9.11 hecc5488_0 conda-forge certifi 2019.9.11 py38_0 conda-forge cfitsio 3.470 hfa6e2cd_2 conda-forge curl 7.65.3 h4496350_0 conda-forge expat 2.2.5 he025d50_1004 conda-forge freetype 2.10.0 h563cfd7_1 conda-forge freexl 1.0.5 hd288d7e_1002 conda-forge gdal 3.0.2 py38h2fee047_2 conda-forge geos 3.7.2 he025d50_2 conda-forge geotiff 1.5.1 ha8299ad_6 conda-forge gettext 0.19.8.1 hb01d8f6_1002 conda-forge glib 2.58.3 py38hc0c2ac7_1002 conda-forge hdf4 4.2.13 hf8e6fe8_1003 conda-forge hdf5 1.10.5 nompi_ha405e13_1104 conda-forge icu 64.2 he025d50_1 conda-forge intel-openmp 2019.4 245 jpeg 9c hfa6e2cd_1001 conda-forge kealib 1.4.10 hf7dc31f_1005 conda-forge krb5 1.16.3 hdd46e55_1001 conda-forge libblas 3.8.0 14_mkl conda-forge libcblas 3.8.0 14_mkl conda-forge libcurl 7.65.3 h4496350_0 conda-forge libffi 3.2.1 h6538335_1006 conda-forge libgdal 3.0.2 hd349289_2 conda-forge libiconv 1.15 hfa6e2cd_1005 conda-forge libkml 1.3.0 h4ece8bf_1010 conda-forge liblapack 3.8.0 14_mkl conda-forge libnetcdf 4.7.1 nompi_h8d74e2a_101 conda-forge libpng 1.6.37 h7602738_0 conda-forge libpq 11.5 hb0bdaea_2 conda-forge libspatialite 4.3.0a h2b2ca8d_1032 conda-forge libssh2 1.8.2 h642c060_2 conda-forge libtiff 4.1.0 h2e92f26_0 conda-forge libxml2 2.9.10 h9ce36c8_0 conda-forge lz4-c 1.8.3 he025d50_1001 conda-forge m2w64-expat 2.1.1 2 m2w64-gcc-libgfortran 5.3.0 6 m2w64-gcc-libs 5.3.0 7 m2w64-gcc-libs-core 5.3.0 7 m2w64-gettext 0.19.7 2 m2w64-gmp 6.1.0 2 m2w64-libiconv 1.14 6 m2w64-libwinpthread-git 5.0.0.4634.697f757 2 m2w64-xz 5.2.2 2 mkl 2019.4 245 msys2-conda-epoch 20160418 1 numpy 1.17.3 py38hc71023c_0 conda-forge openjpeg 2.3.1 hb24c2e3_1 conda-forge openssl 1.1.1d hfa6e2cd_0 conda-forge pcre 8.43 h6538335_0 conda-forge pip 19.3.1 py38_0 conda-forge poppler 0.67.0 h92819f6_7 conda-forge poppler-data 0.4.9 1 conda-forge postgresql 11.5 h06f7779_2 conda-forge proj 6.2.1 ha7a8c7b_0 conda-forge python 3.8.0 hc9e8b01_3 conda-forge setuptools 41.6.0 py38_1 conda-forge sqlite 3.30.1 hfa6e2cd_0 conda-forge tbb 2018.0.5 he980bc4_0 conda-forge tiledb 1.6.2 h6bfbd54_2 conda-forge tk 8.6.9 hfa6e2cd_1003 conda-forge vc 14.1 h0510ff6_4 vs2015_runtime 14.16.27012 hf0eaf9b_0 wheel 0.33.6 py38_0 conda-forge wincertstore 0.2 py38_1003 conda-forge xerces-c 3.2.2 h6538335_1004 conda-forge xz 5.2.4 h2fa13f4_1001 conda-forge zlib 1.2.11 h2fa13f4_1006 conda-forge zstd 1.4.3 hd8a0e53_0 conda-forge ```

I looked in the environment directory and can see ucrtbase.dll and vcruntime140.dll exist but they don't have the d at the end of the filename like what is being indicated in the error.

Apologies if this is the wrong place to post. If it is, could you advise where I should post this. Thanks in advance.

hobu commented 4 years ago

It looks like https://github.com/conda-forge/zstd-feedstock/commits/master/recipe/bld.bat was updated and recently merged to fix this issue. Can you conda update --all to check?

hobu commented 4 years ago

See https://github.com/conda-forge/pdal-feedstock/pull/92 for it getting rerendered in PDAL's feestock

rebclarke commented 4 years ago

Thanks @hobu . Issue is resolved.