You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that this error is emitted in a bunch of different cases... I've put down a TODO item to report and possibly fix this in ghc. I'm pretty sure the issue in this particular case is a mismatch in the module hash code in the tix file and the mix file:
The tix file has TixModule "resourcet-1.1.5/Control.Monad.Trans.Resource.Internal" 3767668384
Whereas the mix file that refers to has Mix "./Control/Monad/Trans/Resource/Internal.hs" 2015-07-16 02:48:09.660237209 UTC 3983615699
I have no idea why the tix file would ever end up with a different version that the mix file.
The text was updated successfully, but these errors were encountered:
Note that this is no longer an issue with the current code, but will return if #664 is implemented. So, deferring to a later milestone.
mgsloan
changed the title
hpc program errors out when running "test --coverage" on conduit
hpc program will error out when running "test --coverage" on conduit (but only once #664 is implemented)
Aug 4, 2015
mgsloan
changed the title
hpc program will error out when running "test --coverage" on conduit (but only once #664 is implemented)
hpc program will error out when running "test --coverage" on conduit
Aug 4, 2015
While
test --coverage
works well with my other test multi-package repos, https://github.com/snoyberg/conduit seems to be problematic for it:A report is generated for
resourcet
, but not the other packages, due to errors that look like this:This was quite puzzling, because
/home/mgsloan/fpco/conduit/resourcet//.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/hpc/.hpc/resourcet-1.1.5/Control.Monad.Trans.Resource.Internal.mix
does exist. In order to figure out what's going on, I tracked these error messages down to this function in GHC: https://github.com/ghc/packages-hpc/blob/fb14d3428ba24d36e779736989dae3092a50a957/Trace/Hpc/Mix.hs#L87It turns out that this error is emitted in a bunch of different cases... I've put down a TODO item to report and possibly fix this in ghc. I'm pretty sure the issue in this particular case is a mismatch in the module hash code in the tix file and the mix file:
The tix file has
TixModule "resourcet-1.1.5/Control.Monad.Trans.Resource.Internal" 3767668384
Whereas the mix file that refers to has
Mix "./Control/Monad/Trans/Resource/Internal.hs" 2015-07-16 02:48:09.660237209 UTC 3983615699
I have no idea why the tix file would ever end up with a different version that the mix file.
The text was updated successfully, but these errors were encountered: