Skip to content

Temporarily fix build errors#26

Closed
nbloomf wants to merge 6 commits intoconformance-testingfrom
fix/build-errors-in-conformance
Closed

Temporarily fix build errors#26
nbloomf wants to merge 6 commits intoconformance-testingfrom
fix/build-errors-in-conformance

Conversation

@nbloomf
Copy link
Member

@nbloomf nbloomf commented Mar 11, 2026

Description

Currently there are build failures on the conformance-testing branch due to the elevation of warnings to errors, because some code is temporarily commented out. (Unused imports, unused dependencies, redundant constraints.) This will be fixed, but in the meantime this patch comments out the offending imports.

@nbloomf nbloomf self-assigned this Mar 11, 2026
@nbloomf nbloomf requested a review from ninioArtillero March 11, 2026 15:58
@nbloomf nbloomf marked this pull request as ready for review March 11, 2026 15:58
Copy link
Collaborator

@ninioArtillero ninioArtillero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If all these things are commented out we will be on our own to find them back again to remove them later. It comes down to whether we prefer that over having to ignore warnings + failed CI runs. I feel inclined to the latter, as these are not exactly the same CI runs that we have to clear upstream.

I've just added this in cabal.project.local in cardano-node

program-options
  ghc-options: -Wwarn -Wno-unused-packages -Wno-unused-imports

It alliviates the most annoying. Then I'ld wait until upstream editing to use -Werror.

@nbloomf nbloomf closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants