https://bugzilla.redhat.com/show_bug.cgi?id=1138384
Bug ID: 1138384 Summary: fix 'quickCheckAll' to read haskell sources in UTF-8 Product: Fedora Version: rawhide Component: ghc-QuickCheck Assignee: petersen@redhat.com Reporter: dridi.boukelmoune@gmail.com QA Contact: extras-qa@fedoraproject.org CC: haskell-devel@lists.fedoraproject.org, petersen@redhat.com
Description of problem:
Locale-dependent instead of UTF-8 file manipulation.
Version-Release number of selected component (if applicable):
ghc-QuickCheck-devel-2.6-34.fc22
How reproducible:
Always: http://koji.fedoraproject.org/koji/taskinfo?taskID=7524823
Steps to Reproduce:
Build ShellCheck 0.3.4 :)
Actual results:
ShellCheck/Parser.hs:2098:12: Exception when trying to run compile-time code: ./ShellCheck/Parser.hs: hGetContents: invalid argument (invalid byte sequence) Code: quickCheckAll In the expression: $quickCheckAll In an equation for `runTests': runTests = $quickCheckAll
Expected results:
A build!
Additional info:
Fixed in QuickCheck 2.7.4 https://github.com/nick8325/quickcheck/commit/ccf15ee https://github.com/nick8325/quickcheck/commit/ccf15ee.diff