Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323513 - www-client/seamonkey-1.1.18 fails to emerge with libpng14
Summary: www-client/seamonkey-1.1.18 fails to emerge with libpng14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.4
  Show dependency tree
 
Reported: 2010-06-11 05:43 UTC by Stephen Lewis
Modified: 2010-06-11 15:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to seamonkey for libpng14 (seamonkey-libpng14.patch,851 bytes, patch)
2010-06-11 05:46 UTC, Stephen Lewis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Lewis 2010-06-11 05:43:05 UTC
seamonkey has a few errors when emerged with libpng14
here is a suggested patch to fix it

Reproducible: Always

Steps to Reproduce:
1. on a system with libpng14
2. emerge =www-client/seamonkey-1.1.18
3.

Actual Results:  
nsPNGEncoder.cpp: In member function ‘virtual nsresult nsPNGEncoder::InitFromData(const PRUint8*, PRUint32, PRUint32, PRUint32, PRUint32, PRUint32, const nsAString_internal&)’:
nsPNGEncoder.cpp:114: error: ‘png_voidp_NULL’ was not declared in this scope
nsPNGEncoder.cpp:115: error: ‘png_error_ptr_NULL’ was not declared in this scope
gmake[4]: *** [nsPNGEncoder.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.18/work/mozilla/modules/libpr0n/encoders/png'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.18/work/mozilla/modules/libpr0n/encoders'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.18/work/mozilla/modules/libpr0n'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.18/work/mozilla'
make: *** [default] Error 2
 * ERROR: www-client/seamonkey-1.1.18 failed:


Expected Results:  
expect to emerge seamonkey

apply attached patch and emerge succeeds
Comment 1 Stephen Lewis 2010-06-11 05:46:13 UTC
Created attachment 234909 [details, diff]
patch to seamonkey for libpng14

I added this patch to a local overlay and it fixes the problem
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-06-11 14:17:18 UTC
Hello Stephen,

please attach the buail.log and environment files mentioned at the end of the failed ebuild.

Michael
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-11 14:19:43 UTC
=seamonkey-1* should be removed from portage because it has several vulnerabilities... I would recommend uninstalling it soon as possible...
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-11 14:45:52 UTC
+  11 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+  seamonkey-1.1.18.ebuild, +files/seamonkey-1.1.18-libpng14.patch:
+  Fix building with libpng14 wrt #323513 by Stephen Lewis.
Comment 5 Stephen Lewis 2010-06-11 15:52:28 UTC
(In reply to comment #2)
> Hello Stephen,
> 
> please attach the buail.log and environment files mentioned at the end of the
> failed ebuild.
> 
> Michael
> 
I assume this no longer required, bug fixed,
Stephen Lewis
Comment 6 Stephen Lewis 2010-06-11 15:55:13 UTC
(In reply to comment #4)
> +  11 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
> +  seamonkey-1.1.18.ebuild, +files/seamonkey-1.1.18-libpng14.patch:
> +  Fix building with libpng14 wrt #323513 by Stephen Lewis.
> 

Wow! Quick response, thanks for fix, I will heed warnings but am
using "Composer" feature on LAN since I can't get Amaya to work,
Stephen Lewis