Silver's Simple Site - Weblog - 2005 - November - 12


Mysterious Build Errors

Ever since bsmedberg landed bug 313309 part 2, I've been getting the following build error:

 nsIInterfaceRequestorUtils.cpp
Building deps for ....../../source-HEAD/mozilla/xpcom/glue/nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.cpp
m:\tree-firefox-main\objdir\dist\include\xpcom\nsIProgrammingLanguage.h(35) : warning C4003: not enough actual parameters for macro 'NS_DEFINE_STATIC_IID_ACCESSOR'
m:\tree-firefox-main\objdir\dist\include\xpcom\nsIClassInfo.h(36) : warning C4003: not enough actual parameters for macro 'NS_DEFINE_STATIC_IID_ACCESSOR'
../../dist\include\xpcom\nsIInterfaceRequestor.h(41) : warning C4003: not enough actual parameters for macro 'NS_DEFINE_STATIC_IID_ACCESSOR'
m:\tree-firefox-main\objdir\dist\include\xpcom\nsISupportsUtils.h(202) : error C2039: 'GetIID' : is not a member of 'nsIInterfaceRequestor'
       ../../dist\include\xpcom\nsIInterfaceRequestor.h(38) : see declaration of 'nsIInterfaceRequestor'

This is the same error that the 'creature' tinderbox was getting, but unlike that machine, it didn't go away after all the bustage-fixes.

After nuking objdir/dist and objdir/xpcom/base - neither of which helped - I just nuked objdir/xpcom and it finally looks like it might work, having got twice as far into the build as the error point (though it would not surprise me if I needed to nuke other totally random directories later).

The build system is just broken.

It's getting to the point where I'm tempted to make an auto-build-fixer, that just keeps nuking random objdir folders until it works. It would be a more productive use of my time than fixing all these damn problems by hand.

Permalink | Author: | Tags: Mozilla, XPCOM | Posted: 02:26AM on Saturday, 12 November, 2005 | Comments: 0


Weblog Issues - Fixed

I've gone through and fixed all but one of the items listed previously. The only item remaining is the RSS for tags and the tag listing itself.

If you find anything is not working, please do comment, and I'll fix it. Please note that the comments feed is not linked from anywhere, as it is only useful for me monitoring new comments.

Permalink | Author: | Tags: Weblog | Posted: 06:44PM on Saturday, 12 November, 2005 | Comments: 0

Powered by the Content Parser System, copyright 2002 - 2024 James G. Ross.