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 773813 - Fails to build on GNU Hurd: missing mach/clock.h used by libcheck
Fails to build on GNU Hurd: missing mach/clock.h used by libcheck
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.9.90
Other Linux
: Normal major
: 1.10.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-02 08:20 UTC by Sebastian Dröge (slomo)
Modified: 2016-11-02 08:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Fix AM_CONDITIONAL check for clock_gettime (1.16 KB, patch)
2016-11-02 08:33 UTC, Nirbheek Chauhan
committed Details | Review

Description Sebastian Dröge (slomo) 2016-11-02 08:20:33 UTC
https://buildd.debian.org/status/fetch.php?pkg=gstreamer1.0&arch=hurd-i386&ver=1.10.0-1&stamp=1478021669

> [...]
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../../../libs/gst/check -pthread -D_GNU_SOURCE -DHAVE_PTHREAD -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error -c clock_gettime.c  -fPIC -DPIC -o .libs/libcheckinternal_la-clock_gettime.o
> clock_gettime.c:4:24: fatal error: mach/clock.h: No such file or directory
> #include <mach/clock.h>
Comment 1 Nirbheek Chauhan 2016-11-02 08:33:03 UTC
Created attachment 338932 [details] [review]
build: Fix AM_CONDITIONAL check for clock_gettime

It was always evaluating to false, so clock_gettime.c was always being
included into libcheck. This breaks building on Hurd and causes us to
always override clock_gettime() even when it is available.
Comment 2 Nirbheek Chauhan 2016-11-02 08:33:56 UTC
Attachment 338932 [details] pushed as 2797376 - build: Fix AM_CONDITIONAL check for clock_gettime
Comment 3 Nirbheek Chauhan 2016-11-02 08:47:52 UTC
Pushed to both master and 1.10 branches.