djvu depends on X headers for installation (at least on x11-libs/libXt), but does not have proper dependencies to pull them automatically. I've stumbled on this issue during fresh system installation - X packages are not yet there, but djvu is pulled through USEs as a dependency. During emerge it fails with the following error: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dto r -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -c nsdejavu.c -fPIC -DPI C -o .libs/nsdejavu.o cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC+ + but not for C nsdejavu.c:127:27: error: X11/Intrinsic.h: No such file or directory nsdejavu.c:128:28: error: X11/IntrinsicP.h: No such file or directory nsdejavu.c:129:28: error: X11/StringDefs.h: No such file or directory nsdejavu.c:130:23: error: X11/Shell.h: No such file or directory Upon investigation all of those are from x11-libs/libXt package - after I emerged it djvu emerged successfully with no additional modifications Reproducible: Always Steps to Reproduce:
Thank you for report Konrad! This dependency is required only at build time for nsplugin. I've updated ebuild to depend on libXt in case you have nsplugin in USE. Fixed in CVS.