Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 349627

Summary: >=dev-libs/glib-2.26: automagic DTrace/SystemTap options check
Product: Gentoo Linux Reporter: Naohiro Aota <naota>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://library.gnome.org/devel/glib/unstable/glib-building.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 351931    
Bug Blocks:    
Attachments: proposed patch for the ebuild

Description Naohiro Aota gentoo-dev 2010-12-24 16:15:17 UTC
glib-2.26.1 doesn't set enable/disalbe dtrace and systemtap. It would be better to set manually in the ebuild.


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2011-01-17 16:29:36 UTC
I vote for passing them when setting USE=debug since they are useful for debugging purposes:
https://bugzilla.gnome.org/show_bug.cgi?id=606044
Comment 2 Naohiro Aota gentoo-dev 2011-01-25 18:01:41 UTC
Created attachment 260703 [details, diff]
proposed patch for the ebuild
Comment 3 Naohiro Aota gentoo-dev 2011-02-03 03:51:14 UTC
The above patch worked for both USE='fam static-libs debug' and USE='fam static-libs -debug' on Linux.

Actually, what I really want is to disable DTrace feature on Gentoo/FreeBSD by default or add additional check to the ebuild. Gentoo/FreeBSD install DTrace userland by default, but some kernel features, which are off by default, are also needed to build glib with DTrace supported. Glib configure script only check the userland tools, so without passing "--disbale-dtrace" cause build failure.

Please consider disabling DTrace support explicitly.
Comment 4 Pacho Ramos gentoo-dev 2011-02-03 10:16:32 UTC
+  03 Feb 2011; Pacho Ramos <pacho@gentoo.org> glib-2.26.1-r1.ebuild:
+  Disable dtrace and systemtap supports until bug #351931 is solved instead of
+  letting them be automagic.
+
Comment 5 Pacho Ramos gentoo-dev 2011-10-16 10:52:25 UTC
This is already solved in 2.30