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

Bug 829357

Summary: sys-auth/libnss-pgsql-1.5.0_beta-r1 - backend.c: error: NSS_STATUS_SUCCESS undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: pgsql-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-auth:libnss-pgsql-1.5.0_beta-r1:20211216-164629.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-16 17:30:23 UTC
nss-pgsql.h:35:17: note: previous declaration of 'getent_prepare' with type 'enum nss_status(const char *)'
   35 | enum nss_status getent_prepare(const char *what);
      |                 ^~~~~~~~~~~~~~
backend.c: In function 'getent_prepare':
backend.c:173:24: error: 'NSS_STATUS_SUCCESS' undeclared (first use in this function)
  173 |                 return NSS_STATUS_SUCCESS;
      |                        ^~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211215-000030

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit 5fb599534111dbd0fba8da09bbf9222d38762934
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 16 15:36:46 2021 +0000

    2021-12-16 15:36:44 UTC

emerge -qpvO sys-auth/libnss-pgsql
[ebuild  N    ] sys-auth/libnss-pgsql-1.5.0_beta-r1
Comment 1 Toralf Förster gentoo-dev 2021-12-16 17:30:24 UTC
Created attachment 759359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-16 17:30:25 UTC
Created attachment 759360 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-16 17:30:27 UTC
Created attachment 759361 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-16 17:30:28 UTC
Created attachment 759362 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-16 17:30:29 UTC
Created attachment 759363 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-16 17:30:30 UTC
Created attachment 759364 [details]
sys-auth:libnss-pgsql-1.5.0_beta-r1:20211216-164629.log
Comment 7 Toralf Förster gentoo-dev 2021-12-16 17:30:31 UTC
Created attachment 759365 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-12-09 23:05:58 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(+)