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

Update metadata for release of Stack 2.15.7 #212

Closed
mpilgrem opened this issue May 12, 2024 · 8 comments
Closed

Update metadata for release of Stack 2.15.7 #212

mpilgrem opened this issue May 12, 2024 · 8 comments

Comments

@mpilgrem
Copy link
Collaborator

No description provided.

@hasufell
Copy link
Member

I'll still have to do the release proper.

@hasufell
Copy link
Member

hasufell commented May 15, 2024

@mpilgrem Trying to build my own release binaries I'm running into yet another round of unrecognized arguments:

shake: unrecognized option `--stack-args'
shake: unrecognized option `--docker-stack-exe=image'

CI run: https://github.com/stable-haskell/stack/actions/runs/9096709008/job/25002761547#step:4:229

The code: https://github.com/stable-haskell/stack/blob/65c0523b6e63252c9ee6e07ae41a15a1469f107e/.github/workflows/integration-tests.yml#L166-L175

@mpilgrem
Copy link
Collaborator Author

I'll have a look and see if I can help.

@mpilgrem
Copy link
Collaborator Author

mpilgrem commented May 15, 2024

I think I can help. In short, your CI is copying the release.hs command in Stack's master branch CI, but applying it to the release.hs Haskell script in Stack's tag v2.15.7 CI.

Taking the above step-by-step:

This is being built using this release.hs Haskell script:

but you are using this command in your CI:

  • etc/scripts/release.hs build --allow-dirty --alpine --stack-args --docker-stack-exe=image

That command is, however, only applicable to this release.hs Haskell script:

The equivalent command in Stack's v2.15.7 CI is:

  • /usr/local/bin/stack etc/scripts/release.hs build --alpine --build-args --docker-stack-exe=image

EDIT: This has likely arisen because, usually, Stack releases are from the master branch but, unusually, I have been backporting bug fixes only to Stack 2.15.x because I did not want to accelerate the release of 'Stack 3.1' (because it drops GHC < 8.4).

@hasufell
Copy link
Member

hasufell commented May 18, 2024

Now windows fails consistently: https://github.com/stable-haskell/stack/actions/runs/9131900548/job/25113740587#step:5:155

This is new.

Error: [S-7282]
       Stack failed to execute the build plan.
       
       While executing the build plan, Stack encountered the following errors:
       
       Received ExitFailure 1 when running
       Raw command: "C:\\Users\\runneradmin\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-9.6.5\\bin\\ghc-pkg-9.6.5.exe" --user --no-user-package-db --package-db "C:\\Users\\runneradmin\\AppData\\Roaming\\stack\\snapshots\\7e598327\\pkgdb" describe --simple-output js-flot --expand-pkgroot

@hasufell
Copy link
Member

Any ideas @mpilgrem ?

@mpilgrem
Copy link
Collaborator Author

@hasufell, yes. I think clearing the CI cache will fix this - it did on Stack's own repository: see commercialhaskell/stack#6582 (comment).

@hasufell
Copy link
Member

#216

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

No branches or pull requests

2 participants