Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889686 - sys-auth/nss-pam-ldapd-0.9.12-r2 - /.../nss_compat.h: error: NSS_UNAVAIL undeclared (first use in this function)
Summary: sys-auth/nss-pam-ldapd-0.9.12-r2 - /.../nss_compat.h: error: NSS_UNAVAIL unde...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-04 09:09 UTC by Toralf Förster
Modified: 2023-12-09 23:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.22 KB, text/plain)
2023-01-04 09:09 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,85.85 KB, application/x-bzip)
2023-01-04 09:09 UTC, Toralf Förster
Details
environment (environment,138.73 KB, text/plain)
2023-01-04 09:09 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,656 bytes, application/x-bzip)
2023-01-04 09:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.08 KB, application/x-bzip)
2023-01-04 09:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,18.77 KB, application/x-bzip)
2023-01-04 09:09 UTC, Toralf Förster
Details
sys-auth:nss-pam-ldapd-0.9.12-r2:20230104-062807.log (sys-auth:nss-pam-ldapd-0.9.12-r2:20230104-062807.log,175.42 KB, text/plain)
2023-01-04 09:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,42.03 KB, application/x-bzip)
2023-01-04 09:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-01-04 09:09:03 UTC
      | ^~~~~~~~~~~~
/var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.12-r2/work/nss-pam-ldapd-0.9.12/nss/prototypes.h:118:1: error: unknown type name 'nss_status_t'
  118 | nss_status_t NSS_NAME(getrpcent_r)(struct rpcent *result, char *buffer, size_t buflen, int *errnop);
      | ^~~~~~~~~~~~
In file included from /var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.12-r2/work/nss-pam-ldapd-0.9.12/nss/prototypes.h:26:
/var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.12-r2/work/nss-pam-ldapd-0.9.12/nss/hosts.c: In function 'read_one_hostent':
/var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.12-r2/work/nss-pam-ldapd-0.9.12/compat/nss_compat.h:64:28: error: 'NSS_UNAVAIL' undeclared (first use in this function)
   64 | #define NSS_STATUS_UNAVAIL NSS_UNAVAIL
      |                            ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20221229-143533

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.66.0
  [2]   rust-1.66.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit eb8f5581eac79cb69e1bc67bb956a5a30f5f2ca0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 4 06:02:22 2023 +0000

    2023-01-04 06:02:22 UTC

emerge -qpvO sys-auth/nss-pam-ldapd
[ebuild  N    ] sys-auth/nss-pam-ldapd-0.9.12-r2  USE="pam utils -debug -kerberos -pynslcd -sasl -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2023-01-04 09:09:04 UTC
Created attachment 847170 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-04 09:09:05 UTC
Created attachment 847172 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-01-04 09:09:06 UTC
Created attachment 847174 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-01-04 09:09:07 UTC
Created attachment 847176 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-01-04 09:09:08 UTC
Created attachment 847178 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-04 09:09:09 UTC
Created attachment 847180 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-04 09:09:11 UTC
Created attachment 847182 [details]
sys-auth:nss-pam-ldapd-0.9.12-r2:20230104-062807.log
Comment 8 Toralf Förster gentoo-dev 2023-01-04 09:09:12 UTC
Created attachment 847184 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-12-09 23:05:57 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(+)