Description of problem: While this isn't a bug in ghc I need some ghc expertise to get hedgewars building again in rawhide. An example fsiled build log is at https://kojipkgs.fedoraproject.org//work/tasks/7888/8877888/build.log The problem code is from a patch to work around not having Text.Show.ByteString in Fedora. The snippet that appears to be the problem is: exceptionMask:: ((forall a. IO a -> IO a) -> IO b) -> IO b exceptionMask io = do b <- blocked if b then io id else block (io unblock) Any help with this would be appreciated. I'll switch the bug to hedgewars. The initial assignment to ghc is to copy some ghc experts.
It might be best to just get bytestring-show into Fedora. That saves patching Hedgewars as a work around and could provide a benefit to others. It seems to be BSD licensed.
I took a look at packaging bytestring-show, but it has errors. It looks like it expects booleans to promote to integers. A scratch build is here: http://koji.fedoraproject.org/koji/taskinfo?taskID=8942962
The Debian package version shows a higher version number, maybe I found an old version?
I have made a review request for ghc-bytestring-show as bug 1192866 .
hedgewars has now been built in rawhide using ghc-bytestring-show. But, I'd like to do the same for f22, f21 and f20 before closing this.
ghc-bytestring-show-0.3.5.6-2.fc21, hedgewars-0.9.21.1-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/hedgewars-0.9.21.1-3.fc21,ghc-bytestring-show-0.3.5.6-2.fc21
hedgewars-0.9.21.1-3.fc20, ghc-bytestring-show-0.3.5.6-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/hedgewars-0.9.21.1-3.fc20,ghc-bytestring-show-0.3.5.6-2.fc20
ghc-bytestring-show-0.3.5.6-2.fc21, hedgewars-0.9.21.1-3.fc21 has been pushed to the Fedora 21 testing repository.
hedgewars-0.9.21.1-3.fc20, ghc-bytestring-show-0.3.5.6-2.fc20 has been pushed to the Fedora 20 stable repository.
ghc-bytestring-show-0.3.5.6-2.fc21, hedgewars-0.9.21.1-3.fc21 has been pushed to the Fedora 21 stable repository.