commercialhaskell / stack

The Haskell Tool Stack
http://haskellstack.org
BSD 3-Clause "New" or "Revised" License
3.95k stars 842 forks source link

The impossible happened! (MacOS only) #6477

Closed hanjoosten closed 4 months ago

hanjoosten commented 5 months ago

General summary/comments (optional)

During the release of ampersand v5.0.1, a build step failed for the macOS build only. The error message was:

Error: [S-7282]
       Stack failed to execute the build plan.

       While executing the build plan, Stack encountered the error:

       Error: [S-6739]
       The impossible happened! singleBuild: multiple results when describing installed package (PackageName "ampersand",[DumpPackage {dpGhcPkgId = "ampersand-5.0.1-G6syaMm3Din5CQNCRZEFuf", dpPackageIdent = PackageIdentifier {pkgName = PackageName "ampersand", pkgVersion = mkVersion [5,0,1]}, dpParentLibIdent = Nothing, dpLicense = Nothing, dpLibDirs = ["/Users/runner/work/Ampersand/Ampersand/.stack-work/install/x86_64-osx/e38ef8faad719f0bc623cab06431628fd916945e99a14c5ff0f6c51dafea4aea/8.10.7/lib/x86_64-osx-ghc-8.10.7/ampersand-5.0.1-G6syaMm3Din5CQNCRZEFuf"], dpLibraries = ["HSampersand-5.0.1-G6syaMm3Din5CQNCRZEFuf"], dpHasExposedModules = True, dpExposedModules = fromList [ModuleName "Ampersand",ModuleName "Ampersand.ADL1",ModuleName "Ampersand.ADL1.Disambiguate",ModuleName "Ampersand.ADL1.Expression",ModuleName "Ampersand.ADL1.Lattices",ModuleName "Ampersand.ADL1.P2A_Converters",ModuleName "Ampersand.ADL1.PrettyPrinters",ModuleName "Ampersand.ADL1.Rule",ModuleName "Ampersand.Basics",ModuleName "Ampersand.Basics.Auxiliaries",ModuleName "Ampersand.Basics.BuildInfo_Generated",ModuleName "Ampersand.Basics.Exit",ModuleName "Ampersand.Basics.Languages",ModuleName "Ampersand.Basics.PandocExtended",ModuleName "Ampersand.Basics.Prelude",ModuleName "Ampersand.Basics.String",ModuleName "Ampersand.Basics.Unique",ModuleName "Ampersand.Basics.Version",ModuleName "Ampersand.Classes",ModuleName "Ampersand.Classes.ConceptStructure",ModuleName "Ampersand.Classes.Relational",ModuleName "Ampersand.Classes.ViewPoint",ModuleName "Ampersand.Core.A2P_Converters",ModuleName "Ampersand.Core.AbstractSyntaxTree",ModuleName "Ampersand.Core.ParseTree",ModuleName "Ampersand.Core.ShowAStruct",ModuleName "Ampersand.Core.ShowPStruct",ModuleName "Ampersand.FSpec",ModuleName "Ampersand.FSpec.Crud",ModuleName "Ampersand.FSpec.FSpec",ModuleName "Ampersand.FSpec.FSpecAux",ModuleName "Ampersand.FSpec.GenerateUML",ModuleName "Ampersand.FSpec.MetaModels",ModuleName "Ampersand.FSpec.Motivations",ModuleName "Ampersand.FSpec.SQL",ModuleName "Ampersand.FSpec.ShowHS",ModuleName "Ampersand.FSpec.ShowMeatGrinder",ModuleName "Ampersand.FSpec.ToFSpec.ADL2FSpec",ModuleName "Ampersand.FSpec.ToFSpec.ADL2Plug",ModuleName "Ampersand.FSpec.ToFSpec.Calc",ModuleName "Ampersand.FSpec.ToFSpec.CreateFspec",ModuleName "Ampersand.FSpec.ToFSpec.NormalForms",ModuleName "Ampersand.FSpec.ToFSpec.Populated",ModuleName "Ampersand.FSpec.Transformers",ModuleName "Ampersand.Graphic.ClassDiag2Dot",ModuleName "Ampersand.Graphic.ClassDiagram",ModuleName "Ampersand.Graphic.Fspec2ClassDiagrams",ModuleName "Ampersand.Graphic.Graphics",ModuleName "Ampersand.Input",ModuleName "Ampersand.Input.ADL1.CtxError",ModuleName "Ampersand.Input.ADL1.FilePos",ModuleName "Ampersand.Input.ADL1.Lexer",ModuleName "Ampersand.Input.ADL1.LexerMessage",ModuleName "Ampersand.Input.ADL1.LexerMonad",ModuleName "Ampersand.Input.ADL1.LexerTexts",ModuleName "Ampersand.Input.ADL1.LexerToken",ModuleName "Ampersand.Input.ADL1.Parser",ModuleName "Ampersand.Input.ADL1.ParsingLib",ModuleName "Ampersand.Input.Parsing",ModuleName "Ampersand.Input.PreProcessor",ModuleName "Ampersand.Input.Xslx.XLSX",ModuleName "Ampersand.Misc.Commands",ModuleName "Ampersand.Misc.HasClasses",ModuleName "Ampersand.Options.GlobalParser",ModuleName "Ampersand.Options.LogLevelParser",ModuleName "Ampersand.Options.Utils",ModuleName "Ampersand.Output",ModuleName "Ampersand.Output.FSpec2Pandoc",ModuleName "Ampersand.Output.FSpec2SQL",ModuleName "Ampersand.Output.PandocAux",ModuleName "Ampersand.Output.Population2Xlsx",ModuleName "Ampersand.Output.ToJSON.Concepts",ModuleName "Ampersand.Output.ToJSON.Conjuncts",ModuleName "Ampersand.Output.ToJSON.Interfaces",ModuleName "Ampersand.Output.ToJSON.JSONutils",ModuleName "Ampersand.Output.ToJSON.Populations",ModuleName "Ampersand.Output.ToJSON.Relations",ModuleName "Ampersand.Output.ToJSON.Roles",ModuleName "Ampersand.Output.ToJSON.Rules",ModuleName "Ampersand.Output.ToJSON.Settings",ModuleName "Ampersand.Output.ToJSON.ToJson",ModuleName "Ampersand.Output.ToJSON.Views",ModuleName "Ampersand.Output.ToPandoc",ModuleName "Ampersand.Output.ToPandoc.ChapterConceptualAnalysis",ModuleName "Ampersand.Output.ToPandoc.ChapterDataAnalysis",ModuleName "Ampersand.Output.ToPandoc.ChapterDiagnosis",ModuleName "Ampersand.Output.ToPandoc.ChapterIntroduction",ModuleName "Ampersand.Output.ToPandoc.ChapterNatLangReqs",ModuleName "Ampersand.Output.ToPandoc.SharedAmongChapters",ModuleName "Ampersand.Prototype.GenAngularFrontend",ModuleName "Ampersand.Prototype.GenAngularJSFrontend",ModuleName "Ampersand.Prototype.GenBackend",ModuleName "Ampersand.Prototype.GenFrontend",ModuleName "Ampersand.Prototype.PHP",ModuleName "Ampersand.Prototype.ProtoUtil",ModuleName "Ampersand.Prototype.StaticFiles_Generated",ModuleName "Ampersand.Prototype.TableSpec",ModuleName "Ampersand.Prototype.ValidateSQL",ModuleName "Ampersand.Runners",ModuleName "Ampersand.Test",ModuleName "Ampersand.Test.Parser.ArbitraryTree",ModuleName "Ampersand.Test.Parser.ParserTest",ModuleName "Ampersand.Test.Parser.QuickChecks",ModuleName "Ampersand.Test.Regression",ModuleName "MainApps",ModuleName "Options.Applicative.Builder.Extra"], dpDepends = ["HStringTemplate-0.8.8-BPHQQ3oUZloKErDC0R5Ydt","QuickCheck-2.14.2-9znbJPXXIAU5zq9aq8lWOx","SpreadsheetML-0.1-HG1IRZRC0wCKMF6TtmeJWv","aeson-1.5.6.0-DkwLMaMFAoKEbTeMR8x6ex","aeson-pretty-0.8.9-1ir0sp290d4DcaYNeJ5ao8","ansi-terminal-0.11.1-7Ay3GOLqEx054eLPVC3r8i","base-4.14.3.0","bytestring-0.10.12.0","casing-0.1.4.1-1AxxkpcOOOtCySgqIdcwn9","conduit-1.3.4.2-FhfoCHQa6bOAG0tHoVSqCx","containers-0.6.5.1","cryptonite-0.29-63dMBHuNu3H3N5FcvBetCg","data-default-0.7.1.1-DOyVwytuzy9Fwi5UgA2jyk","directory-1.3.6.0","doctemplates-0.9-1zoUY4axNXeHdIh5L3uQxO","extra-1.7.9-2Ph9pz9PW2uDC0c2pZe5vt","filepath-1.4.2.1","fsnotify-0.3.0.1-G9r4HDqZ4cDLSU3oIiMxnu","generic-deriving-1.14.1-126lThYQ1I19LJoCUO3kPI","graphviz-2999.20.1.0-LxTcBNqqTmh5ooRFc8LdHp","hashable-1.3.0.0-48nQGhB14xmEiMcOs1PHxb","http-conduit-2.3.8-JdeACdJj2ODKti3iaRsGIE","hxt-9.3.1.22-H8bpQFNpACR2IxaUV9xUw5","lens-4.19.2-78nE3VPw2FvICtlcJy5Z6x","mtl-2.2.2","optparse-applicative-0.16.1.0-J9pe7lIyD46z3hHrAJC9C","pandoc-2.14.0.3-6joTsYBMm8MGVMIoSHuBa7","pandoc-crossref-0.3.12.1-B6UYduPruxD92SvLHdfXgG","pandoc-types-1.22.1-6fVvCcPwFMsJAUDrzKMsE6","parsec-3.1.14.0","process-1.6.13.2","quickcheck-instances-0.3.25.2-BedoM9I6wD6BUtwsjFfimb","rio-0.1.21.0-ItTRNedzS6wBlELkPXsOxY","salve-1.0.11-GMuxGwStJNzHrI5NpO6GPM","simple-sql-parser-0.4.4-8rW3Cn0Fv2RDiBayLphbVD","split-0.2.3.4-IUvATEEGVazHDL4WYDj96v","terminal-size-0.3.2.1-uQDnoAxQ6BAjNai4AQyGS","texmath-0.12.3.3-GBlVzQUKsBM6EXajN9GAGV","text-1.2.4.1","text1-0.0.7.4-Bu6wJN0NUae2zkFBArjK9c","time-1.9.3","transformers-0.5.6.2","typed-process-0.2.8.0-LMgnVRi4CyP1975EdLM1j0","unix-2.7.2.2","uri-encode-1.5.0.7-KHGlfHM9wZk7ZHSXmRnhCY","wl-pprint-1.2.1-BSK2soCldEN5K5fd7dGuSr","xlsx-0.8.4-5Ou5zACMlXiDMWMt7qPnL8","yaml-0.11.8.0-CRpN7OXv80UFMs2ObQf7BI","yaml-config-0.4.0-9L3KwA3AsPHJQzxEmIsoC1","zip-archive-0.4.2.1-7mVsz5yr3JOCWpBQvEVsWY"], dpHaddockInterfaces = ["/Users/runner/work/Ampersand/Ampersand/.stack-work/install/x86_64-osx/e38ef8faad719f0bc623cab06431628fd916945e99a14c5ff0f6c51dafea4aea/8.10.7/doc/ampersand-5.0.1/ampersand.haddock"], dpHaddockHtml = Just "/Users/runner/work/Ampersand/Ampersand/.stack-work/install/x86_64-osx/e38ef8faad719f0bc623cab06431628fd916945e99a14c5ff0f6c51dafea4aea/8.10.7/doc/ampersand-5.0.1", dpIsExposed = True},DumpPackage {dpGhcPkgId = "ampersand-5.0.0-AQQ0gklhJa5L1ps1ZBcR0S", dpPackageIdent = PackageIdentifier {pkgName = PackageName "ampersand", pkgVersion = mkVersion [5,0,0]}, dpParentLibIdent = Nothing, dpLicense = Nothing, dpLibDirs = ["/Users/runner/work/Ampersand/Ampersand/.stack-work/install/x86_64-osx/e38ef8faad719f0bc623cab06431628fd916945e99a14c5ff0f6c51dafea4aea/8.10.7/lib/x86_64-osx-ghc-8.10.7/ampersand-5.0.0-AQQ0gklhJa5L1ps1ZBcR0S"], dpLibraries = ["HSampersand-5.0.0-AQQ0gklhJa5L1ps1ZBcR0S"], dpHasExposedModules = True, dpExposedModules = fromList [ModuleName "Ampersand",ModuleName "Ampersand.ADL1",ModuleName "Ampersand.ADL1.Disambiguate",ModuleName "Ampersand.ADL1.Expression",ModuleName "Ampersand.ADL1.Lattices",ModuleName "Ampersand.ADL1.P2A_Converters",ModuleName "Ampersand.ADL1.PrettyPrinters",ModuleName "Ampersand.ADL1.Rule",ModuleName "Ampersand.Basics",ModuleName "Ampersand.Basics.Auxiliaries",ModuleName "Ampersand.Basics.BuildInfo_Generated",ModuleName "Ampersand.Basics.Exit",ModuleName "Ampersand.Basics.Languages",ModuleName "Ampersand.Basics.PandocExtended",ModuleName "Ampersand.Basics.Prelude",ModuleName "Ampersand.Basics.String",ModuleName "Ampersand.Basics.Unique",ModuleName "Ampersand.Basics.Version",ModuleName "Ampersand.Classes",ModuleName "Ampersand.Classes.ConceptStructure",ModuleName "Ampersand.Classes.Relational",ModuleName "Ampersand.Classes.ViewPoint",ModuleName "Ampersand.Core.A2P_Converters",ModuleName "Ampersand.Core.AbstractSyntaxTree",ModuleName "Ampersand.Core.ParseTree",ModuleName "Ampersand.Core.ShowAStruct",ModuleName "Ampersand.Core.ShowPStruct",ModuleName "Ampersand.FSpec",ModuleName "Ampersand.FSpec.Crud",ModuleName "Ampersand.FSpec.FSpec",ModuleName "Ampersand.FSpec.FSpecAux",ModuleName "Ampersand.FSpec.GenerateUML",ModuleName "Ampersand.FSpec.MetaModels",ModuleName "Ampersand.FSpec.Motivations",ModuleName "Ampersand.FSpec.SQL",ModuleName "Ampersand.FSpec.ShowHS",ModuleName "Ampersand.FSpec.ShowMeatGrinder",ModuleName "Ampersand.FSpec.ToFSpec.ADL2FSpec",ModuleName "Ampersand.FSpec.ToFSpec.ADL2Plug",ModuleName "Ampersand.FSpec.ToFSpec.Calc",ModuleName "Ampersand.FSpec.ToFSpec.CreateFspec",ModuleName "Ampersand.FSpec.ToFSpec.NormalForms",ModuleName "Ampersand.FSpec.ToFSpec.Populated",ModuleName "Ampersand.FSpec.Transformers",ModuleName "Ampersand.Graphic.ClassDiag2Dot",ModuleName "Ampersand.Graphic.ClassDiagram",ModuleName "Ampersand.Graphic.Fspec2ClassDiagrams",ModuleName "Ampersand.Graphic.Graphics",ModuleName "Ampersand.Input",ModuleName "Ampersand.Input.ADL1.CtxError",ModuleName "Ampersand.Input.ADL1.FilePos",ModuleName "Ampersand.Input.ADL1.Lexer",ModuleName "Ampersand.Input.ADL1.LexerMessage",ModuleName "Ampersand.Input.ADL1.LexerMonad",ModuleName "Ampersand.Input.ADL1.LexerTexts",ModuleName "Ampersand.Input.ADL1.LexerToken",ModuleName "Ampersand.Input.ADL1.Parser",ModuleName "Ampersand.Input.ADL1.ParsingLib",ModuleName "Ampersand.Input.Parsing",ModuleName "Ampersand.Input.PreProcessor",ModuleName "Ampersand.Input.Xslx.XLSX",ModuleName "Ampersand.Misc.Commands",ModuleName "Ampersand.Misc.HasClasses",ModuleName "Ampersand.Options.GlobalParser",ModuleName "Ampersand.Options.LogLevelParser",ModuleName "Ampersand.Options.Utils",ModuleName "Ampersand.Output",ModuleName "Ampersand.Output.FSpec2Pandoc",ModuleName "Ampersand.Output.FSpec2SQL",ModuleName "Ampersand.Output.PandocAux",ModuleName "Ampersand.Output.Population2Xlsx",ModuleName "Ampersand.Output.ToJSON.Concepts",ModuleName "Ampersand.Output.ToJSON.Conjuncts",ModuleName "Ampersand.Output.ToJSON.Interfaces",ModuleName "Ampersand.Output.ToJSON.JSONutils",ModuleName "Ampersand.Output.ToJSON.Populations",ModuleName "Ampersand.Output.ToJSON.Relations",ModuleName "Ampersand.Output.ToJSON.Roles",ModuleName "Ampersand.Output.ToJSON.Rules",ModuleName "Ampersand.Output.ToJSON.Settings",ModuleName "Ampersand.Output.ToJSON.ToJson",ModuleName "Ampersand.Output.ToJSON.Views",ModuleName "Ampersand.Output.ToPandoc",ModuleName "Ampersand.Output.ToPandoc.ChapterConceptualAnalysis",ModuleName "Ampersand.Output.ToPandoc.ChapterDataAnalysis",ModuleName "Ampersand.Output.ToPandoc.ChapterDiagnosis",ModuleName "Ampersand.Output.ToPandoc.ChapterIntroduction",ModuleName "Ampersand.Output.ToPandoc.ChapterNatLangReqs",ModuleName "Ampersand.Output.ToPandoc.SharedAmongChapters",ModuleName "Ampersand.Prototype.GenAngularFrontend",ModuleName "Ampersand.Prototype.GenAngularJSFrontend",ModuleName "Ampersand.Prototype.GenBackend",ModuleName "Ampersand.Prototype.GenFrontend",ModuleName "Ampersand.Prototype.PHP",ModuleName "Ampersand.Prototype.ProtoUtil",ModuleName "Ampersand.Prototype.StaticFiles_Generated",ModuleName "Ampersand.Prototype.TableSpec",ModuleName "Ampersand.Prototype.ValidateSQL",ModuleName "Ampersand.Runners",ModuleName "Ampersand.Test",ModuleName "Ampersand.Test.Parser.ArbitraryTree",ModuleName "Ampersand.Test.Parser.ParserTest",ModuleName "Ampersand.Test.Parser.QuickChecks",ModuleName "Ampersand.Test.Regression",ModuleName "MainApps",ModuleName "Options.Applicative.Builder.Extra"], dpDepends = ["HStringTemplate-0.8.8-BPHQQ3oUZloKErDC0R5Ydt","QuickCheck-2.14.2-9znbJPXXIAU5zq9aq8lWOx","SpreadsheetML-0.1-HG1IRZRC0wCKMF6TtmeJWv","aeson-1.5.6.0-DkwLMaMFAoKEbTeMR8x6ex","aeson-pretty-0.8.9-1ir0sp290d4DcaYNeJ5ao8","ansi-terminal-0.11.1-7Ay3GOLqEx054eLPVC3r8i","base-4.14.3.0","bytestring-0.10.12.0","casing-0.1.4.1-1AxxkpcOOOtCySgqIdcwn9","conduit-1.3.4.2-FhfoCHQa6bOAG0tHoVSqCx","containers-0.6.5.1","cryptonite-0.29-63dMBHuNu3H3N5FcvBetCg","data-default-0.7.1.1-DOyVwytuzy9Fwi5UgA2jyk","directory-1.3.6.0","doctemplates-0.9-1zoUY4axNXeHdIh5L3uQxO","extra-1.7.9-2Ph9pz9PW2uDC0c2pZe5vt","filepath-1.4.2.1","fsnotify-0.3.0.1-G9r4HDqZ4cDLSU3oIiMxnu","generic-deriving-1.14.1-126lThYQ1I19LJoCUO3kPI","graphviz-2999.20.1.0-LxTcBNqqTmh5ooRFc8LdHp","hashable-1.3.0.0-48nQGhB14xmEiMcOs1PHxb","http-conduit-2.3.8-JdeACdJj2ODKti3iaRsGIE","hxt-9.3.1.22-H8bpQFNpACR2IxaUV9xUw5","lens-4.19.2-78nE3VPw2FvICtlcJy5Z6x","mtl-2.2.2","optparse-applicative-0.16.1.0-J9pe7lIyD46z3hHrAJC9C","pandoc-2.14.0.3-6joTsYBMm8MGVMIoSHuBa7","pandoc-crossref-0.3.12.1-B6UYduPruxD92SvLHdfXgG","pandoc-types-1.22.1-6fVvCcPwFMsJAUDrzKMsE6","parsec-3.1.14.0","process-1.6.13.2","quickcheck-instances-0.3.25.2-BedoM9I6wD6BUtwsjFfimb","rio-0.1.21.0-ItTRNedzS6wBlELkPXsOxY","salve-1.0.11-GMuxGwStJNzHrI5NpO6GPM","simple-sql-parser-0.4.4-8rW3Cn0Fv2RDiBayLphbVD","split-0.2.3.4-IUvATEEGVazHDL4WYDj96v","terminal-size-0.3.2.1-uQDnoAxQ6BAjNai4AQyGS","texmath-0.12.3.3-GBlVzQUKsBM6EXajN9GAGV","text-1.2.4.1","text1-0.0.7.4-Bu6wJN0NUae2zkFBArjK9c","time-1.9.3","transformers-0.5.6.2","typed-process-0.2.8.0-LMgnVRi4CyP1975EdLM1j0","unix-2.7.2.2","uri-encode-1.5.0.7-KHGlfHM9wZk7ZHSXmRnhCY","wl-pprint-1.2.1-BSK2soCldEN5K5fd7dGuSr","xlsx-0.8.4-5Ou5zACMlXiDMWMt7qPnL8","yaml-0.11.8.0-CRpN7OXv80UFMs2ObQf7BI","yaml-config-0.4.0-9L3KwA3AsPHJQzxEmIsoC1","zip-archive-0.4.2.1-7mVsz5yr3JOCWpBQvEVsWY"], dpHaddockInterfaces = ["/Users/runner/work/Ampersand/Ampersand/.stack-work/install/x86_64-osx/e38ef8faad719f0bc623cab06431628fd916945e99a14c5ff0f6c51dafea4aea/8.10.7/doc/ampersand-5.0.0/ampersand.haddock"], dpHaddockHtml = Just "/Users/runner/work/Ampersand/Ampersand/.stack-work/install/x86_64-osx/e38ef8faad719f0bc623cab06431628fd916945e99a14c5ff0f6c51dafea4aea/8.10.7/doc/ampersand-5.0.0", dpIsExposed = True}]) Please report this bug at Stack's repository.
