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

cups-filters: add all needed execve runtime paths #50277

Merged
merged 1 commit into from Nov 21, 2018

Conversation

Profpatsch
Copy link
Member

Otherwise cupsd reports errors that e.g. gs cannot be
found (provided it’s not available in the system closure PATH).

  • tested on NixOS with the cups module

cc @jgeerds

Otherwise cupsd reports errors that e.g. `gs` cannot be
found (provided it’s not available in the system closure PATH).
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: cups-filters

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cups-filters

Partial log (click to expand)

/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.gstopdf-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.vectortobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.imagetobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.gstopxl-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.vectortopdf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.musicxmltobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/lib/cups/filter/.imageubrltoindexv4-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4...
moving /nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/sbin/* to /nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4/bin
/nix/store/mj9swdmxhil6vjp0rf7zs4rr7dq86mkz-cups-filters-1.20.4

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cups-filters

Partial log (click to expand)

/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.imageubrltoindexv3-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.imagetops-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.imagetobrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.gstopxl-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.gstopdf-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.brftopagedbrf-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/lib/cups/filter/.brftoembosser-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4...
moving /nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/sbin/* to /nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4/bin
/nix/store/wr4km614h3nz0rn6v2c4mpy5k8llvn17-cups-filters-1.20.4

@Profpatsch
Copy link
Member Author

Maybe one of the driver maintainers wants to review, cc @jokogr @jfrankenau @jraygauthier @cstrahan @RamKromberg @makefu (sorry for semi-random selection).

@jokogr
Copy link
Contributor

jokogr commented Nov 20, 2018

@Profpatsch unfortunately I no longer have access to a printer, so I cannot test this.

@makefu
Copy link
Contributor

makefu commented Nov 20, 2018

haven't tested it but i guess that explicitly setting the paths to the binaries is always preferable to whatever is guessed by the configure script ;)

@Profpatsch
Copy link
Member Author

Thanks, I’ll merge and let’s see whether somebody complains. It worked for my printer at least. :)

@Profpatsch Profpatsch merged commit 7c4d36f into NixOS:master Nov 21, 2018
@jraygauthier
Copy link
Member

Seems like this should only help. Good job.

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

Successfully merging this pull request may close these issues.

None yet

5 participants