[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]

Michael Biebl biebl at debian.org
Sat Mar 16 15:18:33 GMT 2024


Am 15.03.24 um 19:55 schrieb Michael Biebl:
> Control: tags -1 - patch
> 
> On Wed, 13 Mar 2024 13:01:49 +0000 Mark Hindley <mark at hindley.org.uk> 
> wrote:
>> 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.

We should drop pkla-compat in trixie. But that is a separate issue.

>> 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
>>
> 
> Thanks for the patch
> Unfortunately it fails to apply to the src:policykit-1 package as 
> shipped in Debian sid. Thus marking the bug report accordingly.
> 

Thanks for hint regarding diff_files for wrapped Meson projects.

I've submitted this upstream as 
https://github.com/polkit-org/polkit/pull/436
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20240316/1a1b3ce8/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list