Public bug reported:
cmocka-extensions 0.50.0-0ubuntu2 and cmocka-mocks 0.52.1-0ubuntu2 are
stuck in stonking-proposed: cmocka-extensions fails to build against
cmocka 2.0.2, and cmocka-mocks (which build-depends on cmocka-
extensions-dev) can't build without it.
cmocka 2.0 now provides assert_non_null_msg itself, which clashes with
the unguarded definition in cmocka_extensions.h:
static inline void assert_non_null_msg(void *ptr, const char *msg) {
// NOLINT
Both are Ubuntu-native packages (0ubuntuN). Nothing outside the pair
depends on them: cmocka-extensions-dev is only used by libcmocka-mocks-
dev / cmocka-mocks, and nothing depends on libcmocka-mocks-dev or the
-doc packages.
Upstream (https://github.com/Elektrobit/cmocka_extensions,
https://github.com/Elektrobit/cmocka_mocks) is active (cmocka_extensions
0.55.0, cmocka_mocks 0.56.1; Ubuntu has 0.50.0 / 0.52.1), but the
current cmocka_extensions header still has the same unguarded
definition, so updating wouldn't fix this by itself. There's also an
open upstream issue about LTO build failures (cmocka_extensions #1).
Please remove from stonking-proposed:
cmocka-extensions 0.50.0-0ubuntu2
cmocka-mocks 0.52.1-0ubuntu2
The 0ubuntu1 versions stay in stonking release for now, as it's late in
the cycle.
Suggestion for next cycle: the release binaries (cmocka-extensions-dev,
libcmocka-mocks-dev, and the -doc packages) probably don't work with
stonking's cmocka 2.0 either, since any code including
cmocka_extensions.h should hit the same clash (inferred from the build
failure, not tested). Either update both to current upstream with a fix
for cmocka 2.0 (guard or rename assert_non_null_msg, report it
upstream), or remove both from the release pocket too. @ginggs, as the
uploader, do you still need these?
** Affects: cmocka-extensions (Ubuntu)
Importance: Undecided
Status: New
** Affects: cmocka-mocks (Ubuntu)
Importance: Undecided
Status: New
** Tags: update-excuse
** Tags added: update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170708
Title:
Please remove cmocka-extensions and cmocka-mocks from stonking-
proposed: FTBFS with cmocka 2.0 (assert_non_null_msg clash)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmocka-extensions/+bug/2170708/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs