Closed JackBoosY closed 3 years ago
This looks like a (virtual) machine misconfiguration issue on their side and ideally should be resolved at the same level, instead of disabling certificate checking by default in gl3w.
The merged workaround microsoft/vcpkg#18858 won't work long-term since glcorearb.h
and khrplatform.h
will keep changing and the hashes won't match.
This looks like a (virtual) machine misconfiguration issue on their side and ideally should be resolved at the same level, instead of disabling certificate checking by default in gl3w.
It isn't a virtual machine misconfiguration, it is Python not trusting Let's Encrypt's new root certificate, and Khronos using Let's Encrypt. Today it works because Let's Encrypt has a peering relationship between another CA, but that will stop working in September and it will be permanently broken (until there's an updated copy of Python or they update their certs or whatever)
See discussion I had with some browser folks about it:
The merged workaround microsoft/vcpkg#18858 won't work long-term since
glcorearb.h
andkhrplatform.h
will keep changing and the hashes won't match.
Then that was already a problem. It is a design rule that installing a port always installs the same contents (unless the version changes). Changed contents needs a changed port-version, so that 2 people who install the same port get the same behavior. We value consistency over availability.
The merged workaround microsoft/vcpkg#18858 won't work long-term since
glcorearb.h
andkhrplatform.h
will keep changing and the hashes won't match.Then that was already a problem. It is a design rule that installing a port always installs the same contents (unless the version changes). Changed contents needs a changed port-version, so that 2 people who install the same port get the same behavior. We value consistency over availability.
Would checking in a patch with glcorearb.h
and khrplatform.h
fixed to some version follow the rules? Occasionally this patch can be replaced with more recently downloaded versions of the headers. gl3w_gen.py
would be perfectly happy using the headers already available on the filesystem.
Would checking in a patch with glcorearb.h and khrplatform.h fixed to some version follow the rules?
That's already done for glcorearb.h
. (It gets injected by another port https://github.com/microsoft/vcpkg/blob/b1b4808228377515acd849b8706ee2ad25ba455d/ports/gl3w/portfile.cmake#L19 ) It would be reasonable to do for khrplatform.h too.
Hi guys, Recently, we got some regression when building gl3w on vcpkg pipeline test. Here is the error log:
But sadly, we couldn't reproduce this issue locally.
Maybe you should disable the certificiation check.
Related: https://github.com/microsoft/vcpkg/pull/18846 https://github.com/microsoft/vcpkg/pull/18194