Bug#551219: libjdic-java: FTBFS: [exec] gtkmozembed_internal.h:25:27: error: nsIWebBrowser.h: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Oct 16 16:28:14 UTC 2009


Source: libjdic-java
Version: 0.9.5-5
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091016 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> buildunixembed:
>      [exec] make[1]: Entering directory `/build/user-libjdic-java_0.9.5-5-amd64-wZA7B1/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
>      [exec] rm -f MozEmbed.o Callback.o ../../../share/native/mozilla/Common.o ../../../share/native/mozilla/ProfileDirServiceProvider.o ../../../share/native/utils/Util.o ../../../share/native/utils/MsgServer.o mozembed-linux-gtk2 libmozembed-linux-gtk2.so Main.o
>      [exec] rm -f *.so
>      [exec] rm -f mozembed-*-gtk*
>      [exec] make[1]: Leaving directory `/build/user-libjdic-java_0.9.5-5-amd64-wZA7B1/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
>      [exec] make[1]: Entering directory `/build/user-libjdic-java_0.9.5-5-amd64-wZA7B1/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
>      [exec] g++ -c MozEmbed.cpp -o MozEmbed.o  -DMOZ_WIDGET_GTK2 -DXPCOM_GLUE_USE_NSPR -DXPCOM_GLUE -DMOZILLA_STRICT_API -I. -I../../../share/native/utils -I../../../share/native/mozilla  -DUSING_GECKO_SDK_1_7 -include /usr/lib/xulrunner-devel-1.9/include/mozilla-config.h -I/usr/lib/xulrunner-devel-1.9/include  -O2 -fPIC `pkg-config gtk+-2.0 --cflags`
>      [exec] cc1plus: error: /usr/lib/xulrunner-devel-1.9/include/mozilla-config.h: No such file or directory
>      [exec] In file included from MozEmbed.h:47,
>      [exec]                  from MozEmbed.cpp:39:
>      [exec] gtkmozembed_internal.h:25:27: error: nsIWebBrowser.h: No such file or directory
>      [exec] gtkmozembed_internal.h:26:21: error: nsXPCOM.h: No such file or directory
>      [exec] In file included from MozEmbed.cpp:39:
>      [exec] MozEmbed.h:48:22: error: nsCOMPtr.h: No such file or directory
>      [exec] MozEmbed.h:50:32: error: nsIWebBrowserFocus.h: No such file or directory
>      [exec] MozEmbed.h:51:40: error: nsIInterfaceRequestorUtils.h: No such file or directory
>      [exec] MozEmbed.h:52:30: error: nsIDOMMouseEvent.h: No such file or directory
>      [exec] In file included from MozEmbed.cpp:42:
>      [exec] ../../../share/native/mozilla/Common.h:24:21: error: nsIFile.h: No such file or directory
>      [exec] ../../../share/native/mozilla/Common.h:25:27: error: nsEmbedString.h: No such file or directory
>      [exec] ../../../share/native/mozilla/Common.h:26:18: error: nsID.h: No such file or directory
>      [exec] In file included from ../../../share/native/mozilla/Common.h:27,
>      [exec]                  from MozEmbed.cpp:42:
>      [exec] ./nsIWebNavigation.h:10:25: error: nsISupports.h: No such file or directory
>      [exec] MozEmbed.cpp:45:19: error: prenv.h: No such file or directory
>      [exec] MozEmbed.cpp:46:20: error: prlock.h: No such file or directory
>      [exec] MozEmbed.cpp:47:22: error: prthread.h: No such file or directory
>      [exec] MozEmbed.cpp:50:21: error: nsDebug.h: No such file or directory
>      [exec] MozEmbed.cpp:51:22: error: nsMemory.h: No such file or directory
>      [exec] MozEmbed.cpp:52:20: error: nsIURI.h: No such file or directory
>      [exec] MozEmbed.cpp:53:33: error: nsIComponentManager.h: No such file or directory
>      [exec] In file included from MozEmbed.cpp:59:
>      [exec] nsIStringStream.h:10:28: error: nsIInputStream.h: No such file or directory
>      [exec] In file included from MozEmbed.h:47,
>      [exec]                  from MozEmbed.cpp:39:
>      [exec] gtkmozembed_internal.h:34: error: 'nsIWebBrowser' has not been declared
>      [exec] gtkmozembed_internal.h:35: error: expected initializer before '*' token
>      [exec] gtkmozembed_internal.h:36: error: expected initializer before '*' token
>      [exec] gtkmozembed_internal.h:37: error: expected initializer before '*' token
>      [exec] gtkmozembed_internal.h:38: warning: 'gtk_moz_embed_set_directory_service_provider' initialized and declared 'extern'
>      [exec] gtkmozembed_internal.h:38: error: variable or field 'gtk_moz_embed_set_directory_service_provider' declared void
>      [exec] gtkmozembed_internal.h:38: error: 'nsIDirectoryServiceProvider' was not declared in this scope
>      [exec] gtkmozembed_internal.h:38: error: 'appFileLocProvider' was not declared in this scope
>      [exec] In file included from MozEmbed.cpp:39:
>      [exec] MozEmbed.h:164: error: 'nsIDOMMouseEvent' has not been declared
>      [exec] In file included from ../../../share/native/mozilla/Common.h:27,
>      [exec]                  from MozEmbed.cpp:42:
>      [exec] ./nsIWebNavigation.h:35: error: expected class-name before '{' token
>      [exec] ./nsIWebNavigation.h:38: error: expected identifier before '{' token
>      [exec] ./nsIWebNavigation.h:38: error: expected `)' before '{' token
>      [exec] ./nsIWebNavigation.h:38: error: ISO C++ forbids declaration of 'NS_DECLARE_STATIC_IID_ACCESSOR' with no type
>      [exec] ./nsIWebNavigation.h:38: error: expected unqualified-id before ')' token
>      [exec] ./nsIWebNavigation.h:52: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:65: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:78: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:88: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:145: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:154: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:182: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:190: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:196: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:202: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:209: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h:210: error: 'NS_IMETHOD' does not name a type
>      [exec] ./nsIWebNavigation.h: In member function 'int nsIWebNavigation::NS_DECLARE_STATIC_IID_ACCESSOR(int)':
>      [exec] ./nsIWebNavigation.h:38: error: expected primary-expression before '{' token
>      [exec] ./nsIWebNavigation.h:38: error: expected `;' before '{' token
>      [exec] ./nsIWebNavigation.h: At global scope:
>      [exec] ./nsIWebNavigation.h:214: error: expected identifier before '{' token
>      [exec] ./nsIWebNavigation.h:214: error: expected `)' before '{' token
>      [exec] ./nsIWebNavigation.h:214: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
>      [exec] ./nsIWebNavigation.h: In function 'int NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebNavigation, int)':
>      [exec] ./nsIWebNavigation.h:214: error: expected primary-expression before '{' token
>      [exec] ./nsIWebNavigation.h:214: error: expected `;' before '{' token
>      [exec] ./nsIWebNavigation.h: At global scope:
>      [exec] ./nsIWebNavigation.h:214: error: expected unqualified-id before ')' token
>      [exec] In file included from MozEmbed.cpp:42:
>      [exec] ../../../share/native/mozilla/Common.h:33: error: 'nsresult' does not name a type
>      [exec] ../../../share/native/mozilla/Common.h:36: error: 'PRBool' does not name a type
>      [exec] ../../../share/native/mozilla/Common.h:39: error: 'PRBool' does not name a type
>      [exec] ../../../share/native/mozilla/Common.h:42: error: 'PRBool' does not name a type
>      [exec] ../../../share/native/mozilla/Common.h:45: error: 'nsresult' does not name a type
>      [exec] ../../../share/native/mozilla/Common.h:48: error: 'nsresult' does not name a type
>      [exec] ../../../share/native/mozilla/Common.h:54: error: 'nsresult' does not name a type
>      [exec] In file included from MozEmbed.cpp:59:
>      [exec] nsIStringStream.h:31: error: invalid use of incomplete type 'struct nsIInputStream'
>      [exec] ./nsIWebNavigation.h:19: error: forward declaration of 'struct nsIInputStream'
>      [exec] nsIStringStream.h:34: error: expected identifier before '{' token
>      [exec] nsIStringStream.h:34: error: expected `)' before '{' token
>      [exec] nsIStringStream.h:34: error: ISO C++ forbids declaration of 'NS_DECLARE_STATIC_IID_ACCESSOR' with no type
>      [exec] nsIStringStream.h:34: error: expected unqualified-id before ')' token
>      [exec] nsIStringStream.h:61: error: 'NS_IMETHOD' does not name a type
>      [exec] nsIStringStream.h:72: error: 'NS_IMETHOD' does not name a type
>      [exec] nsIStringStream.h: In member function 'int nsIStringInputStream::NS_DECLARE_STATIC_IID_ACCESSOR(int)':
>      [exec] nsIStringStream.h:34: error: expected primary-expression before '{' token
>      [exec] nsIStringStream.h:34: error: expected `;' before '{' token
>      [exec] nsIStringStream.h: At global scope:
>      [exec] nsIStringStream.h:76: error: expected identifier before '{' token
>      [exec] nsIStringStream.h:76: error: expected `)' before '{' token
>      [exec] nsIStringStream.h:76: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
>      [exec] nsIStringStream.h: In function 'int NS_DEFINE_STATIC_IID_ACCESSOR(nsIStringInputStream, int)':
>      [exec] nsIStringStream.h:76: error: expected primary-expression before '{' token
>      [exec] nsIStringStream.h:76: error: expected `;' before '{' token
>      [exec] nsIStringStream.h: At global scope:
>      [exec] nsIStringStream.h:76: error: expected unqualified-id before ')' token
>      [exec] MozEmbed.cpp:70: error: expected constructor, destructor, or type conversion before '*' token
>      [exec] MozEmbed.cpp: In function 'void OpenURL(GtkBrowser*, const char*, const char*, const char*)':
>      [exec] MozEmbed.cpp:338: error: 'nsresult' was not declared in this scope
>      [exec] MozEmbed.cpp:338: error: expected `;' before 'rv'
>      [exec] MozEmbed.cpp:339: error: 'nsCOMPtr' was not declared in this scope
>      [exec] MozEmbed.cpp:339: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:339: error: 'postDataStream' was not declared in this scope
>      [exec] MozEmbed.cpp:340: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:340: error: 'headersStream' was not declared in this scope
>      [exec] MozEmbed.cpp:352: error: 'nsMemory' was not declared in this scope
>      [exec] MozEmbed.cpp:352: error: expected ',' or ';' before '::' token
>      [exec] MozEmbed.cpp:359: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:359: error: 'stream' was not declared in this scope
>      [exec] MozEmbed.cpp:360: error: 'rv' was not declared in this scope
>      [exec] MozEmbed.cpp:361: error: expected primary-expression before ')' token
>      [exec] MozEmbed.cpp:361: error: 'NS_GET_IID' was not declared in this scope
>      [exec] MozEmbed.cpp:362: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:362: error: 'CreateInstance' was not declared in this scope
>      [exec] MozEmbed.cpp:363: error: 'NS_FAILED' was not declared in this scope
>      [exec] MozEmbed.cpp:365: error: 'NS_ASSERTION' was not declared in this scope
>      [exec] MozEmbed.cpp:366: error: 'nsMemory' is not a class or namespace
>      [exec] MozEmbed.cpp:371: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:381: error: 'nsMemory' was not declared in this scope
>      [exec] MozEmbed.cpp:381: error: expected ',' or ';' before '::' token
>      [exec] MozEmbed.cpp:386: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:386: error: 'stream' was not declared in this scope
>      [exec] MozEmbed.cpp:387: error: 'rv' was not declared in this scope
>      [exec] MozEmbed.cpp:388: error: expected primary-expression before ')' token
>      [exec] MozEmbed.cpp:388: error: 'NS_GET_IID' was not declared in this scope
>      [exec] MozEmbed.cpp:389: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:389: error: 'CreateInstance' was not declared in this scope
>      [exec] MozEmbed.cpp:390: error: 'NS_FAILED' was not declared in this scope
>      [exec] MozEmbed.cpp:392: error: 'NS_ASSERTION' was not declared in this scope
>      [exec] MozEmbed.cpp:393: error: 'nsMemory' is not a class or namespace
>      [exec] MozEmbed.cpp:398: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:403: error: 'nsIWebBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:403: error: 'webBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:404: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:405: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:405: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:405: error: 'webNavigation' was not declared in this scope
>      [exec] MozEmbed.cpp:409: error: 'nsEmbedString' was not declared in this scope
>      [exec] MozEmbed.cpp:409: error: expected `;' before 'unicodeUrl'
>      [exec] MozEmbed.cpp:410: error: 'unicodeUrl' was not declared in this scope
>      [exec] MozEmbed.cpp:410: error: 'ConvertAsciiToUtf16' was not declared in this scope
>      [exec] MozEmbed.cpp:414: error: 'nsnull' was not declared in this scope
>      [exec] MozEmbed.cpp: In function 'void HandleSocketMessage(void*, void*)':
>      [exec] MozEmbed.cpp:428: error: 'NS_ASSERTION' was not declared in this scope
>      [exec] MozEmbed.cpp:534: error: 'nsCOMPtr' was not declared in this scope
>      [exec] MozEmbed.cpp:534: error: 'nsIWebBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:534: error: 'webBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:535: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:536: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:536: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:536: error: 'webNavigation' was not declared in this scope
>      [exec] MozEmbed.cpp:537: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:537: error: 'currentURI' was not declared in this scope
>      [exec] MozEmbed.cpp:542: error: 'nsEmbedCString' was not declared in this scope
>      [exec] MozEmbed.cpp:542: error: expected `;' before 'uriString'
>      [exec] MozEmbed.cpp:543: error: 'uriString' was not declared in this scope
>      [exec] MozEmbed.cpp:594: error: 'nsCOMPtr' was not declared in this scope
>      [exec] MozEmbed.cpp:594: error: 'nsIWebBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:594: error: 'webBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:596: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:597: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:598: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:598: error: 'webNavigation' was not declared in this scope
>      [exec] MozEmbed.cpp:612: error: 'nsCOMPtr' was not declared in this scope
>      [exec] MozEmbed.cpp:612: error: 'nsIWebBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:612: error: 'webBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:614: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:615: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:616: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:616: error: 'webNavigation' was not declared in this scope
>      [exec] MozEmbed.cpp:618: error: 'SetContent' was not declared in this scope
>      [exec] MozEmbed.cpp:626: error: 'nsCOMPtr' was not declared in this scope
>      [exec] MozEmbed.cpp:626: error: 'nsIWebBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:626: error: 'webBrowser' was not declared in this scope
>      [exec] MozEmbed.cpp:628: error: 'getter_AddRefs' was not declared in this scope
>      [exec] MozEmbed.cpp:629: error: expected primary-expression before '>' token
>      [exec] MozEmbed.cpp:630: error: 'do_QueryInterface' was not declared in this scope
>      [exec] MozEmbed.cpp:630: error: 'webNavigation' was not declared in this scope
>      [exec] MozEmbed.cpp: In function 'int mozembed_main(int, char**)':
>      [exec] MozEmbed.cpp:654: error: 'gTestMode' was not declared in this scope
>      [exec] MozEmbed.cpp:658: error: 'gTestMode' was not declared in this scope
>      [exec] MozEmbed.cpp:670: error: 'InitializeProfile' was not declared in this scope
>      [exec] MozEmbed.cpp:670: error: 'NS_FAILED' was not declared in this scope
>      [exec] MozEmbed.cpp:675: error: 'gMsgLock' was not declared in this scope
>      [exec] MozEmbed.cpp:675: error: 'PR_NewLock' was not declared in this scope
>      [exec] MozEmbed.cpp:677: error: 'gTestMode' was not declared in this scope
>      [exec] MozEmbed.cpp:678: error: 'PRThread' was not declared in this scope
>      [exec] MozEmbed.cpp:678: error: 'socketListenThread' was not declared in this scope
>      [exec] MozEmbed.cpp:679: error: 'PR_USER_THREAD' was not declared in this scope
>      [exec] MozEmbed.cpp:682: error: 'PR_PRIORITY_NORMAL' was not declared in this scope
>      [exec] MozEmbed.cpp:683: error: 'PR_GLOBAL_THREAD' was not declared in this scope
>      [exec] MozEmbed.cpp:684: error: 'PR_UNJOINABLE_THREAD' was not declared in this scope
>      [exec] MozEmbed.cpp:685: error: 'PR_CreateThread' was not declared in this scope
>      [exec] MozEmbed.cpp:726: error: 'PR_DestroyLock' was not declared in this scope
>      [exec] MozEmbed.cpp: In function 'void SocketMsgHandler(const char*)':
>      [exec] MozEmbed.cpp:736: error: 'gMsgLock' was not declared in this scope
>      [exec] MozEmbed.cpp:736: error: 'PR_Lock' was not declared in this scope
>      [exec] MozEmbed.cpp:738: error: 'PR_Unlock' was not declared in this scope
>      [exec] MozEmbed.cpp: In function 'gboolean gs_prepare_cb(GSource*, gint*)':
>      [exec] MozEmbed.cpp:755: error: 'gMsgLock' was not declared in this scope
>      [exec] MozEmbed.cpp:755: error: 'PR_Lock' was not declared in this scope
>      [exec] MozEmbed.cpp:757: error: 'PR_Unlock' was not declared in this scope
>      [exec] MozEmbed.cpp: In function 'gboolean gs_dispatch_cb(GSource*, gboolean (*)(void*), void*)':
>      [exec] MozEmbed.cpp:787: error: 'gMsgLock' was not declared in this scope
>      [exec] MozEmbed.cpp:787: error: 'PR_Lock' was not declared in this scope
>      [exec] MozEmbed.cpp:791: error: 'PR_Unlock' was not declared in this scope
>      [exec] make[1]: *** [MozEmbed.o] Error 1
>      [exec] make[1]: Leaving directory `/build/user-libjdic-java_0.9.5-5-amd64-wZA7B1/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
> 
> BUILD FAILED
> /build/user-libjdic-java_0.9.5-5-amd64-wZA7B1/libjdic-java-0.9.5/jdic/build.xml:359: exec returned: 2
> 
> Total time: 3 seconds
> make: *** [debian/stamp-binary-arch] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/10/16/libjdic-java_0.9.5-5_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-java-maintainers mailing list