Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows build in Github Actions #3075

Closed
wants to merge 1 commit into from

Conversation

newhoggy
Copy link
Contributor

Adds --allow-empty-checksums to fix this error:

WARNING: Missing package checksums are not allowed (by default for HTTP/FTP, 
 HTTPS when feature 'allowEmptyChecksumsSecure' is disabled) for 
 safety and security reasons. Although we strongly advise against it, 
 if you need this functionality, please set the feature 
 'allowEmptyChecksums' ('choco feature enable -n 
 allowEmptyChecksums') 
 or pass in the option '--allow-empty-checksums'. You can also pass 
 checksums at runtime (recommended). See choco install -? for details.
The integrity of the file 'pkg-config-lite-0.28-1_bin-win32.zip' from 'http://downloads.sourceforge.net/project/pkgconfiglite/0.28-1/pkg-config-lite-0.28-1_bin-win32.zip' has not been verified by a checksum in the package scripts.
Do you wish to allow the install to continue (not recommended)?
[Y] Yes [N] No (default is "N")
  Confirmation (`-y`) is set.
  Respond within 30 seconds or the default selection will be chosen.
ERROR: Empty checksums are no longer allowed by default for non-secure sources. Please ask the maintainer to add checksums to this package. In the meantime if you need this package to work correctly, please enable the feature allowEmptyChecksums, provide the runtime switch '--allow-empty-checksums', or pass in checksums at runtime (recommended - see 'choco install -?' / 'choco upgrade -?' for details). It is strongly advised against allowing empty checksums for non-internal HTTP/FTP sources.
The install of pkgconfiglite was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\pkgconfiglite\tools\chocolateyInstall.ps1'.
 See log for details.

@newhoggy newhoggy requested review from coot and a team as code owners April 21, 2021 10:13
@newhoggy newhoggy closed this Apr 21, 2021
@newhoggy newhoggy deleted the fix-windows-build-in-github-actions branch April 21, 2021 12:27
iohk-bors bot added a commit that referenced this pull request Jul 13, 2022
3896: Fix chocolatey error in GH Actions Windows CI r=amesgen a=amesgen

# Description

Like #3075, in order to fix the current CI issue, see e.g. #3891 (comment)



Co-authored-by: amesgen <[email protected]>
nfrisby pushed a commit that referenced this pull request Jul 21, 2022
3896: Fix chocolatey error in GH Actions Windows CI r=amesgen a=amesgen

# Description

Like #3075, in order to fix the current CI issue, see e.g. #3891 (comment)



Co-authored-by: amesgen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant