[Ubuntu-ha] [Bug 1870235] Re: [focal] pacemaker v2.0.3 last upstream fixes
There is an on-going merge request for this bug. -- 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/1870235 Title: [focal] pacemaker v2.0.3 last upstream fixes Status in pacemaker package in Ubuntu: In Progress Bug description: Together with fix for: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751 (FTBFS) This bug will also backport/cherrypick fixes released after 2.0.3 release. The correct patches are going to be defined within this bug comments. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1870235/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp
[Ubuntu-ha] [Bug 1869751] Re: [focal] pacemaker FTBFS because of deprecated ftime()
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/pacemaker/+git/pacemaker/+merge/381684 -- 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/1869751 Title: [focal] pacemaker FTBFS because of deprecated ftime() Status in pacemaker package in Ubuntu: Confirmed Bug description: https://people.canonical.com/~doko/ftbfs-report/test-rebuild-20200327 -focal-focal.html shows that pacemaker started to be FTBFS because of: """ gcc -DHAVE_CONFIG_H -I. -I../../include -DSUPPORT_REMOTE -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_remoted-pacemaker-execd.o `test -f 'pacemaker-execd.c' || echo './'`pacemaker-execd.c execd_commands.c: In function ‘stonith_recurring_op_helper’: execd_commands.c:257:5: error: ‘ftime’ is deprecated [-Werror=deprecated-declarations] 257 | ftime(>t_queue); | ^ In file included from execd_commands.c:23: /usr/include/i386-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(>t_queue); | ^ """ And man page shows: SYNOPSIS #include int ftime(struct timeb *tp); DESCRIPTION NOTE: This function is deprecated, and will be removed in a future version of the GNU C library. Use clock_gettime(2) instead. I'll fix this together with other fixes, opening this bug to track the issue. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp
[Ubuntu-ha] [Bug 1870235] Re: [focal] pacemaker v2.0.3 last upstream fixes
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/pacemaker/+git/pacemaker/+merge/381684 -- 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/1870235 Title: [focal] pacemaker v2.0.3 last upstream fixes Status in pacemaker package in Ubuntu: In Progress Bug description: Together with fix for: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751 (FTBFS) This bug will also backport/cherrypick fixes released after 2.0.3 release. The correct patches are going to be defined within this bug comments. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1870235/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp
[Ubuntu-ha] [Bug 1869751] Re: [focal] pacemaker FTBFS because of deprecated ftime()
Check: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1870235 for the fix (same merge request). -- 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/1869751 Title: [focal] pacemaker FTBFS because of deprecated ftime() Status in pacemaker package in Ubuntu: Confirmed Bug description: https://people.canonical.com/~doko/ftbfs-report/test-rebuild-20200327 -focal-focal.html shows that pacemaker started to be FTBFS because of: """ gcc -DHAVE_CONFIG_H -I. -I../../include -DSUPPORT_REMOTE -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_remoted-pacemaker-execd.o `test -f 'pacemaker-execd.c' || echo './'`pacemaker-execd.c execd_commands.c: In function ‘stonith_recurring_op_helper’: execd_commands.c:257:5: error: ‘ftime’ is deprecated [-Werror=deprecated-declarations] 257 | ftime(>t_queue); | ^ In file included from execd_commands.c:23: /usr/include/i386-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(>t_queue); | ^ """ And man page shows: SYNOPSIS #include int ftime(struct timeb *tp); DESCRIPTION NOTE: This function is deprecated, and will be removed in a future version of the GNU C library. Use clock_gettime(2) instead. I'll fix this together with other fixes, opening this bug to track the issue. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp
[Ubuntu-ha] [Bug 1870235] Re: [focal] pacemaker v2.0.3 last upstream fixes
Cherry-picks that seem to make sense after 2.0.3 release are: Fix: tools: Fix definition of curses_indented_printf. Fix: iso8601: Fix crm_time_parse_offset() to parse offset with plus sign. Log: libcrmcommon: correctly raise detail log line length Low: libcrmservice: handle child wait errors appropriately Log: libcrmservice: improve messages when waiting for child process Refactor: libcrmservice: isolate SIGCHLD handling Fix: libstonithd, tools: Fix arguments to stonith-event. Fix: libpengine: Options should be unsigned int, not long. Fix: libstonithd: Some validate arguments should be non-const. Fix: scheduler: make sure cluster-wide maintenance-mode=true overrides per-resource settings Fix: tools: Correct the crm_mon man page. There are too many fixes but mostly related to in-development refactorings so it's hard to distinguish if a fix is fixing something that exists already in v2.0.3. I preferred to be conservative and pick the ones that made more sense - core parts - and were solved right after the release (and of course didn't introduce new features and major code refactoring). A list of all commits after v2.0.3 can be seen at: https://paste.ubuntu.com/p/pGzWc2qZpB/ -- 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/1870235 Title: [focal] pacemaker v2.0.3 last upstream fixes Status in pacemaker package in Ubuntu: In Progress Bug description: Together with fix for: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751 (FTBFS) This bug will also backport/cherrypick fixes released after 2.0.3 release. The correct patches are going to be defined within this bug comments. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1870235/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp
[Ubuntu-ha] [Bug 1870235] Re: [focal] pacemaker v2.0.3 last upstream fixes
** Description changed: Together with fix for: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751 (FTBFS) This bug will also backport/cherrypick fixes released after 2.0.3 - release: - - c1bc0a7f4 Merge pull request #2023 from kgaillot/fixes - f00d1120f Merge pull request #2005 from clumens/tag-fixes - 5c543bc73 Fix: xml: Add a new version of the tags schema. - d9109fb83 Fix: tools: Apply various fixes to the crm_diff man page. - 269aea44b Merge pull request #2017 from kgaillot/fixes - ad532cfff Low: fencer,libstonithd: fix Y2038 issue in fence history - ef2037126 Doc: libcrmcommon: fix doc string mistake - f0be039f9 Merge pull request #2015 from clumens/more-blanks - e2215c722 Fix: tools: One more blank line related fix for crm_mon. - ef1208197 Merge pull request #2010 from kgaillot/fixes - 4c997e61a Merge pull request #2006 from HideoYamauchi/trac4454-fix - 7cd3ecfd3 Low: crm: Fix argument order in declaration - 78db2071e Merge pull request #1999 from clumens/crm_mon-fixes - 5e3b8cdba Merge pull request #2004 from jnpkrn/build-gcc10-s390x - 4267f7fc4 Doc: Pacemaker Development: crm_str easy to forget, like its prime use - 9acf1f9b3 Build: fix compilation -Werror compilation issue with GCC 10 with s390x - 0625eb1a2 Merge pull request #1996 from kgaillot/fixes - 902e79f43 Feature: Rework how a prefix for bans is given in crm_mon. - 4860c572c Fix: tools: Move print_neg_location_prefix into options. - 398611256 Fix: tools: Use formatted output for more errors in crm_mon. - a290911ef Merge pull request #1989 from kgaillot/fixes - 7599e6d98 Build: configure: fix syntax error - 68bd2b4da Merge pull request #1953 from jnpkrn/build-fix-inkscape-1.0-beta-compat - df6c286d9 Merge pull request #1985 from kgaillot/rhbz1760669 - cdf84f849 Merge pull request #1984 from kgaillot/fixes - 38ef24516 Merge pull request #1979 from kgaillot/fixes - 403c5b1f8 Merge pull request #1978 from jnpkrn/gcc10-fno-common-fix - ea5b06fae Merge pull request #1976 from jnpkrn/fix-process-will-not-die - e0ca2a0b7 Fix: libpacemaker: Fix setting options when calling the history opt. - 3fa025298 Fix: libpacemaker: Fix handling of some operation return values. - 529ff2851 Merge pull request #1971 from clumens/crm_mon-fixes - 5b98dd71c Fix: tools: Re-enable CGI output from crm_mon. - ed6972a74 Fix: tools: Maintain a list of extra HTML headers. - c2e5d2d02 Fix: tools: Correct sec vs. msec discrepancy in stonith_admin. - bc6f54495 Merge pull request #1968 from kgaillot/fixes - f11fedd40 Refactor: libcrmcommon,libpacemaker,tools: convert pcmk__output_new() to standard return codes - 264afd724 Merge pull request #1958 from kgaillot/fixes - aa779a942 Merge pull request #1960 from yoshfuji/fix-iso8601-parser-20191217 - 33e28dcad Merge pull request #1955 from kgaillot/fixes - d671faa22 Merge pull request #1954 from aleksei-burlakov/fix-libpe_status-maintenance-mode - 47ecd21b9 Build: fix unability to build with Inkscape 1.0 beta version(s) - 4f5207a28 Fix: tools: Correct the crm_mon man page. + release. The correct patches are going to be defined within this bug comments. -- 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/1870235 Title: [focal] pacemaker v2.0.3 last upstream fixes Status in pacemaker package in Ubuntu: In Progress Bug description: Together with fix for: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751 (FTBFS) This bug will also backport/cherrypick fixes released after 2.0.3 release. The correct patches are going to be defined within this bug comments. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1870235/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp