Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'], chrootPath='/var/lib/mock/f33-build-126807-40111/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/libnss-mysql-1.5-36.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'], chrootPath='/var/lib/mock/f33-build-126807-40111/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dRyU9a + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf 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 ']' + 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 Patch #2 (libnss-mysql-mariadb10.2.patch): + echo 'Patch #2 (libnss-mysql-mariadb10.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/mysql.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lv6qLa + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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.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 ./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 ./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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -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="-Wl,-z,now -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="-Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c nss_support.c -fPIC -DPIC -o .libs/nss_support.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c nss_main.c -fPIC -DPIC -o .libs/nss_main.o version.c:19:19: warning: 'version' defined but not used [-Wunused-const-variable=] 19 | 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mysql.lo mysql.c In file included from nss_support.c:22: nss_support.c: In function '_nss_mysql_load_passwd': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:115:3: note: in expansion of macro 'DN' 115 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:180:3: note: in expansion of macro 'DN' 180 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:229:3: note: in expansion of macro 'DN' 229 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:354:3: note: in expansion of macro 'DN' 354 | DN ("_nss_mysql_load_gidsbymem") | ^~ 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] 123 | 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] 123 | 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] 123 | D ("%s: Found: %s -> %s", FUNCNAME, key, val); | ^ nss_config.c:123:9: warning: statement with no effect [-Wunused-value] 123 | 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] 168 | 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] 168 | D ("%s: Attempting to load: %s", FUNCNAME, file); | ^ nss_config.c:168:5: warning: statement with no effect [-Wunused-value] 168 | 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] 173 | D ("%s: fopen() successful", FUNCNAME); | ^ nss_config.c:173:30: warning: statement with no effect [-Wunused-value] 173 | D ("%s: fopen() successful", FUNCNAME); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ nss_config.c:141:10: warning: unused variable 'size' [-Wunused-variable] 141 | size_t size; | ^~~~ In file included from nss_config.c:22: nss_config.c: In function '_nss_mysql_validate_config': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_config.c:192:3: note: in expansion of macro 'DN' 192 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_config.c:208:3: note: in expansion of macro 'DN' 208 | DN ("_nss_mysql_load_config") | ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:354:3: note: in expansion of macro 'DN' 354 | DN ("_nss_mysql_load_gidsbymem") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:229:3: note: in expansion of macro 'DN' 229 | DN ("_nss_mysql_load_memsbygid") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:180:3: note: in expansion of macro 'DN' 180 | DN ("_nss_mysql_load_shadow") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_support.c:115:3: note: in expansion of macro 'DN' 115 | DN ("_nss_mysql_load_passwd") | ^~ nss_support.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 19 | static const char rcsid[] = | ^~~~~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_config.c:192:3: note: in expansion of macro 'DN' 192 | DN ("_nss_mysql_validate_config") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_config.c:208:3: note: in expansion of macro 'DN' 208 | DN ("_nss_mysql_load_config") | ^~ nss_config.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 19 | static const char rcsid[] = | ^~~~~ In file included from nss_main.c:26: nss_main.c: In function '_nss_mysql_atfork_prepare': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:122:3: note: in expansion of macro 'DN' 122 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:140:3: note: in expansion of macro 'DN' 140 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:157:3: note: in expansion of macro 'DN' 157 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:173:3: note: in expansion of macro 'DN' 173 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:190:3: note: in expansion of macro 'DN' 190 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:209:3: note: in expansion of macro 'DN' 209 | DN ("_nss_mysql_atexit_handler") | ^~ nss_main.c: In function '_nss_mysql_init': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:226:3: note: in expansion of macro 'DN' 226 | DN ("_nss_mysql_init") | ^~ nss_main.c: In function '_nss_mysql_log': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:250:3: note: in expansion of macro 'DN' 250 | DN ("_nss_mysql_log") | ^~ nss_main.c: In function '_nss_mysql_reset_ent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:285:3: note: in expansion of macro 'DN' 285 | DN ("_nss_mysql_reset_ent") | ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:285:3: note: in expansion of macro 'DN' 285 | DN ("_nss_mysql_reset_ent") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:250:3: note: in expansion of macro 'DN' 250 | DN ("_nss_mysql_log") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:122:3: note: in expansion of macro 'DN' 122 | DN ("_nss_mysql_atfork_prepare") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:140:3: note: in expansion of macro 'DN' 140 | DN ("_nss_mysql_atfork_parent") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:157:3: note: in expansion of macro 'DN' 157 | DN ("_nss_mysql_atfork_child") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:173:3: note: in expansion of macro 'DN' 173 | DN ("_nss_mysql_atfork_once_init") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:190:3: note: in expansion of macro 'DN' 190 | DN ("_nss_mysql_safe_memset") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:209:3: note: in expansion of macro 'DN' 209 | DN ("_nss_mysql_atexit_handler") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ nss_main.c:226:3: note: in expansion of macro 'DN' 226 | DN ("_nss_mysql_init") | ^~ nss_main.c:23:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 23 | 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c mysql.c -fPIC -DPIC -o .libs/mysql.o In file included from /usr/include/string.h:495, from nss_config.c:24: In function 'strncpy', inlined from '_nss_mysql_next_key' at nss_config.c:88:11, inlined from '_nss_mysql_load_config_file' at nss_config.c:176:10: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mysql-pwd.lo mysql-pwd.c In file included from mysql.c:27: mysql.c: In function '_nss_mysql_save_socket_info': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:45:3: note: in expansion of macro 'DN' 45 | 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] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:100:3: note: in expansion of macro 'DN' 100 | 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] 129 | D ("%s: calling mysql_close()", FUNCNAME); | ^ mysql.c:129:37: warning: statement with no effect [-Wunused-value] 129 | D ("%s: calling mysql_close()", FUNCNAME); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from mysql.c:27: mysql.c: In function '_nss_mysql_set_options': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:139:3: note: in expansion of macro 'DN' 139 | 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] 171 | D ("%s: fork() detected", FUNCNAME); | ^ mysql.c:171:31: warning: statement with no effect [-Wunused-value] 171 | D ("%s: fork() detected", FUNCNAME); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mysql.c:180:39: warning: left-hand operand of comma expression has no effect [-Wunused-value] 180 | D ("%s: invalid socket detected", FUNCNAME); | ^ mysql.c:180:39: warning: statement with no effect [-Wunused-value] 180 | 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] 205 | D ("%s: Using existing connection", FUNCNAME); | ^ mysql.c:205:41: warning: statement with no effect [-Wunused-value] 205 | D ("%s: Using existing connection", FUNCNAME); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mysql.c:223:28: warning: left-hand operand of comma expression has no effect [-Wunused-value] 223 | D ("%s: Connecting to %s", FUNCNAME, server->host); | ^ mysql.c:223:38: warning: left-hand operand of comma expression has no effect [-Wunused-value] 223 | D ("%s: Connecting to %s", FUNCNAME, server->host); | ^ mysql.c:223:38: warning: statement with no effect [-Wunused-value] 223 | 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] 259 | D ("%s, calling mysql_free_result()", FUNCNAME); | ^ mysql.c:259:43: warning: statement with no effect [-Wunused-value] 259 | 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] 280 | D ("%s: Executing query: %s", FUNCNAME, query); | ^ mysql.c:280:41: warning: left-hand operand of comma expression has no effect [-Wunused-value] 280 | D ("%s: Executing query: %s", FUNCNAME, query); | ^ mysql.c:280:5: warning: statement with no effect [-Wunused-value] 280 | D ("%s: Executing query: %s", FUNCNAME, query); | ^ In file included from mysql.c:27: nss_mysql.h:121:33: warning: variable 'FUNCNAME' set but not used [-Wunused-but-set-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:273:3: note: in expansion of macro 'DN' 273 | DN ("_nss_mysql_run_query") | ^~ mysql.c: In function '_nss_mysql_fetch_row': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:317:3: note: in expansion of macro 'DN' 317 | DN ("_nss_mysql_fetch_row") | ^~ mysql.c: In function '_nss_mysql_escape_string': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:337:3: note: in expansion of macro 'DN' 337 | DN ("_nss_mysql_escape_string") | ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:337:3: note: in expansion of macro 'DN' 337 | DN ("_nss_mysql_escape_string") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:317:3: note: in expansion of macro 'DN' 317 | DN ("_nss_mysql_fetch_row") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:45:3: note: in expansion of macro 'DN' 45 | DN ("_nss_mysql_save_socket_info") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:139:3: note: in expansion of macro 'DN' 139 | DN ("_nss_mysql_set_options") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql.c:100:3: note: in expansion of macro 'DN' 100 | DN ("_nss_mysql_validate_socket") | ^~ mysql.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 24 | 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mysql-spwd.lo mysql-spwd.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c lookup.c -fPIC -DPIC -o .libs/lookup.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mysql-grp.lo mysql-grp.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c mysql-spwd.c -fPIC -DPIC -o .libs/mysql-spwd.o lookup.c: In function '_nss_mysql_build_query': lookup.c:61:35: warning: left-hand operand of comma expression has no effect [-Wunused-value] 61 | D ("%s: BYNAME, name = '%s'", FUNCNAME, name); | ^ lookup.c:61:45: warning: left-hand operand of comma expression has no effect [-Wunused-value] 61 | D ("%s: BYNAME, name = '%s'", FUNCNAME, name); | ^ lookup.c:61:9: warning: statement with no effect [-Wunused-value] 61 | D ("%s: BYNAME, name = '%s'", FUNCNAME, name); | ^ lookup.c:80:33: warning: left-hand operand of comma expression has no effect [-Wunused-value] 80 | D ("%s: BYNUM, num = '%u'", FUNCNAME, num); | ^ lookup.c:80:43: warning: left-hand operand of comma expression has no effect [-Wunused-value] 80 | D ("%s: BYNUM, num = '%u'", FUNCNAME, num); | ^ lookup.c:80:9: warning: statement with no effect [-Wunused-value] 80 | D ("%s: BYNUM, num = '%u'", FUNCNAME, num); | ^ lookup.c:91:45: warning: left-hand operand of comma expression has no effect [-Wunused-value] 91 | D ("%s: BYNONE creating initial query", FUNCNAME); | ^ lookup.c:91:45: warning: statement with no effect [-Wunused-value] 91 | 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] 138 | 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] 138 | 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] 138 | D ("%s: restricted = %d, cur_euid = %u", FUNCNAME, restricted, cur_euid); | ^ lookup.c:138:5: warning: statement with no effect [-Wunused-value] 138 | 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] 147 | 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] 147 | 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] 147 | D ("%s:, euid changed: %u -> %u", FUNCNAME, euid, cur_euid); | ^ lookup.c:147:9: warning: statement with no effect [-Wunused-value] 147 | D ("%s:, euid changed: %u -> %u", FUNCNAME, euid, cur_euid); | ^ In file included from lookup.c:21: nss_mysql.h:121:33: warning: variable 'FUNCNAME' set but not used [-Wunused-but-set-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.c:128:3: note: in expansion of macro 'DN' 128 | DN ("_nss_mysql_lookup") | ^~ At top level: lookup.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ In file included from lookup.h:18, from mysql-pwd.c:21: mysql-pwd.c: In function '_nss_mysql_endpwent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:38:7: note: in expansion of macro 'DN' 38 | DN ("_nss_mysql_end" #type) \ | ^~ mysql-pwd.c:103:1: note: in expansion of macro 'ENDENT' 103 | ENDENT(pwent) | ^~~~~~ mysql-pwd.c: In function '_nss_mysql_setpwent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:26:7: note: in expansion of macro 'DN' 26 | DN ("_nss_mysql_set" #type) \ | ^~ mysql-pwd.c:108:1: note: in expansion of macro 'SETENT' 108 | SETENT(pwent) | ^~~~~~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:26:7: note: in expansion of macro 'DN' 26 | DN ("_nss_mysql_set" #type) \ | ^~ mysql-pwd.c:108:1: note: in expansion of macro 'SETENT' 108 | SETENT(pwent) | ^~~~~~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:38:7: note: in expansion of macro 'DN' 38 | DN ("_nss_mysql_end" #type) \ | ^~ mysql-pwd.c:103:1: note: in expansion of macro 'ENDENT' 103 | ENDENT(pwent) | ^~~~~~ mysql-pwd.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c mysql-grp.c -fPIC -DPIC -o .libs/mysql-grp.o In file included from lookup.h:18, from mysql-spwd.c:21: mysql-spwd.c: In function '_nss_mysql_endspent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:38:7: note: in expansion of macro 'DN' 38 | DN ("_nss_mysql_end" #type) \ | ^~ mysql-spwd.c:68:1: note: in expansion of macro 'ENDENT' 68 | ENDENT(spent) | ^~~~~~ mysql-spwd.c: In function '_nss_mysql_setspent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:26:7: note: in expansion of macro 'DN' 26 | DN ("_nss_mysql_set" #type) \ | ^~ mysql-spwd.c:73:1: note: in expansion of macro 'SETENT' 73 | SETENT(spent) | ^~~~~~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:26:7: note: in expansion of macro 'DN' 26 | DN ("_nss_mysql_set" #type) \ | ^~ mysql-spwd.c:73:1: note: in expansion of macro 'SETENT' 73 | SETENT(spent) | ^~~~~~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:38:7: note: in expansion of macro 'DN' 38 | DN ("_nss_mysql_end" #type) \ | ^~ mysql-spwd.c:68:1: note: in expansion of macro 'ENDENT' 68 | ENDENT(spent) | ^~~~~~ mysql-spwd.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ In file included from lookup.h:18, from mysql-grp.c:21: mysql-grp.c: In function '_nss_mysql_endgrent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:38:7: note: in expansion of macro 'DN' 38 | DN ("_nss_mysql_end" #type) \ | ^~ mysql-grp.c:103:1: note: in expansion of macro 'ENDENT' 103 | ENDENT(grent) | ^~~~~~ mysql-grp.c: In function '_nss_mysql_setgrent': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:26:7: note: in expansion of macro 'DN' 26 | DN ("_nss_mysql_set" #type) \ | ^~ mysql-grp.c:108:1: note: in expansion of macro 'SETENT' 108 | SETENT(grent) | ^~~~~~ mysql-grp.c: In function '_nss_mysql_initgroups_dyn': nss_mysql.h:121:33: warning: unused variable 'FUNCNAME' [-Wunused-variable] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql-grp.c:153:3: note: in expansion of macro 'DN' 153 | DN ("_nss_mysql_initgroups_dyn") | ^~ At top level: nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ mysql-grp.c:153:3: note: in expansion of macro 'DN' 153 | DN ("_nss_mysql_initgroups_dyn") | ^~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:26:7: note: in expansion of macro 'DN' 26 | DN ("_nss_mysql_set" #type) \ | ^~ mysql-grp.c:108:1: note: in expansion of macro 'SETENT' 108 | SETENT(grent) | ^~~~~~ nss_mysql.h:121:33: warning: 'FUNCNAME' defined but not used [-Wunused-const-variable=] 121 | #define DN(n) static const char FUNCNAME[] = n; | ^~~~~~~~ lookup.h:38:7: note: in expansion of macro 'DN' 38 | DN ("_nss_mysql_end" #type) \ | ^~ mysql-grp.c:103:1: note: in expansion of macro 'ENDENT' 103 | ENDENT(grent) | ^~~~~~ mysql-grp.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -version-info 2:0:0 -export-symbols ./linux.sym -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.30grBa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 + cd libnss-mysql-1.5 + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/etc /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/lib + make DESTDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.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-36.fc33.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libnss_mysql.la '/builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libnss_mysql.so.2.0.0 /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/lib64/libnss_mysql.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.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-36.fc33.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-36.fc33.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/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5-36.fc33 --unique-debug-suffix -1.5-36.fc33.riscv64 --unique-debug-src-base libnss-mysql-1.5-36.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libnss-mysql-1.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/lib64/libnss_mysql.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/lib64/libnss_mysql.so.2.0.0 original debug info size: 204kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 142 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libnss_mysql.la is executable but has no shebang, removing executable bit Processing files: libnss-mysql-1.5-36.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.43FAPb + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + DOCDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.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-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr README /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr ChangeLog /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr AUTHORS /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr THANKS /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr NEWS /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr COPYING /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr FAQ /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr DEBUGGING /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr UPGRADING /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr TODO /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + cp -pr sample /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64/usr/share/doc/libnss-mysql + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(libnss-mysql) = 1.5-36.fc33 libnss-mysql = 1.5-36.fc33 libnss-mysql(riscv-64) = 1.5-36.fc33 libnss_mysql.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) Processing files: libnss-mysql-debugsource-1.5-36.fc33.riscv64 Provides: libnss-mysql-debugsource = 1.5-36.fc33 libnss-mysql-debugsource(riscv-64) = 1.5-36.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnss-mysql-debuginfo-1.5-36.fc33.riscv64 Provides: debuginfo(build-id) = fd4f98480a1f317cd057cb36f28beabb45344b6d libnss-mysql-debuginfo = 1.5-36.fc33 libnss-mysql-debuginfo(riscv-64) = 1.5-36.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnss-mysql-debugsource(riscv-64) = 1.5-36.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 Wrote: /builddir/build/RPMS/libnss-mysql-debugsource-1.5-36.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libnss-mysql-1.5-36.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libnss-mysql-debuginfo-1.5-36.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G3n2Vb + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-36.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0