Closed ajaxbits closed 8 months ago
Ah hell, I don't know how I missed this. Thank you for the report!
I'll have a fix prepared imminently
Please test if #272807 fixes the issue for you
Thanks again!
Thanks for the fix!! I'll test as soon as I'm able -- likely tomorrow morning CT.
Has this fix been pushed into stable channel?
pdfarranger $ nix-shell -I nixpkgs=channel:nixpkgs-unstable -p mupdf
these 4 paths will be fetched (24.81 MiB download, 55.70 MiB unpacked):
/nix/store/8rxm4jzw1dddm53rpc2zdqgafadn7d5n-bash-interactive-5.2-p21
/nix/store/p9r44cscjyav2nz0g0438c68q1f0k0h4-mupdf-1.23.6
/nix/store/gcklnclajfqjslr6q2djgcy1773hppix-mupdf-1.23.6-bin
/nix/store/p64zywc2pgbk7ivnmwlnjvzgslhhdh78-mupdf-1.23.6-dev
copying path '/nix/store/8rxm4jzw1dddm53rpc2zdqgafadn7d5n-bash-interactive-5.2-p21' from 'https://cache.nixos.org'...
copying path '/nix/store/p9r44cscjyav2nz0g0438c68q1f0k0h4-mupdf-1.23.6' from 'https://cache.nixos.org'...
copying path '/nix/store/gcklnclajfqjslr6q2djgcy1773hppix-mupdf-1.23.6-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/p64zywc2pgbk7ivnmwlnjvzgslhhdh78-mupdf-1.23.6-dev' from 'https://cache.nixos.org'...
[nix-shell:/Volumes/extend/src/nixpkgs/pkgs/applications/misc/pdfarranger]$ mupdf -v
dyld[11886]: Library not loaded: build/shared-release/libmupdf.dylib
Referenced from: <0C1F93C5-B6D1-361A-9B54-B351E22C0654> /nix/store/gcklnclajfqjslr6q2djgcy1773hppix-mupdf-1.23.6-bin/bin/mupdf-gl
Reason: tried: 'build/shared-release/libmupdf.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSbuild/shared-release/libmupdf.dylib' (no such file), 'build/shared-release/libmupdf.dylib' (no such file), '/usr/local/lib/libmupdf.dylib' (no such file), '/usr/lib/libmupdf.dylib' (no such file, not in dyld cache)
Abort trap: 6
[nix-shell:/Volumes/extend/src/nixpkgs/pkgs/applications/misc/pdfarranger]$ which mupdf
/nix/store/gcklnclajfqjslr6q2djgcy1773hppix-mupdf-1.23.6-bin/bin/mupdf
As the version has been bumped to 1.23.6, I guess the fix (https://github.com/NixOS/nixpkgs/commit/29455886e21c45b8c0b33c57a1b12d1b2c709e25) is already applied, but it still fails on my computer.
$ nix-info -m
- system: `"aarch64-darwin"`
- host os: `Darwin 23.1.0, macOS 14.1.2`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.18.1`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
No, the fix is still in staging-next (in #275620)
You can see progress to channels a bit more easily at https://nixpk.gs/pr-tracker.html?pr=272807
I'm waiting on the backport PR #273899 (https://nixpk.gs/pr-tracker.html?pr=273899) to make it to nixos-23.11 and then I'll close this issue
Fix should be on all supported channels now, closing
Describe the bug
On my M1 macbook pro, a executing
mutool -v
will complain with the following:Steps To Reproduce
Steps to reproduce the behavior:
nix build github:nixos/nixpkgs/master#mupdf
./result-bin/bin/mutool -v
Expected behavior
Version information is outputted, as dyn libs are found.
Additional context
Affects the
img2pdf
package, which other packages depend on, likepaperless-ngx
.Discovered when creating #272563
Notify maintainers
@vrthra @fpletz @lilyinstarlight
Metadata
Add a :+1: reaction to issues you find important.