MozillaZine

[FX] 2006-07-19 [Trunk/Win32/VC8] (O2/SSE2)

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Sledge.Hammer
 
Posts: 2
Joined: July 19th, 2006, 11:27 am

Post Posted July 19th, 2006, 12:01 pm

I got this error when "make -f client.mk build" is running.
Code: Select all
/usr/bin/make -C /cygdrive/i/proj/mozilla/security/coreconf MAKE="/usr/bin/make -j1" -j1 CC="/cygdrive/i/proj/mozilla/build/cygwin-wrapper cl"
SOURCE_MD_DIR=i:/proj/mozilla/firefox-objdir/dist
DIST=i:/proj/mozilla/firefox-objdir/dist
NSPR_INCLUDE_DIR=i:/proj/mozilla/firefox-objdir/dist/include/nspr
NSPR_LIB_DIR=i:/proj/mozilla/firefox-objdir/dist/lib MOZILLA_CLIENT=1 NO_MDUPDATE=1 NSS_ENABLE_ECC=1 BUILD_TREE=i:/proj/mozilla/firefox-objdir BUILD_OPT=1 NS_USE_GCC= NS_USE_NATIVE=1 OS_TARGET=WIN95 clean
make[5]: Entering directory `/cygdrive/i/proj/mozilla/security/coreconf'
../coreconf/rules.mk:365: target `i' doesn't match the target pattern
../coreconf/rules.mk:406: target `i' doesn't match the target pattern
../coreconf/rules.mk:407: warning: overriding commands for target `i'
../coreconf/rules.mk:366: warning: ignoring old commands for target `i'
../coreconf/rules.mk:437: target `i' doesn't match the target pattern
../coreconf/rules.mk:438: warning: overriding commands for target `i'
../coreconf/rules.mk:407: warning: ignoring old commands for target `i'
../coreconf/rules.mk:445: target `i' doesn't match the target pattern
../coreconf/rules.mk:446: warning: overriding commands for target `i'
../coreconf/rules.mk:438: warning: ignoring old commands for target `i'
../coreconf/rules.mk:449: target `i' doesn't match the target pattern
../coreconf/rules.mk:450: warning: overriding commands for target `i'
../coreconf/rules.mk:446: warning: ignoring old commands for target `i'
../coreconf/rules.mk:464: target `i' doesn't match the target pattern
../coreconf/rules.mk:465: warning: overriding commands for target `i'
../coreconf/rules.mk:450: warning: ignoring old commands for target `i'
../coreconf/rules.mk:468: target `i' doesn't match the target pattern
../coreconf/rules.mk:469: warning: overriding commands for target `i'
../coreconf/rules.mk:465: warning: ignoring old commands for target `i'
../coreconf/rules.mk:964: *** multiple target patterns.  Stop.
make[5]: Leaving directory `/cygdrive/i/proj/mozilla/security/coreconf'
make[4]: *** [.nss.cleaned] Error 2
make[4]: Leaving directory `/cygdrive/i/proj/mozilla/firefox-objdir/security/manager'
make[3]: *** [export_tier_50] Error 2
make[3]: Leaving directory `/cygdrive/i/proj/mozilla/firefox-objdir'
make[2]: *** [tier_50] Error 2


Looks similar to this

but I've tried to build with '--target=i586-pc-msvc' without success

As far as I can tell the vars SOURCE_MD_DIR, DIST, NSPR_INCLUDE_DIR, NSPR_LIB_DIR, BUILD_TREE are filled with wrong values.

I tried to run the first command with changed args, so
Code: Select all
SOURCE_MD_DIR=i:/proj/mozilla/firefox-objdir/dist

became
Code: Select all
SOURCE_MD_DIR=/cygdrive/i/proj/mozilla/firefox-objdir/dist

and so on and the process comleted without errors.
The cyg-wrapper should translate the DOS-drive-fubar to cygwins or to a UNIX-like-structure.

I haven't found the correct location where the vars are set to these values, but maybe someone could help me?

My .mozconfig:
Code: Select all
# Building Firefox Trunk without Debugging
. $topsrcdir/browser/config/mozconfig

# Put all obj files in one place, not in src tree
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-objdir
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_CO_LOCALES="en-US de-DE de-DE"
mk_add_options MOZ_MAKE_FLAGS="-j3"

ac_add_options --enable-application=browser
ac_add_options --enable-ui-locale=de-DE
ac_add_options --enable-static
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
ac_add_options --enable-single-profile
ac_add_options --enable-crypto
ac_add_options --enable-canvas
ac_add_options --enable-optimize="/O2 /arch:SSE"

ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng

ac_add_options --disable-shared
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-dtd-debug
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-gtktest
ac_add_options --disable-freetype2
ac_add_options --disable-freetypetest
ac_add_options --disable-glibtest
ac_add_options --disable-libIDLtest
ac_add_options --disable-xterm-updates
ac_add_options --disable-logging
ac_add_options --disable-toolkit-gtk
ac_add_options --disable-toolkit-qt
ac_add_options --disable-toolkit-xlib
ac_add_options --disable-xprint
ac_add_options --disable-jsd
ac_add_options --disable-profilesharing
ac_add_options --disable-accessibility
ac_add_options --disable-installer
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --disable-postscript
ac_add_options --disable-pedantic
ac_add_options --disable-irc
ac_add_options --disable-cpp-rtti
ac_add_options --disable-auto-deps
ac_add_options --disable-places

I've already tried to build firefox with basic options like these

My buildsetup
Code: Select all
SET CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
SET CVS_RSH=ssh

SET OS_TARGET=WINNT
SET HOME=I:\proj
SET LANG=en

rem --- Setup the paths to the moztools build libraries
set MOZ_TOOLS=I:\proj\moztools
set GLIB_PREFIX=I:\proj\vc8-moztools
set LIBIDL_PREFIX=%GLIB_PREFIX%

rem --- Scrub these variables first
SET INCLUDE=
SET LIB=
SET PATH=C:\;C:\windows\system32;C:\windows\system32\wbem

rem --- Prepend cygwin
SET PATH=C:\cygwin\bin;%PATH%

rem --- Setup VC8 compiler environment vars
CALL "C:\Programme\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86

rem --- Add glib/libidl to build environment
SET PATH=%PATH%;%GLIB_PREFIX%;%GLIB_PREFIX%\bin
SET INCLUDE=%GLIB_PREFIX%\include;%MOZ_TOOLS%\include;%INCLUDE%
SET LIB=%GLIB_PREFIX%\lib;%MOZ_TOOLS%\lib;%LIB%

Sledge.Hammer
 
Posts: 2
Joined: July 19th, 2006, 11:27 am

Post Posted July 19th, 2006, 12:21 pm

Trying some infos from irc://moznet/

The current make-version(3.81) of cygwin doesn't seem to work, so I'll try 3.80.

Maybe I have some luck this time... ](*,)

EDIT: Finally :banana:

Anthracks

User avatar
 
Posts: 168
Joined: July 13th, 2003, 2:06 pm
Location: Boston, MA

Post Posted July 19th, 2006, 1:19 pm

Been fighting this problem the last few days too, and just came to the same conclusion :). 3.81 definitely causes breakage, someone should file a bug if it isn't there already.

NetRolller 3D
 
Posts: 2
Joined: July 23rd, 2006, 6:07 am

Post Posted July 23rd, 2006, 6:13 am

Yesterday, I tried to build a reflow-branch Firefox for Windows, after I've updated Cygwin. Rules.mk: Multiple target patterns. Tried another mozconfig. Still the same. Tried another project. No change. Wasted a sum of 12 hours on trying to get it work, without success. I was close to breaking my motto: Make -f client.mk build, not war! Then I finally found this thread. Downgraded to gmake v3.80, and voilá, everything works. Thanks! This nearly gmade me crazy! :D

unicorn11
 
Posts: 1
Joined: August 9th, 2006, 12:29 am

Post Posted August 9th, 2006, 5:16 am

Thanks guys this solved the error

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 2 guests