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

Network/Wai/Handler/Warp/Timeout.hs:86:15: Not in scope: ‘reaperKill’ #495

Closed
seanwestfall opened this issue Dec 22, 2015 · 3 comments
Closed

Comments

@seanwestfall
Copy link

Hey guys, I got this error when trying to install the latest warp. Is this a known issue?

$ cabal install warp
Resolving dependencies...
Configuring warp-3.1.11...
Building warp-3.1.11...
Failed to install warp-3.1.11
Build log ( /Users/Sean/.cabal/logs/warp-3.1.11.log ):
Configuring warp-3.1.11...
Building warp-3.1.11...
Preprocessing library warp-3.1.11...
[ 1 of 35] Compiling Network.Wai.Handler.Warp.Windows ( Network/Wai/Handler/Warp/Windows.hs, dist/build/Network/Wai/Handler/Warp/Windows.o )
[ 2 of 35] Compiling Paths_warp       ( dist/build/autogen/Paths_warp.hs, dist/build/Paths_warp.o )
[ 3 of 35] Compiling Network.Wai.Handler.Warp.ReadInt ( Network/Wai/Handler/Warp/ReadInt.hs, dist/build/Network/Wai/Handler/Warp/ReadInt.o )
[ 4 of 35] Compiling Network.Wai.Handler.Warp.HTTP2.EncodeFrame ( Network/Wai/Handler/Warp/HTTP2/EncodeFrame.hs, dist/build/Network/Wai/Handler/Warp/HTTP2/EncodeFrame.o )
[ 5 of 35] Compiling Network.Wai.Handler.Warp.MultiMap ( Network/Wai/Handler/Warp/MultiMap.hs, dist/build/Network/Wai/Handler/Warp/MultiMap.o )
[ 6 of 35] Compiling Network.Wai.Handler.Warp.IORef ( Network/Wai/Handler/Warp/IORef.hs, dist/build/Network/Wai/Handler/Warp/IORef.o )
[ 7 of 35] Compiling Network.Wai.Handler.Warp.HTTP2.Manager ( Network/Wai/Handler/Warp/HTTP2/Manager.hs, dist/build/Network/Wai/Handler/Warp/HTTP2/Manager.o )
[ 8 of 35] Compiling Network.Wai.Handler.Warp.Counter ( Network/Wai/Handler/Warp/Counter.hs, dist/build/Network/Wai/Handler/Warp/Counter.o )
[ 9 of 35] Compiling Network.Wai.Handler.Warp.FileInfoCache ( Network/Wai/Handler/Warp/FileInfoCache.hs, dist/build/Network/Wai/Handler/Warp/FileInfoCache.o )
[10 of 35] Compiling Network.Wai.Handler.Warp.Timeout ( Network/Wai/Handler/Warp/Timeout.hs, dist/build/Network/Wai/Handler/Warp/Timeout.o )

Network/Wai/Handler/Warp/Timeout.hs:86:15:
    Not in scope: ‘reaperKill’
    Perhaps you meant ‘reaperNull’ (imported from Control.Reaper)
cabal: Error: some packages failed to install:
warp-3.1.11 failed during the building phase. The exception was:
ExitFailure 1
@ndmitchell
Copy link
Contributor

I just got this too. Windows, GHC 7.10.2, the dependencies --verbose gives are:

  • array-0.5.1.0
  • auto-update-0.1.2.2
  • base-4.8.1.0
  • blaze-builder-0.4.0.1
  • bytestring-0.10.6.0
  • bytestring-builder-0.10.6.0.0
  • case-insensitive-1.2.0.4
  • containers-0.5.6.2
  • ghc-prim-0.4.0.0
  • hashable-1.2.3.3
  • http-date-0.0.6.1
  • http-types-0.8.6
  • http2-1.3.1
  • iproute-1.5.0
  • network-2.6.2.1
  • simple-sendfile-0.2.21
  • stm-2.4.4
  • streaming-commons-0.1.12.1
  • text-1.2.1.3
  • time-1.5.0.1
  • unix-compat-0.4.1.4
  • unordered-containers-0.2.5.1
  • vault-0.3.0.4
  • wai-3.0.5.0
  • word8-0.1.2

@rnons
Copy link

rnons commented Dec 24, 2015

Install the new version of auto-update solves this problem for me. I believe reaperKill is introduced in auto-update-0.1.3

@kazu-yamamoto
Copy link
Contributor

Sorry. My fault. I will release new warp including the patch above very soon.

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

4 participants