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

Bug 908578

Summary: sys-auth/nss-pam-ldapd-0.9.12-r3 has implicit function declarations in configure logs (MUSL-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: chutzpah, matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-06-16 08:08:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-auth/nss-pam-ldapd-0.9.12-r3 has implicit function declarations in configure logs (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-16 08:09:02 UTC
Created attachment 863904 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-16 08:09:03 UTC
Found the following implicit function declarations in configure logs:

config.log:2731 - setnetgrent
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-09 23:01:11 UTC
*nss-* should really be masked on musl.
Comment 4 matoro archtester 2023-12-09 23:02:42 UTC
(In reply to Sam James from comment #3)
> *nss-* should really be masked on musl.

Okay, so I misunderstood bug 902219 then, those are two mutually exclusive packages?
Comment 5 Larry the Git Cow gentoo-dev 2023-12-09 23:05:59 UTC
The bug has been closed via the following commit(s):

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

commit cf34230c237f5724043048eabf083f07b7fc64a7
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-31 08:09:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-09 23:05:35 +0000

    profiles/features/musl: Extending list of masked nss packages under musl
    
    As musl has no support for nss subsystem.
    
    Closes: https://bugs.gentoo.org/712550
    Closes: https://bugs.gentoo.org/715416
    Closes: https://bugs.gentoo.org/715510
    Closes: https://bugs.gentoo.org/717406
    Closes: https://bugs.gentoo.org/829357
    Closes: https://bugs.gentoo.org/830269
    Closes: https://bugs.gentoo.org/889228
    Closes: https://bugs.gentoo.org/889686
    Closes: https://bugs.gentoo.org/908578
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31243
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-09 23:06:37 UTC
(In reply to matoro from comment #4)
> (In reply to Sam James from comment #3)
> > *nss-* should really be masked on musl.
> 
> Okay, so I misunderstood bug 902219 then, those are two mutually exclusive
> packages?

I think musl-nscd is sometimes a replacement but really, I shouldn't have put it there. I can't tell you what the thought process was though. Fixing it.