After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630806 - Builds fails if dtrace is not available but sys/sdt.h is
Builds fails if dtrace is not available but sys/sdt.h is
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-09-28 10:12 UTC by Emilio Pozuelo Monfort
Modified: 2010-10-28 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't enable dtrace support when dtrace isn't available (1.12 KB, patch)
2010-09-28 10:16 UTC, Emilio Pozuelo Monfort
none Details | Review

Description Emilio Pozuelo Monfort 2010-09-28 10:12:15 UTC
Hi,

The configure.ac check enables dtrace support if sys/sdt.h is available, even if dtrace isn't. That causes glib to FTBFS.

The attached patch makes the check enable dtrace support only if both dtrace and sys/sdt.h are present.
Comment 1 Emilio Pozuelo Monfort 2010-09-28 10:16:16 UTC
Created attachment 171251 [details] [review]
Don't enable dtrace support when dtrace isn't available