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

Bump flake.lock and related dependencies - broken ghostscript on macOS #923

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

selfup-runner[bot]
Copy link
Contributor

@selfup-runner selfup-runner bot commented Nov 11, 2024

This PR has been created by reusable workflow in https://github.com/kachick/selfup/tree/main/.github/workflows

Do NOT work in the branch of this PR, it may be updated by the bot with force push.

Flake lock file updates:

• Updated input 'edge-nixpkgs':
    'github:NixOS/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7?narHash=sha256-Zwl8YgTVJTEum%2BL%2B0zVAWvXAGbWAuXHax3KzuejaDyo%3D' (2024-11-05)
  → 'github:NixOS/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2?narHash=sha256-IigrKK3vYRpUu%2BHEjPL/phrfh7Ox881er1UEsZvw9Q4%3D' (2024-11-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/dba414932936fde69f0606b4f1d87c5bc0003ede?narHash=sha256-mwrFF0vElHJP8X3pFCByJR365Q2463ATp2qGIrDUdlE%3D' (2024-11-06)
  → 'github:NixOS/nixpkgs/83fb6c028368e465cd19bb127b86f971a5e41ebc?narHash=sha256-rz30HrFYCHiWEBCKHMffHbMdWJ35hEkcRVU0h7ms3x0%3D' (2024-11-07)
@kachick
Copy link
Owner

kachick commented Nov 11, 2024

failed in darwin - macos-15

error: builder for '/nix/store/08gjpy7gfpylh2m2dyhasd0l5i3y7mz2-ghostscript-10.04.0.drv' failed with exit code 134;
       last 25 log lines:
       > /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/ps2epsi: interpreter directive changed from "#!/bin/sh" to "/nix/store/26scssmcd1f60zhrillk0npaxxfkfn6k-bash-5.2p32/bin/sh"
       > /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/gsbj: interpreter directive changed from "#!/bin/sh" to "/nix/store/26scssmcd1f60zhrillk0npaxxfkfn6k-bash-5.2p32/bin/sh"
       > /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/unix-lpr.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/26scssmcd1f60zhrillk0npaxxfkfn6k-bash-5.2p32/bin/sh"
       > /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/pdf2ps: interpreter directive changed from "#!/bin/sh" to "/nix/store/26scssmcd1f60zhrillk0npaxxfkfn6k-bash-5.2p32/bin/sh"
       > /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/eps2eps: interpreter directive changed from "#!/bin/sh" to "/nix/store/26scssmcd1f60zhrillk0npaxxfkfn6k-bash-5.2p32/bin/sh"
       > /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/lprsetup.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/26scssmcd1f60zhrillk0npaxxfkfn6k-bash-5.2p32/bin/sh"
       > stripping (with command strip and flags -S) in  /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/lib /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin
       > checking for references to /private/tmp/nix-build-ghostscript-10.04.0.drv-0/ in /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man...
       > gzipping man pages under /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/
       > patching script interpreter paths in /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > checking for references to /private/tmp/nix-build-ghostscript-10.04.0.drv-0/ in /nix/store/kqjwc58ggz4h2l8hbfwlyw65a83rxbvg-ghostscript-10.04.0-doc...
       > patching script interpreter paths in /nix/store/kqjwc58ggz4h2l8hbfwlyw65a83rxbvg-ghostscript-10.04.0-doc
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/gsbj.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/gsdj.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/eps2eps.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/gsdj500.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/gslj.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/ps2pdf14.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/ps2pdf13.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > rewriting symlink /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man/share/man/man1/ps2pdf12.1.gz to be relative to /nix/store/58s4hjjydcvld4zcqha58ziwjybkfyvw-ghostscript-10.04.0-man
       > Running phase: installCheckPhase
       > dyld[26519]: Library not loaded: libgs.10.dylib
       >   Referenced from: <497CFDBA-A6D1-332C-B983-C3CFF6293055> /nix/store/ag7vqbvj1pk7lqczyc3h9ynwv3y199z8-ghostscript-10.04.0/bin/gs
       >   Reason: tried: 'libgs.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibgs.10.dylib' (no such file), 'libgs.10.dylib' (no such file), '/usr/local/lib/libgs.10.dylib' (no such file), '/usr/lib/libgs.10.dylib' (no such file, not in dyld cache), '/private/tmp/nix-build-ghostscript-10.04.0.drv-0/ghostscript-10.04.0/libgs.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/private/tmp/nix-build-ghostscript-10.04.0.drv-0/ghostscript-10.04.0/libgs.10.dylib' (no such file), '/private/tmp/nix-build-ghostscript-10.04.0.drv-0/ghostscript-10.04.0/libgs.10.dylib' (no such file), '/usr/local/lib/libgs.10.dylib' (no such file), '/usr/lib/libgs.10.dylib' (no such file, not in dyld cache)
       > /nix/store/vrjr8rg1gsvvncgdl7qybh5h7vgqdxvn-stdenv-darwin/setup: line 1596: 26519 Abort trap: 6           $out/bin/gs --version
       For full logs, run 'nix log /nix/store/08gjpy7gfpylh2m2dyhasd0l5i3y7mz2-ghostscript-10.04.0.drv'.
error: 1 dependencies of derivation '/nix/store/6gcycvihj5ky3pd2s99755am38vhypy5-python3.11-matplotlib-3.8.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wl5pljais7sqysfpqci6029lqi5a2g31-python3.11-sphinxext-opengraph-0.9.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bvmmlricm93vw2qmsdimmdq33cs5q1r1-kitty-0.34.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kdb24gi80djyvkyflndc45x1325dmwdy-home-manager-applications.drv' failed to build
error (ignored): error: cannot unlink '"/private/tmp/nix-build-sequoia-sq-0.39.0.drv-0/source/target/release/deps"': Directory not empty
error: 1 dependencies of derivation '/nix/store/gihb8vr41a6lxq30bgq31awgd7hdb6y2-home-manager-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3wf1b1dgad48lh2vi03p6dyj1nq36441-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/i3530gf9m432ix77hdnp451wv81qjms9-kitty-0.34.1-fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4d787cvkpwkwimh3wpx0p1pfm9qw2qnh-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sywi12fd2fwxyy0zp6h83nzc1afwkgh2-home-manager-generation.drv' failed to build

NixOS/nixpkgs@3070d8a ?

@kachick
Copy link
Owner

kachick commented Nov 11, 2024

NixOS/nixpkgs#263489 old, but same error 🤔

@kachick
Copy link
Owner

kachick commented Nov 11, 2024

image

https://github.com/NixOS/nixpkgs/blob/c128e44a249d6180740d0a979b6480d5b795c013/pkgs/misc/ghostscript/default.nix

nixpkgs-24.05-darwin is still using old definition for this package.
Need

# TODO: Use nixpkgs-24.05-darwin only in macOS. See GH-910
?

#910

@kachick kachick changed the title Bump flake.lock and related dependencies Bump flake.lock and related dependencies - broken ghostscript on macOS Nov 11, 2024
@kachick kachick merged commit 66ff75a into main Nov 11, 2024
15 of 17 checks passed
@kachick
Copy link
Owner

kachick commented Nov 11, 2024

Unexpected merging. Reverted (Removed )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant