* Package: sys-auth/libnss-mysql-1.5_p20060915-r5 * Repository: gentoo * Maintainer: mysql-bugs@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libnss-mysql-20060915.tgz to /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work >>> Source unpacked in /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work >>> Preparing source in /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql ... * Applying libnss-mysql-1.5_p20060915-no-automagic-debug.diff ... [ ok ] * Applying libnss-mysql-1.5_p20060915-multiarch.patch ... [ ok ] * Applying libnss-mysql-1.5_p20060915-mariadb10.2.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: libnss-mysql/ * Running elibtoolize in: libnss-mysql/aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql ... * econf: updating libnss-mysql/aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libnss-mysql/aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libnss-mysql-1.5_p20060915-r5 --htmldir=/usr/share/doc/libnss-mysql-1.5_p20060915-r5/html --with-sysroot=/ --libdir=/usr/lib --disable-debug checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether the linker accepts -znodelete... yes checking for MySQL headers... /usr/include/mysql checking for MySQL libraries... /usr/lib checking for getsockname in -lsocket... no checking for gethostbyname in -lnsl... yes checking for floor in -lm... yes checking for dlsym in -ldl... yes checking for compress in -lz... yes checking for main in -lmysqlclient... yes checking for ANSI C header files... (cached) yes checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for stdint.h... (cached) yes checking nss.h usability... no checking nss.h presence... no checking for nss.h... no checking nss_common.h usability... no checking nss_common.h presence... no checking for nss_common.h... no checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for socklen_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/version.c config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql' Making all in src make[2]: Entering directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -pipe -march=native -c -o version.lo version.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -pipe -march=native -c version.c -fPIC -DPIC -o .libs/version.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -pipe -march=native -c -o nss_config.lo nss_config.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -pipe -march=native -c nss_config.c -fPIC -DPIC -o .libs/nss_config.o In file included from nss_config.c:22: nss_mysql.h:31:2: error: #error I need either nss.h or nss_common.h! 31 | #error I need either nss.h or nss_common.h! | ^~~~~ In file included from nss_config.c:22: nss_mysql.h:253:1: error: unknown type name ‘NSS_STATUS’ 253 | NSS_STATUS _nss_mysql_init (void); | ^~~~~~~~~~ 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_mysql.h:263:1: error: unknown type name ‘NSS_STATUS’ 263 | NSS_STATUS _nss_mysql_load_shadow (void *result, char *buffer, size_t buflen, | ^~~~~~~~~~ nss_mysql.h:265:1: error: unknown type name ‘NSS_STATUS’ 265 | NSS_STATUS _nss_mysql_load_group (void *result, char *buffer, size_t buflen, | ^~~~~~~~~~ nss_mysql.h:267:1: error: unknown type name ‘NSS_STATUS’ 267 | NSS_STATUS _nss_mysql_load_gidsbymem (void *result, char *buffer, size_t buflen, | ^~~~~~~~~~ nss_mysql.h:271:1: error: unknown type name ‘NSS_STATUS’ 271 | NSS_STATUS _nss_mysql_close_sql (MYSQL_RES **mresult, nboolean graceful); | ^~~~~~~~~~ nss_mysql.h:273:1: error: unknown type name ‘NSS_STATUS’ 273 | NSS_STATUS _nss_mysql_run_query (char *query, MYSQL_RES **mresult, | ^~~~~~~~~~ nss_mysql.h:275:1: error: unknown type name ‘NSS_STATUS’ 275 | NSS_STATUS _nss_mysql_fetch_row (MYSQL_ROW *row, MYSQL_RES *mresult); | ^~~~~~~~~~ nss_mysql.h:276:1: error: unknown type name ‘NSS_STATUS’ 276 | NSS_STATUS _nss_mysql_escape_string (char *to, const char *from, | ^~~~~~~~~~ nss_mysql.h:283:1: error: unknown type name ‘NSS_STATUS’ 283 | NSS_STATUS _nss_mysql_load_config (void); | ^~~~~~~~~~ nss_mysql.h:286:1: error: unknown type name ‘NSS_STATUS’ 286 | NSS_STATUS _nss_mysql_lookup (lookup_t ltype, const char *name, | ^~~~~~~~~~ nss_mysql.h:290:31: error: unknown type name ‘NSS_STATUS’ 290 | NSS_STATUS (*load_func)(void *, char *, size_t, | ^~~~~~~~~~ nss_config.c:205:1: error: unknown type name ‘NSS_STATUS’ 205 | NSS_STATUS | ^~~~~~~~~~ In file included from nss_config.c:22: nss_config.c: In function ‘_nss_mysql_load_config’: nss_config.c:213:15: error: ‘NSS_SUCCESS’ undeclared (first use in this function); did you mean ‘EXIT_SUCCESS’? 213 | DSRETURN (NSS_SUCCESS) | ^~~~~~~~~~~ nss_mysql.h:131:29: note: in definition of macro ‘DSRETURN’ 131 | #define DSRETURN(r) return (r); | ^ nss_config.c:213:15: note: each undeclared identifier is reported only once for each function it appears in 213 | DSRETURN (NSS_SUCCESS) | ^~~~~~~~~~~ nss_mysql.h:131:29: note: in definition of macro ‘DSRETURN’ 131 | #define DSRETURN(r) return (r); | ^ nss_config.c:225:15: error: ‘NSS_UNAVAIL’ undeclared (first use in this function) 225 | DSRETURN (NSS_UNAVAIL) | ^~~~~~~~~~~ nss_mysql.h:131:29: note: in definition of macro ‘DSRETURN’ 131 | #define DSRETURN(r) return (r); | ^ make[2]: *** [Makefile:489: nss_config.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql/src' make[1]: *** [Makefile:411: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql' make: *** [Makefile:343: all] Error 2 * ERROR: sys-auth/libnss-mysql-1.5_p20060915-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-auth/libnss-mysql-1.5_p20060915-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/libnss-mysql-1.5_p20060915-r5::gentoo'`. * The complete build log is located at '/var/log/portage/sys-auth:libnss-mysql-1.5_p20060915-r5:20200330-183646.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql' * S: '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql'