Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#14426 - [ghostscript] and libpng issue
Attached to Project:
Arch Linux
Opened by Christian Himpel (chressie) - Wednesday, 22 April 2009, 10:56 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 07 September 2009, 12:05 GMT
Opened by Christian Himpel (chressie) - Wednesday, 22 April 2009, 10:56 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 07 September 2009, 12:05 GMT
|
DetailsDescription:
Since ghostscript comes with its own version of libpng, this can cause an issue (segfault/corrupted memory) when linking a program against libgs and libpng. Additional info: * ghostscript 8.64-5 Steps to reproduce: * Copy simple_dialog.c and Makefile to a directory * Compile with make * See how ./simple_dialog-crash crashes and ./simple_dialog-normal works without crashing (Unfortunately this example depends on GTK+, but that was the easiest way to show the issue since gtk_file_chooser_dialog_new() tries to open some png files) Solution: Before compiling ghostscript remove the ghostscript local libpng version (see PKGBUILD.patch), so ghostscript will compile against the installed libpng (which is anyway a dependency of cairo, which in turn is a dependency of ghostscript). |
Closed by Andreas Radke (AndyRTR)
Monday, 07 September 2009, 12:05 GMT
Reason for closing: Implemented
Monday, 07 September 2009, 12:05 GMT
Reason for closing: Implemented
simple_dialog.c
- zlib
- libjpeg
- libpng
- jbig2dec
- jasper
note that the configure.ac script talks about a patch to libjpeg that should be applied. Don't know if it's included by the upstream version, as libjpeg hasn't had any maintenance for years now.
But this is not the way upstream does it and we would come in conflict with our packaging policy. Is anything broken with our gs 8.70 version we packaged the default way using internal libs?