Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,921
    • Issues 3,921
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #19132
Closed
Open
Created Apr 04, 2019 by Silvio Traversaro@traversaroContributor

cmake -E tar x fails on some .zip files when execute on exFAT filesystems on Windows

With some .zip files (for example https://github.com/LibRaw/LibRaw-cmake/archive/a71f3b83ee3dccd7be32f9a2f410df4d9bdbde0a.zip) the cmake -E tar x command fails when executed on extFAT filesystems on Windows, while it works fine when executed on an NTFS drive.

When executed on exFAT, this is the error:

STraversaro@IITICUBLAP102 MINGW64 /d/test-extfat
$ cmake -E tar xjf LibRaw-cmake-a71f3b83ee3dccd7be32f9a2f410df4d9bdbde0a.zip
CMake Error: Problem with archive_write_finish_entry(): Can't restore time
CMake Error: Problem extracting tar: LibRaw-cmake-a71f3b83ee3dccd7be32f9a2f410df4d9bdbde0a.zip

When executed on NTFS, the file is correctly decompressed:

STraversaro@IITICUBLAP102 MINGW64 /c/test-ntfs
$ cmake -E tar xjf LibRaw-cmake-a71f3b83ee3dccd7be32f9a2f410df4d9bdbde0a.zip

Downstream issues:

  • https://github.com/Microsoft/vcpkg/issues/5951
  • https://phabricator.mitk.org/T24971
Edited Apr 05, 2019 by Silvio Traversaro
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking