FS#19216 - [wxgtk] is built against libpng-1.2.7

Attached to Project: Arch Linux
Opened by Viktor (thesame) - Thursday, 22 April 2010, 17:25 GMT
Last edited by Ionut Biru (wonder) - Saturday, 01 May 2010, 13:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Package wxgtk is linked to libpng-1.2.7 which causes segfaults in some apps. For example luxrender:

libpng warning: Application was compiled with png.h from libpng-1.4.1
libpng warning: Application is running with png.c from libpng-1.2.7
libpng error: Incompatible libpng version in application and library


Additional info:

wxgtk 2.8.10.1-6
libpng 1.4.1-1

Steps to reproduce:

Install wxgtk
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 01 May 2010, 13:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.8.10.1-7
Comment by Pierre Schmitz (Pierre) - Thursday, 22 April 2010, 17:32 GMT
I bet you are using third party repos or packages from the AUR. Check pacman.conf and pacman -Qm.

Not a bug.
Comment by Viktor (thesame) - Thursday, 22 April 2010, 17:39 GMT
No third party repos, no aur.

$ sudo pacman -Sf wxgtk
...
$ strings /usr/lib/libwx_gtk2u_core-2.8.so.0.6.0 | grep 'png version'
libpng version 1.2.7 - September 12, 2004
libpng version 1.2.7 - September 12, 2004 (header)
...
Comment by Viktor (thesame) - Thursday, 22 April 2010, 17:44 GMT
wxgtk has its own libpng 1.2.7 distributed within tarball
Comment by Pierre Schmitz (Pierre) - Thursday, 22 April 2010, 17:59 GMT
Oh, that would be a problem indeed. Patches are welcome then. (wxgtk has no active maintainer atm)

Bur: How did you reproduce this anyway? I installed wxgtk and luxrender is working fine here. There is also no libpng within that package.
Comment by Viktor (thesame) - Thursday, 22 April 2010, 18:01 GMT
luxrender works well until tries to save rendering result to PNG. Issue discussed here http://bbs.archlinux.org/viewtopic.php?pid=747683
Comment by Ionut Biru (wonder) - Thursday, 22 April 2010, 18:30 GMT
try compiling adding in PKGBUILD before configure

sed -i -e 's:png_check_sig:png_sig_cmp:g' configure

and adding to configure the next options:

--with-libpng=sys
--with-libxpm=sys
--with-libjpeg=sys
--with-libtiff=sys
Comment by Viktor (thesame) - Thursday, 22 April 2010, 20:06 GMT
Ionut Biru, thank you for the hint. It worked.
Unfortunately, I also had to rebuild luxrender to make it work.
   PKGBUILD (1.9 KiB)

Loading...