Bug 202671 - www/hs-warp : Fails around "hashtable" but only on DragonFly
Summary: www/hs-warp : Fails around "hashtable" but only on DragonFly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 11:54 UTC by John Marino
Modified: 2015-08-26 22:10 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (haskell)


Attachments
fail log (15.65 KB, text/plain)
2015-08-26 11:54 UTC, John Marino
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino freebsd_committer freebsd_triage 2015-08-26 11:54:39 UTC
Created attachment 160372 [details]
fail log

Almost everything is building on DragonFly with the new ghc 7.10.2 compiler, with a notable exception of hs-warp.  I'm seeing an error I don't immediately understand:

=======================<phase: build          >============================
===>  Building for hs-warp-3.1.3
Building warp-3.1.3...
Preprocessing library warp-3.1.3...

Network/Wai/Handler/Warp/FdCache.hs:29:8:
    Could not find module ‘Data.Hashable’
    It is a member of the hidden package ‘hashable-1.2.3.3@hasha_2GTZqecVp8NJZrNuKzGxfy’.
    Perhaps you need to add ‘hashable’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
*** Error code 1


The hashtable module is loading (see attached full log).
Is this likely a problem with hashtable?  or warp?
I am just not familiar enough with hs- to know...
Comment 1 John Marino freebsd_committer freebsd_triage 2015-08-26 21:49:07 UTC
okay, I tracked this down to a freebsd-specific condition in warp.cabal.  It will need patching to include dragonfly to bring in Hashable depends.
Comment 2 John Marino freebsd_committer freebsd_triage 2015-08-26 22:10:12 UTC
Okay, this simple patched got hs-warp building on DragonFly:

https://raw.githubusercontent.com/DragonFlyBSD/DeltaPorts/2beb7c99dc838a4090e19823c6f2eae3c116fd02/ports/www/hs-warp/dragonfly/patch-warp.cabal


I guess I will close this PR then.