This patch solves the build error:
PHP Warning: PHP Startup: Failed to initialize high-resolution timer in
Unknown on line 0.
Gbp-Pq: Name 0037-Don-t-use-hrtimers-on-GNU-Hurd.patch
#define PHP_HRTIME_PLATFORM_HPUX 0
#define PHP_HRTIME_PLATFORM_AIX 0
-#if defined(_POSIX_TIMERS) && ((_POSIX_TIMERS > 0) || defined(__OpenBSD__)) && defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC)
+#if defined(_POSIX_TIMERS) && \
+ ((_POSIX_TIMERS > 0) || defined(__OpenBSD__) || defined(__GNU__)) && \
+ defined(_POSIX_MONOTONIC_CLOCK) && \
+ defined(CLOCK_MONOTONIC)
# undef PHP_HRTIME_PLATFORM_POSIX
# define PHP_HRTIME_PLATFORM_POSIX 1
#elif defined(_WIN32) || defined(_WIN64)