Describe the bug
I'm building qt5-webkit for x64-linux-dynamic. The build is successful and vcpkg kindly creates binary cache for it. However, when I restore the library from cache, one file gets corrupted (truncated from 2.7gb to exactly 2gb, see screenshot). If I manually unpack the archive (e.g. unzip -qq /home/osyotr/.cache/vcpkg/archives/7b/7bc45507c4cc57f59860de97c1c38bdce12b35a07d5ecc3c8136b4ad44f6af75.zip -d/mnt/d/my_project/vcpkg_installed/x64-linux or just drag'n'drop from 7zip), the file doesn't get corrupted.
I suspect the real problem is not in unpacking, but in transferring files between packages/ dir and vcpkg_installed/ dir.
I also suspect that this is a regression because I was able to link against the library before updating ~2 months old vcpkg instance.
Maybe microsoft/vcpkg-tool#205? @BillyONeal
Environment
To Reproduce
- Install WSL2 on C:/ (this is default)
- Put
vcpkg.json on D:/
- From inside WSL run
./vcpkg install qt5-webkit --overlay-ports=vcpkg_overlay_ports --overlay-triplets=vcpkg_overlay_triplets --debug
- After successful build remove
~/vcpkg/packages/ and vcpkg_installed folders.
- Repeat the command from 3.
- Compare sizes of
vcpkg_installed/lib/libQt5WebKit.so.5.212.0
I've attached overlay ports and triplets I used to build the library, as well as vcpkg.json and vcpkg-configuration.json.
qt5-base overlay port and x64-linux triplets are probably not needed but I attached them anyway. (both contain rpath fixes but I think the issue can be reproduced with official x64-linux triplet).
vcpkg_overlay_ports_triplets.zip
Failure logs
No errors reported.
Additional context

Describe the bug
I'm building
qt5-webkitforx64-linux-dynamic. The build is successful and vcpkg kindly creates binary cache for it. However, when I restore the library from cache, one file gets corrupted (truncated from 2.7gb to exactly 2gb, see screenshot). If I manually unpack the archive (e.g.unzip -qq /home/osyotr/.cache/vcpkg/archives/7b/7bc45507c4cc57f59860de97c1c38bdce12b35a07d5ecc3c8136b4ad44f6af75.zip -d/mnt/d/my_project/vcpkg_installed/x64-linuxor just drag'n'drop from 7zip), the file doesn't get corrupted.I suspect the real problem is not in unpacking, but in transferring files between
packages/dir andvcpkg_installed/dir.I also suspect that this is a regression because I was able to link against the library before updating ~2 months old vcpkg instance.
Maybe microsoft/vcpkg-tool#205? @BillyONeal
Environment
To Reproduce
vcpkg.jsonon D:/./vcpkg install qt5-webkit --overlay-ports=vcpkg_overlay_ports --overlay-triplets=vcpkg_overlay_triplets --debug~/vcpkg/packages/andvcpkg_installedfolders.vcpkg_installed/lib/libQt5WebKit.so.5.212.0I've attached overlay ports and triplets I used to build the library, as well as
vcpkg.jsonandvcpkg-configuration.json.qt5-baseoverlay port andx64-linuxtriplets are probably not needed but I attached them anyway. (both contain rpath fixes but I think the issue can be reproduced with official x64-linux triplet).vcpkg_overlay_ports_triplets.zip
Failure logs
No errors reported.
Additional context
