Subject: Firefox/linux wants nonexistant header
To: None <tech-pkg@netbsd.org>
From: Jeff Wyman <wysoft@extremecode.org>
List: tech-pkg
Date: 04/18/2005 17:17:24
Upgrading from GTK 2.4.x to 2.6.7 recently broke Firefox on my system, so I
decided to rebuild from pkgsrc. Unfortunately, the build fails when
"nsIDOMParser.h" is not found. This file does not exist at all. I recently built
Firefox 1.0.2 on another Linux machine using pkgsrc, so I've reason to believe
this is a Firefox bug and not pkgsrc-related, but I figured I'd ask here first.

There is a file called "nsIDOMParser.idl" Is this a file that needs to be
preprocessed, but isn't getting done?

Here is the offending error:

g++ -o nsBookmarksFeedHandler.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"
-I../../../../dist/include/xpcom -I../../../../dist/include/string
-I../../../../dist/include/rdf -I../../../../dist/include/appshell
-I../../../../dist/include/widget -I../../../../dist/include/necko
-I../../../../dist/include/nkcache -I../../../../dist/include/uconv
-I../../../../dist/include/pref -I../../../../dist/include/dom
-I../../../../dist/include/intl -I../../../../dist/include/webshell
-I../../../../dist/include/windowwatcher -I../../../../dist/include/unicharutil
-I../../../../dist/include/txmgr -I../../../../dist/include/xmlextras
-I../../../../dist/include/caps -I../../../../dist/include/xpconnect
-I../../../../dist/include/js -I../../../../dist/include/bookmarks
-I../../../../dist/include
-I/usr/pkgsrc/www/firefox/work/mozilla/dist/include/nspr  -I/usr/pkg/include
-I/usr/pkg/include  -I/usr/pkg/xorg/include   -fPIC  -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/xorg/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 -march=athlon-xp -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -march=athlon-xp -fshort-wchar -pthread -pipe
-DNDEBUG -DTRIMMED -O2  -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2  -I/usr/pkg/xorg/include -DMOZILLA_CLIENT -include
../../../../mozilla-config.h -Wp,-MD,.deps/nsBookmarksFeedHandler.pp
nsBookmarksFeedHandler.cpp
nsBookmarksFeedHandler.cpp:63:26: nsIDOMParser.h: No such file or directory
nsBookmarksFeedHandler.cpp: In member function `nsresult
nsFeedLoadListener::TryParseAsSimpleRSS()':
nsBookmarksFeedHandler.cpp:561: error: `nsIDOMParser' undeclared (first use this
function)
nsBookmarksFeedHandler.cpp:561: error: (Each undeclared identifier is reported
only once for each function it appears in.)
nsBookmarksFeedHandler.cpp:561: error: template argument 1 is invalid
nsBookmarksFeedHandler.cpp:561: error: invalid type in declaration before '('
token
nsBookmarksFeedHandler.cpp:561: error: cannot convert `const
nsCreateInstanceByContractID' to `int' in initialization
nsBookmarksFeedHandler.cpp:565: error: base operand of `->' is not a pointer
make[5]: *** [nsBookmarksFeedHandler.o] Error 1
make[5]: Leaving directory
`/usr/pkgsrc/www/firefox/work/mozilla/browser/components/bookmarks/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory
`/usr/pkgsrc/www/firefox/work/mozilla/browser/components/bookmarks'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/usr/pkgsrc/www/firefox/work/mozilla/browser/components'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/browser'
make[1]: *** [tier_99] Error 2
make[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla'
make: *** [default] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/www/firefox