Closed Bug 707511 Opened 13 years ago Closed 13 years ago

Windows pymake srcdir builds: "config/autoconf.mk:346: *** Windows-style srcdir being used with GNU make. Did you mean to run c:/mozilla/inbound/js/src/build/pymake/make.py instead?"

Categories

(Firefox Build System :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 643167

People

(Reporter: emorley, Unassigned)

Details

(Whiteboard: [pymake])

Attachments

(1 file)

Attached file Build log
When building from topsrcdir (after rm -rf objdir & removing the generated configures from srcdir) using:
"python -OO build/pymake/make.py -s -f client.mk" 

I get the following error:
{
make.exe[3]: Entering directory `/c/mozilla/inbound/obj-i686-pc-mingw32/js/src'
config/autoconf.mk:346: *** Windows-style srcdir being used with GNU make. Did you mean to run c:/mozilla/inbound/js/src/build/pymake/make.py instead? [see-also: https://developer.mozilla.org/en/Gmake_vs._Pymake].  Stop.
}
(Full build log attached)

Strangely the build continues and completes successfully (which I presume is another bug).

If instead I build from the objdir (which is one level above srcdir) using: "python -OO ../inbound/build/pymake/make.py -s -j3 -f ../inbound/client.mk", then the error doesn't appear.

- Windows 7 x64 (but building 32 bit)
- MozillaBuild 1.6 final
- MSVC2010
- WinSDK 7.0A
- Inbound tip as of 2011-12-02
- PATH: "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\TortoiseHg\;c:\Program Files\Java\jdk1.7.0_01\bin\"
- In my .profile:
{
export MOZCONFIG=/c/mozilla/.mozconfig
}
- .mozconfig:
{
mk_add_options MOZ_MAKE_FLAGS="-j3"
ac_add_options --disable-optimize
ac_add_options --disable-debug-symbols
ac_add_options --disable-tests
ac_add_options --disable-angle
}
Summary: Windows pymake absolute path builds: "config/autoconf.mk:346: *** Windows-style srcdir being used with GNU make. Did you mean to run c:/mozilla/inbound/js/src/build/pymake/make.py instead?" → Windows pymake srcdir builds: "config/autoconf.mk:346: *** Windows-style srcdir being used with GNU make. Did you mean to run c:/mozilla/inbound/js/src/build/pymake/make.py instead?"
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: