Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Firefox debug build on Windows 7 fails

253 views
Skip to first unread message

Valentine Rozental

unread,
Feb 3, 2010, 11:31:54 PM2/3/10
to dev-pl...@lists.mozilla.org
Hi All,

I tried to built Firefox debug version from the latest source code.
Environment: Windows 7 + "Microsoft Visual C++ 2008"

Build failed in the follow stage:
c:/foss/mozilla-central/objdir-ff-debug/dist/bin/xpt_link.exe
_xpidlgen/xpcom_components.xpt _xpidlgen/nsIModuleLoader.xpt
_xpidlgen/nsIComponentManagerObsolete.xpt _xpidlgen/nsIClassInfo.xpt
_xpidlgen/nsIComponentRegistrar.xpt _xpidlgen/nsIFactory.xpt
_xpidlgen/nsIModule.xpt _xpidlgen/nsIServiceManager.xpt
_xpidlgen/nsIComponentManager.xpt _xpidlgen/nsICategoryManager.xpt
ERROR: file _xpidlgen/nsIComponentManagerObsolete.xpt is zero length
make[5]: *** [_xpidlgen/xpcom_components.xpt] Error 1
make[5]: Leaving directory
`/c/foss/mozilla-central/objdir-ff-debug/xpcom/compon
ents'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/c/foss/mozilla-central/objdir-ff-debug/xpcom'
make[3]: *** [libs_tier_xpcom] Error 2
make[3]: Leaving directory `/c/foss/mozilla-central/objdir-ff-debug'
make[2]: *** [tier_xpcom] Error 2
make[2]: Leaving directory `/c/foss/mozilla-central/objdir-ff-debug'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/c/foss/mozilla-central/objdir-ff-debug'
make: *** [build] Error 2

The file
C:\foss\mozilla-central\objdir-ff-debug\xpcom\components\_xpidlgen\nsIComponentManagerObsolete.xpt
has zero size as per Windows 7,
but I can open file in Notepad++ and there is content less or more similar
its counterpart in objdir-ff-debug.
Ideas?

Your help will be appreciated,
Thank you!

Valentine.

Valentine Rozental

unread,
Feb 4, 2010, 3:25:14 PM2/4/10
to dev-pl...@lists.mozilla.org

> I ran the source code update:
$hg pull -r default
$hg update

then tried again to make the debug build:
...
checking whether the C compiler (cl ) works... yes
checking whether the C compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cl accepts -g... (cached) no
checking for c++... (cached) cl
checking whether the C++ compiler (cl ) works... rm: cannot lstat
'conftest.exe': Permission denied
no
configure: error: installation or configuration problem: C++ compiler cannot
create executables.
*** Fix above errors and then restart with "make -f
client.mkbuild"
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/c/foss/mozilla-central'
make: *** [/c/foss/mozilla-central/objdir-ff-debug/Makefile] Error 2

Ideas?

Thank you!

Clint Talbert

unread,
Feb 4, 2010, 5:12:36 PM2/4/10
to

I also get this from time to time on windows 7. It is some sort of
strange intermittent error, but it goes away if you remove the object
directory completely and restart the build. At least, that's been my
experience.

Clint

Valentine Rozental

unread,
Feb 4, 2010, 10:01:02 PM2/4/10
to Clint Talbert, dev-pl...@lists.mozilla.org

> I tried to remove the object directory, but it didn't help.
The release version is built without any problems.

Thank you,
Valentine.


> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>

Shawn Wilsher

unread,
Feb 4, 2010, 10:12:56 PM2/4/10
to dev-pl...@lists.mozilla.org
On 2/4/2010 2:12 PM, Clint Talbert wrote:
> I also get this from time to time on windows 7. It is some sort of
> strange intermittent error, but it goes away if you remove the object
> directory completely and restart the build. At least, that's been my
> experience.
I've actually found that simply restarting my terminal was sufficient.

Cheers,

Shawn

Valentine Rozental

unread,
Feb 4, 2010, 11:11:23 PM2/4/10
to Shawn Wilsher, dev-pl...@lists.mozilla.org
On Thu, Feb 4, 2010 at 9:12 PM, Shawn Wilsher <sdw...@mozilla.com> wrote:

> On 2/4/2010 2:12 PM, Clint Talbert wrote:
>

>> I also get this from time to time on windows 7. It is some sort of
>> strange intermittent error, but it goes away if you remove the object
>> directory completely and restart the build. At least, that's been my
>> experience.
>>

> I've actually found that simply restarting my terminal was sufficient.
>
> Cheers,
>
> Shawn
>
>

The object directory removing and terminal restart have made it work.
I made the debug build!

Thank you Shawn and Clint!

0 new messages