Closed Bug 247286 Opened 21 years ago Closed 21 years ago

Build of released sources broken

Categories

(Thunderbird :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: raspl, Assigned: mscott)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 With both, Thunderbird 0.7 and Firefox 0.9, I get identical build errors (using gcc 2.95-3), using the latest released source packages from the servers (1) mozilla/rdf/chrome/src/nsChromeRegistry.cpp, line 2692: NS_IMETHODIMP nsChromeRegistry::UninstallPackage(const PRUnichar* aPackageName, PRBool aUseProfile) is defined with a different first argument type (const PRUnichar*) in the respective header file. Correct would be to use const nsACString & instead: NS_IMETHODIMP nsChromeRegistry::UninstallPackage(const nsACString & aPackageName, PRBool aUseProfile) (2) After that, the compile finally stops here: gmake[3]: *** No rule to make target `extensions/Makefile.in', needed by `extensions/Makefile'. Stop. gmake[3]: Leaving directory `/scratch/downloads/thunderbird/mozilla/xpfe/components' Reproducible: Always Steps to Reproduce: 1.download the source package for thunderbird 0.7 2.call ./configure or alternatively run gmake -f client.mk (I'm using --disable-debug and --enable-optimize, nothing else. I noticed that the problems do _not_ disappear when I omit these and build with defaults all the way) 3.build via 'gmake' Actual Results: build stops Expected Results: binaries?!?
thunderbird and firefox don't build mozilla\rdf chrome. If you are buidling this directory that means your mozconfig is bogus
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Negative: I'm using defaults all the way - a .mozconfig doesn't even exist! make is version 3.79.1 - maybe one of the Makefiles is misinterpreted?!? Renaming mozilla/rdf/chrome didn't help, and the whole message appears to be quite bogs, since a respective extensions/Makefile _without_ a extensions/Makefile.in simply does not exist: /scratch/downloads/thunderbird/mozilla> find . | grep "extensions/Makefile" ./ipc/ipcd/extensions/Makefile ./ipc/ipcd/extensions/Makefile.in ./mail/app/profile/extensions/Makefile.in ./mail/extensions/Makefile.in ./mailnews/extensions/Makefile ./mailnews/extensions/Makefile.in ./toolkit/components/extensions/Makefile.in ./toolkit/mozapps/extensions/Makefile.in ./extensions/Makefile ./extensions/Makefile.in As you can see from the above, all extensions/Makefile have a respective extensions/Makefile. Maybe some path variable is not initialized, like $(FOO)extensions/Makefile becomes extensions/Makefile, since $FOO is not defined?
*sigh* your obviously going to have major build problems if you don't even have a .mozconfig in your mozilla directory. Did you read the build instructions? Please do that first. Thanks.
I've read probably most of the documentation online and also built previous versions successfully. Also, I have already tried to get a .mozconfig (since the ./configure or make -f client.mk wouldn't generate one which made me suspicious) using the Unix Build Configurator, but since it told me 'No script needed. Only default values were selected.', I guess it must be very well possible to build without a .mozconfig!?! I've tried all ways to build the latest released tarballs, among others following the instructions given at http://www.mozilla.org/build/unix-details.html, sections 'Manually drive the build' and 'Automated build (client.mk)'. I made sure that I meet all the prerequisites. I applied these to ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.9/ firefox-0.9-source.tar.bz2 and ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/0.7/ thunderbird-0.7-source.tar.bz2 Now am I doing something wrong here, or is there something missing in the instructions?
I have not idea what you just said. :) The build instructions are at: http://www.mozilla.org/projects/thunderbird/buid.html
You need to log in before you can comment on or make changes to this bug.