[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882531: xorg-server FTCBFS: assumes CLOCK_MONOTONIC to be unavailable



Hi Helmut,

On 23/11/17 19:33, Helmut Grohne wrote:
> Source: xorg-server
> Version: 2:1.19.5-1
> Tags: patch upstream
> User: helmutg@debian.org
> Usertags: rebootstrap
> 
> xorg-server fails to cross build from source, because its configure
> checks for CLOCK_MONOTONIC with AC_RUN_IFELSE and then figures that for
> cross compilation CLOCK_MONOTONIC likely is not available. It then gives
> up, because wayland requires CLOCK_MONOTONIC. I think this is a bad
> default as it always breaks cross compilation. I propose resorting to a
> weaker assumption for cross compilation where only the presence of the
> CLOCK_MONOTONIC declaration is checked and it is assumed working. Since
> wayland requires CLOCK_MONOTONIC anyway, the check really is only a
> sanity check. After fixing this, xorg-server cross builds successfully.
> Please consider applying the attached patch.

I fixed your other xorg-server rebootstrap bug. However since this touches
upstream files, can you send a git formatted patch to xorg-devel@lists.x.org ?

Thanks,
Emilio


Reply to: