Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1626955209.955694/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gl505vib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gl505vib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e71023643cb34030bd001ebaf210ceb0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1626955209.955694/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gl505vib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626912000 Wrote: /builddir/build/SRPMS/libnss-mysql-1.5-39.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1626955209.955694/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gl505vib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gl505vib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '92dc1d6620f84d2395d7f833a0126446', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1626955209.955694/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gl505vib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sNINIV + 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/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libnss-mysql-1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (libnss-mysql-multiarch.patch): + echo 'Patch #1 (libnss-mysql-multiarch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -p1 --fuzz=0 patching file src/mysql.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BzpLeT + 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libnss-mysql-1.5/configure + diff -u ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure --- ./libnss-mysql-1.5/configure.backup 2005-09-04 03:34:35.000000000 +0000 +++ ./libnss-mysql-1.5/configure 2021-07-22 12:01:30.547084370 +0000 @@ -8355,7 +8355,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -8515,7 +8515,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -12074,7 +12074,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -12234,7 +12234,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -17612,7 +17612,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -17772,7 +17772,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libnss-mysql-1.5/configure + diff -u ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure + mv ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libnss-mysql-1.5/configure + diff -u ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure + mv ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./libnss-mysql-1.5/configure + diff -u ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure + mv ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./libnss-mysql-1.5/configure + diff -u ./libnss-mysql-1.5/configure.backup ./libnss-mysql-1.5/configure --- ./libnss-mysql-1.5/configure.backup 2021-07-22 12:01:30.547084370 +0000 +++ ./libnss-mysql-1.5/configure 2021-07-22 12:01:30.580084781 +0000 @@ -5526,7 +5526,7 @@ symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-07-22 12:01:29.768074673 +0000 +++ ./configure 2021-07-22 12:01:30.595084968 +0000 @@ -1766,7 +1766,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-07-22 12:01:30.595084968 +0000 +++ ./configure 2021-07-22 12:01:30.608085130 +0000 @@ -6122,7 +6122,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -13583,7 +13583,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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.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=x86_64-redhat-linux-gnu --host=x86_64-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... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-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 x86_64-redhat-linux-gnu-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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6128: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 x86_64-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 -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether the linker accepts -znodelete... yes checking for MySQL headers... /usr/include/mysql checking for MySQL libraries... /usr/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 -j2 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o nss_config.lo nss_config.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c version.c -fPIC -DPIC -o .libs/version.o version.c:19:19: warning: 'version' defined but not used [-Wunused-const-variable=] 19 | static const char version[] = "$Version: 1.5 $"; | ^~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c nss_config.c -fPIC -DPIC -o .libs/nss_config.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o nss_main.lo nss_main.c 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_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[] = | ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c nss_main.c -fPIC -DPIC -o .libs/nss_main.o In file included from /usr/include/string.h:519, 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:95:10: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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") | ^~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o nss_support.lo nss_support.c 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c nss_support.c -fPIC -DPIC -o .libs/nss_support.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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") | ^~ 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[] = | ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mysql.c -fPIC -DPIC -o .libs/mysql.o 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup.lo lookup.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mysql-pwd.lo mysql-pwd.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] 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[] = | ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mysql-pwd.c -fPIC -DPIC -o .libs/mysql-pwd.o 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[] = | ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mysql-spwd.lo mysql-spwd.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mysql-grp.lo mysql-grp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mysql-spwd.c -fPIC -DPIC -o .libs/mysql-spwd.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -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.OaCg6T + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 + cd libnss-mysql-1.5 + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/etc /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/lib + make DESTDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 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-39.fc35.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libnss_mysql.la '/builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libnss_mysql.so.2.0.0 /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/lib64/libnss_mysql.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/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-39.fc35.x86_64/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-39.fc35.x86_64/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 2: ./aux/mkinstalldirs: No such file or directory /bin/sh: line 2: ./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/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.5-39.fc35 --unique-debug-suffix -1.5-39.fc35.x86_64 --unique-debug-src-base libnss-mysql-1.5-39.fc35.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libnss-mysql-1.5 extracting debug info from /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/lib64/libnss_mysql.so.2.0.0 original debug info size: 184kB, size after compression: 108kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libnss_mysql.la is executable but has no shebang, removing executable bit + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libnss-mysql-1.5-39.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n89L8N + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + DOCDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/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-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr README /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr ChangeLog /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr AUTHORS /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr THANKS /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr NEWS /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr COPYING /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr FAQ /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr DEBUGGING /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr UPGRADING /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr TODO /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + cp -pr sample /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64/usr/share/doc/libnss-mysql + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(libnss-mysql) = 1.5-39.fc35 libnss-mysql = 1.5-39.fc35 libnss-mysql(x86-64) = 1.5-39.fc35 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: glibc >= 2.33.9000-43.fc35 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(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-39.fc35.x86_64 Provides: libnss-mysql-debugsource = 1.5-39.fc35 libnss-mysql-debugsource(x86-64) = 1.5-39.fc35 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-39.fc35.x86_64 Provides: debuginfo(build-id) = 649d5d62127fe9cb5e082c83b76322cd74578c31 libnss-mysql-debuginfo = 1.5-39.fc35 libnss-mysql-debuginfo(x86-64) = 1.5-39.fc35 libnss_mysql.so.2.0.0-1.5-39.fc35.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnss-mysql-debugsource(x86-64) = 1.5-39.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 Wrote: /builddir/build/RPMS/libnss-mysql-debuginfo-1.5-39.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/libnss-mysql-1.5-39.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/libnss-mysql-debugsource-1.5-39.fc35.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nXDFob + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-39.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0