Here's the error doing an 'emerge nautilus', if you comment out the mozilla bits it compiles correctly thought. mozilla-events.cpp:358: parse error before `&' mozilla-events.cpp: In function `class nsIDOMNode * get_anchor_named(...)': mozilla-events.cpp:366: `top_node' undeclared (first use this function) mozilla-events.cpp:366: (Each undeclared identifier is reported only once mozilla-events.cpp:366: for each function it appears in.) mozilla-events.cpp:381: `aName' undeclared (first use this function) mozilla-events.cpp:390: warning: cannot pass objects of type `nsCOMPtr<nsIDOMNode>' through `...' mozilla-events.cpp: In function `void mozilla_navigate_to_anchor(GtkMozEmbed *, const char *)': mozilla-events.cpp:422: warning: cannot pass objects of type `nsCOMPtr<nsIDOMNode>' through `...' mozilla-events.cpp:422: warning: cannot pass objects of type `nsAutoString' through `...' make[3]: *** [mozilla-events.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/nautilus-1.0.6-r6/work/nautilus-1.0.6/components/mozilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/nautilus-1.0.6-r6/work/nautilus-1.0.6/components' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nautilus-1.0.6-r6/work/nautilus-1.0.6' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/gnome-base/nautilus/nautilus-1.0.6-r6.ebuild .
This was fixed by updates some time ago