On 2012-03-09 19:22, johnea wrote:
>
> Hello,
> Now sunbird will no longer run, or build, on this machine.
I meant to include the build error:
... lots of compiling then ...
rm -f libgfxps.so
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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -fPIC -shared -Wl,-z,defs -Wl,-h,libgfxps.so -o libgfxps.so nsDeviceContextPS.o nsFontMetricsPS.o nsEPSObjectPS.o nsRenderingContextPS.o nsPostScriptObj.o nsAFMObject.o nsGfxFactoryPS.o nsTempfilePS.o nsPrintJobPS.o nsPrintJobFactoryPS.o nsType1.o -lX11 -lXrender -L../../../dist/bin -L../../../dist/lib -lgfxshared_s -lgfxpsshar -lmozutil_s -lgkgfx -L../../../dist/bin -lxpcom -lxpcom_core -L../../../dist/bin -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../..
/dist/lib
/libunicharutil_s.a -lXft -lfreetype -lz -lbz2 -Wl,--version-script -Wl,../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
nsFontMetricsPS.o: In function `nsFontMetricsPS::~nsFontMetricsPS()':
nsFontMetricsPS.cpp:(.text+0xa7d): undefined reference to `FcCharSetDestroy'
nsFontMetricsPS.o: In function `nsXftEntry::nsXftEntry(_FcPattern*)':
nsFontMetricsPS.cpp:(.text+0x108b): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text+0x10b8): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text+0x10e5): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text+0x1114): undefined reference to `FcPatternGetInteger'
nsFontMetricsPS.o: In function `nsFontPSXft::FindFont(unsigned short, nsFont const&, nsFontMetricsPS*)':
nsFontMetricsPS.cpp:(.text+0x246b): undefined reference to `FcCharSetHasChar'
nsFontMetricsPS.cpp:(.text+0x27bb): undefined reference to `FcPatternCreate'
nsFontMetricsPS.cpp:(.text+0x289e): undefined reference to `FcPatternAddInteger'
nsFontMetricsPS.cpp:(.text+0x28b9): undefined reference to `FcPatternAddInteger'
nsFontMetricsPS.cpp:(.text+0x28cb): undefined reference to `FcConfigSubstitute'
nsFontMetricsPS.cpp:(.text+0x28d3): undefined reference to `FcDefaultSubstitute'
nsFontMetricsPS.cpp:(.text+0x28f2): undefined reference to `FcFontSort'
nsFontMetricsPS.cpp:(.text+0x2930): undefined reference to `FcPatternGetBool'
nsFontMetricsPS.cpp:(.text+0x2966): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text+0x29a5): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text+0x29e4): undefined reference to `FcPatternGetCharSet'
nsFontMetricsPS.cpp:(.text+0x2a05): undefined reference to `FcCharSetCopy'
nsFontMetricsPS.cpp:(.text+0x2a92): undefined reference to `FcFontSetDestroy'
nsFontMetricsPS.cpp:(.text+0x2a9a): undefined reference to `FcPatternDestroy'
../../../dist/lib/libgfxshared_s.a(nsFontConfigUtils.o): In function `NS_AddLangGroup(_FcPattern*, nsIAtom*)':
nsFontConfigUtils.cpp:(.text+0x139): undefined reference to `FcPatternAddString'
nsFontConfigUtils.cpp:(.text+0x153): undefined reference to `FcPatternAddString'
../../../dist/lib/libgfxshared_s.a(nsFontConfigUtils.o): In function `NS_AddFFRE(_FcPattern*, nsCString*, int)':
nsFontConfigUtils.cpp:(.text+0x2d9): undefined reference to `FcPatternAddWeak'
nsFontConfigUtils.cpp:(.text+0x2f9): undefined reference to `FcPatternAdd'
collect2: ld returned 1 exit status
make[5]: *** [libgfxps.so] Error 1
make[5]: Leaving directory `/home/johnea/src/aur/sunbird/src/mozilla/gfx/src/ps'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/johnea/src/aur/sunbird/src/mozilla/gfx/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/johnea/src/aur/sunbird/src/mozilla/gfx'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/home/johnea/src/aur/sunbird/src/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/johnea/src/aur/sunbird/src/mozilla'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().