Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libnss-pgsql.spec'], chrootPath='/var/lib/mock/f33-build-293129-55031/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libnss-pgsql.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Wrote: /builddir/build/SRPMS/libnss-pgsql-1.5.0-0.24.beta.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libnss-pgsql.spec'], chrootPath='/var/lib/mock/f33-build-293129-55031/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libnss-pgsql.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ZPDot + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnss-pgsql-1.5.0-beta + /usr/bin/gzip -dc /builddir/build/SOURCES/libnss-pgsql-1.5.0-beta.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libnss-pgsql-1.5.0-beta + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libnss-pgsql-fix_include.patch):' Patch #0 (libnss-pgsql-fix_include.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix include.rej --fuzz=0 patching file src/backend.c Hunk #1 succeeded at 11 (offset 2 lines). Patch #1 (libnss-pgsql-1.5.0-beta-exit-in-library.patch): + echo 'Patch #1 (libnss-pgsql-1.5.0-beta-exit-in-library.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix exit-in-library.rej --fuzz=0 patching file src/config.c patching file src/util.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gmRHJv + umask 022 + cd /builddir/build/BUILD + cd libnss-pgsql-1.5.0-beta + 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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2008-08-19 06:10:55.000000000 -0400 +++ ./configure 2020-08-14 01:43:17.850900069 -0400 @@ -8331,7 +8331,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 } @@ -8489,7 +8489,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -19483,7 +19483,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -19577,7 +19577,7 @@ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else -char (*f) () = _doprnt; +__attribute__ ((used)) char (*f) () = _doprnt; #endif #ifdef __cplusplus } @@ -19683,7 +19683,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + mv ./configure.backup ./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' ./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 2020-08-14 01:43:17.850900069 -0400 +++ ./configure 2020-08-14 01:43:20.840899450 -0400 @@ -5276,7 +5276,7 @@ sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # 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'" + '[' 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 ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/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"~' ./autoconf/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... gcc -E checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... 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... cat: 'ld.so.conf.d/*.conf': No such file or directory 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 configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for PQsetdbLogin in -lpq... yes checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking nss.h usability... yes checking nss.h presence... yes checking for nss.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for vprintf... yes checking for _doprnt... no checking for atexit... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -c interface.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -c util.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -c backend.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -c config.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wp,-MD,.deps/backend.pp -c backend.c -fPIC -DPIC -o .libs/backend.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wp,-MD,.deps/util.pp -c util.c -fPIC -DPIC -o .libs/util.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wp,-MD,.deps/config.pp -c config.c -fPIC -DPIC -o .libs/config.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wp,-MD,.deps/interface.pp -c interface.c -fPIC -DPIC -o .libs/interface.o backend.c: In function 'getent_prepare': backend.c:154:2: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 154 | asprintf(&stmt, "DECLARE nss_pgsql_internal_%s_curs SCROLL CURSOR FOR " | ^~~~~~~~ | vsprintf backend.c: In function 'getent_close': backend.c:189:27: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 189 | if (!_shadowtransaction < 0) { | ^ backend.c:189:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] backend.c:189:7: note: add parentheses around left hand side expression to silence this warning 189 | if (!_shadowtransaction < 0) { | ^~~~~~~~~~~~~~~~~~~ | ( ) backend.c: In function 'copy_attr_colnum': backend.c:216:9: warning: implicit declaration of function 'copy_attr_string' [-Wimplicit-function-declaration] 216 | return copy_attr_string(sptr, valptr, buffer, buflen, errnop); | ^~~~~~~~~~~~~~~~ backend.c:213:9: warning: unused variable 'slen' [-Wunused-variable] 213 | size_t slen; | ^~~~ backend.c: In function 'getgroupmemfromquery': backend.c:328:6: warning: unused variable 't' [-Wunused-variable] 328 | int t; | ^ In file included from /usr/include/string.h:519, from backend.c:16: In function 'strncpy', inlined from 'copy_attr_string' at backend.c:235:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend.c: In function 'copy_attr_string': backend.c:230:9: note: length computed here 230 | slen = strlen(sptr); | ^~~~~~~~~~~~ /bin/sh ../libtool --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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libnss_pgsql.la -rpath /usr/lib64 -module -version-info 2 interface.lo config.lo backend.lo util.lo -lpq gcc -shared .libs/interface.o .libs/config.o .libs/backend.o .libs/util.o -lpq -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,libnss_pgsql.so.2 -o .libs/libnss_pgsql.so.2.0.0 In function 'strncpy', inlined from 'copy_attr_string' at backend.c:235:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ backend.c: In function 'copy_attr_string': backend.c:230:9: note: length computed here 230 | slen = strlen(sptr); | ^ (cd .libs && rm -f libnss_pgsql.so.2 && ln -s libnss_pgsql.so.2.0.0 libnss_pgsql.so.2) (cd .libs && rm -f libnss_pgsql.so && ln -s libnss_pgsql.so.2.0.0 libnss_pgsql.so) creating libnss_pgsql.la (cd .libs && rm -f libnss_pgsql.la && ln -s ../libnss_pgsql.la libnss_pgsql.la) make[2]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/src' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/doc' xmlto xhtml-nochunks -m ./config.xsl ./nss-pgsql.xml make[2]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/doc' make[2]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' make[2]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' make[1]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BwywDv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 + cd libnss-pgsql-1.5.0-beta + rm -rf /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/src' make[2]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/src' /bin/sh ../autoconf/mkinstalldirs /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 mkdir /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr mkdir /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c libnss_pgsql.la /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64/libnss_pgsql.la /usr/bin/install -c .libs/libnss_pgsql.so.2.0.0 /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64/libnss_pgsql.so.2.0.0 (cd /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64 && { ln -s -f libnss_pgsql.so.2.0.0 libnss_pgsql.so.2 || { rm -f libnss_pgsql.so.2 && ln -s libnss_pgsql.so.2.0.0 libnss_pgsql.so.2; }; }) (cd /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64 && { ln -s -f libnss_pgsql.so.2.0.0 libnss_pgsql.so || { rm -f libnss_pgsql.so && ln -s libnss_pgsql.so.2.0.0 libnss_pgsql.so; }; }) /usr/bin/install -c .libs/libnss_pgsql.lai /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64/libnss_pgsql.la libtool: install: 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-pgsql-1.5.0-beta/src' make[1]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/doc' make[2]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../autoconf/mkinstalldirs /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/doc mkdir /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/doc /usr/bin/install -c -m 644 nss-pgsql.html /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/doc /usr/bin/install -c -m 644 ./caution.png /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/doc make[2]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/doc' make[1]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta/doc' make[1]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' make[2]: Entering directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' make[1]: Leaving directory '/builddir/build/BUILD/libnss-pgsql-1.5.0-beta' + rm -rf /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/doc + find /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5.0-0.24.beta.fc33 --unique-debug-suffix -1.5.0-0.24.beta.fc33.riscv64 --unique-debug-src-base libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libnss-pgsql-1.5.0-beta explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64/libnss_pgsql.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/lib64/libnss_pgsql.so.2.0.0 original debug info size: 192kB, size after compression: 192kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 68 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.p1wd1t + umask 022 + cd /builddir/build/BUILD + cd libnss-pgsql-1.5.0-beta + DOCDIR=/builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + cp -pr AUTHORS /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + cp -pr COPYING /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + cp -pr ChangeLog /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + cp -pr README /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + cp -pr doc/nss-pgsql.html /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + cp -pr doc/caution.png /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64/usr/share/doc/libnss-pgsql + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnss-pgsql = 1.5.0-0.24.beta.fc33 libnss-pgsql(riscv-64) = 1.5.0-0.24.beta.fc33 libnss_pgsql.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) rtld(GNU_HASH) Processing files: libnss-pgsql-debugsource-1.5.0-0.24.beta.fc33.riscv64 Provides: libnss-pgsql-debugsource = 1.5.0-0.24.beta.fc33 libnss-pgsql-debugsource(riscv-64) = 1.5.0-0.24.beta.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnss-pgsql-debuginfo-1.5.0-0.24.beta.fc33.riscv64 Provides: debuginfo(build-id) = d3ac47c30bf845683c5b5feef8fecfe1d377b737 libnss-pgsql-debuginfo = 1.5.0-0.24.beta.fc33 libnss-pgsql-debuginfo(riscv-64) = 1.5.0-0.24.beta.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnss-pgsql-debugsource(riscv-64) = 1.5.0-0.24.beta.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 Wrote: /builddir/build/RPMS/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libnss-pgsql-debugsource-1.5.0-0.24.beta.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libnss-pgsql-debuginfo-1.5.0-0.24.beta.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.edrbAt + umask 022 + cd /builddir/build/BUILD + cd libnss-pgsql-1.5.0-beta + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnss-pgsql-1.5.0-0.24.beta.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0