Bug#381662: xulrunner: FTBFS [alpha] PyGBase.cpp:613: error: no matching function for call to 'PyG_Base::InvokeNativeViaPolicyInternal
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=00 -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=00 -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 cu andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#381662: xulrunner: FTBFS [alpha] PyGBase.cpp:613: error: no matching function for call to 'PyG_Base::InvokeNativeViaPolicyInternal
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=00 -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=00 -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 ? Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#381662: xulrunner: FTBFS [alpha] PyGBase.cpp:613: error: no matching function for call to 'PyG_Base::InvokeNativeViaPolicyInternal
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=00 -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=00 -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 ? Mm 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]
Bug#381662: xulrunner: FTBFS [alpha] PyGBase.cpp:613: error: no matching function for call to 'PyG_Base::InvokeNativeViaPolicyInternal
On 2006-08-06 Mike Hommey [EMAIL PROTECTED] wrote: On Sun, Aug 06, 2006 at 06:44:04PM +0200, Mike Hommey [EMAIL PROTECTED] wrote: [...] could you try adding a cast in the PyGBase.cpp file ? Sorry no, I have got no alpha machine. I just stumbled upon this FTBFS when searching for something else in PTS. cu andreas -- The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal vision of the emperor's, and its inclusion in this work does not constitute tacit approval by the author or the publisher for any such projects, howsoever undertaken.(c) Jasper Ffforde -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#381662: xulrunner: FTBFS [alpha] PyGBase.cpp:613: error: no matching function for call to 'PyG_Base::InvokeNativeViaPolicyInternal
On Sun, Aug 06, 2006 at 07:19:44PM +0200, Andreas Metzler [EMAIL PROTECTED] wrote: On 2006-08-06 Mike Hommey [EMAIL PROTECTED] wrote: On Sun, Aug 06, 2006 at 06:44:04PM +0200, Mike Hommey [EMAIL PROTECTED] wrote: [...] could you try adding a cast in the PyGBase.cpp file ? Sorry no, I have got no alpha machine. I just stumbled upon this FTBFS when searching for something else in PTS. Dammit, and both the alpha servers (escher and goedel) are locked down :( Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]