Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 898556

Summary: sys-auth/polkit-pkla-compat-0.1-r2 fails to compile (MUSL-CLANG-SYSTEM): pwd.cgrp.c::4848::1010:: error: error: call to undeclared function fgetpwent; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]call t
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31052
https://github.com/gentoo/gentoo/pull/31413
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-01 08:23:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-auth/polkit-pkla-compat-0.1-r2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-01 08:24:00 UTC
Created attachment 855364 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-06-15 21:45:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=461947b666e49dc1cd3867779693b8c335621ac7

commit 461947b666e49dc1cd3867779693b8c335621ac7
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-14 06:01:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-15 21:45:03 +0000

    profiles: mask sys-auth/polkit-pkla-compat on musl profile
    
    Closes: https://bugs.gentoo.org/898556
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31413
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 5 +++++
 1 file changed, 5 insertions(+)