Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297461 - sys-process/latencytop-0.5 fails to build without gtk
Summary: sys-process/latencytop-0.5 fails to build without gtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 21:13 UTC by Andrei Slavoiu
Modified: 2009-12-30 00:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,9.75 KB, text/plain)
2009-12-18 21:14 UTC, Andrei Slavoiu
Details
latencytop-0.5.ebuild.patch (latencytop-0.5.ebuild.patch,549 bytes, patch)
2009-12-18 22:42 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2009-12-18 21:13:18 UTC
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:
Comment 1 Andrei Slavoiu 2009-12-18 21:14:14 UTC
Created attachment 213421 [details]
build.log
Comment 2 Andrei Slavoiu 2009-12-18 22:42:51 UTC
Created attachment 213437 [details, diff]
latencytop-0.5.ebuild.patch

Patch that fixed the build for me
Comment 3 SpanKY gentoo-dev 2009-12-29 06:26:32 UTC
Comment on attachment 213437 [details, diff]
latencytop-0.5.ebuild.patch

there should be no compilation in src_install
Comment 4 SpanKY gentoo-dev 2009-12-29 06:31:01 UTC
Comment on attachment 213437 [details, diff]
latencytop-0.5.ebuild.patch

nm, ignore my last comment
Comment 6 Philipp Riegger 2009-12-30 00:51:34 UTC
Thanks a lot.