Skip to content

Commit 9734fe4

Browse files
committed
build: Allow downloading pkgconfiglite with empty checksum (v1.82.x backport) (#12957)
Backport of #12918 to v1.82.x. --- 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/b32524b5-094a-4afb-8e46-1b3aa35e413b/targets/grpc%2Fjava%2Fv1.82.x%2Fbranch%2Fwindows;config=default/log
1 parent 7e6e130 commit 9734fe4

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)