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: broken build from poppler_utils update #44282

Closed
calvertvl opened this issue Jul 31, 2018 · 0 comments · Fixed by #44283
Closed

cups-filters: broken build from poppler_utils update #44282

calvertvl opened this issue Jul 31, 2018 · 0 comments · Fixed by #44283

Comments

@calvertvl
Copy link
Contributor

Issue description

cups-filters fails to build on recent master (333a664)

Reverting the recent poppler_utils update (7d01650) resolves the problem, and cups-filters builds properly again. This was PR #43915.

Steps to reproduce

Failure: nix-build -A cups-filters

  CC       gstoraster-gstoraster.o
  CC       mupdftoraster-mupdftoraster.o
  CC       foomatic_rip-foomaticrip.o
  CC       foomatic_rip-options.o
  CC       foomatic_rip-pdf.o
  CC       foomatic_rip-postscript.o
  CC       foomatic_rip-process.o
  CC       foomatic_rip-renderer.o
filter/pdf.cxx: In function 'int pdf_fill_form(pdf_t*, opt_t*)':
filter/pdf.cxx:740:44: error: invalid conversion from 'const GooString*' to 'GooString*' [-fpermissive]
             field_name = ff->getPartialName();
                          ~~~~~~~~~~~~~~~~~~^~
make[1]: *** [Makefile:3937: bannertopdf-pdf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/cups-filters-1.20.4'
make: *** [Makefile:1975: all] Error 2
builder for '/nix/store/bshxw2d6zg5cw134nv5zch9favrn7gqp-cups-filters-1.20.4.drv' failed with exit code 2
error: build of '/nix/store/bshxw2d6zg5cw134nv5zch9favrn7gqp-cups-filters-1.20.4.drv' failed

Success: git revert 7d016502d88a89bebb2fd8728a5bb40702a7feba && nix-build -A cups_filters

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.58, NixOS, 18.09.git.f134990 (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixos-17.09pre104936.b0d07aa894"
  • channels(calvertvl): ""
  • nixpkgs: /home/calvertvl/repos/nixpkgs
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 a pull request may close this issue.

1 participant