Created attachment 323028 [details] full ebuild log Compiling ZLTextModel.o ... OK Compiling ZLTextRowMemoryAllocator.o ... OK Compiling ZLTextParagraph.o ... OK make[2]: Leaving directory `/var/tmp/portage/app-text/fbreader-0.99.1/work/fbreader-0.99.1/zlibrary/text/src/model' make[2]: Entering directory `/var/tmp/portage/app-text/fbreader-0.99.1/work/fbreader-0.99.1/zlibrary/text/src/area' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Compiling ZLTextArea_drawTextLine.o ... OK Compiling ZLTextParagraphBuilder.o ...In file included from /usr/include/fribidi/fribidi.h:35:0, from ZLTextParagraphBuilder.h:26, from ZLTextParagraphBuilder.cpp:30: /usr/include/fribidi/fribidi-common.h:65:20: fatal error: glib.h: No such file or directory compilation terminated. make[2]: *** [ZLTextParagraphBuilder.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/fbreader-0.99.1/work/fbreader-0.99.1/zlibrary/text/src/area' make[1]: *** [.objects] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/fbreader-0.99.1/work/fbreader-0.99.1/zlibrary/text' make: *** [all] Error 1 [31;01m*[0m ERROR: app-text/fbreader-0.99.1 failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=app-text/fbreader-0.99.1'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=app-text/fbreader-0.99.1'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-text/fbreader-0.99.1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-text/fbreader-0.99.1/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/app-text/fbreader-0.99.1/work/fbreader-0.99.1' [31;01m*[0m S: '/var/tmp/portage/app-text/fbreader-0.99.1/work/fbreader-0.99.1'
fribidi can't be used without querying fribidi.pc pkg-config file for Cflags: which would pull in the correct -I include flags for glib-2 too so simply make fbreader use pkg-config for fribidi and it's done, see example from fluxbox-1.3.2.ebuild
*** This bug has been marked as a duplicate of bug 417043 ***