[Debian-ha-maintainers] Bug#1124926: pacemaker: FTBFS: error: 'cmocka_macro' is deprecated: check_expected: use check_expected_int or check_expected_uint instead
zhangdandan
zhangdandan at loongson.cn
Wed Jan 7 11:44:42 GMT 2026
On Wed, 7 Jan 2026 19:26:16 +0800 zhangdandan wrote:
> Source: pacemaker
> Version: 3.0.1-1
> Severity: normal
> Tags: ftbfs, forky, sid
>
> The full build log can be found at
>
https://buildd.debian.org/status/fetch.php?pkg=pacemaker&arch=loong64&ver=3.0.1-1&stamp=1767187817&raw=0.
> Maintainers, please pay attention to the above phenomenon.
> Or please generate a rootfs based on the latest archive state on another
> architecture for testing.
>
This is a public error on other architectures.
I just found that the build failure is related to the version of
libcmocka-dev.
When using the latest version 2.0.1-1, the build fails;
when using version 1.1.7-3+b1, it succeeds.
The solution is to replace all occurrences of check_expected() with
check_expected_int()/check_expected_uint(), which resolves the issue.
Dandan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20260107/ca6a147e/attachment.htm>
More information about the Debian-ha-maintainers
mailing list