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

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Thu Apr 2 19:48:36 UTC 2020

While some may think the fix for this is to suppress deprecated warning
OR to "fix" ftime()... the actual fix for this is to start using
MONOTONIC clock for the related functions:

(c)rafaeldtinoco at clufocaldev:~/.../sources/ubuntu/pacemaker$ git diff HEAD
diff --git a/configure.ac b/configure.ac
index a4c8ae93..b7edea57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -981,7 +981,7 @@ AC_CHECK_DECLS([CLOCK_MONOTONIC], [], [], [[
 # will only be applied in 2.0.3 release and will become opt-out since
 # (which hopefully explains the name of the macro as it will start to
 # make more sense then, and the continuity is important)

 dnl ========================================================================

This solves the building issue.

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