Error: Process completed with exit code 1.

Steps to reproduce

This happend at GitHub. The log can be viewed here: https://github.com/AmpersandTarski/Ampersand/actions/runs/7783988346/job/21223606807

Expected

I expect the build for macOS to succeed, as do the windows and linux builds of the same code.

Actual

The build failed with an error that requests to file an issue.

mpilgrem commented 5 months ago

@hanjoosten, thanks for reporting. I'll look into that. It looks like Stack has found two registered packages named ampersand: ampersand-5.0.1-G6syaMm3Din5CQNCRZEFuf (which it has just built and registered) and ampersand-5.0.0-AQQ0gklhJa5L1ps1ZBcR0S (not sure where that has come from - a cache?). That is supposed to be impossible because Stack is supposed to unregister local packages.

mpilgrem commented 5 months ago

@hanjoosten, if that was not a one-off glitch and is repeatable, could you possibly temporarily add the --verbose flag to Stack's build step in your workflow : stack --verbose .... The extra information in the output may assist.

hanjoosten commented 5 months ago

Thanks for looking into this. I remember bumping in an 'The impossible happend!' error some time ago. Then it helped to just rerun the GitHub job once again. It is likely to be related to caching. The job is defined here.

I don't want to disturb the log, so I created a new branch, from witch I will do some test releases. I will add the --verbose flag. Do you have access to the logs? In that case I can provide the links instead of copying.

mpilgrem commented 5 months ago

@hanjoosten, a link to the logs is fine.

hanjoosten commented 4 months ago

I cannot reproduce this in a new commit. However, a new attempt to do the same build (on the same commit) gave another error message: https://github.com/AmpersandTarski/Ampersand/actions/runs/7783988346/job/21788803189. This is the same run as the one of the first attemtp

mpilgrem commented 4 months ago

@hanjoosten, looking at the line:

/Users/runner/.ghcup/bin/stack upgrade

That looks to me to be problematic. If you are using GHCup to manage Stack versions, you cannot use stack upgrade. That is because GHCup uses an small executable named stack and stack upgrade will overwrite it with Stack.

mpilgrem commented 4 months ago

@hanjoosten, I am going to close this issue. If the new error persists, please can you raise it as a distinct issue.

hanjoosten commented 4 months ago

I tried to reproduce, but without luck. Maybe next time. Thanks for the effort, @mpilgrem