This is a request to put in some sort of check to the mozilla-firefox ebuild. I just spent some time trying to figure out why mozilla-firefox was failing during the configure. firefox said that it couldn't find pangoxft.pc anywhere and I traced that down to pango not having the USE=X set. I re-merged pango and firefox then worked. This might work: if ! built_with_use x11-libs/pango X; then eerror "Please re-emerge x11-libs/pango with the X USE flag set" die "pango needs the X USE flag set." Reproducible: Always Steps to Reproduce: 1. USE="-X" emerge -av1 pango 2. USE="-X" emerge -av mozilla-firefox Work around is simple: emerge pango with USE=X then emerge mozilla-firefox.
*** This bug has been marked as a duplicate of bug 2272 ***
Jakub, Since the firefox ebuild already has a check to see if cairo was built with X can we also get a check for pango in there. It doesn't look like bug 2272 is getting resolved anytime soon. I also just looked at some of the other duplicate bugs and my bug here is not exactly the same as them. My issue is that the ebuild *doesn't check at all* and it should (for now, until portage has a better solution) Do you agree?
I have different problem (but cause and solution remain the same): i686-pc-linux-gnu-g++ -o nsDeviceContextGTK.o -c -fvisibility=hidden -DNATIVE_THEME_SUPPORT -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2008032021 -DUSE_POSTSCRIPT -I../.. -I./. -I./.. -I./../shared -I./../x11shared -I/usr/include/freetype2 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/gfx -I../../../dist/include -I/usr/include/nspr -I../../../dist/sdk/include -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDeviceContextGTK.pp nsDeviceContextGTK.cpp nsDeviceContextGTK.cpp:70:26: error: pango/pangox.h: No such file or directory gmake[4]: *** [nsDeviceContextGTK.o] Error 1 even if built_with_use is considered a hack, it's better than forcing user (me) to guess the cause and find a solution. besides as Jeremy already pointed out, there is already hack for cairo, so...