Closed Bug 992310 Opened 12 years ago Closed 12 years ago

(Regression) Can't build 2.28a1 for Linux i686

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: kevink9876543, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 SeaMonkey/2.28a1 (Beta/Release) Build ID: 20140401132811 Steps to reproduce: Ubuntu 12.04 32-bits. Try to build SeaMonkey following the instructions at https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_build , but apply the patch from bug 987464 before building. Actual results: Build aborted with these errors: /media/mozilla/comm-central/objdir-sm-release/mozilla/toolkit/system/gnome/tmpLVxqXZ.list: INPUT("nsGnomeModule.o") INPUT("nsGConfService.o") INPUT("nsGIOService.o") INPUT("nsGSettingsService.o") ../../../dist/include/nsStringAPI.h:899: error: undefined reference to 'NS_CStringContainerFinish' ../../../dist/include/nsStringAPI.h:899: error: undefined reference to 'NS_CStringContainerFinish' ../../../dist/include/nsStringAPI.h:899: error: undefined reference to 'NS_CStringContainerFinish' ../../../dist/include/nsStringAPI.h:899: error: undefined reference to 'NS_CStringContainerFinish' ../../../dist/include/nsStringAPI.h:477: error: undefined reference to 'NS_CStringSetData' ../../../dist/include/nsStringAPI.h:477: error: undefined reference to 'NS_CStringSetData' ../../../dist/include/nsStringAPI.h:808: error: undefined reference to 'NS_StringContainerInit' ../../../dist/include/nsStringAPI.h:1054: error: undefined reference to 'NS_CStringToUTF16' ../../../dist/include/nsStringAPI.h:838: error: undefined reference to 'NS_StringContainerFinish' ../../../dist/include/nsStringAPI.h:454: error: undefined reference to 'NS_CStringGetData' ../../../dist/include/nsStringAPI.h:507: error: undefined reference to 'NS_CStringGetData' ../../../dist/include/nsStringAPI.h:508: error: undefined reference to 'NS_CStringSetDataRange' ../../../dist/include/nsStringAPI.h:498: error: undefined reference to 'NS_CStringSetDataRange' ../../../dist/include/nsStringAPI.h:886: error: undefined reference to 'NS_CStringContainerInit' ../../../dist/include/nsStringAPI.h:887: error: undefined reference to 'NS_CStringCopy' ../../../dist/include/nsStringAPI.h:893: error: undefined reference to 'NS_CStringContainerInit' ../../../dist/include/nsStringAPI.h:894: error: undefined reference to 'NS_CStringSetData' ../../../dist/include/nsStringAPI.h:923: error: undefined reference to 'NS_CStringContainerInit2' ../../../dist/include/nsStringAPI.h:874: error: undefined reference to 'NS_CStringContainerInit' ../../../dist/include/nsStringAPI.h:477: error: undefined reference to 'NS_CStringSetData' ../../../dist/include/nsStringAPI.h:473: error: undefined reference to 'NS_CStringCopy' ../../../dist/include/nsTArray.h:169: error: undefined reference to 'NS_DebugBreak' ../../../dist/include/nsStringAPI.h:507: error: undefined reference to 'NS_CStringGetData' ../../../dist/include/nsStringAPI.h:508: error: undefined reference to 'NS_CStringSetDataRange' ../../../dist/include/nsStringAPI.h:923: error: undefined reference to 'NS_CStringContainerInit2' /media/mozilla/comm-central/mozilla/xpcom/glue/nsTArray.h:175: error: undefined reference to 'NS_DebugBreak' /media/mozilla/comm-central/mozilla/xpcom/glue/AppData.cpp:30: error: undefined reference to 'NS_Free' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:454: error: undefined reference to 'NS_CStringGetData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:1440: error: undefined reference to 'NS_CStringCloneData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:874: error: undefined reference to 'NS_CStringContainerInit' /media/mozilla/comm-central/mozilla/xpcom/glue/nsCRTGlue.cpp:106: error: undefined reference to 'NS_Alloc' /media/mozilla/comm-central/mozilla/xpcom/glue/nsCRTGlue.cpp:118: error: undefined reference to 'NS_Alloc' /media/mozilla/comm-central/mozilla/xpcom/glue/AppData.cpp:18: error: undefined reference to 'NS_Free' ../../dist/include/mozilla/ServiceList.h:14: error: undefined reference to 'mozilla::services::_external_GetObserverService()' /media/mozilla/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:25: error: undefined reference to 'NS_GetServiceManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:35: error: undefined reference to 'NS_GetServiceManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:498: error: undefined reference to 'NS_CStringSetDataRange' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:808: error: undefined reference to 'NS_StringContainerInit' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:1025: error: undefined reference to 'NS_CStringToUTF16' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:862: error: undefined reference to 'NS_StringContainerInit2' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:838: error: undefined reference to 'NS_StringContainerFinish' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:838: error: undefined reference to 'NS_StringContainerFinish' ../../dist/include/mozilla/ServiceList.h:14: error: undefined reference to 'mozilla::services::_external_GetObserverService()' /media/mozilla/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:108: error: undefined reference to 'NS_GetComponentManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:98: error: undefined reference to 'NS_GetComponentManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:87: error: undefined reference to 'NS_GetComponentManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:76: error: undefined reference to 'NS_GetComponentManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsCOMArray.cpp:299: error: undefined reference to 'NS_Alloc' /media/mozilla/comm-central/mozilla/xpcom/glue/nsCOMArray.cpp:291: error: undefined reference to 'NS_Free' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:887: error: undefined reference to 'NS_CStringCopy' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:916: error: undefined reference to 'NS_CStringContainerInit2' /media/mozilla/comm-central/mozilla/xpcom/glue/nsMemory.h:39: error: undefined reference to 'NS_Realloc' /media/mozilla/comm-central/mozilla/xpcom/glue/nsMemory.h:36: error: undefined reference to 'NS_Alloc' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:138: error: undefined reference to 'NS_StringSetDataRange' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:808: error: undefined reference to 'NS_StringContainerInit' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:808: error: undefined reference to 'NS_StringContainerInit' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:923: error: undefined reference to 'NS_CStringContainerInit2' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:1054: error: undefined reference to 'NS_CStringToUTF16' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:838: error: undefined reference to 'NS_StringContainerFinish' /media/mozilla/comm-central/mozilla/xpcom/glue/nsMemory.cpp:21: error: undefined reference to 'NS_GetMemoryManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsMemory.cpp:41: error: undefined reference to 'NS_GetMemoryManager' /media/mozilla/comm-central/mozilla/xpcom/glue/nsMemory.h:42: error: undefined reference to 'NS_Free' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:887: error: undefined reference to 'NS_CStringCopy' ../../dist/include/nsAutoPtr.h:35: error: undefined reference to 'NS_DebugBreak' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:24: error: undefined reference to 'NS_StringGetData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:35: error: undefined reference to 'NS_StringGetData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:43: error: undefined reference to 'NS_StringGetData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:50: error: undefined reference to 'NS_StringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:61: error: undefined reference to 'NS_StringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:69: error: undefined reference to 'NS_StringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:77: error: undefined reference to 'NS_StringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:90: error: undefined reference to 'NS_StringGetData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:821: error: undefined reference to 'NS_StringCopy' ../../dist/include/nsXPCOMStrings.h:382: error: undefined reference to 'NS_StringSetDataRange' ../../dist/include/nsXPCOMStrings.h:382: error: undefined reference to 'NS_StringSetDataRange' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:1032: error: undefined reference to 'NS_CStringToUTF16' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:148: error: undefined reference to 'NS_StringSetDataRange' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:1069: error: undefined reference to 'NS_UTF16ToCString' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:1069: error: undefined reference to 'NS_UTF16ToCString' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:581: error: undefined reference to 'NS_CStringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:592: error: undefined reference to 'NS_CStringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:600: error: undefined reference to 'NS_CStringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:608: error: undefined reference to 'NS_CStringGetMutableData' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:997: error: undefined reference to 'NS_StringContainerInit2' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:1015: error: undefined reference to 'NS_StringContainerInit2' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.h:993: error: undefined reference to 'NS_UTF16ToCString' /media/mozilla/comm-central/mozilla/xpcom/glue/nsStringAPI.cpp:1057: error: undefined reference to 'NS_CStringCloneData' collect2: ld returned 1 exit status make[4]: *** [libmozgnome.so] Error 1 make[4]: Leaving directory `/media/mozilla/comm-central/objdir-sm-release/mozilla/toolkit/system/gnome' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/media/mozilla/comm-central/objdir-sm-release/mozilla' make[2]: *** [default] Error 2 make[2]: Leaving directory `/media/mozilla/comm-central/objdir-sm-release/mozilla' make[1]: *** [default] Error 2 make[1]: Leaving directory `/media/mozilla/comm-central/objdir-sm-release' make: *** [build] Error 2 Worked: c-c rev 86ee54b4f7bb / m-c rev 1417d180a1d8 Fails: c-c rev 44c98536c733 / m-c rev aec6bf932306 (Current revisions don't build either.) Expected results: SeaMonkey should have been built successfully.
Still not working, so I re-tried with c-c rev 6b8380355ecd (current) and m-c rev 1417d180a1d8 (reverted), and SeaMonkey built successfully... Does that mean this isn't a SeaMonkey bug? If it would be helpful if I find the exact m-c changeset that caused this, please let me know and provide instructions for how to do that without making a mess of my local copy of the m-c repository (every build I try requires first merging the local change described above).
Let's see 1417d180a1d8 is Bug 989137 with parts of it landing around 2014-03-30 and aec6bf932306 is Bug 991203 which landed around 2014-04-03. Pushlog query: http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2014-03-30&enddate=2014-04-03 I suggest picking a changeset somewhere in the middle and see if it builds.
Thanks. Discovered hg strip which should keep my local repository clean enough. The problem looks to be one or more of the changes merged in https://hg.mozilla.org/mozilla-central/rev/0ff6afce0133 . Continuing investigation...
OK, narrowed the regression range as much as possible here (ran into a changeset marked with "DONTBUILD" so I didn't test that one). m-c rev 3c648300596f works m-c rev c83c52c332be doesn't build
So the mozilla-central range is: 176467:3c648300596f 176468:93739bb52457 176469:c83c52c332be https://hg.mozilla.org/mozilla-central/rev/93739bb52457#l1.13 Perhaps Needs a CLOBBER. Try blowing away your object-dir and start another build
That was it, thank you.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.