[sugar] Errors building mozilla in meta-sugar-base

Greg Dekoenigsberg gdk
Sun Feb 4 09:04:27 EST 2007


Looks like xul problems.  When I build meta-sugar-base, I get the 
following error:

===

c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread 
-pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o 
libxul.so  nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o 
nsRDFResource.o    -lpthread    -Wl,--whole-archive 
../../toolkit/xre/libxulapp_s.a  -lgtkembedmoz 
../../dist/lib/components/libxpconnect.a 
../../dist/lib/components/libnecko.a ../../dist/lib/components/libuconv.a 
../../dist/lib/components/libi18n.a ../../dist/lib/components/libchardet.a 
../../dist/lib/components/libjar50.a ../../dist/lib/components/libpref.a 
../../dist/lib/components/libcaps.a 
../../dist/lib/components/libhtmlpars.a 
../../dist/lib/components/libimglib2.a 
../../dist/lib/components/libgklayout.a 
../../dist/lib/components/libxmlextras.a 
../../dist/lib/components/libdocshell.a 
../../dist/lib/components/libembedcomponents.a 
../../dist/lib/components/libwebbrwsr.a 
../../dist/lib/components/libeditor.a 
../../dist/lib/components/libnsappshell.a 
../../dist/lib/components/libtxmgr.a ../../dist/lib/components/libchrome.a 
../../dist/lib/components/libcommandlines.a 
../../dist/lib/components/libtoolkitcomps.a 
../../dist/lib/components/libpipboot.a 
../../dist/lib/components/libpipnss.a 
../../dist/lib/components/libgkplugin.a 
../../dist/lib/components/libmozfind.a 
../../dist/lib/components/libappcomps.a 
../../dist/lib/components/libxpinstall.a 
../../dist/lib/components/libjsd.a 
../../dist/lib/components/libautoconfig.a 
../../dist/lib/components/libwebsrvcs.a 
../../dist/lib/components/libauth.a ../../dist/lib/components/libcookie.a 
../../dist/lib/components/libpermissions.a 
../../dist/lib/components/libuniversalchardet.a 
../../dist/lib/components/libcomposer.a ../../dist/lib/components/librdf.a 
../../dist/lib/components/libwindowds.a 
../../dist/lib/components/libintlapp.a 
../../dist/lib/components/libfileview.a 
../../dist/lib/components/libstoragecomps.a 
../../dist/lib/components/libplaces.a 
../../dist/lib/components/libtkautocomplete.a 
../../dist/lib/components/libsatchel.a 
../../dist/lib/components/libpippki.a 
../../dist/lib/components/libucvmath.a 
../../dist/lib/components/libwidget_gtk2.a 
../../dist/lib/components/libsystem-pref.a 
../../dist/lib/components/libgkgfxthebes.a 
../../dist/lib/components/liboji.a 
../../dist/lib/components/libaccessibility.a 
../../dist/lib/components/libremoteservice.a 
../../dist/lib/components/libspellchecker.a ../../dist/lib/libxpcom_core.a 
../../dist/lib/libmozreg_s.a ../../dist/lib/libucvutil_s.a 
../../dist/lib/libgkgfx.a ../../dist/lib/libgfxshared_s.a 
../../dist/lib/libmorkreader_s.a ../../dist/lib/libgtkxtbin.a 
../../dist/lib/libgfxpsshar.a ../../dist/lib/libthebes.a 
../../dist/lib/libjsj.a  -Wl,--no-whole-archive 
-Wl,-rpath-link,../../dist/bin -L../../dist/bin -L../../dist/lib 
-L../../dist/lib -lmozjpeg -L../../dist/lib -lmozpng -L../../dist/bin 
-lmozjs -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 
-lsoftokn3  -lz  -L/home/gdk/Desktop/OLPC/sugar-jhbuild/build/lib 
-lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0   -L../../dist/lib -lmozcairo -lmozlibpixman   -lXrender 
-lfreetype -lfontconfig -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread 
-ldl  -lX11   -L/home/gdk/Desktop/OLPC/sugar-jhbuild/build/lib -lXft 
-lXrender -lfontconfig -lfreetype -lX11 
-L/home/gdk/Desktop/OLPC/sugar-jhbuild/build/lib -lgtk-x11-2.0 -latk-1.0 
-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0   -lXt -lfreetype -ldl -lm
../../dist/lib/components/libwebbrwsr.a: member 
../../dist/lib/components/libwebbrwsr.a(nsDocShellTreeOwner.o) in archive 
is not an object
collect2: ld returned 1 exit status
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory 
`/home/gdk/Desktop/OLPC/sugar-jhbuild/source/mozilla/toolkit/library'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory 
`/home/gdk/Desktop/OLPC/sugar-jhbuild/source/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory 
`/home/gdk/Desktop/OLPC/sugar-jhbuild/source/mozilla'
make: *** [default] Error 2
*** error during stage build of mozilla: ########## Error running make 
*** [1/1]

===

Everything else in meta-sugar-base builds successfully.  Any hints?

--g

-------------------------------------------------------------
Greg DeKoenigsberg || Fedora Project || fedoraproject.org
Be an Ambassador || http://fedoraproject.org/wiki/Ambassadors
-------------------------------------------------------------


More information about the Sugar-devel mailing list