Closed Bug 311538 Opened 19 years ago Closed 19 years ago

Build process fails (GCC 4.0.0 and 10.4uSDK)

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krmathis, Assigned: mikepinkerton)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051005 Camino/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051005 Camino/1.0+

My build process fails today and yesterday:
checkout finish: Fri Oct 7 17:43:37 CEST 2005
checkout finish: Thu Oct 6 21:53:08 CEST 2005

While it worked the day before:
checkout finish: Wed Oct 5 17:22:23 CEST 2005

I'm building on Mac OS 10.4.2, using GCC 4.0.0, 10.4u SDK and the following
.mozconfig. http://homepage.mac.com/krmathis/Trunk/mozconfig.txt

Reproducible: Always

Steps to Reproduce:
1. Pull latest Trunk source from CVS.
2. Build Camino using the above tools.
Actual Results:  

Build errors out.

Expected Results:  
Build succeed



The shortened build log goes like this:
-----------------------------------------------------------

c++ -o mozilla-bin  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -nostdinc -nostdinc++
-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/4.0/c++
-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/4.0/c++/powerpc-apple-darwin8
-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/4.0/c++/backward
-isystem
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include
-isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include
-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
-F/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks -fpascal-strings
-no-cpp-precomp -fno-common -fshort-wchar
-I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon -pipe  -DNDEBUG
-DTRIMMED -O3 -mcpu=7450 -faltivec -ftree-vectorize
-DWIDGET_DLL=\"libwidget_cocoa.dylib\" -DGFXWIN_DLL=\"libgfx_cocoa.dylib\"
-I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon  nsAppRunner.o
showOSAlert.o nsSigHandlers.o nsStackFrameUnix.o nsStaticComponents.o
nsNativeAppSupportForCocoa.o     -Wl,-dead_strip -L../../dist/bin
-L../../dist/lib -L../../dist/lib/components   -L../../dist/bin -lxpcom
-lxpcom_core -L../../dist/bin -lmozjs -L../../dist/lib -lplds4 -lplc4 -lnspr4
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.0
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib  -framework Cocoa -framework Carbon
-framework QuickTime -framework IOKit
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.0
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib 
../../dist/lib/components/libxpcom_compat_c.a
../../dist/lib/components/libxpconnect.a ../../dist/lib/components/libuconv.a
../../dist/lib/components/libi18n.a ../../dist/lib/components/libipcdc.a
../../dist/lib/components/libnecko.a ../../dist/lib/components/libnecko2.a
../../dist/lib/components/libjar50.a ../../dist/lib/components/libpref.a
../../dist/lib/components/libcaps.a ../../dist/lib/components/librdf.a
../../dist/lib/components/libhtmlpars.a ../../dist/lib/components/libgfx_mac.a
../../dist/lib/components/libimgicon.a ../../dist/lib/components/libimglib2.a
../../dist/lib/components/libgkplugin.a
../../dist/lib/components/libwidget_mac.a
../../dist/lib/components/libgklayout.a ../../dist/lib/components/libdocshell.a
../../dist/lib/components/libembedcomponents.a
../../dist/lib/components/libwebbrwsr.a ../../dist/lib/components/libeditor.a
../../dist/lib/components/libtxmgr.a ../../dist/lib/components/libcomposer.a
../../dist/lib/components/libnsappshell.a ../../dist/lib/components/liboji.a
../../dist/lib/components/libchrome.a ../../dist/lib/components/libmork.a
../../dist/lib/components/libmozfind.a ../../dist/lib/components/libappcomps.a
../../dist/lib/components/libpipboot.a ../../dist/lib/components/libpipnss.a
../../dist/lib/components/libpippki.a ../../dist/lib/components/libcookie.a
../../dist/lib/components/libxmlextras.a
../../dist/lib/components/libuniversalchardet.a
../../dist/lib/components/libtypeaheadfind.a
../../dist/lib/components/libtransformiix.a
../../dist/lib/components/libpermissions.a ../../dist/lib/libunicharutil_s.a
../../dist/lib/libucvutil_s.a ../../dist/lib/libgfxshared_s.a
../../dist/lib/libgkgfx.a ../../dist/lib/libjsj.a  -L../../dist/lib -lmozpng
-L../../dist/lib -lmozjpeg -L../../dist/lib -lmozz  -L../../dist/bin
-L../../dist/lib ../../dist/lib/libcrmf.a -lsmime3 -lssl3 -lnss3 -lsoftokn3  
-L../../dist/lib -lxpcom_compat    

-- snip --

