Even with USE=-gtk latencytop will try to build the gtk interface in the install phase: >>> Install latencytop-0.5 into /var/tmp/portage/sys-process/latencytop-0.5/image/ category sys-process make -j5 -l8 install DESTDIR=/var/tmp/portage/sys-process/latencytop-0.5/image/ x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -pipe -Wno-sign-compare -D_FORTIFY_SOURCE=2 `pkg-config --cflags glib-2.0` `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI -c -o gtk_display.o gtk_display.c Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found gtk_display.c:36:21: error: gtk/gtk.h: No such file or directory Reproducible: Always Steps to Reproduce:
Created attachment 213421 [details] build.log
Created attachment 213437 [details, diff] latencytop-0.5.ebuild.patch Patch that fixed the build for me
Comment on attachment 213437 [details, diff] latencytop-0.5.ebuild.patch there should be no compilation in src_install
Comment on attachment 213437 [details, diff] latencytop-0.5.ebuild.patch nm, ignore my last comment
should be fixed now: http://sources.gentoo.org/sys-process/latencytop/latencytop-0.5.ebuild?r1=1.1&r2=1.2
Thanks a lot.