NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.39k stars 13.62k forks source link

haskell: hspec fails test suite on x86_32 #76091

Open Patagonicus opened 4 years ago

Patagonicus commented 4 years ago

Describe the bug I'm trying to install git-annex, which has a (indirect?) dependency on haskellPackages.hspec. On 32bit x86 the package is build locally and fails the test suite. On 64bit x86 the package is downloaded from binary caches (and, considering that the cache has a version for it, it apparently builds on 64bit) which succeeds.

To Reproduce Steps to reproduce the behavior:

  1. Install 32bit NixOS.
  2. Run nix-env -f "<nixpkgs>" -iA haskellPackages.hspec

This results in errors about the test suite failing. Full output: http://ix.io/24V3

Expected behavior hspec package is installed

Screenshots N/A

Additional context Tried this both on a physical machine that had some customizations as well as on a 32bit VirtualBox VM with MBR/BIOS boot and autogenerated configs (only changed terminal keyboard layout). On the 64bit VirtualBox demo appliance the same command finishes successfully.

Metadata From the virtual machine:

From the physical machine:

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I don't know how to fill in "Maintainer information". I'm new(-ish) to NixOS, having recently switched from Gentoo. Let me know if there's additional information I can provide or things I can test.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.