Skip to content

Partial fix #6170 Move nextPrompt after replCommand #6174

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

Merged
merged 2 commits into from
Jun 26, 2023
Merged

Conversation

mpilgrem
Copy link
Member

  • Any changes that could be relevant to users have been recorded in ChangeLog.md.
  • The documentation has been updated, if necessary

Please also shortly describe how you tested your change. Bonus points for added tests!

@mpilgrem mpilgrem changed the title Fix #6170 Move nextPrompt after replCommand Partial fix #6170 Move nextPrompt after replCommand Jun 25, 2023
@mpilgrem
Copy link
Member Author

3926-ghci-with-sublibraries is still problematic, failing with (extact):

2023-06-24T17:21:03.1014837Z Running: D:\a\stack\stack\_release\bin\stack-2.12.0-windows-x86_64\stack.exe clean
2023-06-24T17:21:03.1015335Z Copy "src/Lib.v1" to "src/Lib.hs"
2023-06-24T17:21:03.1015781Z Copy "src-internal/Internal.v1" to "src-internal/Internal.hs"
2023-06-24T17:21:03.1016345Z Running: D:\a\stack\stack\_release\bin\stack-2.12.0-windows-x86_64\stack.exe build
2023-06-24T17:21:03.1017378Z Cabal file warning in C:\Users\runneradmin\AppData\Local\Temp\stack-integration-3926-ghci-with-sublibraries6612\files.cabal@4:23: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 2.0'.
2023-06-24T17:21:03.1018544Z [1 of 2] Compiling Main             ( C:\Users\runneradmin\AppData\Local\Temp\home6612\.stack\setup-exe-src\setup-9p6GVs8J.hs, C:\Users\runneradmin\AppData\Local\Temp\home6612\.stack\setup-exe-src\setup-9p6GVs8J.o )
2023-06-24T17:21:03.1019671Z [2 of 2] Compiling StackSetupShim   ( C:\Users\runneradmin\AppData\Local\Temp\home6612\.stack\setup-exe-src\setup-shim-9p6GVs8J.hs, C:\Users\runneradmin\AppData\Local\Temp\home6612\.stack\setup-exe-src\setup-shim-9p6GVs8J.o )
2023-06-24T17:21:03.1020558Z Linking C:\Users\runneradmin\AppData\Local\Temp\home6612\.stack\setup-exe-cache\x86_64-windows\tmp-Cabal-simple_9p6GVs8J_3.6.3.0_ghc-9.2.7.exe ...
2023-06-24T17:21:03.1021180Z Building all executables for files once. After a successful build of all of them, only specified
2023-06-24T17:21:03.1021606Z executables will be rebuilt.
2023-06-24T17:21:03.1022035Z files> configure (lib + internal-lib + exe)
2023-06-24T17:21:03.1022507Z Warning: files.cabal:4:23: Packages with 'cabal-version: 1.12' or later should
2023-06-24T17:21:03.1023063Z specify a specific version of the Cabal spec of the form 'cabal-version: x.y'.
2023-06-24T17:21:03.1023518Z Use 'cabal-version: 2.0'.
2023-06-24T17:21:03.1024016Z Configuring files-0.1.0.0...
2023-06-24T17:21:03.1024394Z files> build (lib + internal-lib + exe)
2023-06-24T17:21:03.1024849Z Preprocessing library 'lib' for files-0.1.0.0..
2023-06-24T17:21:03.1025296Z Building library 'lib' for files-0.1.0.0..
2023-06-24T17:21:03.1025647Z [1 of 1] Compiling Internal
2023-06-24T17:21:03.1026024Z Preprocessing library for files-0.1.0.0..
2023-06-24T17:21:03.1026455Z Building library for files-0.1.0.0..
2023-06-24T17:21:03.1026801Z [1 of 1] Compiling Lib
2023-06-24T17:21:03.1027218Z Preprocessing executable 'exe' for files-0.1.0.0..
2023-06-24T17:21:03.1027633Z Building executable 'exe' for files-0.1.0.0..
2023-06-24T17:21:03.1027982Z [1 of 1] Compiling Main
2023-06-24T17:21:03.1028423Z Linking .stack-work\dist\74845a76\build\exe\exe.exe ...
2023-06-24T17:21:03.1028743Z files> copy/register
2023-06-24T17:21:03.1029596Z Installing internal library lib in C:\Users\runneradmin\AppData\Local\Temp\stack-integration-3926-ghci-with-sublibraries6612\.stack-work\install\14855842\lib\x86_64-windows-ghc-9.2.7\files-0.1.0.0-DhIkyjs5GEHKWDAaykl3Su-lib
2023-06-24T17:21:03.1030715Z Installing library in C:\Users\runneradmin\AppData\Local\Temp\stack-integration-3926-ghci-with-sublibraries6612\.stack-work\install\14855842\lib\x86_64-windows-ghc-9.2.7\files-0.1.0.0-61G8p8enFPNJ2Bx85iTTst
2023-06-24T17:21:03.1031669Z Installing executable exe in C:\Users\runneradmin\AppData\Local\Temp\stack-integration-3926-ghci-with-sublibraries6612\.stack-work\install\14855842\bin
2023-06-24T17:21:03.1032294Z Registering library 'lib' for files-0.1.0.0..
2023-06-24T17:21:03.1032686Z Registering library for files-0.1.0.0..
2023-06-24T17:21:03.1033221Z Running: D:\a\stack\stack\_release\bin\stack-2.12.0-windows-x86_64\stack.exe repl
2023-06-24T17:21:03.1033806Z Copy "src-internal/Internal.v2" to "src-internal/Internal.hs"
2023-06-24T17:21:03.1034369Z Main.hs: fd:3: hPutChar: resource vanished (Broken pipe)

I am going to (hopefully) temporarily disable that test on Windows.

@mpilgrem mpilgrem merged commit f5ea28e into master Jun 26, 2023
@mpilgrem mpilgrem deleted the fix6170 branch June 26, 2023 20:16
dten pushed a commit to tracsis/stack that referenced this pull request Jul 28, 2023
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