New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tamarin-prover: Fix compile issues #40113
Conversation
@GrahamcOfBorg build tamarin-prover |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tamarin-prover Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: tamarin-prover Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: tamarin-prover Partial log (click to expand)
|
@Mic92 in the future, please don't merge these changes so hastily. This change bumped Tamarin from what was effectively a version of 1.3.1 (actually the It was not simply a compilation fix, but effectively a major change including months of code differences. This should have been reflected with a version number change, at minimum, which I would have held off merging based on since it left it at 1.3.1. The real fix for #40078 (most likely, I'm guessing -- I haven't looked closely) would have been to adjust the Haskell dependencies to be more constrained; we likely need to be a bit more strict and fix some version numbers more tightly. (Tamarin is more of an end-user application than a Haskell development library, so fixing version/compiler numbers independently of whatever is tracked-by-default in However, Tamarin Prover 1.4.0 was released today, and I have a patch that bumps it to a proper released tag with the proper (Also, in this particular case, the Tamarin developers are very active about reaching out to downstream maintainers and helping them upon every release, so updates for Tamarin should be relatively on-time anyway, I hope!) @wchresta Thank you for the change! If something else needs to be fixed, please CC me on a ticket and I'll try to get to it. In the future, for changes that fix build failures, please let me know if you plan to advance the version "away" from the released one; ideally stable application versions should only require minimal patching to keep working vs big upgrades. Sometimes that's not possible though |
@thoughtpolice thanks for the explanation! The main reason why I decided to bump the "version" from 1.3.1 to the current development state was because there was never an actual 1.3 in the master branch - so we were effectively always on the development branch. Should have probably been more careful, sorry about that. |
Motivation for this change
tamarin-prover is failing to build, as of #40078
This is a proposal on how to fix it. I am not sure if this is the best way, at all, so please revise carefully.
Things done
Added a dependency on control-monad and added patches to include MonadBaseControl from Control.Monad.Trans.Control via the source and cabal file.
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)