Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xpa.spec'], chrootPath='/var/lib/mock/f29-build-7908-1977/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xpa.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: tclsh: command not found Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/xpa-2.1.18-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xpa.spec'], chrootPath='/var/lib/mock/f29-build-7908-1977/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xpa.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xPCws9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xpa-2.1.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.1.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xpa-2.1.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xpa-makefile.patch):' Patch #0 (xpa-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in Hunk #4 succeeded at 198 (offset 2 lines). Hunk #5 succeeded at 214 (offset 2 lines). Hunk #6 succeeded at 234 (offset 2 lines). Hunk #7 succeeded at 287 (offset 2 lines). Hunk #8 succeeded at 296 (offset 2 lines). Hunk #9 succeeded at 304 (offset 2 lines). Hunk #10 succeeded at 318 (offset 2 lines). + rm -rf /builddir/build/BUILD/xpa-2.1.18/doc/xpa.ps + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mc9VGF + umask 022 + cd /builddir/build/BUILD + cd xpa-2.1.18 + 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,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --includedir=/usr/include/xpa --datadir=/usr/share/xpa --enable-shared --with-tcl=/usr/lib64 --with-x --enable-threaded-xpans checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... no checking for 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 how to run the C preprocessor... gcc -E checking for egrep... grep -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 long... yes checking size of long... 8 checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ANSI C header files... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for socklen_t... yes checking for an ANSI C-conforming const... yes checking for strchr... yes checking for memcpy... yes checking for snprintf... yes checking for atexit... yes checking for setenv... yes checking for connect... yes checking for gethostbyname... yes checking for threaded xpans... yes checking for pthread_create in -lpthread... yes checking for shared library build... yes checking for request to use posix_spawn... no checking for X... libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading Tcl support will utilize stubs library: -L/usr/lib64 -ltclstub8.6 checking for incorporation of thread support... no checking for gtk... no checking linux-gnu configuration... adding -fPIC to gcc configure: creating ./config.status config.status: creating Makefile config.status: creating xpa.pc config.status: creating conf.h + make gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H xpa.c BUILDSTDERR: xpa.c: In function 'XPANSAdd.part.8': BUILDSTDERR: xpa.c:2866:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4083 and 4088 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "%s %s %s:%s %s %s\n", BUILDSTDERR: ^~ BUILDSTDERR: cmd, xpa->method, xpa->xclass, xpa->name, xpa->type, username); BUILDSTDERR: ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from xpa.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 4110) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xpa.c: In function 'XPANew': BUILDSTDERR: xpa.c:4140:37: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "%s/%s", tmpdir, tfile); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from xpa.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xpa.c: In function 'XPAInfoNew': BUILDSTDERR: xpa.c:4359:35: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "%s/%s", tmpdir, tfile); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from xpa.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xpa.c: In function 'XPANSLookup': BUILDSTDERR: xpa.c:3777:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "lookup %s:%s %s %s\n", BUILDSTDERR: ^~ BUILDSTDERR: xclass, name, xtype, nsusers); BUILDSTDERR: ~~~~~~ BUILDSTDERR: xpa.c:3777:31: note: assuming directive output of 1 byte BUILDSTDERR: snprintf(tbuf, SZ_LINE, "lookup %s:%s %s %s\n", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from xpa.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 12298) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H xpaio.c gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H command.c BUILDSTDERR: command.c: In function 'XPAReceiveEnv': BUILDSTDERR: command.c:197:35: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "%s=%s", name, value); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from command.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H acl.c BUILDSTDERR: acl.c: In function 'XPAReceiveAcl': BUILDSTDERR: acl.c:174:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "%s:%s %s\n", xpa->xclass, xpa->name, lbuf); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from acl.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: acl.c:166:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] BUILDSTDERR: snprintf(lbuf, SZ_LINE, "invalid acl: %s\n", tbuf); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from acl.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H remote.c BUILDSTDERR: remote.c: In function 'XPARemote': BUILDSTDERR: remote.c:256:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: snprintf(lbuf, SZ_LINE, "%s:%s %s %s", BUILDSTDERR: ^~ BUILDSTDERR: cur->xclass, cur->name, mach, acl); BUILDSTDERR: ~~~~ BUILDSTDERR: remote.c:256:26: note: assuming directive output of 1 byte BUILDSTDERR: snprintf(lbuf, SZ_LINE, "%s:%s %s %s", BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from remote.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4100) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: remote.c:232:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: snprintf(lbuf, SZ_LINE, "%s:%s %s %s", BUILDSTDERR: ^~ BUILDSTDERR: cur->xclass, cur->name, mach, acl); BUILDSTDERR: ~~~~ BUILDSTDERR: remote.c:232:31: note: assuming directive output of 1 byte BUILDSTDERR: snprintf(lbuf, SZ_LINE, "%s:%s %s %s", BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from remote.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4100) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: remote.c: In function 'XPAReceiveRemote': BUILDSTDERR: remote.c:107:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "remote xpans %s failed to process %s\n", BUILDSTDERR: ^~ BUILDSTDERR: host, xpa->name); BUILDSTDERR: ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from remote.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 34 or more bytes (assuming 4129) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H clipboard.c BUILDSTDERR: clipboard.c: In function 'XPAReceiveClipboard': BUILDSTDERR: clipboard.c:252:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4061 [-Wformat-truncation=] BUILDSTDERR: "XPA clipboard invalid cmd or name: %s %s\n", cmd, name); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from clipboard.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 38 and 8228 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: clipboard.c: In function 'XPASendClipboard': BUILDSTDERR: clipboard.c:308:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "XPA clipboard invalid name: %s\n", name); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from clipboard.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 30 and 4125 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H port.c gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H tcp.c gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H client.c BUILDSTDERR: client.c: In function 'XPAClientGet': BUILDSTDERR: client.c:1064:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(client->fd, tbuf, strlen(tbuf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1066:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(client->fd, *(client->bufptr), *(client->lenptr)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1070:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(client->fd, tbuf, strlen(tbuf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1099:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(client->fd, *(client->bufptr), *(client->lenptr)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'XPAClientLoopFork': BUILDSTDERR: client.c:1535:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd[1], &active, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1555:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(fd[0], &active, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'XPAClientEnd': BUILDSTDERR: client.c:681:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4052 [-Wformat-truncation=] BUILDSTDERR: client.c:677:14: BUILDSTDERR: eptr = errbuf; BUILDSTDERR: ~~~~~~ BUILDSTDERR: client.c:681:50: BUILDSTDERR: "XPA$WARNING: protocol mismatch - missing id\n%s", eptr); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 45 and 4140 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'XPAProxyAccept.isra.5': BUILDSTDERR: client.c:182:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(amethod, SZ_LINE, "%s/%s", XPATmpdir(), tbuf); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:220:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, SZ_LINE, "xpaaccept %s (%s:%s %s)\n", BUILDSTDERR: ^~ BUILDSTDERR: amethod, xclass, name, method); BUILDSTDERR: ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 4112) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'XPAClientStart': BUILDSTDERR: client.c:1885:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4050 [-Wformat-truncation=] BUILDSTDERR: "XPA$WARNING: invalid data connection request: %s (%s:%s)\n", BUILDSTDERR: ^~ BUILDSTDERR: tbuf, client->xclass, client->name); BUILDSTDERR: ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 52 or more bytes (assuming 4147) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1872:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4057 [-Wformat-truncation=] BUILDSTDERR: "XPA$WARNING: missing DATA request type\n%s", lbuf); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:2057:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] BUILDSTDERR: snprintf(lbuf, SZ_LINE, "xpadata -f %s %s\n", tbuf, tbuf2); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 8204 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:2063:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4055 [-Wformat-truncation=] BUILDSTDERR: "XPA$ERROR: unable to issue data request: %s (%s:%s%s)\n", BUILDSTDERR: ^~ BUILDSTDERR: lbuf, client->xclass, client->name, XPATimestamp()); BUILDSTDERR: ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 47 or more bytes (assuming 4142) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1859:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4063 [-Wformat-truncation=] BUILDSTDERR: snprintf(errbuf, SZ_LINE, "XPA$WARNING: missing BUF request\n%s", lbuf); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 4129 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:1843:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4061 [-Wformat-truncation=] BUILDSTDERR: "XPA$WARNING: Protocol mismatch: id\n%s", lbuf); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/malloc.h:24, BUILDSTDERR: from ./xpap.h:35, BUILDSTDERR: from client.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 4131 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./xpap.h:62, BUILDSTDERR: from client.c:5: BUILDSTDERR: client.c: In function 'XPASetFd': BUILDSTDERR: ./xport.h:78:24: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: #define xfcntl(a,b,c) fcntl(a,b,c) BUILDSTDERR: ^~~~~ BUILDSTDERR: client.c:2676:7: note: 'flags' was declared here BUILDSTDERR: int flags; BUILDSTDERR: ^~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H word.c gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H xalloc.c BUILDSTDERR: xalloc.c: In function '_xalloc_error': BUILDSTDERR: xalloc.c:43:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(1, XALLOC_ERROR, strlen(XALLOC_ERROR)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H find.c BUILDSTDERR: find.c: In function 'ResolvePath': BUILDSTDERR: find.c:191:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: getcwd(path, MAXBUFSIZE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H xlaunch.c BUILDSTDERR: xlaunch.c: In function 'launch_fork_exec': BUILDSTDERR: xlaunch.c:223:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: dup(1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: xlaunch.c:282:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd[1], &status, 4); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H timedconn.c gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H -I/usr/include -DUSE_TCL_STUBS=1 tclloop.c gcc -c -I. -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 -fPIC -DHAVE_CONFIG_H -I/usr/include -DUSE_TCL_STUBS=1 tcl.c BUILDSTDERR: tcl.c: In function 'XPARec_Tcl': BUILDSTDERR: tcl.c:974:58: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'? BUILDSTDERR: if( !(chan = Tcl_MakeTcpClientChannel((ClientData)(uintptr_t)xpa_cmdfd(xpa))) ){ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: intptr_t BUILDSTDERR: tcl.c:974:58: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make: *** [Makefile:412: tcl.o] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Mc9VGF (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Mc9VGF (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xpa.spec