Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713612 - sys-auth/nss-pam-ldapd-0.9.12-r1 : /.../prototypes.h: error: unknown type name nss_status_t
Summary: sys-auth/nss-pam-ldapd-0.9.12-r1 : /.../prototypes.h: error: unknown type nam...
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: PullRequest
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-20 14:48 UTC by Toralf Förster
Modified: 2023-03-20 05:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.48 KB, text/plain)
2020-03-20 14:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.67 KB, text/plain)
2020-03-20 14:48 UTC, Toralf Förster
Details
environment (environment,164.55 KB, text/plain)
2020-03-20 14:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.64 KB, application/x-bzip)
2020-03-20 14:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.70 KB, application/x-bzip)
2020-03-20 14:49 UTC, Toralf Förster
Details
sys-auth:nss-pam-ldapd-0.9.11-r2:20200319-231907.log (sys-auth:nss-pam-ldapd-0.9.11-r2:20200319-231907.log,59.43 KB, text/plain)
2020-03-20 14:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,41.15 KB, application/x-bzip)
2020-03-20 14:49 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 2020-03-20 14:48:43 UTC
In file included from /var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.11-r2/work/nss-pam-ldapd-0.9.11/nss/aliases.c:28:
/var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.11-r2/work/nss-pam-ldapd-0.9.11/nss/prototypes.h:60:1: error: unknown type name nss_status_t
   60 | nss_status_t NSS_NAME(getaliasbyname_r)(const char *name, struct aliasent *result, char *buffer, size_t buflen, int *errnop);
      | ^~~~~~~~~~~~
/var/tmp/portage/sys-auth/nss-pam-ldapd-0.9.11-r2/work/nss-pam-ldapd-0.9.11/nss/prototypes.h:61:1: error: unknown type name nss_status_t

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO sys-auth/nss-pam-ldapd
[ebuild  N    ] sys-auth/nss-pam-ldapd-0.9.11-r2  USE="pam utils -debug -kerberos -pynslcd -sasl -test" PYTHON_TARGETS="python3_6"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 14:48:46 UTC
Created attachment 623046 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 14:48:50 UTC
Created attachment 623048 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 14:48:53 UTC
Created attachment 623050 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 14:48:57 UTC
Created attachment 623052 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 14:49:00 UTC
Created attachment 623054 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 14:49:03 UTC
Created attachment 623056 [details]
sys-auth:nss-pam-ldapd-0.9.11-r2:20200319-231907.log
Comment 7 Toralf Förster gentoo-dev 2020-03-20 14:49:06 UTC
Created attachment 623058 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-08 11:54:45 UTC
tinderbox_musl has reproduced this issue with version 0.9.12 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2022-10-04 06:57:45 UTC
tinderbox_musl has reproduced this issue with version 0.9.12-r1 - Updating summary.
Comment 10 Larry the Git Cow gentoo-dev 2023-03-20 05:36:06 UTC
The bug has been closed via the following commit(s):

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

commit 090dc863c60b149b5942951fb2326472c6e70281
Author:     Cristian Othón Martínez Vera <cfuga@cfuga.mx>
AuthorDate: 2023-03-16 22:42:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-20 05:29:33 +0000

    sys-auth/nss-pam-ldapd: fix musl build
    
    * add sys-libs/musl-nscd as dependency for musl, to fix ```unknown type name nss_status_t``` error
    * patch for missing NETDB_INTERNAL
    
    Closes: https://bugs.gentoo.org/713612
    Closes: https://bugs.gentoo.org/716272
    Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/nss-pam-ldapd-0.9.12-netdb-defines.patch |  26 ++++
 .../nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild   | 163 +++++++++++++++++++++
 2 files changed, 189 insertions(+)