NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.35k stars 13.59k forks source link

patool: build fails due to failing tests #132476

Closed asbachb closed 3 years ago

asbachb commented 3 years ago

Describe the bug

=========================== short test summary info ============================
FAILED tests/test_mime.py::TestMime::test_mime_file - AssertionError: None !=...
FAILED tests/test_mime.py::TestMime::test_mime_file_xzip - AssertionError: No...
FAILED tests/archives/test_7z.py::Test7z::test_7z_file - patoolib.util.Patool...
FAILED tests/archives/test_pylzma.py::TestPylzma::test_py_lzma_file - patooli...
FAILED tests/archives/test_tar.py::TestTar::test_tar_xz_file - patoolib.util....
FAILED tests/archives/test_xz.py::TestXz::test_xz_file - patoolib.util.Patool...
=========== 6 failed, 68 passed, 96 skipped, 4 deselected in 13.59s ============

Steps To Reproduce

Steps to reproduce the behavior:

  1. checkout revision c464dc811ba
  2. nix-build . -A patool

Expected behavior

Should build without problems.

Notify maintainers

@marius851000

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
* patool
* python39Packages.patool
# a list of nixos modules affected by the problem
module:
marius851000 commented 3 years ago

Thank. Will be on vacation for about 3 more days, and I'll fix it then (or maybe try to use nix-on-droid...)

marius851000 commented 3 years ago

I'm back. Hope it is quickly fixed...

marius851000 commented 3 years ago

Check error seems to be an issue with the "file" depencies update to 5.40

marius851000 commented 3 years ago

This patch should fix this issue : https://github.com/file/file/commit/9b0459afab309a82aa4e46f73a4e50dd641f3d39

marius851000 commented 3 years ago

Applying this patch fixed the issue. Will open a PR.

marius851000 commented 3 years ago

Merged in staging.

asbachb commented 3 years ago

@marius851000 thanks mate