[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#652152: gecko-mediaplayer: FTBFS: npupp.h:703:49: error: declaration of C function 'char* NP_GetMIMEDescription()' conflicts with



Source: gecko-mediaplayer
Version: 1.0.4-2
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20111210 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[4]: Entering directory `/build/gecko-mediaplayer-ztaSMG/gecko-mediaplayer-1.0.4/src'
>   CXX    plugin_types_std.o
>   CXX    plugin.o
> In file included from /usr/lib/xulrunner-devel-8.0/include/nsrootidl.h:13:0,
>                  from /usr/lib/xulrunner-devel-8.0/include/nsISupports.h:10,
>                  from /usr/lib/xulrunner-devel-8.0/include/nsIPrefBranch.h:10,
>                  from plugin.cpp:45:
> /usr/lib/xulrunner-devel-8.0/include/nscore.h:417:2: warning: #warning libxul SDK was configured with char16_t support, but now building without [-Wcpp]
> plugin.h: In constructor 'CPlugin::CPlugin(NPP)':
> plugin.h:177:9: warning: 'CPlugin::mInstance' will be initialized after [-Wreorder]
> plugin.h:105:15: warning:   'NPStream* CPlugin::m_pNPStream' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:110:15: warning: 'CPlugin::m_pScriptableObjectMedia' will be initialized after [-Wreorder]
> plugin.h:109:15: warning:   'NPObject* CPlugin::m_pScriptableObjectSettings' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:189:14: warning: 'CPlugin::dbus_dispatch' will be initialized after [-Wreorder]
> plugin.h:185:12: warning:   'gchar* CPlugin::path' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:185:12: warning: 'CPlugin::path' will be initialized after [-Wreorder]
> plugin.h:184:14: warning:   'gboolean CPlugin::acceptdata' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:187:14: warning: 'CPlugin::playerready' will be initialized after [-Wreorder]
> plugin.h:180:10: warning:   'gint CPlugin::nextid' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:205:12: warning: 'CPlugin::user_agent' will be initialized after [-Wreorder]
> plugin.h:178:12: warning:   'gchar* CPlugin::page_url' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:207:14: warning: 'CPlugin::quicktime_emulation' will be initialized after [-Wreorder]
> plugin.h:197:14: warning:   'gboolean CPlugin::disable_context_menu' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:217:12: warning: 'CPlugin::event_leavewindow' will be initialized after [-Wreorder]
> plugin.h:199:14: warning:   'gboolean CPlugin::debug' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.h:224:12: warning: 'CPlugin::tv_driver' will be initialized after [-Wreorder]
> plugin.h:223:12: warning:   'gchar* CPlugin::tv_device' [-Wreorder]
> plugin.cpp:183:1: warning:   when initialized here [-Wreorder]
> plugin.cpp:228:14: warning: variable 'b' set but not used [-Wunused-but-set-variable]
> plugin.cpp: In member function 'NPError CPlugin::SetWindow(NPWindow*)':
> plugin.cpp:442:36: warning: unused variable 'ws_info' [-Wunused-variable]
> plugin.cpp: In function 'void* CURLGetURLNotify(gpointer)':
> plugin.cpp:1552:1: warning: no return statement in function returning non-void [-Wreturn-type]
>   CXX    memmem_compat.o
>   CXX    plugin_list.o
> plugin_list.cpp: In function 'GList* list_parse_qt(GList*, ListItem*)':
> plugin_list.cpp:268:12: warning: variable 'rmdr' set but not used [-Wunused-but-set-variable]
>   CXX    plugin_setup.o
>   CXX    plugin_dbus.o
> plugin_dbus.cpp: In function 'DBusHandlerResult filter_func(DBusConnection*, DBusMessage*, void*)':
> plugin_dbus.cpp:44:18: warning: variable 'sender' set but not used [-Wunused-but-set-variable]
> plugin_dbus.cpp:45:18: warning: variable 'destination' set but not used [-Wunused-but-set-variable]
> plugin_dbus.cpp:50:12: warning: variable 'path' set but not used [-Wunused-but-set-variable]
>   CXX    np_entry.o
> In file included from np_entry.cpp:44:0:
> npupp.h:703:49: error: declaration of C function 'char* NP_GetMIMEDescription()' conflicts with
> /usr/lib/xulrunner-devel-8.0/include/npfunctions.h:303:24: error: previous declaration 'const char* NP_GetMIMEDescription()' here
> np_entry.cpp:83:30: error: new declaration 'char* NPP_GetMIMEDescription()'
> /usr/lib/xulrunner-devel-8.0/include/npapi.h:792:13: error: ambiguates old declaration 'const char* NPP_GetMIMEDescription()'
> np_entry.cpp: In function 'char* NP_GetMIMEDescription()':
> np_entry.cpp:87:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
> make[4]: *** [np_entry.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/12/10/gecko-mediaplayer_1.0.4-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



Reply to: