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
rm -rf dist-newstyle
cabal v2-build all -w ghc-8.6.5 --enable-coverage
...
Configuring hstar-0.1.0.0...
Error:
The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.
planned package hstar-0.1.0.0 is broken due to missing package archive-sig-0.2.0.2-inplace+5LcY8JHokyDHyTjA8czqM
cabal: Failed to build hstar-0.1.0.0. The failure occurred during the
configure step.
...
Expected behavior
Build would not fail
System information
Linux, x86_64
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
#9464 will make it so that backpack no longer breaks --enable-coverage, so that it will now work and emit coverage reports. However, the indefinite modules will not be included in the reports -- as far as I know, HPC does not support backpack in the sense that it's unclear what it means to cover an indefinite module with multiple instantiations...
Since #9464, we no longer consider backpack signatures and instantiations while generating an HPC report.
Ultimately, I'm fairly certain HPC does not yet support backpack, so I created a ticket to track that hpc#12.
When fixed, we should revisit Cabal HPC report generation to include instantiated units and or signatures.
Activity
alt-romes commentedon Nov 23, 2023
#9464 will make it so that backpack no longer breaks --enable-coverage, so that it will now work and emit coverage reports. However, the indefinite modules will not be included in the reports -- as far as I know, HPC does not support backpack in the sense that it's unclear what it means to cover an indefinite module with multiple instantiations...
So, as I see it, #9464 should close this?
gbaz commentedon Nov 23, 2023
I think its fine to close this issue with that -- but might be worth opening an issue for HPC just to note the conceptual problem to be solved.
Allow per-component builds with coverage enabled
Allow per-component builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
Per-component multi-package builds with coverage enabled
26 remaining items
HPC artifacts are written and read from pkg-db
HPC artifacts are written and read from pkg-db
HPC artifacts are written and read from pkg-db
HPC artifacts are written and read from pkg-db
HPC artifacts are written and read from pkg-db
Per-component multi-package builds with coverage enabled
HPC artifacts are written and read from pkg-db
Per-component multi-package builds with coverage enabled
HPC artifacts are written and read from pkg-db
HPC artifacts are written and read from pkg-db
alt-romes commentedon Jan 8, 2024
Since #9464, we no longer consider backpack signatures and instantiations while generating an HPC report.
Ultimately, I'm fairly certain HPC does not yet support backpack, so I created a ticket to track that hpc#12.
When fixed, we should revisit Cabal HPC report generation to include instantiated units and or signatures.
Mikolaj commentedon Jan 8, 2024
@alt-romes: thank you very much!
Per-component multi-package builds with coverage enabled
HPC artifacts are written and read from pkg-db