Closed Bug 335009 Opened 20 years ago Closed 20 years ago

creation of libxulapp_s.a fails with missing object file

Categories

(Thunderbird :: Build Config, defect)

SGI
IRIX
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Rich.Fleck, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.8a6) Gecko/20050212 Build Identifier: ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.5/source rm -f libxulapp_s.a CC -ar -o libxulapp_s.a showOSAlert.o nsSigHandlers.o nsAppRunner.o nsConsoleWriter.o nsXREDirProvider.o nsNativeAppSupportBase.o nsUpdateDriver.o nsNativeAppSupportDefault.o nsStackFrameUnix.o nsProfileLock. nsToolkitProfileService.o XRemoteClient. CC ERROR: no source or object file given gmake[3]: *** [libxulapp_s.a] Error 2 Reproducible: Always Steps to Reproduce: 1.../configure --disable-optimize --enable-debug -enable-application=mail --without-pthreads 2.gmake 3.gmake can get around by cp XRemoteClient. XRemoteClient.o cp nsProfileLock. nsProfileLock.o CC -ar -o libxulapp_s.a showOSAlert.o nsSigHandlers.o nsAppRunner.o nsConsoleWriter.o nsXREDirProvider.o nsNativeAppSupportBase.o nsUpdateDriver.o nsNativeAppSupportDefault.o nsStackFrameUnix.o nsProfileLock.o nsToolkitProfileService.o XRemoteClient.o
Severity: minor → blocker
Try downloading the source again (bug 334985).
Down loaded latest firefox source ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.3/source/ and ran into the same problem again also ran into the same problems for many more libs for some reason the .o is missing. Everything looks ok in the makefile to the untrained eye. here are more of the same Watt:~ [2] cd /usr/people/rich/junk/mozilla/obj-sgi/intl/build Watt Watt:build [3] ls Makefile nsLanguageAtomService.o ii_files nsLocale.o nsCaseConversionImp2.o nsLocaleService.o nsCollation.o nsMetaCharsetObserver.o nsCollationUnix.o nsObserverBase.o nsCyrillicDetector.o nsPSMDetectors.o nsDateTimeFormatUnix.o nsPosixLocale. nsDebugDetector.o nsSampleWordBreaker.o nsDetectionAdaptor.o nsSaveAsCharset.o nsDocumentCharsetInfo.o nsScriptableDateFormat.o nsEntityConverter.o nsSemanticUnitScanner.o nsFontPackageService.o nsStringBundle.o nsHankakuToZenkaku.o nsStringBundleTextOverride.o nsI18nModule.o nsUnicodeNormalizer.o nsJISx4501LineBreaker.o nsXMLEncodingObserver.o nsLWBreakerFImp.o rulebrk.o Watt:build [4] cp nsPosixLocale. nsPosixLocale.o Watt:build [5] rm nsPosixLocale. Watt:build [6] CC -ar -o libi18n.a nsI18nModule.o nsObserverBase.o nsXMLEncodingObserver.o nsMetaCharsetObserver.o nsDetectionAdaptor.o nsDebugDetector.o nsPSMDetectors.o nsCyrillicDetector.o nsDocumentCharsetInfo.o rulebrk.o nsJISx4501LineBreaker.o nsLWBreakerFImp.o nsSampleWordBreaker.o nsSemanticUnitScanner.o nsCaseConversionImp2.o nsHankakuToZenkaku.o nsEntityConverter.o nsSaveAsCharset.o nsUnicodeNormalizer.o nsStringBundle.o nsStringBundleTextOverride.o nsCollation.o nsScriptableDateFormat.o nsLanguageAtomService.o nsLocale.o nsLocaleService.o nsFontPackageService.o nsCollationUnix.o nsDateTimeFormatUnix.o nsPosixLocale.o Watt:build [7] cd /usr/people/rich/junk/mozilla/obj-sgi/rdf/build Watt Watt:build [8] ls Makefile nsRDFContentSink.o ii_files nsRDFModule.o nsCompositeDataSource.o nsRDFParserUtils.o nsContainerEnumerator.o nsRDFResource. nsDefaultResourceFactory.o nsRDFService.o nsFileSystemDataSource.o nsRDFXMLDataSource.o nsInMemoryDataSource.o nsRDFXMLParser.o nsLocalStore.o nsRDFXMLSerializer.o nsNameSpaceMap.o rdfTriplesSerializer.o nsRDFContainer.o rdfutil.o nsRDFContainerUtils.o Watt:build [9] cp nsRDFResource. nsRDFResource.o Watt:build [10] rm nsRDFResource. Watt:build [11] CC -ar -o librdf.a nsRDFModule.o rdfTriplesSerializer.o nsCompositeDataSource.o nsContainerEnumerator.o nsDefaultResourceFactory.o nsInMemoryDataSource.o nsNameSpaceMap.o nsRDFContentSink.o nsRDFContainer.o nsRDFContainerUtils.o nsRDFParserUtils.o nsRDFService.o nsRDFXMLDataSource.o nsRDFXMLParser.o nsRDFXMLSerializer.o rdfutil.o nsLocalStore.o nsFileSystemDataSource.o nsRDFResource.o Watt:build [12] cd /usr/people/rich/junk/mozilla/obj-sgi/embedding/browser/build Watt Watt:build [13] ls Makefile nsEmbedStream. ii_files nsWebBrowser.o nsCommandHandler.o nsWebBrowserContentPolicy.o nsContextMenuInfo.o nsWebBrowserModule.o nsDocShellTreeOwner.o Watt:build [14] cp nsEmbedStream. nsEmbedStream.o Watt:build [15] rm nsEmbedStream. Watt:build [16] CC -ar -o libwebbrwsr.a nsWebBrowserModule.o nsDocShellTreeOwner.o nsWebBrowser.o nsCommandHandler.o nsWebBrowserContentPolicy.o nsContextMenuInfo.o nsEmbedStream.o Watt:build [17] cd /usr/people/rich/junk/mozilla/obj-sgi/intl/build Watt Watt:build [18] ls Makefile nsLocale.o ii_files nsLocaleService.o nsCaseConversionImp2.o nsMetaCharsetObserver.o nsCollation.o nsObserverBase.o nsCollationUnix.o nsPSMDetectors.o nsCyrillicDetector.o nsPosixLocale. nsDateTimeFormatUnix.o nsPosixLocale.o nsDebugDetector.o nsSampleWordBreaker.o nsDetectionAdaptor.o nsSaveAsCharset.o nsDocumentCharsetInfo.o nsScriptableDateFormat.o nsEntityConverter.o nsSemanticUnitScanner.o nsFontPackageService.o nsStringBundle.o nsHankakuToZenkaku.o nsStringBundleTextOverride.o nsI18nModule.o nsUnicodeNormalizer.o nsJISx4501LineBreaker.o nsXMLEncodingObserver.o nsLWBreakerFImp.o rulebrk.o nsLanguageAtomService.o Watt:build [19] rm nsPosixLocale. Watt:build [20] CC -ar -o libi18n.a nsI18nModule.o nsObserverBase.o nsXMLEncodingObserver.o nsMetaCharsetObserver.o nsDetectionAdaptor.o nsDebugDetector.o nsPSMDetectors.o nsCyrillicDetector.o nsDocumentCharsetInfo.o rulebrk.o nsJISx4501LineBreaker.o nsLWBreakerFImp.o nsSampleWordBreaker.o nsSemanticUnitScanner.o nsCaseConversionImp2.o nsHankakuToZenkaku.o nsEntityConverter.o nsSaveAsCharset.o nsUnicodeNormalizer.o nsStringBundle.o nsStringBundleTextOverride.o nsCollation.o nsScriptableDateFormat.o nsLanguageAtomService.o nsLocale.o nsLocaleService.o nsFontPackageService.o nsCollationUnix.o nsDateTimeFormatUnix.o nsPosixLocale.o Watt:build [21] cd /usr/people/rich/junk/mozilla/obj-sgi/rdf/build Watt Watt:build [22] ls Makefile nsRDFContentSink.o ii_files nsRDFModule.o nsCompositeDataSource.o nsRDFParserUtils.o nsContainerEnumerator.o nsRDFResource. nsDefaultResourceFactory.o nsRDFResource.o nsFileSystemDataSource.o nsRDFService.o nsInMemoryDataSource.o nsRDFXMLDataSource.o nsLocalStore.o nsRDFXMLParser.o nsNameSpaceMap.o nsRDFXMLSerializer.o nsRDFContainer.o rdfTriplesSerializer.o nsRDFContainerUtils.o rdfutil.o Watt:build [23] CC -ar -o librdf.a nsRDFModule.o rdfTriplesSerializer.o nsCompositeDataSource.o nsContainerEnumerator.o nsDefaultResourceFactory.o nsInMemoryDataSource.o nsNameSpaceMap.o nsRDFContentSink.o nsRDFContainer.o nsRDFContainerUtils.o nsRDFParserUtils.o nsRDFService.o nsRDFXMLDataSource.o nsRDFXMLParser.o nsRDFXMLSerializer.o rdfutil.o nsLocalStore.o nsFileSystemDataSource.o nsRDFResource.o Watt:build [24] cd /usr/people/rich/junk/mozilla/obj-sgi/embedding/browser/build Watt Watt:build [25] ls Makefile nsEmbedStream. ii_files nsEmbedStream.o nsCommandHandler.o nsWebBrowser.o nsContextMenuInfo.o nsWebBrowserContentPolicy.o nsDocShellTreeOwner.o nsWebBrowserModule.o Watt:build [26] ls -al total 1040 drwxrwxr-x 4 rich aero 4096 May 3 11:59 . drwxrwxr-x 10 rich aero 121 May 2 16:56 .. drwxrwxr-x 2 rich aero 84 May 3 11:59 .deps -rw-rw-r-- 1 rich aero 2830 May 2 16:56 Makefile drwxrwxr-x 2 rich aero 34 May 3 11:59 ii_files -rw-rw-r-- 1 rich aero 20964 May 3 11:59 nsCommandHandler.o -rw-rw-r-- 1 rich aero 56004 May 3 11:59 nsContextMenuInfo.o -rw-rw-r-- 1 rich aero 163892 May 3 11:59 nsDocShellTreeOwner.o -rw-rw-r-- 1 rich aero 33236 May 3 11:59 nsEmbedStream. -rw-rw-r-- 1 rich aero 33236 May 3 09:54 nsEmbedStream.o -rw-rw-r-- 1 rich aero 147572 May 3 11:59 nsWebBrowser.o -rw-rw-r-- 1 rich aero 27284 May 3 11:59 nsWebBrowserContentPolicy.o -rw-rw-r-- 1 rich aero 17064 May 3 11:59 nsWebBrowserModule.o Watt:build [27] CC -ar -o libwebbrwsr.a nsWebBrowserModule.o nsDocShellTreeOwner.o nsWebBrowser.o nsCommandHandler.o nsWebBrowserContentPolicy.o nsContextMenuInfo.o nsEmbedStream.o Watt:build [28] cd /usr/people/rich/junk/mozilla/obj-sgi/profile/build Watt Watt:build [29] ls Makefile nsProfileDirServiceProvider.o ii_files nsProfileFactory.o nsProfile.o nsProfileLock. nsProfileAccess.o Watt:build [30] cp nsProfileLock. nsProfileLock.o Watt:build [31] rm nsProfileLock. Watt:build [32] CC -ar -o libprofile.a nsProfileFactory.o nsProfile.o nsProfileAccess.o nsProfileDirServiceProvider.o nsProfileLock.o
It sounds like a SGI specific bug wrt extracting objects from the static libraries. In a number of places, we create libraries (shared or static) that contain the entire contents of another static library. We get the contents of the 2nd library by running the AR_EXTRACT command to pull out all of its object files and then we use those object files instead of the 2nd static library when linking the 1st static library. It looks like the last object in each pulled in static library is losing its extension. Per bug 319416, try changing AR_EXTRACT to use "ar x" instead of "$(CXX) -ar x" and see if that fixes the problem.
Attached file Makefile
Found the problem Bad version of ranlib version 2.12 trimmed off .o of last file in lib list removed ranlib did a distclean ran configure compile sailed through to another bug Thank You for scratching your heads over this one.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: