Hi,
i tried to write an ebuild for gentoo.
I'm using the composer/config/mozconf.ubuntu file, but it fails with:

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 -march=athlon64 -O2 -pipe -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libappcomps.so -o libappcomps.so  nsModule.o    -Wl,-O1   -Wl,--whole-archive ../../../dist/lib/libwindowds_s.a ../../../dist/lib/libautocomplete_s.a ../../../dist/lib/libappcompintl_s.a  -Wl,--no-whole-archive ../../../dist/lib/libunicharutil_s.a -L../../../dist/bin -lxpcom -lxpcom_core  -L../../../dist/bin -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -L../../../dist/bin -lmozjs  -Wl,--version-script -Wl,/var/tmp/portage/app-editors/kompozer-0.8_alpha4/work/mozilla/build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm   
nsModule.o: In function `nsAutoCompleteItemConstructor(nsISupports*, nsID const&, void**)':
nsModule.cpp:(.text+0x26d): undefined reference to `nsAutoCompleteItem::nsAutoCompleteItem()'
nsModule.o: In function `nsAutoCompleteResultsConstructor(nsISupports*, nsID const&, void**)':
nsModule.cpp:(.text+0x2fb): undefined reference to `nsAutoCompleteResults::nsAutoCompleteResults()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: libappcomps.so: hidden symbol `nsAutoCompleteResults::nsAutoCompleteResults()' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
distcc[29158] ERROR: compile (null) on localhost failed
gmake[4]: *** [libappcomps.so] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/app-editors/kompozer-0.8_alpha4/work/obj-x86_64-unknown-linux-gnu/xpfe/components/build2'
gmake[3]: *** [install] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/app-editors/kompozer-0.8_alpha4/work/obj-x86_64-unknown-linux-gnu/xpfe/components'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/app-editors/kompozer-0.8_alpha4/work/obj-x86_64-unknown-linux-gnu/xpfe'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-editors/kompozer-0.8_alpha4/work/obj-x86_64-unknown-linux-gnu'
make: *** [install] Error 2

Maybe someone knows a solution.

And thanks for keeping the good work up!
Wfg, unregistr3d