Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889228 - sys-auth/libnss-mysql-1.5_p20060915-r5 - nss_support.c: error: NSS_SUCCESS undeclared (first use in this function)
Summary: sys-auth/libnss-mysql-1.5_p20060915-r5 - nss_support.c: error: NSS_SUCCESS un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-31 23:39 UTC by Toralf Förster
Modified: 2023-12-09 23:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.40 KB, text/plain)
2022-12-31 23:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,219.91 KB, text/plain)
2022-12-31 23:39 UTC, Toralf Förster
Details
environment (environment,73.71 KB, text/plain)
2022-12-31 23:39 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,570 bytes, application/x-bzip)
2022-12-31 23:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.15 KB, application/x-bzip)
2022-12-31 23:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.12 KB, application/x-bzip)
2022-12-31 23:39 UTC, Toralf Förster
Details
sys-auth:libnss-mysql-1.5_p20060915-r5:20221231-225520.log (sys-auth:libnss-mysql-1.5_p20060915-r5:20221231-225520.log,29.35 KB, text/plain)
2022-12-31 23:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.27 KB, application/x-bzip)
2022-12-31 23:39 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 2022-12-31 23:39:15 UTC
  261 | NSS_STATUS _nss_mysql_load_passwd (void *result, char *buffer, size_t buflen,
      | ^~~~~~~~~~
nss_mysql.h:261:1: error: unknown type name 'NSS_STATUS'
  261 | NSS_STATUS _nss_mysql_load_passwd (void *result, char *buffer, size_t buflen,
      | ^~~~~~~~~~
nss_support.c: In function '_nss_mysql_load_passwd':
nss_support.c:125:17: error: 'NSS_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'?
  125 |   if (retVal != NSS_SUCCESS)
      |                 ^~~~~~~~~~~

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

  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 0f5a93cea9fa701354812c335bc281d73fc8d466
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 31 21:16:58 2022 +0000

    2022-12-31 21:16:58 UTC

emerge -qpvO sys-auth/libnss-mysql
[ebuild  N    ] sys-auth/libnss-mysql-1.5_p20060915-r5  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2022-12-31 23:39:16 UTC
Created attachment 846302 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-31 23:39:17 UTC
Created attachment 846304 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-31 23:39:19 UTC
Created attachment 846306 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-31 23:39:19 UTC
Created attachment 846308 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-31 23:39:20 UTC
Created attachment 846310 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-31 23:39:21 UTC
Created attachment 846312 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-31 23:39:22 UTC
Created attachment 846314 [details]
sys-auth:libnss-mysql-1.5_p20060915-r5:20221231-225520.log
Comment 8 Toralf Förster gentoo-dev 2022-12-31 23:39:24 UTC
Created attachment 846316 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-12-09 23:06:01 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(+)