Closed
Bug 273988
Opened 20 years ago
Closed 20 years ago
Makefiles get incorrect values in xpcom when using MOZ_OBJDIR
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: David.R.Gardiner, Unassigned)
Details
When MOZ_OBJDIR is set in mozconfig.. eg.
#
# See http://www.mozilla.org/build/ for build instructions.
#
# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=browser
ac_add_options --enable-debug
ac_add_options --enable-quantify
# Example mozconfig entry
Then the build gets as far as the XPCOM folder, and then crashes with:
make[4]: Leaving directory `/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc/js/src'
make[3]: Leaving directory `/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc/js'
make[3]: Entering directory `/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc/xpcom'
make[4]: Entering directory
`/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc/xpcom/MoreFiles'
make[4]: *** No rule to make target `Makefile.in', needed by `Makefile'. Stop.
make[4]: Leaving directory
`/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc/xpcom/MoreFiles'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/d/mozilla/mozilla/obj-i586-pc-msvc'
make: *** [build] Error 2
D:\mozilla\mozilla>
Opening up the Makefile in obj-i586-pc-msvc/xpcom/MoreFiles reveals that it has
unusual values compared to other Makefiles:
DEPTH = ../..
topsrcdir = d:/mozilla/mozilla/
srcdir = d:/mozilla/mozilla/xpcom/MoreFiles
VPATH = d:/mozilla/mozilla/xpcom/MoreFiles
Whereas other makefiles are like this:
DEPTH = ../..
topsrcdir = /cygdrive/d/mozilla/mozilla
srcdir = /cygdrive/d/mozilla/mozilla/xpcom/io
VPATH = /cygdrive/d/mozilla/mozilla/xpcom/io
I can't see anything obviously different between the Makefile.in files, so I
think it must be something to do with the build system that creates the Makefile
files.
-dave
Reporter | ||
Comment 1•20 years ago
|
||
Updating to the latest cygwin seems to have solved this problem.
-dave
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
for reference, which version didn't work and which version worked? (not sure
what apps i'm interested in, perl, make, autoconf2.1x?)
You need to log in
before you can comment on or make changes to this bug.
Description
•