Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276522

Summary: net-libs/xulrunner-1.9.0.11-r1 fails to build ( nsPIDOMWindow.h:48:32: error: nsPIDOMEventTarget.h: No such file or directory )
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /tmp/emerge--info

Description DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-05 01:09:54 UTC
I was doing my weekly emerge -DaNuv world, while at xulrunner:

+++ overriding content/global/config.xul content/global/configIntValue.xul content/global/config.js
  adding: content/global/config.xul (stored 0%)
  adding: content/global/configIntValue.xul (stored 0%)
  adding: content/global/config.js (stored 0%)
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.11-r1/work/mozilla/toolkit/components/viewconfig'
gmake[4]: Entering directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.11-r1/work/mozilla/toolkit/components/typeaheadfind'
gmake[5]: Entering directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.11-r1/work/mozilla/toolkit/components/typeaheadfind/public'
nsITypeAheadFind.idl
../../../../dist/bin/xpidl -m typelib -w -I. -I../../../../dist/idl -e _xpidlgen/nsITypeAheadFind.xpt -d .deps/nsITypeAheadFind.pp nsITypeAheadFind.idl
../../../../dist/bin/xpt_link _xpidlgen/fastfind.xpt _xpidlgen/nsITypeAheadFind.xpt
/var/tmp/portage/net-libs/xulrunner-1.9.0.11-r1/work/mozilla/config/nsinstall -R -m 644 _xpidlgen/fastfind.xpt ../../../../dist/bin/components
gmake[5]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.11-r1/work/mozilla/toolkit/components/typeaheadfind/public'
gmake[5]: Entering directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.11-r1/work/mozilla/toolkit/components/typeaheadfind/src'
nsTypeAheadFind.cpp
i686-pc-linux-gnu-g++ -o nsTypeAheadFind.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DGENTOO_LIB_DIR=\"/usr/lib\"  -I. -I. -I../../../../dist/include/content -I../../../../dist/include/docshell -I../../../../dist/include/dom -I../../../../dist/include/editor -I../../../../dist/include/find -I../../../../dist/include/gfx -I../../../../dist/include/thebes -I../../../../dist/include/layout -I../../../../dist/include/locale -I../../../../dist/include/necko -I../../../../dist/include/pref -I../../../../dist/include/string -I../../../../dist/include/unicharutil -I../../../../dist/include/uriloader -I../../../../dist/include/view -I../../../../dist/include/webshell -I../../../../dist/include/widget -I../../../../dist/include/webbrwsr -I../../../../dist/include/windowwatcher -I../../../../dist/include/xpcom -I../../../../dist/include/xuldoc -I../../../../dist/include   -I../../../../dist/include/fastfind -I/usr/include/nspr     -I../../../../dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -march=athlon-mp -pipe -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsTypeAheadFind.pp nsTypeAheadFind.cpp
In file included from nsTypeAheadFind.cpp:55:
../../../../dist/include/dom/nsPIDOMWindow.h:48:32: error: nsPIDOMEventTarget.h: No such file or directory
In file included from ../../../../dist/include/content/nsIContent.h:44,
                 from nsTypeAheadFind.cpp:64:
../../../../dist/include/content/nsINode.h:41:32: error: nsPIDOMEventTarget.h: No such file or directory
nsTypeAheadFind.cpp:72:34: error: nsIEventStateManager.h: No such file or directory
In file included from nsTypeAheadFind.cpp:98:
nsTypeAheadFind.h:42:27: error: nsIController.h: No such file or directory
nsTypeAheadFind.h:43:28: error: nsIControllers.h: No such file or directory
../../../../dist/include/dom/nsPIDOMWindow.h:94: error: ISO C++ forbids declaration of ânsPIDOMEventTargetâ with no type
../../../../dist/include/dom/nsPIDOMWindow.h:94: error: expected â;â before â*â token
../../../../dist/include/dom/nsPIDOMWindow.h:99: error: expected `;' before âPRBoolâ
../../../../dist/include/dom/nsPIDOMWindow.h:408: error: ânsPIDOMEventTargetâ was not declared in this scope
../../../../dist/include/dom/nsPIDOMWindow.h:408: error: template argument 1 is invalid
../../../../dist/include/content/nsINode.h:159: error: expected class-name before â{â token

[...]

moon-gen-3 ~ # emerge -vp xulrunner
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild     U ] net-libs/xulrunner-1.9.0.11-r1 [1.9.0.11] USE="dbus startup-notification -custom-optimization -gnome -java" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
moon-gen-3 ~ #
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-05 01:10:10 UTC
Created attachment 196703 [details]
/tmp/emerge--info
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-05 01:17:31 UTC
/var/log/portage/net-libs:xulrunner-1.9.0.11-r1:20090704-214843.log is 3.8M; where can I upload it ?
Comment 3 Jory A. Pratt gentoo-dev 2009-07-08 12:09:33 UTC
(In reply to comment #1)
> Created an attachment (id=196703) [edit]
> /tmp/emerge--info
> 

Looking at your info, I see you have installed xulrunner-1.9.0.11. The only differnce between 1.9.0.11 and 1.9.0.11-r1 is a simple fix of a pkgconfig file.

Have you tried to emerge xulrunner upgrade since this failure? If not please try to upgrade once again and report back.
Comment 4 Jory A. Pratt gentoo-dev 2009-07-20 02:53:24 UTC
It has been 10+ days and no comment back from user. Reopen if problem persists.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-20 11:07:32 UTC
(In reply to comment #4)
> It has been 10+ days and no comment back from user. Reopen if problem persists.
> 

You play a nasty game: it's 15 days i am waiting for you to tell me where I can upload the log file !

By luck, during my weekly update, it compiled fine yesterday, no clue why.

   * net-libs/xulrunner-1.9.0.11-r1
   Install date: Mon Jul 20 04:35:20 2009
   USE=""
   CFLAGS="-march=athlon-mp -pipe -Wno-return-type -w"

Failure happened on the 5th, and you ask me to retry on 8th ... I had not yet update my tree, was really pointless to ask me to retry that fast, and before you report the tree had been updated on Gentoo side.