[sugar] Getting my feet on the ground

Marco Pesenti Gritti mpg at redhat.com
Sat Mar 10 20:14:13 EST 2007


On Sat, 2007-03-10 at 13:18 -0700, drew einhorn wrote:
> When sugar-jhbuild finds missing stuff it reports a high level
> package 
> name for example at one point it was telling me the alsa (or one of
> it's
> libraries) was missing.  By the time I figured out which libraries
> were missing,
> libasound2-dev and sqlite3 had been added to the wiki.  Pretty sure I
> also had 
> to add libsqlite3-dev on one of the boxes.  I just added it to the
> wiki,
> Think sugar-jhbuild needs to give more info on what it's missing, so
> folks
> can have an easier time giving it what it needs.
> 

The problem there is that these "more info" are really distribution
specific...

> Ran into the automake version mismatch problem with slightly
> different 
> symptoms when running  ./sugar-jhbuild build-base.  added some 
> comments to the wiki.
> 
> http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/
> 
> recommends some slightly different procedures than the wiki
> 
>   ./sugar-jhbuild update meta-sugar-base  
>   ./sugar-jhbuild update
> 
>   ./sugar-jhbuild build meta-sugar-base
>   ./sugar-jhbuild build 
> 
> does this build the same thing as
> 
>   ./sugar-jhbuild build-base
>   ./sugar-jhbuild
> 
> or something slightly different?  I know it separates the downloads
> from the build which can be a good thing if you live at the end of a 
> pitiful 128K ISDN line like I do.

They does pretty much the same.

> 
> There are currently some problems with the upstream gtk+ and dbus
> packages,
> that affect both the Ubuntu Edgy and Dapper builds.  Have some almost
> trivial patches for them need to figure how and where to submit them. 
> 
> Haven't tried them on them on Edgy yet.  The Dapper build is chugging
> along.
> No it just died with:
> 
> c++ -o xulrunner-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 -pedantic
> -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O  nsXULRunnerApp.o
> nsRegisterGREUnix.o   -lpthread    -L../../dist/bin -L../../dist/lib
> -L../../dist/bin -lmozjs ../../dist/lib/libxpcomglue_s.a
> -L../../dist/bin -Wl,-rpath-link,../../dist/bin -lxpcom -lxul
> -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl
> -L/home/drew/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
> -L../../gfx/cairo/cairo/src -lmozcairo -L../../gfx/cairo/libpixman/src
> -lmozlibpixman   -L/usr/X11R6/lib -lXrender -lfreetype -lfontconfig
> -L/usr/X11R6/lib -lX11  -ldl -lm 
> /home/drew/olpc/sugar-jhbuild/build/lib/libpangoxft-1.0.so.0:
> undefined reference to `g_type_register_static_simple'
> /home/drew/olpc/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0:
> undefined reference to `pango_quantize_line_geometry' 
> /home/drew/olpc/sugar-jhbuild/build/lib/libpangoft2-1.0.so.0:
> undefined reference to `pango_font_describe_with_absolute_size'
> collect2: ld returned 1 exit status
> make[4]: *** [xulrunner-bin] Error 1
> make[4]: Leaving directory
> `/home/drew/olpc/sugar-jhbuild/source/mozilla/xulrunner/app' 
> make[3]: *** [libs] Error 2
> make[3]: Leaving directory
> `/home/drew/olpc/sugar-jhbuild/source/mozilla/xulrunner'
> make[2]: *** [libs_tier_app] Error 2
> make[2]: Leaving directory
> `/home/drew/olpc/sugar-jhbuild/source/mozilla' 
> make[1]: *** [tier_app] Error 2
> make[1]: Leaving directory
> `/home/drew/olpc/sugar-jhbuild/source/mozilla'
> make: *** [default] Error 2
> *** error during stage build of mozilla: ########## Error running make
> *** [25/27] 

Someone already reported this... I can't reproduce so I'll need a full
log of the mozilla build to be able to do something about it.

Marco



More information about the Sugar mailing list