conda-forge / libignition-physics-feedstock

A conda-smithy repository for libignition-physics.
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Installing libignition-physics5 installation on Windows fails with You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\ncontains unsafe path: #28

Open traversaro opened 2 years ago

traversaro commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

Installation of libignition-physics5-5.1.0_h63175ca_1 on Windows fail with a libarchive error:

c:\>conda create -n ignphys libignition-physics5
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.12.0
  latest version: 4.13.0

Please update conda by running

    $ conda update -n base conda

## Package Plan ##

  environment location: C:\Users\STraversaro\AppData\Local\mambaforge\envs\ignphys

  added / updated specs:
    - libignition-physics5

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libignition-physics5-5.1.0 |       h63175ca_1         5.0 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         5.0 MB

The following NEW packages will be INSTALLED:

  assimp             conda-forge/win-64::assimp-5.2.4-hc2aa0de_0
  boost-cpp          conda-forge/win-64::boost-cpp-1.74.0-h9f4b32c_8
  bullet-cpp         conda-forge/win-64::bullet-cpp-3.21-hf5e1058_2
  bzip2              conda-forge/win-64::bzip2-1.0.8-h8ffe710_4
  ca-certificates    conda-forge/win-64::ca-certificates-2022.6.15-h5b45459_0
  cli11              conda-forge/win-64::cli11-2.2.0-h0e60522_0
  console_bridge     conda-forge/win-64::console_bridge-1.0.2-h5362a0b_1
  dartsim            conda-forge/win-64::dartsim-6.12.1-hc7df35d_6
  dlfcn-win32        conda-forge/win-64::dlfcn-win32-1.3.0-h0e60522_0
  eigen              conda-forge/win-64::eigen-3.4.0-h2d74725_0
  fcl                conda-forge/win-64::fcl-0.7.0-hbf27b1e_1
  ffmpeg             conda-forge/win-64::ffmpeg-4.3.1-ha925a31_0
  flann              conda-forge/win-64::flann-1.9.1-h075982a_1010
  freeglut           conda-forge/win-64::freeglut-3.2.2-h0e60522_1
  freeimage          conda-forge/win-64::freeimage-3.18.0-h6676e37_9
  gettext            conda-forge/win-64::gettext-0.19.8.1-ha2e2712_1008
  gts                conda-forge/win-64::gts-0.7.6-h7c369d9_2
  hdf5               conda-forge/win-64::hdf5-1.12.1-nompi_h2a0e4a3_104
  imath              conda-forge/win-64::imath-3.1.5-h12d4b20_0
  intel-openmp       conda-forge/win-64::intel-openmp-2022.1.0-h57928b3_3787
  jpeg               conda-forge/win-64::jpeg-9e-h8ffe710_2
  jxrlib             conda-forge/win-64::jxrlib-1.1-h8ffe710_2
  krb5               conda-forge/win-64::krb5-1.19.3-h1176d77_0
  lcms2              conda-forge/win-64::lcms2-2.12-h2a16943_0
  lerc               conda-forge/win-64::lerc-3.0-h0e60522_0
  libblas            conda-forge/win-64::libblas-3.9.0-15_win64_mkl
  libcblas           conda-forge/win-64::libcblas-3.9.0-15_win64_mkl
  libccd-double      conda-forge/win-64::libccd-double-2.1-h0e60522_3
  libcurl            conda-forge/win-64::libcurl-7.83.1-h789b8ee_0
  libdeflate         conda-forge/win-64::libdeflate-1.12-h8ffe710_0
  libffi             conda-forge/win-64::libffi-3.4.2-h8ffe710_5
  libglib            conda-forge/win-64::libglib-2.70.2-h3be07f2_4
  libiconv           conda-forge/win-64::libiconv-1.16-he774522_0
  libignition-cmake2 conda-forge/win-64::libignition-cmake2-2.12.1-h0e60522_0
  libignition-commo~ conda-forge/win-64::libignition-common4-4.5.1-h9bd54ec_0
  libignition-math6  conda-forge/win-64::libignition-math6-6.11.0-py310h62d8b2e_1
  libignition-physi~ conda-forge/win-64::libignition-physics5-5.1.0-h63175ca_1
  libignition-plugi~ conda-forge/win-64::libignition-plugin1-1.2.1-h0e60522_0
  libignition-tools1 conda-forge/win-64::libignition-tools1-1.4.1-h0e60522_2
  libignition-utils1 conda-forge/win-64::libignition-utils1-1.4.0-h0e60522_0
  liblapack          conda-forge/win-64::liblapack-3.9.0-15_win64_mkl
  libode             conda-forge/win-64::libode-0.16.2-h8a704f9_10
  libpng             conda-forge/win-64::libpng-1.6.37-h1d00b33_2
  libraw             conda-forge/win-64::libraw-0.20.2-hee1bdec_1
  libsdformat12      conda-forge/win-64::libsdformat12-12.5.0-h2f10cfe_0
  libssh2            conda-forge/win-64::libssh2-1.10.0-h680486a_2
  libtiff            conda-forge/win-64::libtiff-4.4.0-h2ed3b44_1
  libwebp-base       conda-forge/win-64::libwebp-base-1.2.2-h8ffe710_1
  libzlib            conda-forge/win-64::libzlib-1.2.12-h8ffe710_1
  lz4-c              conda-forge/win-64::lz4-c-1.9.3-h8ffe710_1
  mkl                conda-forge/win-64::mkl-2022.1.0-h6a75c08_874
  numpy              conda-forge/win-64::numpy-1.23.0-py310h8a5b91a_0
  octomap            conda-forge/win-64::octomap-1.9.7-h5362a0b_0
  openexr            conda-forge/win-64::openexr-3.1.5-hab3b255_0
  openjpeg           conda-forge/win-64::openjpeg-2.4.0-hb211442_1
  openssl            conda-forge/win-64::openssl-1.1.1p-h8ffe710_0
  pcre               conda-forge/win-64::pcre-8.45-h0e60522_0
  pip                conda-forge/noarch::pip-22.1.2-pyhd8ed1ab_0
  pybind11-abi       conda-forge/noarch::pybind11-abi-4-hd8ed1ab_3
  python             conda-forge/win-64::python-3.10.5-h9a09f29_0_cpython
  python_abi         conda-forge/win-64::python_abi-3.10-2_cp310
  ruby               conda-forge/win-64::ruby-2.7.2-h1d9c0f5_8
  setuptools         conda-forge/win-64::setuptools-62.6.0-py310h5588dad_0
  sqlite             conda-forge/win-64::sqlite-3.39.0-h8ffe710_0
  tbb                conda-forge/win-64::tbb-2021.5.0-h2d74725_1
  tinyxml            conda-forge/win-64::tinyxml-2.6.2-h2d74725_2
  tinyxml2           conda-forge/win-64::tinyxml2-9.0.0-h0e60522_2
  tk                 conda-forge/win-64::tk-8.6.12-h8ffe710_0
  tzdata             conda-forge/noarch::tzdata-2022a-h191b570_0
  ucrt               conda-forge/win-64::ucrt-10.0.20348.0-h57928b3_0
  urdfdom            conda-forge/win-64::urdfdom-3.1.0-h0e60522_0
  urdfdom_headers    conda-forge/win-64::urdfdom_headers-1.1.0-h5362a0b_0
  vc                 conda-forge/win-64::vc-14.2-hb210afc_6
  vs2015_runtime     conda-forge/win-64::vs2015_runtime-14.29.30037-h902a5da_6
  wheel              conda-forge/noarch::wheel-0.37.1-pyhd8ed1ab_0
  xz                 conda-forge/win-64::xz-5.2.5-h62dcd97_1
  zlib               conda-forge/win-64::zlib-1.2.12-h8ffe710_1
  zstd               conda-forge/win-64::zstd-1.5.2-h6255e5f_2

