On Sun, Aug 06, 2006 at 06:44:04PM +0200, Mike Hommey <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 06, 2006 at 12:13:23PM +0200, Andreas Metzler <[EMAIL PROTECTED]> 
> wrote:
> > Package: xulrunner
> > Version: 1.8.0.4-2
> > Severity: serious
> > Justification: no longer builds from source
> > 
> > xulrunnrer FTBFS on alpha with 
> > make[5]: Entering directory 
> > `/build/buildd/xulrunner-1.8.0.4/extensions/python/xpcom/src'
> > ErrorUtils.cpp
> > c++ -o ErrorUtils.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
> > -DOSTYPE=\"Linux2.6.14\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 
> > -I/usr/include/python2.3 -I../../../../dist/include/xpcom 
> > -I../../../../dist/include/string -I../../../../dist/include/pyxpcom 
> > -I../../../../dist/include -I../../../../dist/include/nspr       -fPIC   
> > -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
> > -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
> > -Wno-long-long -mieee -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 
> > -fno-strict-aliasing -g   -DMOZILLA_CLIENT -include 
> > ../../../../mozilla-config.h -Wp,-MD,.deps/ErrorUtils.pp ErrorUtils.cpp
> > PyGBase.cpp
> > c++ -o PyGBase.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
> > -DOSTYPE=\"Linux2.6.14\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 
> > -I/usr/include/python2.3 -I../../../../dist/include/xpcom 
> > -I../../../../dist/include/string -I../../../../dist/include/pyxpcom 
> > -I../../../../dist/include -I../../../../dist/include/nspr       -fPIC   
> > -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
> > -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
> > -Wno-long-long -mieee -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 
> > -fno-strict-aliasing -g   -DMOZILLA_CLIENT -include 
> > ../../../../mozilla-config.h -Wp,-MD,.deps/PyGBase.pp PyGBase.cpp
> > PyGBase.cpp: In member function 'nsresult 
> > PyG_Base::InvokeNativeGetViaPolicy(const char*, PyObject**)':
> > PyGBase.cpp:613: error: no matching function for call to 
> > 'PyG_Base::InvokeNativeViaPolicyInternal(char [256], PyObject**&, int, int)'
> > PyGBase.cpp:563: note: candidates are: nsresult 
> > PyG_Base::InvokeNativeViaPolicyInternal(const char*, PyObject**, const 
> > char*, va_list)
> > make[5]: *** [PyGBase.o] Error 1
> 
> What is very strange is that the same code builds just fine on others
> architectures. Couldn't the toolchain on alpha be lagging ?

Mmmmmm it seems to be related to nsnull being defined in
xpcom/base/nscore.h as:
#define nsnull 0

... maybe the alpha toolchain doesn't like a "0" value for va_lists...
could you try adding a cast in the PyGBase.cpp file ?

Thanks

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to