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

cannot build stack anymore #1

Closed
bonds opened this issue Apr 13, 2018 · 1 comment
Closed

cannot build stack anymore #1

bonds opened this issue Apr 13, 2018 · 1 comment

Comments

@bonds
Copy link

bonds commented Apr 13, 2018

Up until a few days ago I was able to build stack using cabal install -j stack on OpenBSD 6.3 amd64. But when I build in on a freshly installed OpenBSD box today I get this error:

scott@fs1 ~ ❯❯❯ cabal install -j stack                                      Fri 2018-04-13 13:31:36 -0700
Resolving dependencies...
Configuring stack-1.6.5...
Building stack-1.6.5...
Failed to install stack-1.6.5
Build log ( /home/scott/.cabal/logs/ghc-8.2.2/stack-1.6.5-HXSpNufMtmdJd6SGVTM5rx.log ):
cabal: Entering directory '/tmp/cabal-tmp-29084/stack-1.6.5'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-29084/stack-1.6.5/dist/setup/setup.hs, /tmp/cabal-tmp-29084/stack-1.6.5/dist/setup/Main.o )
Linking /tmp/cabal-tmp-29084/stack-1.6.5/dist/setup/setup ...
Configuring stack-1.6.5...
Preprocessing library for stack-1.6.5..
Building library for stack-1.6.5..
[  1 of 126] Compiling Hackage.Security.Client.Repository.HttpLib.HttpClient ( src/Hackage/Security/Client/Repository/HttpLib/HttpClient.hs, dist/build/Hackage/Security/Client/Repository/HttpLib/HttpClient.o )
[  2 of 126] Compiling Paths_stack      ( dist/build/autogen/Paths_stack.hs, dist/build/Paths_stack.o )
[  3 of 126] Compiling Stack.Prelude    ( src/Stack/Prelude.hs, dist/build/Stack/Prelude.o )

