Difficulty finishing a build

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
grayrest
Posts: 468
Joined: November 5th, 2002, 8:49 am
Location: Tribus!
Contact:

Difficulty finishing a build

Post by grayrest »

I've been trying to get phoenix building on my system with SVG and with flat chrome files (it doesn't like to build straight through, I don't know how the seamonkey tree stays green through clobber builds). However, I get the following message that I can't figure out how to fix:

Code: Select all

+++ making chrome d:/mozilla/toolkit  => ../dist/bin/chrome/toolkit.jar
The system cannot find the file specified.
Preprocessing of content/viewZoomOverlay.js failed: 1 at d:/mozilla/config/make-jars.pl line 360, <STDIN> line 2.
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/d/mozilla/toolkit'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/cygdrive/d/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/d/mozilla'
make: *** [build] Error 2


I'm not sure exactly what the problem is. I checked the code and think it has something to do with my using cygwin (perl isn't a language I code in and really isn't terribly readable). I was building mozilla last December just fine with this setup, so it's somewhat of a mystery to me why this is occuring, especially since I'm building with chrome flat.
francois
Posts: 33
Joined: November 6th, 2002, 5:31 am
Location: New Zealand

same here

Post by francois »

I run into the same problem just now. Almost the same message, but I have no idea if I have SVG and flat chrome files
enabled. I just added the .mozconfig as stated from the phoenix web page, run ./configure and then gmake.
For info I am on SuSE linux 7.3 and use gcc2.95.3 and here is the message I get:

Code: Select all

gmake[2]: Leaving directory `/scratch/fbissey/upload/build/moz/mozilla/l10n'
gmake[2]: Entering directory `/scratch/fbissey/upload/build/moz/mozilla/toolkit'
gmake[2]: *** No rule to make target `export'.  Stop.
gmake[2]: Leaving directory `/scratch/fbissey/upload/build/moz/mozilla/toolkit'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/scratch/fbissey/upload/build/moz/mozilla'
gmake: *** [default] Error 2
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

Post by cdn »

silly question:

does content/viewZoomOverlay.js exist ?

I had something popup about it in my linux console (my cvs debug build), when it crashed trying to view-source (downloads.com)

--

toolkit/content/viewZoomOverlay.js

it IS in my source tree, although what it does to cause errors I don't know, I can only speculate :

perhaps it isn't in jar.mn, to have the licence [commented/] stripped out ?

sometimes things break because the licence isn't commented appropriately, or isn't stripped out by the build process

try adding /* */ around the licence boilerplate
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

Post by cdn »

line 360 in the perl script :


359 : if (system("$^X $preprocessor $defines $preproc_file > $destPath") != 0) {
360 : die "Preprocessing of $file failed: ".($? >> 8);
361 : }
francois
Posts: 33
Joined: November 6th, 2002, 5:31 am
Location: New Zealand

Post by francois »

I can't find 'content/viewZoomOverlay.js' anywhere. I have just notice that when I configure, the configure script
complain that it cannot create a makefile in 'browser' and in 'toolkit'. and those two folders are created empty. Is it normal?

The message from the configure script:

Code: Select all

creating security/manager/pki/src/Makefile
creating security/manager/pki/public/Makefile
creating browser/Makefile
can't read ./browser/Makefile.in: No such file or directory
creating browser/app/Makefile
can't read ./browser/app/Makefile.in: No such file or directory
creating browser/base/Makefile
can't read ./browser/base/Makefile.in: No such file or directory
creating browser/components/Makefile
can't read ./browser/components/Makefile.in: No such file or directory
creating browser/components/bookmarks/Makefile
can't read ./browser/components/bookmarks/Makefile.in: No such file or directory
creating browser/components/build/Makefile
can't read ./browser/components/build/Makefile.in: No such file or directory
creating browser/components/console/Makefile
can't read ./browser/components/console/Makefile.in: No such file or directory
creating browser/components/downloads/Makefile
can't read ./browser/components/downloads/Makefile.in: No such file or directory
creating browser/components/downloads/public/Makefile
can't read ./browser/components/downloads/public/Makefile.in: No such file or directory
creating browser/components/downloads/src/Makefile
can't read ./browser/components/downloads/src/Makefile.in: No such file or directory
creating browser/components/prefwindow/Makefile
can't read ./browser/components/prefwindow/Makefile.in: No such file or directory
creating browser/components/prefwindow/content/Makefile
can't read ./browser/components/prefwindow/content/Makefile.in: No such file or directory
creating browser/components/prefwindow/locale/Makefile
can't read ./browser/components/prefwindow/locale/Makefile.in: No such file or directory
creating browser/components/search/Makefile
can't read ./browser/components/search/Makefile.in: No such file or directory
creating browser/components/search/resources/Makefile
can't read ./browser/components/search/resources/Makefile.in: No such file or directory
creating toolkit/Makefile
can't read ./toolkit/Makefile.in: No such file or directory
creating toolkit/components/autocomplete/Makefile
can't read ./toolkit/components/autocomplete/Makefile.in: No such file or directory
creating toolkit/components/autocomplete/public/Makefile
can't read ./toolkit/components/autocomplete/public/Makefile.in: No such file or directory
creating toolkit/components/autocomplete/src/Makefile
can't read ./toolkit/components/autocomplete/src/Makefile.in: No such file or directory
creating toolkit/components/build/Makefile
can't read ./toolkit/components/build/Makefile.in: No such file or directory
creating toolkit/components/satchel/Makefile
can't read ./toolkit/components/satchel/Makefile.in: No such file or directory
creating toolkit/components/satchel/public/Makefile
can't read ./toolkit/components/satchel/public/Makefile.in: No such file or directory
creating toolkit/components/satchel/src/Makefile
can't read ./toolkit/components/satchel/src/Makefile.in: No such file or directory
creating toolkit/skin/unix/Makefile
can't read ./toolkit/skin/unix/Makefile.in: No such file or directory
creating toolkit/skin/win/Makefile
can't read ./toolkit/skin/win/Makefile.in: No such file or directory
creating toolkit/xre/Makefile
can't read ./toolkit/xre/Makefile.in: No such file or directory
updating cache ./config.cache
creating ./config.status
creating config/autoconf.mk
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

Post by cdn »

you need to set MOZ_PHOENIX=1 in .mozconfig and then do make -f client.mk, which should check out browser and toolkit

see http://www.mozillazine.org/forums/viewt ... OZ_PHOENIX
francois
Posts: 33
Joined: November 6th, 2002, 5:31 am
Location: New Zealand

Post by francois »

I did set MOZ_PHOENIX=1 in .mozconfig but did not do the 'make -f client.mk' my fault for not reading properly
the instruction on the mozilla build page.
I suppose it is equivalent to do
cvs co mozilla/browser and
cvs co mozilla/toolkit
as indicated on the linux from scratch hint web page (http://linuxfromscratch.org/~tushar/hints/mozilla.txt)
Post Reply