GNOME Bugzilla – Bug 773813
Fails to build on GNU Hurd: missing mach/clock.h used by libcheck
Last modified: 2016-11-02 08:47:52 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>
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.
Attachment 338932 [details] pushed as 2797376 - build: Fix AM_CONDITIONAL check for clock_gettime
Pushed to both master and 1.10 branches.