Skip to content

Commit 6ed9113

Browse files
committed
build: Allow downloading pkgconfiglite with empty checksum (grpc#12918)
Windows build fails (1) with an error "ERROR: Empty checksums are no longer allowed by default for non-secure sources" when trying to download pkgconfiglite 0.28.0 from an unsecure HTTP URL because Chocolatey v2.4.0 has safety features enabled by default, it rejects the package. This PR makes the change to specify the option `--allow-empty-checksums` for installing pkgconfiglite using Chocolatey. 1 - https://btx.cloud.google.com/invocations/db129a01-66e6-42b2-ab92-d849e24d09b2/targets/grpc%2Fjava%2Fv1.83.x%2Fpresubmit%2Fwindows;config=default/log
1 parent b2dd49b commit 6ed9113

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎buildscripts/make_dependencies.bat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
choco install -y pkgconfiglite
1+
choco install -y pkgconfiglite --allow-empty-checksums
22
choco install -y openjdk --version=17.0
33
set PATH=%PATH%;"c:\Program Files\OpenJDK\jdk-17\bin"
44
set PROTOBUF_VER=33.4

0 commit comments

Comments
 (0)