[Bug 1869751] Re: [focal] pacemaker FTBFS because of deprecated ftime()

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Thu Apr 2 19:29:14 UTC 2020

commit 4b8b84cce1fd57eec1f47ca44780d60c148b399d
Author: Jan Pokorný <jpokorny at redhat.com>
Date:   Fri Nov 15 16:06:57 2019 +0100

    Build: restore buildability in the face of obsolete ftime(3)

    Since the usage of ftime(3) is purely optional and since
    clock_gettime(3) is mandated with POSIX 2001, we can simply
    look at whether CLOCK_MONOTONIC is defined to be used as an
    identifier for the particular clock (kind exactly suitable
    for this context).  But due to being late in the release cycle,
    such a change is kept as opt-in (see configure.ac comment for
    details), and for compatibility stability concerns[*], also
    dropping some old surrounding cruft is delayed.

    In this form, constitutes first step out of two to restore
    out-of-the-box buildability with recent enough glibc, again,
    refer to configure.ac comment.

    (for a Fedora Rawhide follow-the-upstream update that led to this

    [*] in case you opt-in (as described), CLOCK_MONOTONIC gets detected
        in time.h positively but it starts choking for whatever reason in
        the actual build or even in run-time, you can rescind that,
        or you can shortcut any checking and refrain from any time period
        measurements altogher with something like:

          env \
            ac_cv_have_decl_CLOCK_MONOTONIC=no \

You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.

  [focal] pacemaker FTBFS because of deprecated ftime()

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list