FS#39311 - [gnash] builds fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 18:54 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 19 April 2014, 05:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

CXX libgnashplugin_la-np_entry.lo
In file included from ./pluginScriptObject.h:44:0,
from ./plugin.h:57,
from mozilla-sdk/npn_gate.cpp:26:
./GnashNPVariant.h:107:9: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
NULL_TO_NPVARIANT(_variant);
^
In file included from /usr/include/xulrunner-27.0/npfunctions.h:17:0,
from ./mozilla-sdk/npplat.h:31,
from ./mozilla-sdk/pluginbase.h:24,
from ./plugin.h:56,
from mozilla-sdk/npn_gate.cpp:26:
./GnashNPVariant.h: In constructor 'gnash::GnashNPVariant::GnashNPVariant()':
/usr/include/xulrunner-27.0/npruntime.h:146:30: error: 'nullptr' was not declared in this scope
(_v).value.objectValue = nullptr; \
^
./GnashNPVariant.h:107:9: note: in expansion of macro 'NULL_TO_NPVARIANT'
NULL_TO_NPVARIANT(_variant);
^
mozilla-sdk/npn_gate.cpp: In function 'void NPN_ReleaseVariantValue(NPVariant*)':
mozilla-sdk/npn_gate.cpp:367:84: warning: cast from type 'const NPUTF8* {aka const char*}' to type 'void*' casts away qualifiers [-Wcast-qual]
NPN_MemFree((void*)gnash::GetNPStringChars(NPVARIANT_TO_STRING(*variant)));
^
In file included from /usr/include/xulrunner-27.0/npfunctions.h:17:0,
from ./mozilla-sdk/npplat.h:31,
from ./mozilla-sdk/pluginbase.h:24,
from ./plugin.h:56,
from mozilla-sdk/npn_gate.cpp:26:
/usr/include/xulrunner-27.0/npruntime.h:140:30: error: 'nullptr' was not declared in this scope
(_v).value.objectValue = nullptr; \
^
mozilla-sdk/npn_gate.cpp:371:9: note: in expansion of macro 'VOID_TO_NPVARIANT'
VOID_TO_NPVARIANT(*variant);
^
Makefile:873: recipe for target 'libgnashplugin_la-npn_gate.lo' failed
make[4]: *** [libgnashplugin_la-npn_gate.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from pluginScriptObject.h:44:0,
from plugin.h:57,
from plugin.cpp:76:
GnashNPVariant.h:107:9: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
NULL_TO_NPVARIANT(_variant);
^
In file included from plugin.cpp:36:0:
../../libbase/GnashSleep.h: In function 'void gnash::gnashSleep(size_t)':
../../libbase/GnashSleep.h:41:42: warning: narrowing conversion of '(useconds / 1000000ul)' from 'size_t {aka long unsigned int}' to '__time_t {aka long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
const struct timespec t = { useconds / m, (useconds % m) * 1000 };
^
../../libbase/GnashSleep.h:41:62: warning: narrowing conversion of '((useconds % 1000000ul) * 1000ul)' from 'size_t {aka long unsigned int}' to '__syscall_slong_t {aka long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
const struct timespec t = { useconds / m, (useconds % m) * 1000 };
^
In file included from /usr/include/xulrunner-27.0/npfunctions.h:17:0,
from ./mozilla-sdk/npplat.h:31,
from ./mozilla-sdk/pluginbase.h:24,
from plugin.h:56,
from plugin.cpp:76:
GnashNPVariant.h: In constructor 'gnash::GnashNPVariant::GnashNPVariant()':
/usr/include/xulrunner-27.0/npruntime.h:146:30: error: 'nullptr' was not declared in this scope
(_v).value.objectValue = nullptr; \
^
GnashNPVariant.h:107:9: note: in expansion of macro 'NULL_TO_NPVARIANT'
NULL_TO_NPVARIANT(_variant);
^
plugin.cpp: In member function 'bool gnash::nsPluginInstance::processPlayerRequest()':
/usr/include/xulrunner-27.0/npruntime.h:140:30: error: 'nullptr' was not declared in this scope
(_v).value.objectValue = nullptr; \
^
plugin.cpp:917:9: note: in expansion of macro 'VOID_TO_NPVARIANT'
VOID_TO_NPVARIANT(result);
^
plugin.cpp: In member function 'void gnash::nsPluginInstance::setupIOChannel(int, GIOFunc, GIOCondition) const':
plugin.cpp:1335:55: warning: cast from type 'const gnash::nsPluginInstance* const' to type 'gpointer {aka void*}' casts away qualifiers [-Wcast-qual]
g_io_add_watch(ichan, signals, handler, (gpointer)this);
^
Makefile:866: recipe for target 'libgnashplugin_la-plugin.lo' failed
make[4]: *** [libgnashplugin_la-plugin.lo] Error 1
make[4]: Leaving directory '/build/gnash/src/gnash-0.8.10/plugin/npapi'
Makefile:955: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/build/gnash/src/gnash-0.8.10/plugin/npapi'
Makefile:661: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/build/gnash/src/gnash-0.8.10/plugin'
Makefile:1134: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/gnash/src/gnash-0.8.10'
Makefile:1041: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 19 April 2014, 05:03 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Dropped to AUR

Loading...