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-zj-58: init at 2018-02-22 #35401

Merged
merged 2 commits into from Feb 23, 2018
Merged

Conversation

makefu
Copy link
Contributor

@makefu makefu commented Feb 23, 2018

Motivation for this change

Adds cups drivers for Zjiang ZJ-58

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • [NA] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Adds cups drivers for Zjiang ZJ-58
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

gcc  -o rastertozj rastertozj.o -lcupsimage -lcups
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3b7k9wmdjbgkicacnpijl7kh1mbp3klg-cups-zj-58-2018-02-22
shrinking /nix/store/3b7k9wmdjbgkicacnpijl7kh1mbp3klg-cups-zj-58-2018-02-22/lib/cups/filter/rastertozj
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/3b7k9wmdjbgkicacnpijl7kh1mbp3klg-cups-zj-58-2018-02-22/lib 
patching script interpreter paths in /nix/store/3b7k9wmdjbgkicacnpijl7kh1mbp3klg-cups-zj-58-2018-02-22
checking for references to /tmp/nix-build-cups-zj-58-2018-02-22.drv-0 in /nix/store/3b7k9wmdjbgkicacnpijl7kh1mbp3klg-cups-zj-58-2018-02-22...
/nix/store/3b7k9wmdjbgkicacnpijl7kh1mbp3klg-cups-zj-58-2018-02-22

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

gcc  -o rastertozj rastertozj.o -lcupsimage -lcups
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1p275qj51xr5w8vk0isr9d7gbj62pd5z-cups-zj-58-2018-02-22
shrinking /nix/store/1p275qj51xr5w8vk0isr9d7gbj62pd5z-cups-zj-58-2018-02-22/lib/cups/filter/rastertozj
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/1p275qj51xr5w8vk0isr9d7gbj62pd5z-cups-zj-58-2018-02-22/lib
patching script interpreter paths in /nix/store/1p275qj51xr5w8vk0isr9d7gbj62pd5z-cups-zj-58-2018-02-22
checking for references to /build in /nix/store/1p275qj51xr5w8vk0isr9d7gbj62pd5z-cups-zj-58-2018-02-22...
/nix/store/1p275qj51xr5w8vk0isr9d7gbj62pd5z-cups-zj-58-2018-02-22

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘cups-zj-58-2018-02-22’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/misc/cups/drivers/zj-58/default.nix:26 is not supported on ‘x86_64-darwin’, refusing to evaluate.

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

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

@Mic92
Copy link
Member

Mic92 commented Feb 23, 2018

@GrahamcOfBorg eval

@makefu
Copy link
Contributor Author

makefu commented Feb 23, 2018

@Mic92 thanks for the cleanup 👍 i always forget that install is just so much cooler than mkdir + cp

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

gcc  -o rastertozj rastertozj.o -lcupsimage -lcups
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22
shrinking /nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22/lib/cups/filter/rastertozj
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22/lib 
patching script interpreter paths in /nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22
checking for references to /tmp/nix-build-cups-zj-58-2018-02-22.drv-0 in /nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22...
/nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/r84vc3k9pshy8wcvk4a8s94r62aha088-cups-zj-58-2018-02-22

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘cups-zj-58-2018-02-22’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/misc/cups/drivers/zj-58/default.nix:23 is not supported on ‘x86_64-darwin’, refusing to evaluate.

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

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

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘cups-zj-58-2018-02-22’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/misc/cups/drivers/zj-58/default.nix:23 is not supported on ‘x86_64-darwin’, refusing to evaluate.

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

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

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

gcc  -o rastertozj rastertozj.o -lcupsimage -lcups
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22
shrinking /nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22/lib/cups/filter/rastertozj
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22/lib
patching script interpreter paths in /nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22
checking for references to /build in /nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22...
/nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

these derivations will be built:
  /nix/store/8mvysvvghy33by6l12f9fsks5s38rdzb-cups-zj-58-2018-02-22.drv
waiting for locks or build slots...
/nix/store/97xzqh031fkzz5gnpxxmfwgfvf11ply9-cups-zj-58-2018-02-22

@Mic92 Mic92 merged commit eb05f92 into NixOS:master Feb 23, 2018
@Mic92
Copy link
Member

Mic92 commented Feb 23, 2018

no problem.

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

3 participants