Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/task-spooler.spec'], chrootPath='/var/lib/mock/f38-build-700710-88277/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/task-spooler.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/task-spooler-1.0.2-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/task-spooler.spec'], chrootPath='/var/lib/mock/f38-build-700710-88277/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/task-spooler.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iAxITK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ts-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ts-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ts-1.0.2 + /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.1YsrM9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ts-1.0.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c server_start.c server_start.c: In function 'wait_server_up': server_start.c:107:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | read(fd, &a, 1); | ^~~~~~~~~~~~~~~ server_start.c: In function 'notify_parent': server_start.c:147:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | write(fd, &a, 1); | ^~~~~~~~~~~~~~~~ server_start.c: In function 'fork_server': server_start.c:118:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | pipe(p); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c msgdump.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c main.c main.c: In function 'fill_first_3_handles': main.c:303:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | pipe(tmp_pipe1); | ^~~~~~~~~~~~~~~ main.c:305:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | pipe(tmp_pipe2); | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c server.c server.c: In function 'server_main': server.c:181:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | chdir(dirname(dirpath)); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c client.c client.c: In function 'c_show_info': client.c:259:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | write(1, buffer, res); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from client.c:8: In function 'strcpy', inlined from 'build_command_string' at client.c:47:5: /usr/include/bits/string_fortified.h:79:10: warning: '__strcpy_chk' offset 0 is out of the bounds [0, 0] [-Warray-bounds=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c msg.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c execute.c execute.c: In function 'create_closed_read_on': execute.c:115:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | pipe(p); | ^~~~~~~ execute.c: In function 'run_job': execute.c:267:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 267 | pipe(p); | ^~~~~~~ execute.c: In function 'run_child': execute.c:236:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | write(fd_send_filename, (char *)&namesize, sizeof(namesize)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c:237:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 237 | write(fd_send_filename, outfname_full, namesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c:241:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 241 | write(fd_send_filename, &starttv, sizeof(starttv)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'run_job': execute.c:223:17: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] 223 | strncpy(errfname, outfname_full, sizeof errfname); | ^ execute.c:193:17: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] 193 | strncpy(errfname, outfname_full, sizeof errfname); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c mail.c mail.c: In function 'run_sendmail': mail.c:26:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | pipe(p); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c signals.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c error.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c print.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c list.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c info.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c env.c env.c: In function 'fork_command': env.c:26:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | pipe(p); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c tail.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__ -c jobs.c jobs.c: In function 's_job_info': jobs.c:828:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 828 | write(s, p->command, strlen(p->command)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jobs.c: In function 'joblist_dump': jobs.c:1505:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1505 | write(fd,buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jobs.c:1510:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1510 | write(fd, "# ", 2); | ^~~~~~~~~~~~~~~~~~ jobs.c:1511:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1511 | write(fd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jobs.c:1518:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1518 | write(fd, "# ", 2); | ^~~~~~~~~~~~~~~~~~ jobs.c:1519:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1519 | write(fd,buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jobs.c:1524:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1524 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ jobs.c:1531:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1531 | write(fd,buffer,strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from jobs.c:9: In function 'fprintf', inlined from 'dump_job_struct' at jobs.c:1447:5: /usr/include/bits/stdio2.h:79:10: warning: 'jobstate' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ jobs.c: In function 'dump_job_struct': jobs.c:199:18: note: 'jobstate' was declared here 199 | const char * jobstate; | ^~~~~~~~ jobs.c: In function 'jstate2string': jobs.c:218:12: warning: 'jobstate' may be used uninitialized [-Wmaybe-uninitialized] 218 | return jobstate; | ^~~~~~~~ jobs.c:199:18: note: 'jobstate' was declared here 199 | const char * jobstate; | ^~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ts main.o server.o server_start.o client.o msgdump.o jobs.o execute.o msg.o mail.o error.o signals.o list.o print.o info.o env.o tail.o In function 'strcpy', inlined from 'build_command_string' at client.c:47:5: /usr/include/bits/string_fortified.h:79:10: warning: '__builtin___strcpy_chk' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ftemu1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ts-1.0.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr /usr/bin/install -p -d /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/bin /usr/bin/install -p ts /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/bin /usr/bin/install -p -d /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ts.1 /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/man/man1 + mv /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/bin/ts /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/bin/tsp + mv /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/man/man1/ts.1 /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/man/man1/tsp.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.2-3.fc38 --unique-debug-suffix -1.0.2-3.fc38.riscv64 --unique-debug-src-base task-spooler-1.0.2-3.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ts-1.0.2 extracting debug info from /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/bin/tsp original debug info size: 704kB, size after compression: 684kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 262 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: task-spooler-1.0.2-3.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AXxWrc + umask 022 + cd /builddir/build/BUILD + cd ts-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/doc/task-spooler + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/doc/task-spooler + cp -pr Changelog /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/doc/task-spooler + cp -pr README /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/doc/task-spooler + cp -pr TRICKS /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/doc/task-spooler + cp -pr PROTOCOL /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/doc/task-spooler + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Gp5GRJ + umask 022 + cd /builddir/build/BUILD + cd ts-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/licenses/task-spooler + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/licenses/task-spooler + cp -pr COPYING /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64/usr/share/licenses/task-spooler + RPM_EC=0 ++ jobs -p + exit 0 Provides: task-spooler = 1.0.2-3.fc38 task-spooler(riscv-64) = 1.0.2-3.fc38 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: task-spooler-debugsource-1.0.2-3.fc38.riscv64 Provides: task-spooler-debugsource = 1.0.2-3.fc38 task-spooler-debugsource(riscv-64) = 1.0.2-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: task-spooler-debuginfo-1.0.2-3.fc38.riscv64 Provides: debuginfo(build-id) = 3041a1409a0a6e8dffe1cb2f5c5d3911b53c4a4b task-spooler-debuginfo = 1.0.2-3.fc38 task-spooler-debuginfo(riscv-64) = 1.0.2-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: task-spooler-debugsource(riscv-64) = 1.0.2-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 Wrote: /builddir/build/RPMS/task-spooler-1.0.2-3.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/task-spooler-debuginfo-1.0.2-3.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/task-spooler-debugsource-1.0.2-3.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pQjXio + umask 022 + cd /builddir/build/BUILD + cd ts-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/task-spooler-1.0.2-3.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.xlT19f + umask 022 + cd /builddir/build/BUILD + rm -rf ts-1.0.2 ts-1.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0