botan icon indicating copy to clipboard operation
botan copied to clipboard

Some test cases of botan-low are failing

Open mikatammi opened this issue 5 months ago • 1 comments

I tried to fix Haskell botan packages in nixpkgs, and I actually got botan-bindings to build (PR here: https://github.com/NixOS/nixpkgs/pull/430146 ), but the test cases of botan-low fail. Curiously on x86_64-linux and aarch64-darwin, the test pass/fail count is different

I uploaded logs as attachments: botan-low-linux-fail.txt botan-low-macos-arm64-fail.txt

How to replicate: I saved my nixpkgs state to a separate branch so you should be exactly able to replicate the build environment. The botan C++ library used as a dependency is the latest version 3.8.1

Exact command to replicate with nix flakes enabled: nix build -L github:mikatammi/nixpkgs/botan-low-tests-fail-01#haskellPackages.botan-low

Branch here: https://github.com/mikatammi/nixpkgs/tree/botan-low-tests-fail-01

mikatammi avatar Aug 01 '25 18:08 mikatammi

Thanks for bringing this to our notice! I've opened #33 to track that we should fix these test suites.

Curiously on x86_64-linux and aarch64-darwin, the test pass/fail count is different

Do you mean how many test suites fail, or how many of the tests inside a test suite fail? If it's the former, then as far as I can see, one test suite only fails on MacOS.

jorisdral avatar Sep 16 '25 15:09 jorisdral