Proceed ([y]/n)? y

Downloading and Extracting Packages
libignition-physics5 | 5.0 MB    | ################################################################################################# | 100%

InvalidArchiveError('Error with archive C:\\Users\\STraversaro\\AppData\\Local\\mambaforge\\pkgs\\libignition-physics5-5.1.0-h63175ca_1.tar.bz2.  You probably need to delete and re-download or re-create this file.  Message from libarchive was:\n\ncontains unsafe path: info/run_exports.json')

Installed packages

See command.

Environment info

c:\>conda info

     active environment : None
            shell level : 0
       user config file : C:\Users\STraversaro\.condarc
 populated config files : C:\Users\STraversaro\AppData\Local\mambaforge\.condarc
                          C:\Users\STraversaro\.condarc
          conda version : 4.12.0
    conda-build version : not installed
         python version : 3.9.13.final.0
       virtual packages : __cuda=11.6=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\STraversaro\AppData\Local\mambaforge  (writable)
      conda av data dir : C:\Users\STraversaro\AppData\Local\mambaforge\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\Users\STraversaro\AppData\Local\mambaforge\pkgs
                          C:\Users\STraversaro\.conda\pkgs
                          C:\Users\STraversaro\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\STraversaro\AppData\Local\mambaforge\envs
                          C:\Users\STraversaro\.conda\envs
                          C:\Users\STraversaro\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.13 Windows/10 Windows/10.0.22000
          administrator : False
             netrc file : None
           offline mode : False
traversaro commented 2 years ago

libignition-physics 5.0 works fine instead.

Tobias-Fischer commented 1 month ago

Can we close here @traversaro?