Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319093 - app-office/mozilla-sunbird-0.9 doesn't build against media-libs/libpng-1.4.2
Summary: app-office/mozilla-sunbird-0.9 doesn't build against media-libs/libpng-1.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 319107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-09 22:47 UTC by gent_bz
Modified: 2010-05-10 13:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gent_bz 2010-05-09 22:47:12 UTC
Compiling sunbird while revdep-rebuilding after upgrade to libpng-1.4, I see the following error:

gmake[4]: Entering directory `/var/tmp/portage/app-office/mozilla-sunbird-0.9/work/mozilla/modules/libpr0n/encoders/png'
nsPNGEncoder.cpp
x86_64-pc-linux-gnu-g++ -o nsPNGEncoder.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2010051001  -I../../../../dist/include/xpcom -I../../../../dist/include/gfx -I../../../../dist/include/string -I../../../../dist/include/imglib2 -I../../../../dist/include/imgpnge -I../../../../dist/include -I/usr/include/nspr    -I../../../../dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=core2 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsPNGEncoder.pp nsPNGEncoder.cpp
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/app-office/mozilla-sunbird-0.9/work/mozilla/modules/libpr0n/encoders/png'

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-10 07:04:40 UTC
*** Bug 319107 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-05-10 13:57:42 UTC
we need new sunbird and sunbird-bin in tree... bad...

+  10 May 2010; Samuli Suominen <ssuominen@gentoo.org> +files/lpng14.patch,
+  mozilla-sunbird-0.9.ebuild:
+  Fix building with libpng14 wrt #319093 by Jonathan Adamczewski.