src/Stack/Prelude.hs:37:1: error:
    Could not find module `Control.Monad.Logger.CallStack'
    Use -v to see a list of the files searched for.
   |
37 | import           Control.Monad.Logger.CallStack
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
cabal: Leaving directory '/tmp/cabal-tmp-29084/stack-1.6.5'
cabal: Error: some packages failed to install:
stack-1.6.5-HXSpNufMtmdJd6SGVTM5rx failed during the building phase. The
exception was:
ExitFailure 1

I noticed that the 'old' box where I'm able to build stack has monad-logger 0.3.28.3 but the new one where it breaks has 0.3.28.4. Further, the new version does NOT export Control.Monad.Logger.CallStack:

diff --git a/./dot-ghc/x86_64-openbsd-8.2.2/package.conf.d/monad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu.conf b/.ghc/x86_64-openbsd-8.2.2/package.conf.d/monad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi.conf
index 6694788..b6112e6 100644
--- a/./dot-ghc/x86_64-openbsd-8.2.2/package.conf.d/monad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu.conf
+++ b/.ghc/x86_64-openbsd-8.2.2/package.conf.d/monad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi.conf
@@ -1,62 +1,64 @@
 name: monad-logger
-version: 0.3.28.3
-id: monad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu
-key: monad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu
+version: 0.3.28.4
+id: monad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi
+key: monad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi
 license: MIT
 maintainer: michael@snoyman.com
-homepage: https://github.com/kazu-yamamoto/logger
+homepage: https://github.com/snoyberg/monad-logger#readme
 synopsis: A class of monads which can log messages.
 description:
-    Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/monad-logger>.
+    See README and Haddocks at <https://www.stackage.org/package/monad-logger>
 category: System
 author: Michael Snoyman
 exposed: True
 indefinite: False
 exposed-modules:
-    Control.Monad.Logger Control.Monad.Logger.CallStack
-abi: 3e8a0971a852ee27c78f2d04a965dbf9
+    Control.Monad.Logger
+hidden-modules: Paths_monad_logger
+abi: 12e7de3fb60e5ebb12e922c2d3c66b98
 trusted: False
-import-dirs: /home/scott/.cabal/lib/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu
-library-dirs: /home/scott/.cabal/lib/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu
+import-dirs: /home/scott/.cabal/lib/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi
+library-dirs: /home/scott/.cabal/lib/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi
               /home/scott/.cabal/lib/x86_64-openbsd-ghc-8.2.2
-data-dir: /home/scott/.cabal/share/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.3
-hs-libraries: HSmonad-logger-0.3.28.3-Fip4VPifzCR6u16gYR98Pu
+data-dir: /home/scott/.cabal/share/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.4
+hs-libraries: HSmonad-logger-0.3.28.4-2Nq7B8sVcV84QiYEZkoLQi
 depends:
-    base-4.10.1.0 transformers-0.5.5.0-1bbDhu8ypp8LC8lJMFju65
-    transformers-compat-0.6.1.6-A2gjYtBYxIRHIvFqnHrCVt
-    text-1.2.3.0-BcISmLFYuX48LxJqafTQTN
-    stm-2.4.5.0-15FdumhhnVEKazIoQZDzp1
-    stm-chans-3.0.0.4-9KWlZojlDY6EOkvWdSsnpZ
-    lifted-base-0.2.3.12-A8Yrq7rFaGQL2krYRPEXJS
-    resourcet-1.1.11-6Rbk8LAwQkIPANKAfvBLn
+    base-4.10.1.0 bytestring-0.10.8.2
     conduit-1.2.13.1-CWVeEJ0tKpx4i8rAdzyP17
     conduit-extra-1.2.3.2-4iVHJgxVp7ZRShOHClkKd
+    exceptions-0.8.3-5sfZ7jREolVKcfIbnVeoIy
     fast-logger-2.4.11-LReqBlkfyrUGanUAq15fX1
-    transformers-base-0.4.5.2-gJFVISXCtb5Bhy5NWuMxh
+    lifted-base-0.2.3.12-A8Yrq7rFaGQL2krYRPEXJS
     monad-control-1.0.2.3-HFA75XkhphcAm9u56YVVE6
     monad-loops-0.4.3-4g9tbQ6v5D92QXu31BWMk9
-    mtl-2.2.2-L9xXSHNcnHK5lB15ncBkle bytestring-0.10.8.2
-    exceptions-0.8.3-5sfZ7jREolVKcfIbnVeoIy
+    mtl-2.2.2-L9xXSHNcnHK5lB15ncBkle
+    resourcet-1.1.11-6Rbk8LAwQkIPANKAfvBLn
+    stm-2.4.5.0-15FdumhhnVEKazIoQZDzp1
+    stm-chans-3.0.0.4-9KWlZojlDY6EOkvWdSsnpZ
+    text-1.2.3.0-BcISmLFYuX48LxJqafTQTN
+    transformers-0.5.5.0-1bbDhu8ypp8LC8lJMFju65
+    transformers-base-0.4.5.2-gJFVISXCtb5Bhy5NWuMxh
+    transformers-compat-0.6.1.6-A2gjYtBYxIRHIvFqnHrCVt
     unliftio-core-0.1.1.0-DeCEvKlXbhRHht2C3qgYyi
     template-haskell-2.12.0.0
 abi-depends: base-4.10.1.0=3319c96bc0bdd0e7df6bb89e8bc8756b
-             transformers-0.5.5.0-1bbDhu8ypp8LC8lJMFju65=109d1dcbc9b5d3467a9ca68881c14cc2
-             transformers-compat-0.6.1.6-A2gjYtBYxIRHIvFqnHrCVt=234764e4a492445313a7581c96c26e22
-             text-1.2.3.0-BcISmLFYuX48LxJqafTQTN=da1efcb9dfaec74664c9fef5971acccc
-             stm-2.4.5.0-15FdumhhnVEKazIoQZDzp1=acd60aee084f5351d7f1ebf8bb4228c8
-             stm-chans-3.0.0.4-9KWlZojlDY6EOkvWdSsnpZ=2134853adce57479d62820f14d23608e
-             lifted-base-0.2.3.12-A8Yrq7rFaGQL2krYRPEXJS=12f35e9d72fd17d43a0848cd3e28e929
-             resourcet-1.1.11-6Rbk8LAwQkIPANKAfvBLn=9d876da94b55f07e02f1a8373f5f16a8
+             bytestring-0.10.8.2=96a37efba3f680a6fd96553c4173d263
              conduit-1.2.13.1-CWVeEJ0tKpx4i8rAdzyP17=fd089c5ea961c8d756c4767b718751b6
              conduit-extra-1.2.3.2-4iVHJgxVp7ZRShOHClkKd=62ffbd3ab7ed0d83bf64d2f318139e00
+             exceptions-0.8.3-5sfZ7jREolVKcfIbnVeoIy=4c010f7ac6678229e6be2f6a424e9772
              fast-logger-2.4.11-LReqBlkfyrUGanUAq15fX1=de6e7f0c4cb5688dc99fbe43eeec4891
-             transformers-base-0.4.5.2-gJFVISXCtb5Bhy5NWuMxh=3d5f62a7b66c4eb74c34c7ea69855686
+             lifted-base-0.2.3.12-A8Yrq7rFaGQL2krYRPEXJS=12f35e9d72fd17d43a0848cd3e28e929
              monad-control-1.0.2.3-HFA75XkhphcAm9u56YVVE6=545046d31f6c6e10fc0788bded5f9b69
              monad-loops-0.4.3-4g9tbQ6v5D92QXu31BWMk9=004ae352a85721d19c9c997a07f37bb6
              mtl-2.2.2-L9xXSHNcnHK5lB15ncBkle=829ebb1e9645762aff27b9b415266df5
-             bytestring-0.10.8.2=96a37efba3f680a6fd96553c4173d263
-             exceptions-0.8.3-5sfZ7jREolVKcfIbnVeoIy=4c010f7ac6678229e6be2f6a424e9772
+             resourcet-1.1.11-6Rbk8LAwQkIPANKAfvBLn=9d876da94b55f07e02f1a8373f5f16a8
+             stm-2.4.5.0-15FdumhhnVEKazIoQZDzp1=acd60aee084f5351d7f1ebf8bb4228c8
+             stm-chans-3.0.0.4-9KWlZojlDY6EOkvWdSsnpZ=2134853adce57479d62820f14d23608e
+             text-1.2.3.0-BcISmLFYuX48LxJqafTQTN=da1efcb9dfaec74664c9fef5971acccc
+             transformers-0.5.5.0-1bbDhu8ypp8LC8lJMFju65=109d1dcbc9b5d3467a9ca68881c14cc2
+             transformers-base-0.4.5.2-gJFVISXCtb5Bhy5NWuMxh=3d5f62a7b66c4eb74c34c7ea69855686
+             transformers-compat-0.6.1.6-A2gjYtBYxIRHIvFqnHrCVt=234764e4a492445313a7581c96c26e22
              unliftio-core-0.1.1.0-DeCEvKlXbhRHht2C3qgYyi=11c0f3bea7a281a9a986eeea7abb8c8a
              template-haskell-2.12.0.0=23eb77c3fcb7809b7db73842f3d4fcfe
-haddock-interfaces: /home/scott/.cabal/share/doc/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.3/html/monad-logger.haddock
-haddock-html: /home/scott/.cabal/share/doc/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.3/html
+haddock-interfaces: /home/scott/.cabal/share/doc/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.4/html/monad-logger.haddock
+haddock-html: /home/scott/.cabal/share/doc/x86_64-openbsd-ghc-8.2.2/monad-logger-0.3.28.4/html
@snoyberg
Copy link
Owner

Good catch, thanks! New version uploaded to Hackage.

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