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/globus-gatekeeper.spec'], chrootPath='/var/lib/mock/f33-build-128297-40396/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/globus-gatekeeper.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=1580169600 Wrote: /builddir/build/SRPMS/globus-gatekeeper-11.3-2.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/globus-gatekeeper.spec'], chrootPath='/var/lib/mock/f33-build-128297-40396/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/globus-gatekeeper.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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8HoHRR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf globus_gatekeeper-11.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/globus_gatekeeper-11.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd globus_gatekeeper-11.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kzeBKP + umask 022 + cd /builddir/build/BUILD + cd globus_gatekeeper-11.3 + export 'LDFLAGS=-Wl,--as-needed -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,--as-needed -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-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"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --includedir=/usr/include/globus --libexecdir=/usr/share/globus --docdir=/usr/share/doc/globus-gatekeeper --with-initscript-config-path=/etc/sysconfig/globus-gatekeeper --with-lockfile-path=/var/lock/subsys/globus-gatekeeper 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 how to create a pax tar archive... gnutar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes 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 for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENSSL... yes checking for PACKAGE_DEP... yes checking proj.h usability... no checking proj.h presence... no checking for proj.h... no checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netinet/in/system.h usability... no checking netinet/in/system.h presence... no checking for netinet/in/system.h... no checking netinet/in/systm.h usability... no checking netinet/in/systm.h presence... no checking for netinet/in/systm.h... no checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for waitpid... yes checking for wait3... yes checking for ANSI C header files... (cached) yes checking for a2x... no checking for a2x.py... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating globus-gatekeeper-uninstalled.pc config.status: creating globus-gatekeeper.pc config.status: creating init/Makefile config.status: creating init/globus-gatekeeper-lsb config.status: creating init/globus-gatekeeper-nolsb config.status: creating config/Makefile config.status: creating config/globus-gatekeeper config.status: creating config/globus-gatekeeper config.status: creating Makefile config.status: creating globus_gatekeeper_config.h config.status: executing depfiles commands config.status: executing libtool commands + sed 's!CC \(.*-shared\) !CC \\\${wl}--as-needed \1 !' -i libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3' Making all in config make[2]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3/config' Making all in init make[2]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3/init' cp globus-gatekeeper-nolsb globus-gatekeeper make[2]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3/init' make[2]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3' gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -DGLOBUS_LOCATION=\"/usr\" -DGLOBUS_LOG_DIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o globus_gatekeeper-globus_gatekeeper.o `test -f 'globus_gatekeeper.c' || echo './'`globus_gatekeeper.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -DGLOBUS_LOCATION=\"/usr\" -DGLOBUS_LOG_DIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o globus_gatekeeper-globus_gatekeeper_utils.o `test -f 'globus_gatekeeper_utils.c' || echo './'`globus_gatekeeper_utils.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o globus_k5-globus_k5.o `test -f 'globus_k5.c' || echo './'`globus_k5.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o globus_k5-globus_gatekeeper_utils.o `test -f 'globus_gatekeeper_utils.c' || echo './'`globus_gatekeeper_utils.c globus_gatekeeper_utils.c: In function 'globus_gatekeeper_util_exec': globus_gatekeeper_utils.c:310:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 310 | int err; | ^~~ globus_gatekeeper_utils.c: In function 'globus_gatekeeper_util_trans_to_user': globus_gatekeeper_utils.c:405:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 405 | else | ^~~~ globus_gatekeeper_utils.c:407:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 407 | return 1; /* can't run as another user */ | ^~~~~~ globus_gatekeeper_utils.c:415:2: warning: implicit declaration of function 'initgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] 415 | initgroups(pw->pw_name, pw->pw_gid); | ^~~~~~~~~~ | getgroups globus_gatekeeper_utils.c:414:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | setgid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~ globus_gatekeeper_utils.c: In function 'globus_gatekeeper_util_exec': globus_gatekeeper_utils.c:310:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 310 | int err; | ^~~ globus_gatekeeper_utils.c: In function 'globus_gatekeeper_util_trans_to_user': globus_gatekeeper_utils.c:405:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 405 | else | ^~~~ globus_gatekeeper_utils.c:407:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 407 | return 1; /* can't run as another user */ | ^~~~~~ globus_gatekeeper_utils.c:415:2: warning: implicit declaration of function 'initgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] 415 | initgroups(pw->pw_name, pw->pw_gid); | ^~~~~~~~~~ | getgroups globus_gatekeeper_utils.c:414:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | setgid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~ globus_k5.c: In function 'globus_gram_k5_kinit': globus_k5.c:178:11: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | (void) chown(ccname+5,pw->pw_uid, pw->pw_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o globus-k5 globus_k5-globus_k5.o globus_k5-globus_gatekeeper_utils.o -lglobus_common -lglobus_gss_assist -lglobus_gssapi_gsi -lssl -lcrypto globus_gatekeeper.c: In function 'net_accept': globus_gatekeeper.c:2222:22: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 2222 | n = select(skt + 1, &fdset, (fd_set *) 0, &fdset, &timeout); | ^~~~~~ ~~~~~~ globus_gatekeeper.c: In function 'doit': globus_gatekeeper.c:1681:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1681 | chown(proxyfile,service_uid,service_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globus_gatekeeper.c:1696:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1696 | chown(ccname+5,service_uid,service_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globus_gatekeeper.c:1925:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1925 | chdir(pw->pw_dir); | ^~~~~~~~~~~~~~~~~ globus_gatekeeper.c:2080:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2080 | write(close_on_exec_write_fd, tmpbuf, strlen(tmpbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z -Wl,defs -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o globus-k5 globus_k5-globus_k5.o globus_k5-globus_gatekeeper_utils.o -lglobus_common -lglobus_gss_assist -lglobus_gssapi_gsi -lssl -lcrypto In file included from /usr/include/string.h:495, from /usr/include/globus/globus_common_include.h:88, from /usr/include/globus/globus_common.h:67, from globus_gatekeeper.c:59: In function 'strncpy', inlined from 'doit' at globus_gatekeeper.c:1496:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globus_gatekeeper.c: In function 'doit': globus_gatekeeper.c:1847:23: warning: '%s' directive writing up to 1023 bytes into a region of size 999 [-Wformat-overflow=] 1847 | notice2(0,"GRID_SECURITY_CONTEXT_FD=%s",buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ globus_gatekeeper.c:174:41: note: in definition of macro 'notice2' 174 | #define notice2(i,a,b) {sprintf(tmpbuf, a,b); notice(i,tmpbuf);} | ^ globus_gatekeeper.c:1847:49: note: format string is defined here 1847 | notice2(0,"GRID_SECURITY_CONTEXT_FD=%s",buf); | ^~ In file included from /usr/include/stdio.h:871, from globus_gatekeeper.c:33: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globus_gatekeeper.c:1910:23: warning: '%s' directive writing up to 1023 bytes into a region of size 997 [-Wformat-overflow=] 1910 | notice2(0,"GRID_SECURITY_HTTP_BODY_FD=%s",buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ globus_gatekeeper.c:174:41: note: in definition of macro 'notice2' 174 | #define notice2(i,a,b) {sprintf(tmpbuf, a,b); notice(i,tmpbuf);} | ^ globus_gatekeeper.c:1910:51: note: format string is defined here 1910 | notice2(0,"GRID_SECURITY_HTTP_BODY_FD=%s",buf); | ^~ In file included from /usr/include/stdio.h:871, from globus_gatekeeper.c:33: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 1051 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ globus_gatekeeper.c:2105:33: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] 2105 | failure2(FAILED_SERVER, "child failed: %s", buf); | ^~~~~~~~~~~~~~~~~~ ~~~ globus_gatekeeper.c:178:42: note: in definition of macro 'failure2' 178 | #define failure2(t,a,b) {sprintf(tmpbuf, a,b); failure(t,tmpbuf);} | ^ globus_gatekeeper.c:2105:48: note: format string is defined here 2105 | failure2(FAILED_SERVER, "child failed: %s", buf); | ^~ In file included from /usr/include/stdio.h:871, from globus_gatekeeper.c:33: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 1038 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o globus-gatekeeper globus_gatekeeper-globus_gatekeeper.o globus_gatekeeper-globus_gatekeeper_utils.o -lglobus_common -lglobus_gss_assist -lglobus_gssapi_gsi -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z -Wl,defs -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o globus-gatekeeper globus_gatekeeper-globus_gatekeeper.o globus_gatekeeper-globus_gatekeeper_utils.o -lglobus_common -lglobus_gss_assist -lglobus_gssapi_gsi -lssl -lcrypto make[2]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3' make[1]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mGo6NT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 + cd globus_gatekeeper-11.3 + make install DESTDIR=/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 Making install in config make[1]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3/config' make[2]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3/config' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/sysconfig' /usr/bin/install -c -m 644 globus-gatekeeper '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/sysconfig' make[2]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3/config' make[1]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3/config' Making install in init make[1]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3/init' make[2]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3/init' make[2]: Nothing to be done for 'install-exec-am'. mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/var/lock mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/var/run /usr/bin/mkdir -p '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/init.d' /usr/bin/install -c globus-gatekeeper '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/init.d' make[2]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3/init' make[1]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3/init' make[1]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3' make[2]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin' /bin/sh ./libtool --mode=install /usr/bin/install -c globus-gatekeeper globus-k5 '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin' libtool: install: /usr/bin/install -c globus-gatekeeper /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin/globus-gatekeeper libtool: install: /usr/bin/install -c globus-k5 /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin/globus-k5 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/doc/globus-gatekeeper' /usr/bin/install -c -m 644 GLOBUS_LICENSE '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/doc/globus-gatekeeper' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 globus-gatekeeper.8 globus-k5.8 '/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/man/man8' make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/globus_gatekeeper-11.3' sed -e 's|@LOGDIR@|/var/log|' < gatekeeper.logrotatein > gatekeeper.logrotate mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/var/log mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/logrotate.d cp gatekeeper.logrotate /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/logrotate.d/globus-gatekeeper make[3]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3' make[2]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3' make[1]: Leaving directory '/builddir/build/BUILD/globus_gatekeeper-11.3' + rm -rf /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/init.d + mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/lib/systemd/system + install -m 644 -p /builddir/build/SOURCES/globus-gatekeeper.service /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/lib/systemd/system + install -m 644 -p /builddir/build/SOURCES/globus-gatekeeper.README /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/doc/globus-gatekeeper/README.Fedora + install -m 644 -p /builddir/build/SOURCES/README /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/doc/globus-gatekeeper/README + rm /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/doc/globus-gatekeeper/GLOBUS_LICENSE + mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/grid-services + mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/etc/grid-services/available + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 11.3-2.fc33 --unique-debug-suffix -11.3-2.fc33.riscv64 --unique-debug-src-base globus-gatekeeper-11.3-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/globus_gatekeeper-11.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin/globus-gatekeeper explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin/globus-k5 extracting debug info from /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin/globus-k5 extracting debug info from /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/sbin/globus-gatekeeper original debug info size: 200kB, size after compression: 200kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 201 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: globus-gatekeeper-11.3-2.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WX0lAQ + umask 022 + cd /builddir/build/BUILD + cd globus_gatekeeper-11.3 + LICENSEDIR=/builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/licenses/globus-gatekeeper + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/licenses/globus-gatekeeper + cp -pr GLOBUS_LICENSE /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64/usr/share/licenses/globus-gatekeeper + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(globus-gatekeeper) = 11.3-2.fc33 globus-gatekeeper = 11.3-2.fc33 globus-gatekeeper(riscv-64) = 11.3-2.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libglobus_common.so.0()(64bit) libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) libglobus_gss_assist.so.3()(64bit) libglobus_gssapi_gsi.so.4()(64bit) libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) rtld(GNU_HASH) Processing files: globus-gatekeeper-debugsource-11.3-2.fc33.riscv64 Provides: globus-gatekeeper-debugsource = 11.3-2.fc33 globus-gatekeeper-debugsource(riscv-64) = 11.3-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: globus-gatekeeper-debuginfo-11.3-2.fc33.riscv64 Provides: debuginfo(build-id) = 4eaaae8b72234aac74576cc50d3300c8ebf0f7c5 debuginfo(build-id) = 9f0ee4abbaa28906f67346871354762b8a642e70 globus-gatekeeper-debuginfo = 11.3-2.fc33 globus-gatekeeper-debuginfo(riscv-64) = 11.3-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: globus-gatekeeper-debugsource(riscv-64) = 11.3-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 Wrote: /builddir/build/RPMS/globus-gatekeeper-11.3-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/globus-gatekeeper-debugsource-11.3-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/globus-gatekeeper-debuginfo-11.3-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.J6pEzQ + umask 022 + cd /builddir/build/BUILD + cd globus_gatekeeper-11.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/globus-gatekeeper-11.3-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0