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

Build failure: Bottles #369252

Closed
BlueFox1616 opened this issue Dec 29, 2024 · 1 comment
Closed

Build failure: Bottles #369252

BlueFox1616 opened this issue Dec 29, 2024 · 1 comment
Labels
0.kind: build failure A package fails to build

Comments

@BlueFox1616
Copy link

Steps To Reproduce

Steps to reproduce the behavior:

  1. build Bottles

Build log

sudo nixos-rebuild switch --flake /etc/nixos [sudo] password for pantelis: building the system configuration... error: builder for '/nix/store/bqfg2ljj6cmv8cppfhhn08c5zzmakzli-python3.12-patool-2.4.0.drv' failed with exit code 1; last 25 log lines: > =================================== FAILURES =================================== > __________________________ TestMime.test_nested_gzip ___________________________ > > args = (<tests.test_mime.TestMime testMethod=test_nested_gzip>,), kwargs = {} > > def newfunc(*args, **kwargs): > if not testfunc(name): > pytest.skip(f"{description} {name!r} is not available") > > return func(*args, **kwargs) > > tests/__init__.py:44: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > tests/test_mime.py:198: in test_nested_gzip > self.mime_test_file("t.rar.gz", "application/x-rar", "gzip") > tests/test_mime.py:56: in mime_test_file > self.mime_test(patoolib.mime.guess_mime_file, archive, mime, encoding, info) > tests/test_mime.py:38: in mime_test > self.assertEqual( > E AssertionError: 'application/gzip' != 'application/x-rar' > E - application/gzip > E + application/x-rar > E : MIME type for archive /build/source/tests/data/t.rar.gz' should be application/x-rar, but was application/gzip. Info: application/x-gzip
> =========================== short test summary info ============================
> FAILED tests/test_mime.py::TestMime::test_nested_gzip - AssertionError: 'application/gzip' != 'application/x-rar'
> =========== 1 failed, 87 passed, 124 skipped, 6 deselected in 20.50s ===========
For full logs, run 'nix log /nix/store/bqfg2ljj6cmv8cppfhhn08c5zzmakzli-python3.12-patool-2.4.0.drv'.
error: 1 dependencies of derivation '/nix/store/d1bhadx9561cqg0fgwhk745j6w4f4d9b-bottles-unwrapped-51.17.drv' failed to build
error: 1 dependencies of derivation '/nix/store/blw4pwy4j0acasw1i72ar9x39i6i2x7w-bottles.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dlrmfwy9w5fxmkgd1im86iajhbmsgvf6-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ibl3zjikjlfn83aq8fiy6ha5nkp7rfg2-nixos-system-nixos-25.05.20241227.634fd46.drv' failed to build`

Metadata

It outputs nothing

Notify maintainers @psydvl @SCOTT-HAMILTON @Gliczy


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@BlueFox1616 BlueFox1616 added the 0.kind: build failure A package fails to build label Dec 29, 2024
@Gliczy
Copy link
Member

Gliczy commented Dec 29, 2024

This is an issue with patool, it is fixed on master with #368882.

@Gliczy Gliczy closed this as completed Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

2 participants