Is anyone having problems building?

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
joshk
Posts: 33
Joined: November 25th, 2002, 1:33 am
Location: Palo Alto, CA
Contact:

Is anyone having problems building?

Post by joshk »

nsDocShell.cpp: In member function `virtual nsresult
nsDocShell::InternalLoad(nsIURI*, nsIURI*, nsISupports*, int, const
PRUnichar*, nsIInputStream*, nsIInputStream*, unsigned int, nsISHEntry*,
int, nsIDocShell**, nsIRequest**)':
nsDocShell.cpp:4837: warning: enumeral mismatch in conditional expression: `
nsIContentPolicy::<anonymous enum>' vs `nsIContentPolicy::<anonymous enum>'
nsDocShell.cpp: In member function `nsresult
nsDocShell::AddToGlobalHistory(nsIChannel*, nsIURI*, int)':
nsDocShell.cpp:6403: no matching function for call to `
nsDerivedSafe<nsIBrowserHistory>::OutputReferrerURL(const char*, const char*
)'
make[4]: *** [nsDocShell.o] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [tier_9] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2

Ring a bell with any of you?
<mspencer> Hitler used an aimbot.
Hendikins
Posts: 26
Joined: December 31st, 1969, 5:00 pm
Location: On a train

Post by Hendikins »

Yes sir, she's hosed!
crippled-bird
Guest

the tinderbox was smokin' this evening

Post by crippled-bird »

It's fixed - checkout and try again
User avatar
Shadow3333
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Re: the tinderbox was smokin' this evening

Post by Shadow3333 »

Build from the 14th didn't had one single problem, strange...
User avatar
joshk
Posts: 33
Joined: November 25th, 2002, 1:33 am
Location: Palo Alto, CA
Contact:

Post by joshk »

Turned out my CVS/Entries got messed up, so even updating all the files affecting this bug wouldn't work. I just nuked my source tree and checked a new one out.. ;D

It builds now. i tried it with GTK+ 2.0 on a whim, and a lot of "Gtk-CRITICAL' asserts failed and it refused to start. :| Well, I will build once again with GTK+ 1.2.
<mspencer> Hitler used an aimbot.
Hendikins
Posts: 26
Joined: December 31st, 1969, 5:00 pm
Location: On a train

Post by Hendikins »

No such trouble for me...

Just a cvs up -Pd toolkit and gmake -f client.mk build, and it took off from where it failed :)
User avatar
Shadow3333
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Post by Shadow3333 »

Ok i have a problem with building Phoenix today, tried it over and over again, but the cron job keeps failing, must be something in the Mozilla code, cuz i didn't change jack shit on my machine.. oh well let's try tomorrow :)
Hendikins
Posts: 26
Joined: December 31st, 1969, 5:00 pm
Location: On a train

Post by Hendikins »

Using cron would be great if I used my computer at regular hours. Problem is, I don't, so I just have a shell script that does a make distclean, gmake -f client.mk checkout, killall -9 pppd (shared phone line!) and gmake -f client.mk build which I run when I leave the computer for more than a couple of hours (going out, sleeping)...
User avatar
Shadow3333
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Post by Shadow3333 »

Hendikins wrote:Using cron would be great if I used my computer at regular hours.


I'm not using it either on a regular base, but i can start the computer from work (Wake On Lan) and the cron job will run at 6 pm :)
ruckerz
Posts: 22
Joined: December 1st, 2002, 9:06 pm

Havent' been able to build anything in January

Post by ruckerz »

ake[4]: Entering directory `/home/ruckerz/mozilla/xpfe/appshell/src'
nsUserInfoUnix.cpp
c++ -o nsUserInfoUnix.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/dom -I../../../dist/include/necko -I../../../dist/include/uriloader -I../../../dist/include/js -I../../../dist/include/locale -I../../../dist/include/webbrwsr -I../../../dist/include/pref -I../../../dist/include/xpconnect -I../../../dist/include/intl -I../../../dist/include/xul -I../../../dist/include/windowwatcher -I../../../dist/include/browser -I../../../dist/include/caps -I../../../dist/include/profile -I../../../dist/include/unicharutil -I../../../dist/include/embed_base -I../../../dist/include/exthandler -I../../../dist/include/appshell -I../../../dist/include -I/home/ruckerz/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -pthread -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsUserInfoUnix.pp nsUserInfoUnix.cpp
nsUserInfoUnix.cpp: In member function `virtual nsresult
nsUserInfo::GetDomain(char**)':
nsUserInfoUnix.cpp:145: `struct utsname' has no member named `__domainname'
make[4]: *** [nsUserInfoUnix.o] Error 1
make[4]: Leaving directory `/home/ruckerz/mozilla/xpfe/appshell/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/ruckerz/mozilla/xpfe/appshell'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/ruckerz/mozilla/xpfe'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/home/ruckerz/mozilla'
make: *** [default] Error 2

Always craps out here.... last cvs checkout was Jan 15
User avatar
Shadow3333
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Re: Havent' been able to build anything in January

Post by Shadow3333 »

source from the sixteenth is 'save' again :) just finished building Phoenix.
ruckerz
Posts: 22
Joined: December 1st, 2002, 9:06 pm

nsUserInfoUnix.cpp:145: `struct utsname' has no member named

Post by ruckerz »

FIX

check http://gcc.gnu.org/ml/gcc-bugs/2001-02/msg00063.html about The definition of struct utsname is different depending on on whether one uses gcc or g++ to compile the program

changed nsUserInfoUnix.cpp to read

// #if defined(HAVE_UNAME_DOMAINNAME_FIELD)
domainname = buf.domainname;
//#elif defined(HAVE_UNAME_US_DOMAINNAME_FIELD)
//# domainname = buf.__domainname;
//#endif

Temporary Fix, but works
nkurz
Posts: 62
Joined: November 12th, 2002, 10:09 pm

Re: Havent' been able to build anything in January

Post by nkurz »

ruckerz wrote:ake[4]
nsUserInfoUnix.cpp: In member function `virtual nsresult
nsUserInfo::GetDomain(char**)':
nsUserInfoUnix.cpp:145: `struct utsname' has no member named `__domainname'

...

Always craps out here.... last cvs checkout was Jan 15



I had this problem also, after upgrading to GCC 3.2.1. The problem was that configure was still using the old values, even though it was re-run. Solution was to delete 'config.cache' and re-run configure. Suddenly things worked again.
Post Reply