+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libnss-mysql.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qbyW3g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnss-mysql-1.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libnss-mysql-1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libnss-mysql-1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/libnss-mysql-1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libnss-mysql-multiarch.patch):' Patch #1 (libnss-mysql-multiarch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file acinclude.m4 + echo 'Patch #2 (libnss-mysql-mariadb10.2.patch):' Patch #2 (libnss-mysql-mariadb10.2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/mysql.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oOXDuj + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + libtoolize -f libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'aux'. libtoolize: linking file 'aux/ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoreconf -f -i aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'aux'. libtoolize: copying file 'aux/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:24: warning: name 'aux' is reserved on W32 and DOS platforms configure.in:29: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:29: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:33: installing 'aux/compile' configure.in:29: installing 'aux/missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am: installing 'aux/depcomp' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./libnss-mysql-1.5/aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./libnss-mysql-1.5/aux/config.guess ++ basename ./libnss-mysql-1.5/aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./libnss-mysql-1.5/aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './libnss-mysql-1.5/aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./libnss-mysql-1.5/aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./libnss-mysql-1.5/aux/config.sub ++ basename ./libnss-mysql-1.5/aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./libnss-mysql-1.5/aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './libnss-mysql-1.5/aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./aux/config.guess ++ basename ./aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./aux/config.sub ++ basename ./aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./libnss-mysql-1.5/aux/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/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 riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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/lib64 checking for getsockname in -lsocket... no checking for gethostbyname in -lnsl... no 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... yes checking nss.h presence... yes checking for nss.h... yes 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 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o version.lo version.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o nss_config.lo nss_config.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o nss_main.lo nss_main.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o nss_support.lo nss_support.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c version.c -fPIC -DPIC -o .libs/version.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c nss_config.c -fPIC -DPIC -o .libs/nss_config.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c nss_main.c -fPIC -DPIC -o .libs/nss_main.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c nss_support.c -fPIC -DPIC -o .libs/nss_support.o version.c:19:19: warning: 'version' defined but not used [-Wunused-const-variable=] static const char version[] = "$Version: 1.5 $"; ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mysql.lo mysql.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mysql.c -fPIC -DPIC -o .libs/mysql.o In file included from nss_support.c:22:0: nss_support.c: In function '_nss_mysql_load_passwd': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:115:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_passwd") ^~ nss_support.c: In function '_nss_mysql_load_shadow': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:180:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_shadow") ^~ nss_support.c: In function '_nss_mysql_load_memsbygid': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:229:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_memsbygid") ^~ nss_support.c: In function '_nss_mysql_load_gidsbymem': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:354:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_gidsbymem") ^~ In file included from nss_main.c:26:0: nss_main.c: In function '_nss_mysql_atfork_prepare': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:122:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_prepare") ^~ nss_main.c: In function '_nss_mysql_atfork_parent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:140:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_parent") ^~ nss_main.c: In function '_nss_mysql_atfork_child': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:157:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_child") ^~ nss_main.c: In function '_nss_mysql_pthread_once_init': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:173:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_once_init") ^~ nss_main.c: In function '_nss_mysql_safe_memset': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:190:3: note: in expansion of macro 'DN' DN ("_nss_mysql_safe_memset") ^~ nss_main.c: In function '_nss_mysql_atexit_handler': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:209:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atexit_handler") ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:354:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_gidsbymem") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:229:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_memsbygid") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:180:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_shadow") ^~ nss_main.c: In function '_nss_mysql_init': nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_support.c:115:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_passwd") ^~ nss_support.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:226:3: note: in expansion of macro 'DN' DN ("_nss_mysql_init") ^~ nss_main.c: In function '_nss_mysql_log': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:250:3: note: in expansion of macro 'DN' DN ("_nss_mysql_log") ^~ nss_main.c: In function '_nss_mysql_reset_ent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:285:3: note: in expansion of macro 'DN' DN ("_nss_mysql_reset_ent") ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:285:3: note: in expansion of macro 'DN' DN ("_nss_mysql_reset_ent") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:250:3: note: in expansion of macro 'DN' DN ("_nss_mysql_log") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:122:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_prepare") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:140:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_parent") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:157:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_child") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:173:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atfork_once_init") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:190:3: note: in expansion of macro 'DN' DN ("_nss_mysql_safe_memset") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:209:3: note: in expansion of macro 'DN' DN ("_nss_mysql_atexit_handler") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_main.c:226:3: note: in expansion of macro 'DN' DN ("_nss_mysql_init") ^~ nss_main.c:23:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ nss_config.c: In function '_nss_mysql_next_key': nss_config.c:123:31: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Found: %s -> %s", FUNCNAME, key, val); ^ nss_config.c:123:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Found: %s -> %s", FUNCNAME, key, val); ^ nss_config.c:123:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Found: %s -> %s", FUNCNAME, key, val); ^ nss_config.c:123:9: warning: statement with no effect [-Wunused-value] D ("%s: Found: %s -> %s", FUNCNAME, key, val); ^ nss_config.c: In function '_nss_mysql_load_config_file': nss_config.c:168:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Attempting to load: %s", FUNCNAME, file); ^ nss_config.c:168:44: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Attempting to load: %s", FUNCNAME, file); ^ nss_config.c:168:5: warning: statement with no effect [-Wunused-value] D ("%s: Attempting to load: %s", FUNCNAME, file); ^ nss_config.c:173:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: fopen() successful", FUNCNAME); ^ nss_config.c:173:30: warning: statement with no effect [-Wunused-value] D ("%s: fopen() successful", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ nss_config.c:141:10: warning: unused variable 'size' [-Wunused-variable] size_t size; ^~~~ In file included from nss_config.c:22:0: nss_config.c: In function '_nss_mysql_validate_config': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_config.c:192:3: note: in expansion of macro 'DN' DN ("_nss_mysql_validate_config") ^~ nss_config.c: In function '_nss_mysql_load_config': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ nss_config.c:208:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_config") ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_config.c:192:3: note: in expansion of macro 'DN' DN ("_nss_mysql_validate_config") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ nss_config.c:208:3: note: in expansion of macro 'DN' DN ("_nss_mysql_load_config") ^~ nss_config.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lookup.lo lookup.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mysql-pwd.lo mysql-pwd.c In file included from mysql.c:27:0: mysql.c: In function '_nss_mysql_save_socket_info': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:45:3: note: in expansion of macro 'DN' DN ("_nss_mysql_save_socket_info") ^~ mysql.c: In function '_nss_mysql_validate_socket': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:100:3: note: in expansion of macro 'DN' DN ("_nss_mysql_validate_socket") ^~ mysql.c: In function '_nss_mysql_close_sql': mysql.c:129:37: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: calling mysql_close()", FUNCNAME); ^ mysql.c:129:37: warning: statement with no effect [-Wunused-value] D ("%s: calling mysql_close()", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mysql-spwd.lo mysql-spwd.c In file included from mysql.c:27:0: mysql.c: In function '_nss_mysql_set_options': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:139:3: note: in expansion of macro 'DN' DN ("_nss_mysql_set_options") ^~ mysql.c: In function '_nss_mysql_check_existing_connection': mysql.c:171:31: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: fork() detected", FUNCNAME); ^ mysql.c:171:31: warning: statement with no effect [-Wunused-value] D ("%s: fork() detected", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mysql.c:180:39: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: invalid socket detected", FUNCNAME); ^ mysql.c:180:39: warning: statement with no effect [-Wunused-value] D ("%s: invalid socket detected", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mysql.c: In function '_nss_mysql_connect_sql': mysql.c:205:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Using existing connection", FUNCNAME); ^ mysql.c:205:41: warning: statement with no effect [-Wunused-value] D ("%s: Using existing connection", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mysql.c:223:28: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Connecting to %s", FUNCNAME, server->host); ^ mysql.c:223:38: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Connecting to %s", FUNCNAME, server->host); ^ mysql.c:223:38: warning: statement with no effect [-Wunused-value] D ("%s: Connecting to %s", FUNCNAME, server->host); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ mysql.c: In function '_nss_mysql_close_result': mysql.c:259:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s, calling mysql_free_result()", FUNCNAME); ^ mysql.c:259:43: warning: statement with no effect [-Wunused-value] D ("%s, calling mysql_free_result()", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mysql.c: In function '_nss_mysql_run_query': mysql.c:280:31: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Executing query: %s", FUNCNAME, query); ^ mysql.c:280:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: Executing query: %s", FUNCNAME, query); ^ mysql.c:280:5: warning: statement with no effect [-Wunused-value] D ("%s: Executing query: %s", FUNCNAME, query); ^ In file included from mysql.c:27:0: nss_mysql.h:121:33: warning: variable 'FUNCNAME' set but not used [-Wunused-but-set-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:273:3: note: in expansion of macro 'DN' DN ("_nss_mysql_run_query") ^~ mysql.c: In function '_nss_mysql_fetch_row': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:317:3: note: in expansion of macro 'DN' DN ("_nss_mysql_fetch_row") ^~ mysql.c: In function '_nss_mysql_escape_string': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:337:3: note: in expansion of macro 'DN' DN ("_nss_mysql_escape_string") ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:337:3: note: in expansion of macro 'DN' DN ("_nss_mysql_escape_string") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:317:3: note: in expansion of macro 'DN' DN ("_nss_mysql_fetch_row") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:45:3: note: in expansion of macro 'DN' DN ("_nss_mysql_save_socket_info") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:139:3: note: in expansion of macro 'DN' DN ("_nss_mysql_set_options") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ mysql.c:100:3: note: in expansion of macro 'DN' DN ("_nss_mysql_validate_socket") ^~ mysql.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c lookup.c -fPIC -DPIC -o .libs/lookup.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mysql-pwd.c -fPIC -DPIC -o .libs/mysql-pwd.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mysql-spwd.c -fPIC -DPIC -o .libs/mysql-spwd.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mysql-grp.lo mysql-grp.c lookup.c: In function '_nss_mysql_build_query': lookup.c:61:35: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: BYNAME, name = '%s'", FUNCNAME, name); ^ lookup.c:61:45: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: BYNAME, name = '%s'", FUNCNAME, name); ^ lookup.c:61:9: warning: statement with no effect [-Wunused-value] D ("%s: BYNAME, name = '%s'", FUNCNAME, name); ^ lookup.c:80:33: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: BYNUM, num = '%u'", FUNCNAME, num); ^ lookup.c:80:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: BYNUM, num = '%u'", FUNCNAME, num); ^ lookup.c:80:9: warning: statement with no effect [-Wunused-value] D ("%s: BYNUM, num = '%u'", FUNCNAME, num); ^ lookup.c:91:45: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: BYNONE creating initial query", FUNCNAME); ^ lookup.c:91:45: warning: statement with no effect [-Wunused-value] D ("%s: BYNONE creating initial query", FUNCNAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ lookup.c: In function '_nss_mysql_lookup': lookup.c:138:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: restricted = %d, cur_euid = %u", FUNCNAME, restricted, cur_euid); ^ lookup.c:138:52: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: restricted = %d, cur_euid = %u", FUNCNAME, restricted, cur_euid); ^ lookup.c:138:64: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s: restricted = %d, cur_euid = %u", FUNCNAME, restricted, cur_euid); ^ lookup.c:138:5: warning: statement with no effect [-Wunused-value] D ("%s: restricted = %d, cur_euid = %u", FUNCNAME, restricted, cur_euid); ^ lookup.c:147:39: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s:, euid changed: %u -> %u", FUNCNAME, euid, cur_euid); ^ lookup.c:147:49: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s:, euid changed: %u -> %u", FUNCNAME, euid, cur_euid); ^ lookup.c:147:55: warning: left-hand operand of comma expression has no effect [-Wunused-value] D ("%s:, euid changed: %u -> %u", FUNCNAME, euid, cur_euid); ^ lookup.c:147:9: warning: statement with no effect [-Wunused-value] D ("%s:, euid changed: %u -> %u", FUNCNAME, euid, cur_euid); ^ In file included from lookup.c:21:0: nss_mysql.h:121:33: warning: variable 'FUNCNAME' set but not used [-Wunused-but-set-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.c:128:3: note: in expansion of macro 'DN' DN ("_nss_mysql_lookup") ^~ At top level: lookup.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ In file included from lookup.h:18:0, from mysql-pwd.c:21: mysql-pwd.c: In function '_nss_mysql_endpwent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:38:7: note: in expansion of macro 'DN' DN ("_nss_mysql_end" #type) \ ^~ mysql-pwd.c:103:1: note: in expansion of macro 'ENDENT' ENDENT(pwent) ^~~~~~ mysql-pwd.c: In function '_nss_mysql_setpwent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:26:7: note: in expansion of macro 'DN' DN ("_nss_mysql_set" #type) \ ^~ mysql-pwd.c:108:1: note: in expansion of macro 'SETENT' SETENT(pwent) ^~~~~~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:26:7: note: in expansion of macro 'DN' DN ("_nss_mysql_set" #type) \ ^~ mysql-pwd.c:108:1: note: in expansion of macro 'SETENT' SETENT(pwent) ^~~~~~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:38:7: note: in expansion of macro 'DN' DN ("_nss_mysql_end" #type) \ ^~ mysql-pwd.c:103:1: note: in expansion of macro 'ENDENT' ENDENT(pwent) ^~~~~~ mysql-pwd.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ In file included from lookup.h:18:0, from mysql-spwd.c:21: mysql-spwd.c: In function '_nss_mysql_endspent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:38:7: note: in expansion of macro 'DN' DN ("_nss_mysql_end" #type) \ ^~ mysql-spwd.c:68:1: note: in expansion of macro 'ENDENT' ENDENT(spent) ^~~~~~ mysql-spwd.c: In function '_nss_mysql_setspent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:26:7: note: in expansion of macro 'DN' DN ("_nss_mysql_set" #type) \ ^~ mysql-spwd.c:73:1: note: in expansion of macro 'SETENT' SETENT(spent) ^~~~~~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:26:7: note: in expansion of macro 'DN' DN ("_nss_mysql_set" #type) \ ^~ mysql-spwd.c:73:1: note: in expansion of macro 'SETENT' SETENT(spent) ^~~~~~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:38:7: note: in expansion of macro 'DN' DN ("_nss_mysql_end" #type) \ ^~ mysql-spwd.c:68:1: note: in expansion of macro 'ENDENT' ENDENT(spent) ^~~~~~ mysql-spwd.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c mysql-grp.c -fPIC -DPIC -o .libs/mysql-grp.o In file included from lookup.h:18:0, from mysql-grp.c:21: mysql-grp.c: In function '_nss_mysql_endgrent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:38:7: note: in expansion of macro 'DN' DN ("_nss_mysql_end" #type) \ ^~ mysql-grp.c:103:1: note: in expansion of macro 'ENDENT' ENDENT(grent) ^~~~~~ mysql-grp.c: In function '_nss_mysql_setgrent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:26:7: note: in expansion of macro 'DN' DN ("_nss_mysql_set" #type) \ ^~ mysql-grp.c:108:1: note: in expansion of macro 'SETENT' SETENT(grent) ^~~~~~ mysql-grp.c: In function '_nss_mysql_initgroups_dyn': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] #define DN(n) static const char FUNCNAME[] = n; ^ mysql-grp.c:153:3: note: in expansion of macro 'DN' DN ("_nss_mysql_initgroups_dyn") ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ mysql-grp.c:153:3: note: in expansion of macro 'DN' DN ("_nss_mysql_initgroups_dyn") ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:26:7: note: in expansion of macro 'DN' DN ("_nss_mysql_set" #type) \ ^~ mysql-grp.c:108:1: note: in expansion of macro 'SETENT' SETENT(grent) ^~~~~~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] #define DN(n) static const char FUNCNAME[] = n; ^ lookup.h:38:7: note: in expansion of macro 'DN' DN ("_nss_mysql_end" #type) \ ^~ mysql-grp.c:103:1: note: in expansion of macro 'ENDENT' ENDENT(grent) ^~~~~~ mysql-grp.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -module -version-info 2:0:0 -export-symbols ./linux.sym -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libnss_mysql.la -rpath /usr/lib64 version.lo nss_config.lo nss_main.lo nss_support.lo mysql.lo lookup.lo mysql-pwd.lo mysql-spwd.lo mysql-grp.lo -lmysqlclient -lz -ldl -lm -Wl,-znodelete libtool: link: echo "{ global:" > .libs/libnss_mysql.ver libtool: link: cat ./linux.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libnss_mysql.ver libtool: link: echo "local: *; };" >> .libs/libnss_mysql.ver libtool: link: gcc -shared -fPIC -DPIC .libs/version.o .libs/nss_config.o .libs/nss_main.o .libs/nss_support.o .libs/mysql.o .libs/lookup.o .libs/mysql-pwd.o .libs/mysql-spwd.o .libs/mysql-grp.o -L/usr/lib64 -lmysqlclient -lz -ldl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-znodelete -Wl,-soname -Wl,libnss_mysql.so.2 -Wl,-version-script -Wl,.libs/libnss_mysql.ver -o .libs/libnss_mysql.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libnss_mysql.so.2" && ln -s "libnss_mysql.so.2.0.0" "libnss_mysql.so.2") libtool: link: (cd ".libs" && rm -f "libnss_mysql.so" && ln -s "libnss_mysql.so.2.0.0" "libnss_mysql.so") libtool: link: ( cd ".libs" && rm -f "libnss_mysql.la" && ln -s "../libnss_mysql.la" "libnss_mysql.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' make[2]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5' make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5' make[1]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5' + rm -rf sample/freebsd sample/solaris + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H4F01l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 + cd libnss-mysql-1.5 + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/etc /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/lib + make DESTDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5/src' make[2]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libnss_mysql.la '/builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libnss_mysql.so.2.0.0 /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/lib64/libnss_mysql.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/lib64 && { ln -s -f libnss_mysql.so.2.0.0 libnss_mysql.so.2 || { rm -f libnss_mysql.so.2 && ln -s libnss_mysql.so.2.0.0 libnss_mysql.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/lib64 && { ln -s -f libnss_mysql.so.2.0.0 libnss_mysql.so || { rm -f libnss_mysql.so && ln -s libnss_mysql.so.2.0.0 libnss_mysql.so; }; }) libtool: install: /usr/bin/install -c .libs/libnss_mysql.lai /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/lib64/libnss_mysql.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' make[1]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' make[1]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5' make[2]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5' make[2]: Nothing to be done for 'install-exec-am'. make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5' /bin/sh: line 1: ./aux/mkinstalldirs: No such file or directory /bin/sh: line 1: ./aux/mkinstalldirs: No such file or directory make[3]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5' make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5' make[1]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libnss_mysql.la is executable but has empty or no shebang, removing executable bit Processing files: libnss-mysql-1.5-29.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y8HX5a + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + DOCDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr README /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr ChangeLog /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr AUTHORS /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr THANKS /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr NEWS /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr COPYING /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr FAQ /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr DEBUGGING /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr UPGRADING /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr TODO /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + cp -pr sample /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64/usr/share/doc/libnss-mysql + exit 0 Provides: config(libnss-mysql) = 1.5-29.fc28 libnss-mysql = 1.5-29.fc28 libnss-mysql(riscv-64) = 1.5-29.fc28 libnss_mysql.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 Wrote: /builddir/build/SRPMS/libnss-mysql-1.5-29.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libnss-mysql-1.5-29.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gxBr6R + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-29.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff