pkgsrc-Bugs archive

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

pkg/27033: firefox-1.0 does not build on macppc



>Number:         27033
>Category:       pkg
>Synopsis:       firefox-1.0 does not build on macppc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 25 18:30:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Klausner
>Release:        NetBSD 2.0_BETA
>Organization:
        
>Environment:
Architecture: powerpc
Machine: macppc
>Description:
Firefox build fails with:

[...]
gmake[3]: Entering directory 
`/usr/pkgsrc/www/firefox/work/mozilla/modules/plugin/base/src'
ns4xPlugin.cpp
g++ -o ns4xPlugin.o -c -DOSTYPE=\"NetBSD2\" -DOSARCH=\"NetBSD\" 
-DHAVE_DEPENDENT_LIBS  -I../../../../dist/include/xpcom 
-I../../../../dist/include/xpconnect -I../../../../dist/include/string 
-I../../../../dist/include/java -I../../../../dist/include/pref 
-I../../../../dist/include/necko -I../../../../dist/include/caps 
-I../../../../dist/include/intl -I../../../../dist/include/uconv 
-I../../../../dist/include/unicharutil -I../../../../dist/include/dom 
-I../../../../dist/include/gfx -I../../../../dist/include/content 
-I../../../../dist/include/widget -I../../../../dist/include/mimetype 
-I../../../../dist/include/oji -I../../../../dist/include/exthandler 
-I../../../../dist/include/docshell -I../../../../dist/include/webshell 
-I../../../../dist/include/windowwatcher -I../../../../dist/include/imglib2 
-I../../../../dist/include/layout -I../../../../dist/include/js 
-I../../../../dist/include/locale -I../../../../dist/include/gtkxtbin 
-I../../../../dist/include/plugin -I../../../../
 dist/include -I/usr/pkgsrc/www/firefox/work/mozilla/dist/include/nspr  
-I/usr/pkg/include -I/usr/pkg/include  -I. -I/usr/X11R6/include   -fPIC -DPIC  
-I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include  -I/usr/X11R6/include 
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include -Dunix -fshort-wchar -pthread 
-pipe  -DNDEBUG -DTRIMMED -O2 -I/usr/pkg/include/gtk-1.2 
-I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include 
-I/usr/X11R6/include  -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include  -I/usr/X11R6/include 
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
-Wp,-MD,.deps/ns4xPlugin.pp ns4xPlugin.cpp
In file included from ../../../../dist/include/plugin/npupp.h:61,
                 from ns4xPlugin.h:45,
                 from ns4xPlugin.cpp:42:
../../../../dist/include/plugin/npruntime.h:135: error: '_Bool' is used as a 
   type, but is not defined as a type.
../../../../dist/include/plugin/npruntime.h:257: error: syntax error before `)' 
   token
../../../../dist/include/plugin/npruntime.h:280: error: `NPHasMethodFunctionPtr
   ' was not declared in this scope
../../../../dist/include/plugin/npruntime.h:280: error: ISO C++ forbids 
   declaration of `_Bool' with no type
../../../../dist/include/plugin/npruntime.h:280: error: typedef `_Bool' is 
   initialized (use __typeof__ instead)
../../../../dist/include/plugin/npruntime.h:283: error: `NPInvokeFunctionPtr' 
   declared as function returning a function
../../../../dist/include/plugin/npruntime.h:287: error: `
   NPInvokeDefaultFunctionPtr' declared as function returning a function
../../../../dist/include/plugin/npruntime.h:288: error: `
   NPHasPropertyFunctionPtr' declared as function returning a function
../../../../dist/include/plugin/npruntime.h:290: error: `
   NPGetPropertyFunctionPtr' declared as function returning a function
../../../../dist/include/plugin/npruntime.h:292: error: `
   NPSetPropertyFunctionPtr' declared as function returning a function
../../../../dist/include/plugin/npruntime.h:294: error: `
   NPRemovePropertyFunctionPtr' declared as function returning a function
../../../../dist/include/plugin/npruntime.h:320: error: 'NPHasMethodFunctionPtr
   ' is used as a type, but is not defined as a type.
../../../../dist/include/plugin/npruntime.h:372: error: `NPN_Invoke' declared 
   as function returning a function
../../../../dist/include/plugin/npruntime.h:374: error: `NPN_InvokeDefault' 
   declared as function returning a function
../../../../dist/include/plugin/npruntime.h:376: error: `NPN_Evaluate' declared 
   as function returning a function
../../../../dist/include/plugin/npruntime.h:378: error: `NPN_GetProperty' 
   declared as function returning a function
../../../../dist/include/plugin/npruntime.h:380: error: `NPN_SetProperty' 
   declared as function returning a function
../../../../dist/include/plugin/npruntime.h:381: error: `NPN_RemoveProperty' 
   declared as function returning a function
../../../../dist/include/plugin/npruntime.h:382: error: `NPN_HasProperty' 
   declared as function returning a function
../../../../dist/include/plugin/npruntime.h:383: error: `NPN_HasMethod' 
   declared as function returning a function
In file included from ns4xPlugin.h:45,
                 from ns4xPlugin.cpp:42:
../../../../dist/include/plugin/npupp.h:1165: error: `NPN_IdentifierIsStringUPP
   ' declared as function returning a function
../../../../dist/include/plugin/npupp.h:1327: error: `NPN_InvokeUPP' declared 
   as function returning a function
../../../../dist/include/plugin/npupp.h:1357: error: `NPN_InvokeDefaultUPP' 
   declared as function returning a function
../../../../dist/include/plugin/npupp.h:1386: error: `NPN_EvaluateUPP' declared 
   as function returning a function
../../../../dist/include/plugin/npupp.h:1415: error: `NPN_GetPropertyUPP' 
   declared as function returning a function
../../../../dist/include/plugin/npupp.h:1444: error: `NPN_SetPropertyUPP' 
   declared as function returning a function
../../../../dist/include/plugin/npupp.h:1472: error: `NPN_RemovePropertyUPP' 
   declared as function returning a function
../../../../dist/include/plugin/npupp.h:1500: error: `NPN_HasPropertyUPP' 
   declared as function returning a function
../../../../dist/include/plugin/npupp.h:1528: error: `NPN_HasMethodUPP' 
   declared as function returning a function
In file included from /usr/include/g++/new:42,
                 from ../../../../dist/include/string/nsString.h:55,
                 from ../../../../dist/include/xpcom/nsIStringStream.h:151,
                 from ../../../../dist/include/plugin/nsIPluginHost.h:26,
                 from nsPluginHostImpl.h:43,
                 from ns4xPlugin.h:46,
                 from ns4xPlugin.cpp:42:
/usr/include/g++/exception:100: error: `uncaught_exception' declared as 
   function returning a function
In file included from ns4xPlugin.cpp:42:
ns4xPlugin.h:198: error: `_identifierisstring' declared as function returning a 
   function
ns4xPlugin.h:220: error: `_invoke' declared as function returning a function
ns4xPlugin.h:224: error: `_invokeDefault' declared as function returning a 
   function
ns4xPlugin.h:227: error: `_evaluate' declared as function returning a function
ns4xPlugin.h:231: error: `_getproperty' declared as function returning a 
   function
ns4xPlugin.h:235: error: `_setproperty' declared as function returning a 
   function
ns4xPlugin.h:238: error: `_removeproperty' declared as function returning a 
   function
ns4xPlugin.h:241: error: `_hasproperty' declared as function returning a 
   function
ns4xPlugin.h:244: error: `_hasmethod' declared as function returning a function
In file included from ns4xPlugin.cpp:84:
nsJSNPRuntime.h:79: error: `NP_HasMethod' declared as function returning a 
   function
nsJSNPRuntime.h:82: error: `NP_Invoke' declared as function returning a 
   function
nsJSNPRuntime.h:84: error: `NP_InvokeDefault' declared as function returning a 
   function
nsJSNPRuntime.h:85: error: `NP_HasProperty' declared as function returning a 
   function
nsJSNPRuntime.h:87: error: `NP_GetProperty' declared as function returning a 
   function
nsJSNPRuntime.h:89: error: `NP_SetProperty' declared as function returning a 
   function
nsJSNPRuntime.h:90: error: `NP_RemoveProperty' declared as function returning a 
   function
nsJSNPRuntime.h:103: error: `JSValToNPVariant' declared as function returning a 
   function
ns4xPlugin.cpp:1446: error: `_identifierisstring' declared as function 
   returning a function
ns4xPlugin.cpp:1515: error: `_invoke' declared as function returning a function
ns4xPlugin.cpp:1528: error: `_invokeDefault' declared as function returning a 
   function
ns4xPlugin.cpp:1540: error: `_evaluate' declared as function returning a 
   function
ns4xPlugin.cpp:1591: error: `_getproperty' declared as function returning a 
   function
ns4xPlugin.cpp:1604: error: `_setproperty' declared as function returning a 
   function
ns4xPlugin.cpp:1616: error: `_removeproperty' declared as function returning a 
   function
ns4xPlugin.cpp:1628: error: `_hasproperty' declared as function returning a 
   function
ns4xPlugin.cpp:1640: error: `_hasmethod' declared as function returning a 
   function
ns4xPlugin.cpp: In function `int _hasmethod(NPP_t*, NPObject*, void*)':
ns4xPlugin.cpp:1641: error: 'struct NPClass' has no member named 'hasMethod'
ns4xPlugin.cpp: At global scope:
ns4xPlugin.cpp:1687: error: `_tostring' declared as function returning a 
   function
gmake[3]: *** [ns4xPlugin.o] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/www/firefox/work/mozilla/modules/plugin/base/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory 
`/usr/pkgsrc/www/firefox/work/mozilla/modules/plugin'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox
>How-To-Repeat:
Try to compile firefox on macppc.
>Fix:
Sorry, unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index