glib-2.26.1 doesn't set enable/disalbe dtrace and systemtap. It would be better to set manually in the ebuild. Reproducible: Always
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
Created attachment 260703 [details, diff] proposed patch for the ebuild
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.
+ 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. +
This is already solved in 2.30