alphaHeavy / lzma-enumerator

Enumerator bindings for liblzma, provides Haskell support for xz and lzma
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Testing fails #2

Open Fuuzetsu opened 10 years ago

Fuuzetsu commented 10 years ago

Hi,

On NixOS buildbot we're seeing test failures such as http://hydra.nixos.org/build/14595704/log/raw ; I'm unsure if it's a packaging problem on our end or a bug on your end, can you advise?

Thanks

NathanHowell commented 10 years ago

What version of xz-utils are you using? It looks like the error is coming from libxz.

Fuuzetsu commented 10 years ago

It says 5.0.5 in the log:

configure flags: --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/4hh6kx3q0hs9avk0zawapnc5g1r4zcbi-xz-5.0.5/include --extra-lib-dirs=/nix/store/4hh6kx3q0hs9avk0zawapnc5g1r4zcbi-xz-5.0.5/lib  --ghc-option=-optl=-Wl,-rpath=/nix/store/zcylijdacdhkmf5wyrsamn7c9gcqnfwl-haskell-lzma-enumerator-ghc7.8.3-0.1.3-shared/lib/ghc-7.8.3/lzma-enumerator-0.1.3 --ghc-option=-j8
NathanHowell commented 10 years ago

It looks like a bug of some sort. Any chance you could set a breakpoint in lzma_auto_decoder and dump out flags? It should be set to 0 (note: see line 63)... this is the corresponding check in libxz:

    if (flags & ~LZMA_SUPPORTED_FLAGS)
        return LZMA_OPTIONS_ERROR;
peti commented 10 years ago

These builds run non-interactively on a fully automated CI system. We cannot set any breakpoints there, I'm afraid. Here is another failure log, in case it helps: http://hydra.nixos.org/build/14585850/nixlog/1/raw

peti commented 10 years ago

Interestingly enough, we see that last error on i686, but not on x86_64.

NathanHowell commented 10 years ago

I'll try running it on a 32 bit build. On Sep 23, 2014 1:30 PM, "Peter Simons" notifications@github.com wrote:

Interestingly enough, we see that last error on i686, but not on x86_64.

— Reply to this email directly or view it on GitHub https://github.com/alphaHeavy/lzma-enumerator/issues/2#issuecomment-56584693 .

peti commented 10 years ago

Has there been any progress with this issue?

NathanHowell commented 10 years ago

Not yet, I don't have a working 32-bit build environment at the moment. I'll see about setting up a VM to test it on.