[Clfs-dev] firefox-3.0.4 build fails on ps3 - multi-lib 32

John Frankish frankish at dubai.oilfield.slb.com
Fri Jan 2 21:07:54 PST 2009


At 17:20 02-01-09, Joe Ciccone wrote:
>John Frankish wrote:
> > building firefox-3.0.4 on a ps3 fails (multi-lib 32) with the error below
> >
> > Google has some patches for a NetBSD build but not for ppc/ps3
> >
> > Did anybody else see this problem?
> >
> > John
> > --------------
> > # make -f client.mk OS_TEST=ppc build
>I was just looking through the firefox source, it looks like there's a
>inconsistency in the firefox source. CBLFS has this:
>
>make -f client.mk OS_TEST=powerpc build
>
>make -f client.mk OS_TEST=ppc install
>
>I see the following in the configure script:
>configure:5406: OS_TEST=ppc
>configure.in:1228: OS_TEST=ppc
>
>Then in the makefile i see this conditional:
>xpcom/reflect/xptcall/src/md/unix/Makefile.in:314:ifeq
>($(OS_ARCH)$(OS_TEST),Linuxpowerpc)
>xpcom/reflect/xptcall/src/md/unix/Makefile.in:323:ifeq
>($(OS_ARCH)$(OS_TEST),Linuxpowerpc64)
>
>Try running this sed and then use the following two commands to build
>and install:
>
>sed -i "/OS_TEST/s/Linuxpowerpc/Linuxppc/"
>xpcom/reflect/xptcall/src/md/unix/Makefile.in &&
>make -f client.mk OS_TEST=ppc build &&
>make -f client.mk OS_TEST=ppc install
>
>This should fix the same compilation issue on ppc64 aswell.

Thanks - that did the trick

John

> > ...
> > make[7]: Entering directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/public'
> >
> > Creating .deps
> > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > 644 /sources/mozilla/xpcom/reflect/xptinfo/public/xptinfo.h
> > ../../../../dist/include/xpcom
> > Creating _xpidlgen/.done
> > nsIInterfaceInfo.idl
> > ../../../../dist/bin/xpidl -m header -w
> > -I/sources/mozilla/xpcom/reflect/xptinfo/public -I../../../../dist/idl
> > -o _xpidlgen/nsIInterfaceInfo
> > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl
> > nsIInterfaceInfoManager.idl
> > ../../../../dist/bin/xpidl -m header -w
> > -I/sources/mozilla/xpcom/reflect/xptinfo/public -I../../../../dist/idl
> > -o _xpidlgen/nsIInterfaceInfoManager
> > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
> > nsIXPTLoader.idl
> > ../../../../dist/bin/xpidl -m header -w
> > -I/sources/mozilla/xpcom/reflect/xptinfo/public -I../../../../dist/idl
> > -o _xpidlgen/nsIXPTLoader
> > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIXPTLoader.idl
> > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > 644 /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl
> > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
> > /sources/mozilla/xpcom/reflect/xptinfo/public/nsIXPTLoader.idl
> > ../../../../dist/idl
> > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > 644 _xpidlgen/nsIInterfaceInfo.h _xpidlgen/nsIInterfaceInfoManager.h
> > _xpidlgen/nsIXPTLoader.h ../../../../dist/include/xpcom
> > make[7]: Leaving directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/public'
> >
> > make[7]: Entering directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/src'
> >
> > Creating .deps
> > make[7]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo/src'
> >
> > make[6]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptinfo'
> > make[6]: Entering directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall'
> > make[7]: Entering directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/public'
> >
> > /sources/mozilla/obj-powerpc-unknown-linux-gnu/config/nsinstall -R -m
> > 644 /sources/mozilla/xpcom/reflect/xptcall/public/xptcall.h
> > /sources/mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc
> > /sources/mozilla/xpcom/reflect/xptcall/public/xptcstubsdef.inc
> > ../../../../dist/include/xpcom
> > make[7]: Leaving directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/public'
> >
> > make[7]: Entering directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src'
> >
> > Creating .deps
> > make[8]: Entering directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md'
> >
> > make[9]: Entering directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md/unix'
> >
> > /sources/mozilla/config/rules.mk:294: *** XPTCall not implemented on
> > this platform!. Stop.
> > make[9]: Leaving directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md/unix'
> >
> > make[8]: *** [export] Error 2
> > make[8]: Leaving directory
> > 
> `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src/md'
> >
> > make[7]: *** [export] Error 2
> > make[7]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall/src'
> >
> > make[6]: *** [export] Error 2
> > make[6]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect/xptcall'
> > make[5]: *** [export] Error 2
> > make[5]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom/reflect'
> > make[4]: *** [export] Error 2
> > make[4]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu/xpcom'
> > make[3]: *** [export_tier_xpcom] Error 2
> > make[3]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu'
> > make[2]: *** [tier_xpcom] Error 2
> > make[2]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory
> > `/sources/mozilla/obj-powerpc-unknown-linux-gnu'
> > make: *** [build] Error 2
> >
> > _______________________________________________




More information about the Clfs-dev mailing list