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

OSX Hsenv fails to install #43

Open
kyle-eshares opened this issue Jul 29, 2014 · 0 comments
Open

OSX Hsenv fails to install #43

kyle-eshares opened this issue Jul 29, 2014 · 0 comments

Comments

@kyle-eshares
Copy link

Hello,

I don't know if you are the package maintainer or if Paczesiowa is.

hsenv successfully installs but fails to launch on OSX 10.10. Here is my hsenv.log:

Creating Virtual Haskell directory structure
  hsenv directory: /Users/kyle/haskell/StrappedTemplates/.hsenv
  cabal directory: /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal
  hsenv bin directory: /Users/kyle/haskell/StrappedTemplates/.hsenv/bin
Installing GHC
  Using system version of GHC - nothing to install.
Initializing GHC Package database at /Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
  Running outside process: ghc-pkg --version
    Looking for ghc-pkg in $PATH
    ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
    Process exited successfully
    Process output:
      GHC package manager version 7.8.3
    Empty process error output
  Found version string: 7.8.3
  Running outside process: ghc-pkg init /Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
    Looking for ghc-pkg in $PATH
    ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
    Process exited successfully
    Empty process output
    Empty process error output
Copying necessary packages from original GHC package database
  Copying package base to Virtual Haskell Environment.
    Choosing package with highest version number.
      Running outside process: ghc-pkg field base version
        Looking for ghc-pkg in $PATH
        ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
        Process exited successfully
        Process output:
          version: 4.7.0.1
        Empty process error output
      Found version strings: 4.7.0.1
      Found: 4.7.0.1
      Using version: 4.7.0.1
    Copying package base-4.7.0.1 to Virtual Haskell Environment.
      Checking if base-4.7.0.1 is already installed.
        Running inside process: ghc-pkg describe base-4.7.0.1
          Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
          ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
          Calculating unix env dictionary used inside virtual environment
            Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
            $GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
            $PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
          Process failed with exit code 1
          Empty process output
          Process error output:
            ghc-pkg: cannot find package base-4.7.0.1
      It's not.
      Extracting dependencies of base-4.7.0.1
        Running outside process: ghc-pkg field base-4.7.0.1 depends
          Looking for ghc-pkg in $PATH
          ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
          Process exited successfully
          Process output:
            depends: ghc-prim-0.3.1.0-954cb57749cf319beafdc89b3415422c
                     integer-gmp-0.5.1.0-d42e6a7874a019e6a0d1c7305ebc83c4 builtin_rts
          Empty process error output
        Found dependency strings: ghc-prim-0.3.1.0-954cb57749cf319beafdc89b3415422c integer-gmp-0.5.1.0-d42e6a7874a019e6a0d1c7305ebc83c4 builtin_rts
      Found: ghc-prim-0.3.1.0 integer-gmp-0.5.1.0 rts
      Copying package ghc-prim-0.3.1.0 to Virtual Haskell Environment.
        Checking if ghc-prim-0.3.1.0 is already installed.
          Running inside process: ghc-pkg describe ghc-prim-0.3.1.0
            Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
            ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
            Calculating unix env dictionary used inside virtual environment
              Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
              $GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
              $PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
            Process failed with exit code 1
            Empty process output
            Process error output:
              ghc-pkg: cannot find package ghc-prim-0.3.1.0
        It's not.
        Extracting dependencies of ghc-prim-0.3.1.0
          Running outside process: ghc-pkg field ghc-prim-0.3.1.0 depends
            Looking for ghc-pkg in $PATH
            ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
            Process exited successfully
            Process output:
              depends: builtin_rts
            Empty process error output
          Found dependency strings: builtin_rts
        Found: rts
        Copying package rts to Virtual Haskell Environment.
          Checking if rts is already installed.
            Running inside process: ghc-pkg describe rts
              Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
              ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
              Calculating unix env dictionary used inside virtual environment
                Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
                $GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
                $PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
              Process failed with exit code 1
              Empty process output
              Process error output:
                ghc-pkg: cannot find package rts
          It's not.
          Extracting dependencies of rts
            Running outside process: ghc-pkg field rts depends
              Looking for ghc-pkg in $PATH
              ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
              Process exited successfully
              Process output:
                depends:
              Empty process error output
            Found dependency strings: 
          Found: 
          Moving package rts to Virtual Haskell Environment.
          Running outside process: ghc-pkg describe rts
            Looking for ghc-pkg in $PATH
            ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
            Process exited successfully
            Process output:
              name: rts
              version: 1.0
              id: builtin_rts
              license: BSD3
              copyright:
              maintainer: [email protected]
              stability:
              homepage:
              package-url:
              synopsis:
              description:
              category:
              author:
              exposed: True
              exposed-modules:
              hidden-modules:
              trusted: False
              import-dirs:
              library-dirs: ${pkgroot}/rts-1.0
              hs-libraries: HSrts Cffi
              extra-libraries: m dl
              extra-ghci-libraries:
              include-dirs: ${pkgroot}/include
              includes: Stg.h
              depends:
              hugs-options:
              cc-options:
              ld-options: "-Wl,-u,_ghczmprim_GHCziTypes_Izh_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Czh_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Fzh_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Dzh_static_info"
                          "-Wl,-u,_base_GHCziPtr_Ptr_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Wzh_static_info"
                          "-Wl,-u,_base_GHCziInt_I8zh_static_info"
                          "-Wl,-u,_base_GHCziInt_I16zh_static_info"
                          "-Wl,-u,_base_GHCziInt_I32zh_static_info"
                          "-Wl,-u,_base_GHCziInt_I64zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W8zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W16zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W32zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W64zh_static_info"
                          "-Wl,-u,_base_GHCziStable_StablePtr_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Izh_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Czh_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Fzh_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Dzh_con_info"
                          "-Wl,-u,_base_GHCziPtr_Ptr_con_info"
                          "-Wl,-u,_base_GHCziPtr_FunPtr_con_info"
                          "-Wl,-u,_base_GHCziStable_StablePtr_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_False_closure"
                          "-Wl,-u,_ghczmprim_GHCziTypes_True_closure"
                          "-Wl,-u,_base_GHCziPack_unpackCString_closure"
                          "-Wl,-u,_base_GHCziIOziException_stackOverflow_closure"
                          "-Wl,-u,_base_GHCziIOziException_heapOverflow_closure"
                          "-Wl,-u,_base_ControlziExceptionziBase_nonTermination_closure"
                          "-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
                          "-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
                          "-Wl,-u,_base_ControlziExceptionziBase_nestedAtomically_closure"
                          "-Wl,-u,_base_GHCziWeak_runFinalizzerBatch_closure"
                          "-Wl,-u,_base_GHCziTopHandler_flushStdHandles_closure"
                          "-Wl,-u,_base_GHCziTopHandler_runIO_closure"
                          "-Wl,-u,_base_GHCziTopHandler_runNonIO_closure"
                          "-Wl,-u,_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
                          "-Wl,-u,_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
                          "-Wl,-u,_base_GHCziConcziSync_runSparks_closure"
                          "-Wl,-u,_base_GHCziConcziSignal_runHandlers_closure"
                          "-Wl,-search_paths_first"
              framework-dirs:
              frameworks:
              haddock-interfaces:
              haddock-html:
              pkgroot: "/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/lib/ghc-7.8.3"

            Empty process error output
          Running inside process: ghc-pkg register -
            Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
            ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
            Calculating unix env dictionary used inside virtual environment
              Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
              $GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
              $PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
            Using the following input:
              name: rts
              version: 1.0
              id: builtin_rts
              license: BSD3
              copyright:
              maintainer: [email protected]
              stability:
              homepage:
              package-url:
              synopsis:
              description:
              category:
              author:
              exposed: True
              exposed-modules:
              hidden-modules:
              trusted: False
              import-dirs:
              library-dirs: ${pkgroot}/rts-1.0
              hs-libraries: HSrts Cffi
              extra-libraries: m dl
              extra-ghci-libraries:
              include-dirs: ${pkgroot}/include
              includes: Stg.h
              depends:
              hugs-options:
              cc-options:
              ld-options: "-Wl,-u,_ghczmprim_GHCziTypes_Izh_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Czh_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Fzh_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Dzh_static_info"
                          "-Wl,-u,_base_GHCziPtr_Ptr_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Wzh_static_info"
                          "-Wl,-u,_base_GHCziInt_I8zh_static_info"
                          "-Wl,-u,_base_GHCziInt_I16zh_static_info"
                          "-Wl,-u,_base_GHCziInt_I32zh_static_info"
                          "-Wl,-u,_base_GHCziInt_I64zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W8zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W16zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W32zh_static_info"
                          "-Wl,-u,_base_GHCziWord_W64zh_static_info"
                          "-Wl,-u,_base_GHCziStable_StablePtr_static_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Izh_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Czh_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Fzh_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_Dzh_con_info"
                          "-Wl,-u,_base_GHCziPtr_Ptr_con_info"
                          "-Wl,-u,_base_GHCziPtr_FunPtr_con_info"
                          "-Wl,-u,_base_GHCziStable_StablePtr_con_info"
                          "-Wl,-u,_ghczmprim_GHCziTypes_False_closure"
                          "-Wl,-u,_ghczmprim_GHCziTypes_True_closure"
                          "-Wl,-u,_base_GHCziPack_unpackCString_closure"
                          "-Wl,-u,_base_GHCziIOziException_stackOverflow_closure"
                          "-Wl,-u,_base_GHCziIOziException_heapOverflow_closure"
                          "-Wl,-u,_base_ControlziExceptionziBase_nonTermination_closure"
                          "-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
                          "-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
                          "-Wl,-u,_base_ControlziExceptionziBase_nestedAtomically_closure"
                          "-Wl,-u,_base_GHCziWeak_runFinalizzerBatch_closure"
                          "-Wl,-u,_base_GHCziTopHandler_flushStdHandles_closure"
                          "-Wl,-u,_base_GHCziTopHandler_runIO_closure"
                          "-Wl,-u,_base_GHCziTopHandler_runNonIO_closure"
                          "-Wl,-u,_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
                          "-Wl,-u,_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
                          "-Wl,-u,_base_GHCziConcziSync_runSparks_closure"
                          "-Wl,-u,_base_GHCziConcziSignal_runHandlers_closure"
                          "-Wl,-search_paths_first"
              framework-dirs:
              frameworks:
              haddock-interfaces:
              haddock-html:
              pkgroot: "/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/lib/ghc-7.8.3"

            Process failed with exit code 1
            Process output:
              Reading package info from stdin ... done.
            Process error output:
              rts-1.0: Warning: library-dirs: /Users/kyle/haskell/StrappedTemplates/.hsenv/rts-1.0 doesn't exist or isn't a directory
              rts-1.0: Warning: include-dirs: /Users/kyle/haskell/StrappedTemplates/.hsenv/include doesn't exist or isn't a directory
              rts-1.0: cannot find any of ["libHSrts.a","libHSrts.p_a","libHSrts-ghc7.8.3.so","libHSrts-ghc7.8.3.dylib","HSrts-ghc7.8.3.dll"] on library path (use --force to override)
              rts-1.0: cannot find any of ["libCffi.a","libCffi.p_a","libCffi-ghc7.8.3.so","libCffi-ghc7.8.3.dylib","Cffi-ghc7.8.3.dll"] on library path (use --force to override)

/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg process failed with status 1

It looks like a problem with the rts not being copied over or something to that degree. I am using the ghcformacosx ghc installed from Homebrew.

Thanks!

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

1 participant