Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-92652-59333/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libnss-mysql-1.5-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libnss-mysql.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-92652-59333/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2fhfiG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnss-mysql-1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libnss-mysql-1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libnss-mysql-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libnss-mysql-multiarch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libnss-mysql-mariadb10.2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KxkRbK + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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' configure.in:29: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: AM_INIT_AUTOMAKE is expanded from... configure.in:29: the top level configure.in:30: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:30: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9845: AM_CONFIG_HEADER is expanded from... configure.in:30: the top level configure.in:36: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.in:36: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.in:36: the top level configure.in:72: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:72: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.in:72: the top level configure.in:97: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:97: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:97: the top level autoheader: 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' + '[' '-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' ./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 2024-08-05 14:04:05.855975012 +0800 +++ ./configure 2024-08-05 14:04:06.447977126 +0800 @@ -1715,7 +1715,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 2024-08-05 14:04:06.447977126 +0800 +++ ./configure 2024-08-05 14:04:06.459977169 +0800 @@ -6908,7 +6908,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'" @@ -14343,7 +14343,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 ./aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./aux/config.guess ++ basename ./aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./aux/config.sub ++ basename ./aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./aux/ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking target system type... aarch64-opencloudos-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 aarch64-opencloudos-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6914: -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 aarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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... yes 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 egrep... (cached) /usr/bin/grep -E checking for mysql.h... yes checking for syslog.h... yes checking for stdint.h... (cached) yes checking for nss.h... yes checking for nss_common.h... no checking for shadow.h... yes checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E 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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o version.lo version.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c version.c -fPIC -DPIC -o .libs/version.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' version.c:19:19: warning: 'version' defined but not used [-Wunused-const-variable=] 19 | static const char version[] = "$Version: 1.5 $"; | ^~~~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c lookup.c -fPIC -DPIC -o .libs/lookup.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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") | ^~ lookup.c: At top level: lookup.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o mysql-pwd.lo mysql-pwd.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c mysql-pwd.c -fPIC -DPIC -o .libs/mysql-pwd.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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) | ^~~~~~ mysql-pwd.c: At top level: mysql-pwd.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c mysql-spwd.c -fPIC -DPIC -o .libs/mysql-spwd.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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) | ^~~~~~ mysql-spwd.c: At top level: mysql-spwd.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o nss_main.lo nss_main.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c nss_main.c -fPIC -DPIC -o .libs/nss_main.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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") | ^~ nss_main.c: At top level: nss_main.c:23:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 23 | static const char rcsid[] = | ^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c nss_config.c -fPIC -DPIC -o .libs/nss_config.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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") | ^~ nss_config.c: At top level: nss_config.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 19 | static const char rcsid[] = | ^~~~~ nss_config.c: In function '_nss_mysql_load_config_file': nss_config.c:88:11: warning: 'strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] 88 | strncpy (key, cur, key_size); | ^ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c nss_support.c -fPIC -DPIC -o .libs/nss_support.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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_support.c: At top level: nss_support.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 19 | static const char rcsid[] = | ^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o mysql.lo mysql.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c mysql.c -fPIC -DPIC -o .libs/mysql.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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:224:7: warning: the comparison will always evaluate as 'true' for the address of 'port' will never be NULL [-Waddress] 224 | if (server->port) | ^~~~~~ nss_mysql.h:212:17: note: 'port' declared here 212 | char port[MAX_VAL_SIZE]; /* SQL port to connect to */ | ^~~~ 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); | ^ 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") | ^~ mysql.c: At top level: mysql.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 24 | static const char rcsid[] = | ^~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c mysql-grp.c -fPIC -DPIC -o .libs/mysql-grp.o make[2]: Leaving directory '/builddir/build/BUILD/libnss-mysql-1.5/src' 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") | ^~ mysql-grp.c: At top level: mysql-grp.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/libnss-mysql-1.5/src' /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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 | /usr/bin/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/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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' + rm -rf sample/freebsd sample/solaris + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OMGnPY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64 + cd libnss-mysql-1.5 + mkdir -p /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/etc /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/lib + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64 'INSTALL=/usr/bin/install -p' 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-1.oc9.aarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libnss_mysql.la '/builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libnss_mysql.so.2.0.0 /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/lib64/libnss_mysql.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/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-1.oc9.aarch64/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 -p .libs/libnss_mysql.lai /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/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'. /usr/bin/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' + mkdir -p /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/authselect/vendor/libnss-mysql + '[' -d /usr/share/authselect/default/nis ']' + cp -ar /usr/share/authselect/default/nis/README /usr/share/authselect/default/nis/REQUIREMENTS /usr/share/authselect/default/nis/dconf-db /usr/share/authselect/default/nis/dconf-locks /usr/share/authselect/default/nis/fingerprint-auth /usr/share/authselect/default/nis/nsswitch.conf /usr/share/authselect/default/nis/password-auth /usr/share/authselect/default/nis/postlogin /usr/share/authselect/default/nis/smartcard-auth /usr/share/authselect/default/nis/system-auth /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/authselect/vendor/libnss-mysql/ + cp -af /builddir/build/SOURCES/README /builddir/build/SOURCES/nsswitch.conf /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/authselect/vendor/libnss-mysql/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.5-1.oc9 --unique-debug-suffix -1.5-1.oc9.aarch64 --unique-debug-src-base libnss-mysql-1.5-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/libnss-mysql-1.5 extracting debug info from /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/lib64/libnss_mysql.so.2.0.0 142 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/lib64/libnss_mysql.la is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: libnss-mysql-1.5-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EK67Od + umask 022 + cd /builddir/build/BUILD + cd libnss-mysql-1.5 + DOCDIR=/builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/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-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr README /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr ChangeLog /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr AUTHORS /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr THANKS /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr NEWS /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr COPYING /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr FAQ /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr DEBUGGING /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr UPGRADING /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr TODO /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + cp -pr sample /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64/usr/share/doc/libnss-mysql + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(libnss-mysql) = 1.5-1.oc9 libnss-mysql = 1.5-1.oc9 libnss-mysql(aarch-64) = 1.5-1.oc9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(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-1.oc9.aarch64 Provides: libnss-mysql-debugsource = 1.5-1.oc9 libnss-mysql-debugsource(aarch-64) = 1.5-1.oc9 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-1.oc9.aarch64 Provides: debuginfo(build-id) = 1f9f55c68571dc0075eec5a810433d54ddea2b21 libnss-mysql-debuginfo = 1.5-1.oc9 libnss-mysql-debuginfo(aarch-64) = 1.5-1.oc9 libnss_mysql.so.2.0.0-1.5-1.oc9.aarch64.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(aarch-64) = 1.5-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnss-mysql-1.5-1.oc9.aarch64 Wrote: /builddir/build/RPMS/libnss-mysql-debugsource-1.5-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libnss-mysql-1.5-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libnss-mysql-debuginfo-1.5-1.oc9.aarch64.rpm Child return code was: 0