Skip to content

epson-escpr-1.7.20 failed with exit code 2 after 11s in buildPhase #368161

@Arjun31415

Description

@Arjun31415

Describe the bug

epson-escpr package for printer driver fails to build on nixos-unstable with log-

 Making all in src
3609   │ make[2]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.20/src'
3610   │ gcc -DHAVE_CONFIG_H -I. -I..    -I../lib -g -O2 -c -o epson_escpr-filter.o `test -f 'filter.c' || echo './'`filter.c
3611   │ filter.c: In function 'epsInitJob':
3612   │ filter.c:131:9: error: implicit declaration of function 'obsClear' [
       │ cit-function-declaration^G-Wimplicit-function-declaration]
3613   │   131 |         obsClear();
3614   │       |         ^~~~~~~~
3615   │ filter.c: In function 'main':
3616   │ filter.c:345:15: error: implicit declaration of function 'SetupJobAttrib' [
       │ -Wimplicit-function-declaration^G-Wimplicit-function-declaration]
3617   │   345 |         err = SetupJobAttrib(&jobAttr);
3618   │       |               ^~~~~~~~~~~~~~
3619   │ filter.c:354:15: error: implicit declaration of function 'pageAllocBuffer' [
       │ x-Wimplicit-function-declaration^G-Wimplicit-function-declaration]
3620   │   354 |         err = pageAllocBuffer();
3621   │       |               ^~~~~~~~~~~~~~~
3622   │ filter.c:373:15: error: implicit declaration of function 'SendStartJob'; did you mean 'epsStartJob'? [
       │ /Warning-Options.html#index-Wimplicit-function-declaration^G-Wimplicit-function-declaration]
3623   │   373 |         err = SendStartJob(FALSE);
3624   │       |               ^~~~~~~~~~~~
3625   │       |               epsStartJob
3626   │ filter.c:536:33: error: implicit declaration of function 'PrintBand'; did you mean 'epsPrintBand'? [
       │ arning-Options.html#index-Wimplicit-function-declaration^G-Wimplicit-function-declaration]
3627   │   536 |                                 PrintBand (rever_buf, bandBmp.widthBytes, &printHeight);
3628   │       |                                 ^~~~~~~~~
3629   │       |                                 epsPrintBand
3630   │ filter.c: In function 'set_pips_parameter':
3631   │ filter.c:832:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [
       │ c/Warning-Options.html#index-Wno-unused-result^G-Wunused-result]
3632   │   832 |         read (STDIN_FILENO, &page_num, 1);
3633   │       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3634   │ make[2]: *** [Makefile:476: epson_escpr-filter.o] Error 1
3635   │ make[2]: Leaving directory '/build/epson-inkjet-printer-escpr-1.7.20/src'
3636   │ make[1]: *** [Makefile:445: all-recursive] Error 1
3637   │ make[1]: Leaving directory '/build/epson-inkjet-printer-escpr-1.7.20'
3638   │ make: *** [Makefile:372: all] Error 2

Steps To Reproduce

Steps to reproduce the behavior:

  1. Nix flake-
  services = {
    printing.enable = true;
    printing.drivers = [pkgs.epson-escpr];
};
  1. rebuild switch

Entire Log file-
epson.log

Expected behavior

Nix build without errors

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.5, NixOS, 25.05 (Warbler), 25.05.20241217.4989a24
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • channels(root): "nixos, nixpkgs"
  • nixpkgs: /nix/store/9bdl6wa2qck3q0f7l892plk5lwy3pvx1-source

Notify maintainers

@artuuge


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions