[Pkg-utopia-maintainers] Bug#1066531: policykit-1: FTBFS: ../subprojects/mocklibc-1.0/src/netgroup-debug.c:25:3: error: implicit declaration of function ‘print_indent’ [-Werror=implicit-function-declaration]

Mark Hindley mark at hindley.org.uk
Wed Mar 13 13:01:49 GMT 2024


Control: tags -1 patch

I also bumped into this whilst rebuilding src:policykit-1 yesterday.

There is an upstream patch[1], but it doesn't fix the build for me; I think it
is patching the wrong files.The problem appears to be multiple copies of
mocklibc. AFAICS ./test/mocklibc is not used in favour of a meson subproject.

The pkla-compat tarball also has mocklibc, but that is also patched already.

Getting the multiple layers of quilt and meson patches to work was
unpleasant. So the attached patch may save you some time.

HTH

Mark

[1]  https://github.com/polkit-org/polkit/commit/0d78d1e4bf5ab3ce11678005b220aac0cfc5bee5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Import-upstream-patch-to-fix-embedded-mocklibc-subpr.patch
Type: text/x-diff
Size: 4072 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20240313/3554016b/attachment.patch>


More information about the Pkg-utopia-maintainers mailing list