CompileC
build/Camino.build/Deployment/CaminoStatic.build/Objects-normal/ppc/BookmarkViewController.o
src/bookmarks/BookmarkViewController.mm normal ppc objective-c++
com.apple.compilers.gcc.4_0
    mkdir
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/build/Camino.build/Deployment/CaminoStatic.build/Objects-normal/ppc
    cd /Users/krmathis/Camino/mozilla/camino_7450_optimized/camino
    setenv MACOSX_DEPLOYMENT_TARGET 10.4
    /usr/bin/gcc-4.0 -x objective-c++ -arch ppc -pipe -Wno-trigraphs
-fno-exceptions -fno-rtti -fpascal-strings -fasm-blocks -O2 -Wnon-virtual-dtor
-Wuninitialized -DOSTYPE=Darwin1.4 -DOSARCH=Darwin -D_BUILD_STATIC_BIN
-DMOZILLA_INTERNAL_API=1 -fmessage-length=0 -fvisibility=hidden
-I/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/build/Camino.build/Deployment/CaminoStatic.build/Camino.hmap
-Wno-non-virtual-dtor -O3 -mcpu=7450 -faltivec -ftree-vectorize -mdynamic-no-pic
-F/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/build/Deployment
-I/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/build/Deployment/include
-I../dist/include/helperAppDlg -I../dist/include/exthandler
-I../dist/include/intl -I../dist/include/pipboot -I../dist/include/pipnss
-I../dist/include/webbrwsr -I../dist/include/dom -I../dist/include/nspr
-I../dist/include/string -I../dist/include/uconv -I../dist/include/necko
-I../dist/include/find -I../dist/include/embed_base
-I../dist/include/commandhandler -I../dist/include/windowwatcher
-I../dist/include/webshell -I../dist/include/widget -I../dist/include/uriloader
-I../dist/include/nkcache -I../dist/include/docshell
-I../dist/include/profdirserviceprovider -I../dist/include/layout
-I../dist/include/content -I../dist/include/webbrowserpersist
-I../dist/include/pref -I../dist/include/mimetype -I../dist/include/shistory
-I../dist/include/history -I../dist/include/view -I../dist/include/gfx
-I../dist/include/xultmpl -I../dist/include/xmlextras
-I../dist/include/htmlparser -I../dist/include/locale -I../dist/include/chardet
-I../dist/include/unicharutil -I../dist/include/appcomps
-I../dist/include/chrome -I../dist/include/xpcom
-I../dist/include/xpcom_obsolete -I../dist/include/cookie -I../dist/include/mork
-I../dist/include -I../dist/public/nss
-I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon
-I/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/SharedMenusCocoa.framework/Headers
-I/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/build/Camino.build/Deployment/CaminoStatic.build/DerivedSources
-fshort-wchar -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/includes/ChimeraPrefix.h
-c
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm
-o
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/build/Camino.build/Deployment/CaminoStatic.build/Objects-normal/ppc/BookmarkViewController.o
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:
In function 'void -[BookmarkViewController
deleteBookmarks:](BookmarkViewController*, objc_selector*, objc_object*)':
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:460:
warning: 'NSXMLNode' may not respond to '-deleteChild:'
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:460:
warning: (Messages without a matching method signature
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:460:
warning: will be assumed to return 'id' and accept
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:460:
warning: '...' as arguments.)
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:
In function 'void -[BookmarkViewController
revealItem:scrollIntoView:selecting:byExtendingSelection:](BookmarkViewController*,
objc_selector*, BookmarkItem*, BOOL, BOOL, BOOL)':
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:825:
error: comparison between distinct pointer types 'NSXMLNode*' and
'BookmarkFolder*' lacks a cast
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:
In function 'void -[BookmarkViewController
pasteBookmarks:intoFolder:index:copying:](BookmarkViewController*,
objc_selector*, NSPasteboard*, BookmarkFolder*, int, BOOL)':
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:945:
warning: 'NSXMLNode' may not respond to '-copyChild:toBookmarkFolder:atIndex:'
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:956:
warning: 'NSXMLNode' may not respond to '-moveChild:toBookmarkFolder:atIndex:'
/Users/krmathis/Camino/mozilla/camino_7450_optimized/camino/src/bookmarks/BookmarkViewController.mm:962:
warning: 'NSXMLNode' may not respond to '-moveChild:toBookmarkFolder:atIndex:'
** BUILD FAILED **
make[3]: *** [libs] Error 1
make[2]: *** [tier_99] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
Longer or full build log available on request (640kb or 20MB text file).

CC -> Mark
Version: unspecified → Trunk
We caught this earlier, Simon checked in a fix.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Verified!
The fix was checked in between my checkout and this bug report.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.