Open derpolipp opened 2 days ago
This build failure should be resolved by #355885. Once the changes make their way to the nixos-unstable
channel, you should be able to install calibre without issues. You can monitor the progress here: https://nixpk.gs/pr-tracker.html?pr=355885
Same problem here, curiously (at least for me) is that if i try to install calibre temporarily like this:
nix shell nixpkgs#calibre
It works.
This seems like it's landed in every channel except nixos-24.11; the build succeeds for me. Can this be closed?
Steps To Reproduce
Steps to reproduce the behavior:
inputs.nixpkgs.url = flake:nixpkgs/nixos-unstable;
environment.systemPackages = [ calibre ];
sudo nixos-rebuild dry-activate
I'm relatively new to Nix, so it's possible I've inadvertently done something silly. I'd also like to know what one is supposed to do when faced with a build failure like this while rebuilding to install a different package: reverting doesn't get me the new package and I'd prefer not to remove the perfectly fine installed version I have.
Build log
Build Log
``` error: builder for '/nix/store/xyjf2iypjc6sml5ik342mxvglv3sxl9q-calibre-7.20.0.drv' failed with exit code 1; last 25 log lines: > test_podofo (calibre.test_build.BuildTest.test_podofo) ... ok [0.0 s] > test_psutil (calibre.test_build.BuildTest.test_psutil) ... ok [0.0 s] > test_pychm (calibre.test_build.BuildTest.test_pychm) ... ok [0.0 s] > test_pycryptodome (calibre.test_build.BuildTest.test_pycryptodome) ... ok [0.1 s] > test_regex (calibre.test_build.BuildTest.test_regex) ... ok [0.0 s] > test_speech_dispatcher (calibre.test_build.BuildTest.test_speech_dispatcher) ... ok [0.0 s] > test_sqlite (calibre.test_build.BuildTest.test_sqlite) ... ok [0.0 s] > test_terminal (calibre.test_build.BuildTest.test_terminal) ... ok [0.0 s] > test_tinycss_tokenizer (calibre.test_build.BuildTest.test_tinycss_tokenizer) ... ok [0.0 s] > test_winutil (calibre.test_build.BuildTest.test_winutil) ... skipped 'winutil is windows only' [0.0 s] > test_wpd (calibre.test_build.BuildTest.test_wpd) ... skipped 'WPD is windows only' [0.0 s] > test_zeroconf (calibre.test_build.BuildTest.test_zeroconf) ... ok [0.2 s] > > ====================================================================== > FAIL: test_imaging (calibre.test_build.BuildTest.test_imaging) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/build/calibre-7.20.0/src/calibre/test_build.py", line 449, in test_imaging > self.assertIn(line.strip(), out) > AssertionError: '--- WEBP Transparency support ok' not found in '--------------------------------------------------------------------\nPillow 11.0.0\nPython 3.12.7 (main, Oct 1 2024, 02:05:46) [GCC 13.3.0]\n--------------------------------------------------------------------\nPython executable is /nix/store/jf0krwdycq55cfzqmn8rwbawxnwd7nz6-python3-3.12.7-env/bin/python3.12\nEnvironment Python files loaded from /nix/store/jf0krwdycq55cfzqmn8rwbawxnwd7nz6-python3-3.12.7-env\nSystem Python files loaded from /nix/store/px2nj16i5gc3d4mnw5l1nclfdxhry61p-python3-3.12.7\n--------------------------------------------------------------------\nPython Pillow modules loaded from /nix/store/jf0krwdycq55cfzqmn8rwbawxnwd7nz6-python3-3.12.7-env/lib/python3.12/site-packages/PIL\nBinary Pillow modules loaded from /nix/store/jf0krwdycq55cfzqmn8rwbawxnwd7nz6-python3-3.12.7-env/lib/python3.12/site-packages/PIL\n--------------------------------------------------------------------\n--- PIL CORE support ok, compiled for 11.0.0\n*** TKINTER support not installed\n--- FREETYPE2 support ok, loaded 2.13.3\n--- LITTLECMS2 support ok, loaded 2.16\n--- WEBP support ok, loaded 1.4.0\n--- JPEG support ok, compiled for libjpeg-turbo 3.0.4\n--- OPENJPEG (JPEG2000) support ok, loaded 2.5.2\n--- ZLIB (PNG/ZIP) support ok, loaded 1.3.1\n--- LIBTIFF support ok, loaded 4.7.0\n--- RAQM (Bidirectional Text) support ok, loaded 0.10.2\n--- LIBIMAGEQUANT (Quantization method) support ok, loaded 4.2.2\n--- XCB (X protocol) support ok\n--------------------------------------------------------------------\n' > > ---------------------------------------------------------------------- > Ran 337 tests in 70.896s > > FAILED (failures=1, skipped=9) For full logs, run 'nix log /nix/store/xyjf2iypjc6sml5ik342mxvglv3sxl9q-calibre-7.20.0.drv'. ```Additional context
Metadata
Output of running
nix-shell -p nix-info --run "nix-info -m"
:Notify maintainers
@pSub
Note for maintainers: Please tag this issue in your PR.
Add a :+1: reaction to issues you find important.