Skip to content
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

hslua broken on i686 #39470

Closed
woffs opened this issue Apr 25, 2018 · 4 comments
Closed

hslua broken on i686 #39470

woffs opened this issue Apr 25, 2018 · 4 comments

Comments

@woffs
Copy link
Contributor

woffs commented Apr 25, 2018

Issue description

compilation of haskellPackages.hslua fails with one failed test and breaks git-annex and pandoc which depend on that

Steps to reproduce

[woffs@lapdoepp:~/git/nixpkgs] (master=) $ nix-build -A haskellPackages.hslua
[...]
    C functions
      Registering a C function and calling it from Lua:           FAIL
        test/Foreign/LuaTest.hs:162:
        greeting function failed
        expected: Right ["Caffeine","induced","nonsense"]
         but got: Right []
[...]
1 out of 113 tests failed (1.83s)
Test suite test-hslua: FAIL

Technical details

$ nix-shell -p nix-info --run "nix-info -m"

  • system: "i686-linux"
  • host os: Linux 4.14.35, NixOS, 18.03.132083.06c576b0525 (Impala)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.0
  • channels(woffs): ""
  • channels(root): "nixos-18.03.132083.06c576b0525, nixos1709-17.09.3238.e984f9e48e1"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@woffs
Copy link
Contributor Author

woffs commented Jun 6, 2018

Thank you @Anton-Latukha, it seems to work in NixOS now, and still fails in Nix on Debian.

@woffs woffs closed this as completed Jun 6, 2018
@woffs
Copy link
Contributor Author

woffs commented Jun 22, 2018

Mysteriously, it is broken again with nixos-18.03 reaching 68e02f8. It was ok at 14c248a. And it was broken before, as stated in the issue description, at 06c576b

@woffs woffs reopened this Jun 22, 2018
@woffs
Copy link
Contributor Author

woffs commented Jun 22, 2018

Bisecting shows, it was at first broken at 9f30660, which was a rather big hackage update.

I found further that it appeared to be fixed around 30ff9ca and ab6d081, which are python and python-cffi upgrades, and the new breakage was introduced by 47c09df, which is a sqlite update, but I have repeated this bisect and removed the impurity of using build result from a non-NixOS builder and now all those recent builds fail. But I had a working build with 18.03 at Jun 06, so there must be a hidden impurity when cross-compiling from 64bit to 32bit or when compiling on a non-NixOS host.

@woffs
Copy link
Contributor Author

woffs commented Jun 25, 2018

It's a very strange and spurious error. I managed to build successfully and am closing this again for now.

@woffs woffs closed this as completed Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants