Conversation
|
/azp run |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 6852 in repo microsoft/vcpkg |
|
I don't see what's wrong with this PR, and unfortunately the |
|
@ras0219-msft I've fixed the Linux builds. Windows builds are fine, aside from UWP ones, which fail since one dependency ( |
ports/libqcow/portfile.cmake
Outdated
There was a problem hiding this comment.
Could you usevcpkg_from_github() to replace vcpkg_download_distfile and vcpkg_extract_source_archive_ex() functions?
Also, I noticed that there is another latest release version 20191221.
So would you like to update this to the latest version?
There was a problem hiding this comment.
@NancyLi1013 Unfortunately we need the use releases published at https://github.com/libyal/libqcow/releases since they contain pre-configured files requires to build libqcow on Windows. Although it should be theoretically possible to do that step ourselves, I haven't figured out a sane and easy way to do so.
There was a problem hiding this comment.
Maybe you don't understand my sense correctly.
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libyal/libqcow
REF 20191221
SHA512 de0c5cfad84bbccc9a4144b108c7e022a98d130e829385e69ff00a8750709c9de814410eebfa1c0fc89051cf8f596d87b9bbc8228d99efd8be1c3efdc2b52730
)
This can use the same version as that you provided above.
So I don't know why we cannot update it?
There was a problem hiding this comment.
@NancyLi1013 The code you provided downloads the repo as a .zip, not the release that is published here: https://github.com/libyal/libvmdk/releases
There was a problem hiding this comment.
They should have the same function. Please refer to this doc.
There was a problem hiding this comment.
Hi, I did see the doc and I tried using your code.
They do not have the same function, different files are downloaded.
Nowhere in vcpkg_from_github.cmake is /relases/ mentioned (which is what our URL above contains).
It downloads the source tree as-is (search for /archive/ in the code) instead of the published release that the author manually published, which in this case is different than the source tree.
See the releases's files for an example (using libvmdk here, but same for libqcow):
We are interested in the first file, not the third one which vcpkg_from_github downloads (the /archive/ one).
Edit: Same case for
vcpkg/ports/glew/portfile.cmake
Lines 3 to 9 in f478be7
|
/azp run |
|
All review comments have been addressed with the exception of the last one, as mentioned here: |
|
I noticed that this port failed on Also failed on Could you take a look? |
|
/azp run |
|
/azp run |
|
Hi @AlexAltea |
|
/azp run |
|
Ping @AlexAltea , Is work still being down for this PR? |
Signed-off-by: Alexandro Sanchez Bach <alexandro@phi.nz>
|
/azp run |
|
It seems there are still some regressions for this port. |
|
macOS CI has the same issue as the libvmdk PR: Any help on this, maintainers? I don't even have access to a Mac. |
|
Fixed, see the other PR. Will rebase fixes here once the unrelated geographiclib CI issue is fixed. |

This port is very similar to the libpff port added in #6458, which makes sense since both libraries are part of the same libyal collection (all written by the same author).