Unable to build on win32 following directions on website
I followed the directions posted here precisely, and am unable to build from songbird svn trunk. I'm using Mozilla Build 1.3, Visual Studio C++ Express 2005, Vista SDK, all as recommended. As soon as I start to build from within Mozilla Build/msys, I start getting errors:
$ make -f songbird.mk 2>&1|less
Songbird Build System
svn up /home/sb/trunk/dependencies/vendor/mozbrowser
At revision 10269.
mkdir -p /home/sb/trunk/compiled /home/sb/trunk/compiled/dist
cd /home/sb/trunk/compiled && /home/sb/trunk/configure
0 [main] sh 4668 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
0 [main] sh 3768 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
checking build system type... 0 [main] sh 4944 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
and eventually it fails entirely.
Any suggestions?
$ make -f songbird.mk 2>&1|less
Songbird Build System
svn up /home/sb/trunk/dependencies/vendor/mozbrowser
At revision 10269.
mkdir -p /home/sb/trunk/compiled /home/sb/trunk/compiled/dist
cd /home/sb/trunk/compiled && /home/sb/trunk/configure
0 [main] sh 4668 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
0 [main] sh 3768 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
checking build system type... 0 [main] sh 4944 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
and eventually it fails entirely.
Any suggestions?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?ajkessel,
Just press Esc.
Just kidding. You need a developer to help you out. Lemme ping one for you.
Thanks!
-
Inappropriate?Hmm, sh.exe crashing is never good. Which version of Windows is this on? (Though I expect the error to be a bit different for 64-bit machines). Also, random guess - do you have / have had Logitech webcams installed? (Look for a LVCOMSVR or similar in task manager). If yes, try stopping that (should be in Computer Management -> Services)?
I’m uncertain
-
Inappropriate?Windows XP SP3. Never had any webcam (including Logitech) installed. No LVCOMSVR or similar task in taskmgr.
I'm usually able to build packages fine on this machine using my own cygwin installation. I haven't been able to build Songbird using either mozilla-build 1.3 or my own cygwin.
Any ideas to get more useful debug messages?
I’m confused.
-
Inappropriate?Oops, sorry, I lost track of this.
http://forums.mozillazine.org/viewtop... may be useful; it leads to http://www.mingw.org/MinGWiki/index.p... which has a list of things that may be interfering. Maybe :| -
Inappropriate?The main suggestion offered there appears to relate again to the Logitech software, which was never installed on this computer. Unfortunately I don't see any suggestions on either page that seems applicable here.
Should I have gcc in the build environment? I noticed after running msysinfo that gcc and ld weren't found. Visual Studio C++ is installed, as per the SB build instructions. -
Inappropriate?No, you don't need gcc (we don't build with gcc on win32 anyway). I'm kinda running out of ideas :( Maybe check autoruns (sysinternals) to see if anything's obviously hooking things?
I’m frustrated
-
Inappropriate?I've actually been pursuing this on the mingw support list to no avail. Aside from the Logitech Camera cause (which couldn't possibly be an issue here), several people seem to think it's a problem with my environmental variables--i.e., a space in the path or something similar. But I've removed all spaces from the path, disabled all tasks and services, etc., and I still can't build Songbird. This appears to be more of a mingw/msys problem than a SB one but I would love to get it figured out.
I’m sad
-
Inappropriate?(Read the mingw list too, I see that you tried using cygwin too. That actually used to work, but nobody's tried building Songbird with that for a while.)
I don't suppose you know how to get a list of the DLLs loaded at the time of crash with their base addresses? (I have no idea how to do that; the mingw user list might, starting from the stackdump?) That would help in figuring out if anybody is taking up the space it expects.
I’m confused
-
Inappropriate?I believe listdlls.exe from Microsoft's sysinternals will list all the DLLs with base addresses -- but the output is almost 4,000 lines long (when run within my mozilla-build msys session). Is there something I should grep for in there?
The first few lines of sample output:
Base Size Version Path
0x4a680000 0x5000 \??\C:\WINDOWS\system32\csrss.exe
0x7c900000 0xaf000 5.01.2600.5512 C:\WINDOWS\system32\ntdll.dll
0x75b40000 0xb000 5.01.2600.5512 C:\WINDOWS\system32\CSRSRV.dll
0x75b50000 0x10000 5.01.2600.5512 C:\WINDOWS\system32\basesrv.dll
0x75b60000 0x4b000 5.01.2600.5512 C:\WINDOWS\system32\winsrv.dll
I’m undecided
-
Inappropriate?Bah, I wanted to see if there were any dlls that were bumping msys out of the way, but now I see that the mingw list had you try rebasing it.
(It shouldn't be 4 000 lines long, since I only wanted the dlls being loaded by the crashing process - csrss, for example, should not have shown up :( ) -
Inappropriate?Seems like we've tracked down the probable cause in the source code (details on the mingw email list). Stay tuned.
-
Inappropriate?That sounds promising, at least. (Some TLS stuff?)
-
Inappropriate?The msys/mingw folks finally found and patched the bug. They posted a new version (for my testing) (see http://thread.gmane.org/gmane.comp.gn...=28594 ), which does not crash. Unfortunately now the SonsgBird build process crashes when building the WMA mediacore handler:
C:/mozilla-build/msys/home/trunk/components/mediacore/metadata/handler/wma/src/MetadataHandlerWMA.cpp(51) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
Any ideas here?
I’m frustrated
-
Inappropriate?Thanks for your efforts!
Ugh, that sounds like a bug on our end, since we sorta tried to make sure we can still build with free tools... (atlbase isn't in VC express, see https://developer.mozilla.org/En/Atlb...) Filed as bug 14755.
Sorry you're hitting these errors, and I really appreciate your persistence.
-
Inappropriate?Actually, I just found atlbase.h is included in Microsoft Platform SDK for Windows Server 2003 R2 (I had previously just installed the Vista SDK, as per the build instructions). Where would be the logical place to copy atlbase.h to have a successful build? Will I need other supporting files as well?
Also, would it make more sense to continue this conversation in bugzilla rather than here?
I’m optimistic.
-
Inappropriate?Yeah, using the old PSDK should work (see the devmo page I linked to); MozillaBuild should support installing both SDKs side-by-side. I don't know at this point if you need any other files, sorry :(
I'm happy where ever this is, but bugzilla is probably better for the specifics on this particular problem. -
Inappropriate?Installing the PSDK gets me past the atlbase issue; now the build fails further on without a clear explanation:
make[3]: Entering directory `/home/trunk/compiled/extensions/concerts'
mkdir -p ./.xpistage
mkdir -p ./.xpistage/defaults/preferences
cp -dfp /home/trunk/extensions/concerts/defaults/preferences/prefs.js ./.xpistage/defaults/preferences
perl /home/trunk/dependencies/windows-i686-msvc8/mozilla/release/scripts/preproc
essor.pl \
[...]
mkdir -p ./.xpistage
[...]
cp: will not create hard link `./.xpistage/chrome/skin/.svn' to directory `./.xp
istage/chrome/locale/pt-BR/.svn/props'
make[3]: *** [extinstall] Error 1
make[3]: Leaving directory `/home/trunk/compiled/extensions/concerts'
make[2]: *** [concerts] Error 2
make[2]: Leaving directory `/home/trunk/compiled/extensions'
make[1]: *** [extensions] Error 2
make[1]: Leaving directory `/home/trunk/compiled'
make: *** [build] Error 2
I’m sad
-
Inappropriate?hey there... dunno what to say; cp shouldn't be trying to create hard links. are you sure your path is setup right to use the correct cp? If all else fails, you can just take concerts out of the extensions/Makefile.in build system unless you really need to build the Concerts extension.
-
Inappropriate?Great; disabling concerts at least gives me a complete successful build. I definitely have the right cp -- it's just /bin/cp in msys (GNU coreutils v5.97).
Perhaps the Microsoft Platform SDK for Windows Server 2003 R2 package should be added to the wiki as a build requirement?
Loading Profile...




EMPLOYEE
EMPLOYEE
EMPLOYEE