gnash fails to build against Firefox 8+

Bug #897527 reported by Micah Gersten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnash (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

https://launchpadlibrarian.net/85807283/buildlog_ubuntu-precise-i386.gnash_0.8.10~git20110618-3ubuntu2_FAILEDTOBUILD.txt.gz

make[6]: Entering directory `/build/buildd/gnash-0.8.10~git20110618/tmp.build/plugin/npapi'
  CXX libgnashplugin_la-plugin.lo
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-plugin.lo `test -f 'plugin.cpp' || echo '../../../plugin/npapi/'`plugin.cpp
  CXX libgnashplugin_la-npn_gate.lo
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-npn_gate.lo `test -f 'mozilla-sdk/npn_gate.cpp' || echo '../../../plugin/npapi/'`mozilla-sdk/npn_gate.cpp
  CXX libgnashplugin_la-np_entry.lo
  CXX libgnashplugin_la-npp_gate.lo
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-npp_gate.lo `test -f 'mozilla-sdk/npp_gate.cpp' || echo '../../../plugin/npapi/'`mozilla-sdk/npp_gate.cpp
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-np_entry.lo `test -f 'mozilla-sdk/np_entry.cpp' || echo '../../../plugin/npapi/'`mozilla-sdk/np_entry.cpp
  CXX libgnashplugin_la-pluginScriptObject.lo
  CXX libgnashplugin_la-callbacks.lo
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-pluginScriptObject.lo `test -f 'pluginScriptObject.cpp' || echo '../../../plugin/npapi/'`pluginScriptObject.cpp
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-callbacks.lo `test -f 'callbacks.cpp' || echo '../../../plugin/npapi/'`callbacks.cpp
  CXX libgnashplugin_la-external.lo
/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../plugin/npapi -I../.. -DPLUGIN_TRACE -DGNASHBINDIR=\"/usr/bin\" -DSYSCONFDIR=\"/etc\" -I../../../libcore -I../../../libcore/parser -I../../../libbase -I../../../librender -I../../../plugin/npapi/mozilla-sdk -DXP_UNIX -I/usr/include/firefox-9.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DXP_UNIX -DMOZ_X11 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashplugin_la-external.lo `test -f 'external.cpp' || echo '../../../plugin/npapi/'`external.cpp
../../../plugin/npapi/mozilla-sdk/np_entry.cpp: In function 'char* NP_GetMIMEDescription()':
../../../plugin/npapi/mozilla-sdk/np_entry.cpp:242:27: error: new declaration 'char* NP_GetMIMEDescription()'
/usr/include/firefox-9.0/npfunctions.h:307:24: error: ambiguates old declaration 'const char* NP_GetMIMEDescription()'
../../../plugin/npapi/mozilla-sdk/np_entry.cpp:244:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
make[6]: *** [libgnashplugin_la-np_entry.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
../../../plugin/npapi/mozilla-sdk/npp_gate.cpp:59:9: warning: unused parameter 'save' [-Wunused-parameter]
../../../plugin/npapi/plugin.cpp: In function 'char* NPP_GetMIMEDescription()':
../../../plugin/npapi/plugin.cpp:132:28: error: new declaration 'char* NPP_GetMIMEDescription()'
/usr/include/firefox-9.0/npapi.h:794:13: error: ambiguates old declaration 'const char* NPP_GetMIMEDescription()'
make[6]: *** [libgnashplugin_la-plugin.lo] Error 1
make[6]: Leaving directory `/build/buildd/gnash-0.8.10~git20110618/tmp.build/plugin/npapi'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/build/buildd/gnash-0.8.10~git20110618/tmp.build/plugin/npapi'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/build/buildd/gnash-0.8.10~git20110618/tmp.build/plugin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/gnash-0.8.10~git20110618/tmp.build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/buildd/gnash-0.8.10~git20110618/tmp.build'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/gnash-0.8.10~git20110618'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Tags: ftbfs

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnash - 0.8.10~git20111001-1ubuntu1

---------------
gnash (0.8.10~git20111001-1ubuntu1) precise; urgency=low

  * Merge from Debian testing. Remaining changes:
    - Use mozilla-flashplugin as the alternative for now
    - Set alternative priority to 50 so that it matches Adobe Flash's priority
    - Change xulrunner-dev build dep to firefox-dev
  * debian/patches/fix_plugin_api.patch:
    - Update gnash to work with Firefox 8+ API (LP: #897527)

gnash (0.8.10~git20111001-1) unstable; urgency=low

  * Git snapshot.
    + Build against libav (Closes: #638247, #643614).
  * Wrap-and-sorted (Closes: #632753).
 -- Michael Terry <email address hidden> Wed, 30 Nov 2011 13:09:15 -0500

Changed in gnash (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.