pkgsrc-Bugs archive

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

pkg/45110: multimedia/mplayer-plugin does not build with xulrunner-2.x



>Number:         45110
>Category:       pkg
>Synopsis:       multimedia/mplayer-plugin does not build with xulrunner-2.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 01 10:50:01 +0000 2011
>Originator:     John D. Baker
>Release:        NetBSD-5.1_STABLE/i386, pkgsrc-current (pre 2011Q2)
>Organization:
>Environment:
NetBSD tesla.clamp.net 5.1_STABLE NetBSD 5.1_STABLE (TESLA) #0: Thu Jun 30 
11:37:59 CDT 2011  
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/TESLA
 i386

>Description:
Building multimedia/mplayer-plugin pulls in devel/xulrunner.  Since the
import of xulrunner v2.x (firefox 4.x), building mplayer-plugin fails
with:

[...]===> Building for mplayer-plugin-3.55nb6
c++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -fshort-wchar 
-I/usr/pkg/include/xulrunner   -I/usr/pkg/include/xulrunner -O2 
-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -D_REENTRANT -I/usr/X11R7/include   -D_REENTRANT 
-I/usr/X11R7/include   -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/X11R7/include -I/usr/X11R7/include/freetype2  -Iinclude -fPIC  
-D_REENTRANT -pthread -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/X11R7/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/X11R7/include/freetype2 
-I/usr/pkg/include/libpng15 -I/usr/pkg/include   -D_REENTRANT -pthread 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/p
 kg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/gdk-pixbuf-2.0 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/gio-unix-2.0/ 
-I/usr/X11R7/include -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 
-I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng15 -I/usr/pkg/include   
-pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   
-DGTK_ENABLED   Source/plugin.cpp
include/pluginbase.h:55: warning: 'class nsPluginInstanceBase' has virtual 
functions but non-virtual destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:109:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:113:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:117:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:120:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:124:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:127:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:131:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:134:
 error: expected initializer before 'NS_ATTR_MALLOC'
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:
 In function 'void* operator new(size_t)':
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:229:
 error: 'moz_xmalloc' was not declared in this scope
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:
 In function 'void* operator new(size_t, const std::nothrow_t&)':
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:235:
 error: 'moz_malloc' was not declared in this scope
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:
 In function 'void* operator new [](size_t)':
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:241:
 error: 'moz_xmalloc' was not declared in this scope
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:
 In function 'void* operator new [](size_t, const std::nothrow_t&)':
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:247:
 error: 'moz_malloc' was not declared in this scope
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:
 In function 'void* operator new(size_t, const mozilla::fallible_t&)':
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:303:
 error: 'moz_malloc' was not declared in this scope
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:
 In function 'void* operator new [](size_t, const mozilla::fallible_t&)':
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:309:
 error: 'moz_malloc' was not declared in this scope
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsISupportsBase.h:
 At global scope:
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsISupportsBase.h:66:
 warning: 'class nsISupports' has virtual functions but non-virtual destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsCycleCollector.h:54:
 warning: 'struct nsCycleCollectionLanguageRuntime' has virtual functions but 
non-virtual destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsCycleCollector.h:78:
 warning: 'struct nsCycleCollectionJSRuntime' has virtual functions but 
non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: 'class nsIScriptableWMPPlugin' 
has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:122: warning: 'class 
nsIScriptableMplayerPlugin' has virtual functions but non-virtual destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsIClassInfo.h:37:
 warning: 'class nsIClassInfo' has virtual functions but non-virtual destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsIProgrammingLanguage.h:31:
 warning: 'class nsIProgrammingLanguage' has virtual functions but non-virtual 
destructor
Source/nsScriptablePeer.h:57: warning: 'class nsClassInfoMixin' has virtual 
functions but non-virtual destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsIServiceManager.h:38:
 warning: 'class nsIServiceManager' has virtual functions but non-virtual 
destructor
/d0/build/pkgsrc/multimedia/mplayer-plugin/work/.buildlink/include/xulrunner/nsIMemory.h:56:
 warning: 'class nsIMemory' has virtual functions but non-virtual destructor
Source/plugin.cpp: In function 'NPError NS_PluginInitialize()':
Source/plugin.cpp:101: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
Source/plugin.cpp: In constructor 'nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:300: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp: In member function 'virtual NPError 
nsPluginInstance::NewStream(char*, NPStream*, NPBool, PRUint16*)':
Source/plugin.cpp:1351: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp: In member function 'virtual NPError 
nsPluginInstance::DestroyStream(NPStream*, NPError)':
Source/plugin.cpp:1485: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp: In member function 'void 
nsPluginInstance::GetFilename(char**)':
Source/plugin.cpp:2477: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp:2479: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp:2481: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp: In member function 'void nsPluginInstance::SetFilename(const 
char*)':
Source/plugin.cpp:2562: error: 'moz_strdup' was not declared in this scope
Source/plugin.cpp: In member function 'void 
nsPluginInstance::GetMIMEType(char**)':
Source/plugin.cpp:3198: error: 'moz_strdup' was not declared in this scope
gmake: *** [plugin.o] Error 1
*** Error code 2

Stop.
make: stopped in /d0/nbsd/pkgsrc/multimedia/mplayer-plugin
*** Error code 1

Stop.
make: stopped in /d0/nbsd/pkgsrc/multimedia/mplayer-plugin


The same happens on -5.99.x/i386:

NetBSD skuld.technoskunk.fur 5.99.54 NetBSD 5.99.54 (SKULD) #45: Tue Jun 28 
20:11:19 CDT 2011  
sysop%skuld.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/SKULD
 i386

>How-To-Repeat:
Attempt to build multimedia/mplayer-plugin on any system where
devel/xulrunner is updated to the 2.x series (i.e. firefox 4.x)
>Fix:
There have been no releases since 3.55.  Downloading the daily snapshot
archive shows recent (Jan 2011) timestamps on some files.  Maybe this
is a way forward (with sufficent archiving of said snapshot).



Home | Main Index | Thread Index | Old Index