*** This bug is a duplicate of bug 1869751 ***
https://bugs.launchpad.net/bugs/1869751
** This bug has been marked a duplicate of bug 1869751
[focal] pacemaker FTBFS because of deprecated ftime()
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1870069
Title:
pacemaker ftbfs in focal
Status in pacemaker package in Ubuntu:
Confirmed
Bug description:
seen in the second focal test rebuild
https://launchpadlibrarian.net/471775801/buildlog_ubuntu-focal-amd64.pacemaker_2.0.3-3ubuntu1_BUILDING.txt.gz
execd_commands.c: In function ‘stonith_recurring_op_helper’:
execd_commands.c:257:5: error: ‘ftime’ is deprecated
[-Werror=deprecated-declarations]
257 | ftime(&cmd->t_queue);
| ^~~~~
In file included from execd_commands.c:23:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
execd_commands.c: In function ‘schedule_lrmd_cmd’:
execd_commands.c:389:5: error: ‘ftime’ is deprecated
[-Werror=deprecated-declarations]
389 | ftime(&cmd->t_queue);
| ^~~~~
In file included from execd_commands.c:23:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
execd_commands.c: In function ‘time_diff_ms’:
execd_commands.c:480:9: error: ‘ftime’ is deprecated
[-Werror=deprecated-declarations]
480 | ftime(&local_now);
| ^~~~~
In file included from execd_commands.c:23:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
execd_commands.c: In function ‘action_complete’:
execd_commands.c:896:9: error: ‘ftime’ is deprecated
[-Werror=deprecated-declarations]
896 | ftime(&cmd->t_rcchange);
| ^~~~~
In file included from execd_commands.c:23:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
execd_commands.c: In function ‘lrmd_rsc_execute’:
execd_commands.c:1428:13: error: ‘ftime’ is deprecated
[-Werror=deprecated-declarations]
1428 | ftime(&cmd->t_first_run);
| ^~~~~
In file included from execd_commands.c:23:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
execd_commands.c:1430:9: error: ‘ftime’ is deprecated
[-Werror=deprecated-declarations]
1430 | ftime(&cmd->t_run);
| ^~~~~
In file included from execd_commands.c:23:
/usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1870069/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp