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/mingw-w64-tools.spec'], chrootPath='/var/lib/mock/f29-build-29635-16086/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/mingw-w64-tools.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: warning: Macro expanded in comment on line 3: (echo %snapshot_rev | cut -c1-6) Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mingw-w64-tools-5.0.4-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mingw-w64-tools.spec'], chrootPath='/var/lib/mock/f29-build-29635-16086/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/mingw-w64-tools.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: warning: Macro expanded in comment on line 3: (echo %snapshot_rev | cut -c1-6) Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WsniLq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mingw-w64-v5.0.4 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mingw-w64-v5.0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mingw-w64-v5.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mingw-w64-tools-2.0.999-s390.patch):' Patch #0 (mingw-w64-tools-2.0.999-s390.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .s390 --fuzz=0 patching file mingw-w64-tools/widl/include/basetsd.h Hunk #2 succeeded at 313 (offset 8 lines). patching file mingw-w64-tools/widl/include/winnt.h Hunk #1 succeeded at 2016 (offset 106 lines). Patch #1 (mingw-w64-tools-widl-includedir.patch): + echo 'Patch #1 (mingw-w64-tools-widl-includedir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .widl-includedir --fuzz=0 patching file mingw-w64-tools/widl/Makefile.am patching file mingw-w64-tools/widl/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uIjMuX + umask 022 + cd /builddir/build/BUILD + cd mingw-w64-v5.0.4 ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 + pushd mingw-w64-tools + pushd gendef ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/gendef ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 + 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 ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ find . -name 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes BUILDSTDERR: /builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/gendef/build-aux/missing: Unknown '--is-lightweight' option BUILDSTDERR: Try '/builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/gendef/build-aux/missing --help' for more information BUILDSTDERR: configure: WARNING: 'missing' script is too old or missing 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 whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 inttypes.h... (cached) yes checking for memory.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for int32_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for memset... yes checking for strdup... yes checking for strrchr... yes checking for strlwr... no checking whether to build gendef with libmangle... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/gendef' gcc -DHAVE_CONFIG_H -I. -Werror -Wall -W -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 src/gendef-gendef.o `test -f 'src/gendef.c' || echo './'`src/gendef.c gcc -DHAVE_CONFIG_H -I. -Werror -Wall -W -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 src/gendef-gendef_def.o `test -f 'src/gendef_def.c' || echo './'`src/gendef_def.c gcc -DHAVE_CONFIG_H -I. -Werror -Wall -W -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 src/gendef-compat_string.o `test -f 'src/compat_string.c' || echo './'`src/compat_string.c gcc -DHAVE_CONFIG_H -I. -Werror -Wall -W -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 src/gendef-fsredir.o `test -f 'src/fsredir.c' || echo './'`src/fsredir.c gcc -Werror -Wall -W -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 -o gendef src/gendef-gendef.o src/gendef-gendef_def.o src/gendef-compat_string.o src/gendef-fsredir.o make[1]: Leaving directory '/builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/gendef' + popd ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 + pushd genidl ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/genidl ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 + 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 ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ find . -name 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes BUILDSTDERR: /builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/genidl/build-aux/missing: Unknown '--is-lightweight' option BUILDSTDERR: Try '/builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/genidl/build-aux/missing --help' for more information BUILDSTDERR: configure: WARNING: 'missing' script is too old or missing 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 whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/genidl' gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-genidl_config.o `test -f 'src/genidl_config.c' || echo './'`src/genidl_config.c gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-genidl_typinfo.o `test -f 'src/genidl_typinfo.c' || echo './'`src/genidl_typinfo.c gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-genidl_typeinfo.o `test -f 'src/genidl_typeinfo.c' || echo './'`src/genidl_typeinfo.c gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-genidl_readpe.o `test -f 'src/genidl_readpe.c' || echo './'`src/genidl_readpe.c BUILDSTDERR: src/genidl_config.c: In function 'parseTableSub': BUILDSTDERR: src/genidl_config.c:424:10: warning: variable 'exps' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char **exps; BUILDSTDERR: ^~~~ BUILDSTDERR: src/genidl_config.c:423:10: warning: variable 'alias' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char **alias = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/genidl_readpe.c: In function 'readResourceDirectory': BUILDSTDERR: src/genidl_readpe.c:185:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (&hdr.hdr64, 1, sizeof (sImgNtHeaders64), fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/genidl_readpe.c:191:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (&hdr.hdr32, 1, sizeof (sImgNtHeaders32), fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/genidl_readpe.c:199:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (&sec, 1, sizeof (sImgSectionHdr),fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/genidl_readpe.c:205:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (dta[0], 1, res_size, fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/genidl_typinfo.c: In function 'getVT_data': BUILDSTDERR: src/genidl_typinfo.c:530:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: sprintf (s,"(LONGLONG) %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: src/genidl_typinfo.c:536:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: sprintf (s,"(ULONGLONG) %lluULL", *((uint64_t *) dta)); break; BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %lu BUILDSTDERR: src/genidl_typinfo.c:549:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: sprintf (s,"(CY) %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: src/genidl_typeinfo.c: In function 'printVTData': BUILDSTDERR: src/genidl_typeinfo.c:1055:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: fprintf (fp," = %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: src/genidl_typeinfo.c:1061:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: fprintf (fp," = %lluULL", *((uint64_t *) dta)); break; BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %lu BUILDSTDERR: src/genidl_typeinfo.c:1075:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: fprintf (fp," = %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: src/genidl_readpe.c: At top level: BUILDSTDERR: cc1: warning: unrecognized command line option '-Wno-pedantic-ms-format' gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-genidl_dumpidl.o `test -f 'src/genidl_dumpidl.c' || echo './'`src/genidl_dumpidl.c BUILDSTDERR: src/genidl_dumpidl.c: In function 'fill_typb': BUILDSTDERR: src/genidl_dumpidl.c:212:23: warning: variable 'pData' set but not used [-Wunused-but-set-variable] BUILDSTDERR: uint32_t oVars = 0, *pData, *pCustomData = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/genidl_dumpidl.c: In function 'TI2_typlib_enumerations': BUILDSTDERR: src/genidl_dumpidl.c:731:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (*guard != 0) BUILDSTDERR: ^~ BUILDSTDERR: src/genidl_dumpidl.c:733:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: free (guard); BUILDSTDERR: ^~~~ BUILDSTDERR: src/genidl_dumpidl.c: In function 'TI2_typlib_structures': BUILDSTDERR: src/genidl_dumpidl.c:914:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (*guard != 0) BUILDSTDERR: ^~ BUILDSTDERR: src/genidl_dumpidl.c:916:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: free (guard); BUILDSTDERR: ^~~~ BUILDSTDERR: src/genidl_config.c: At top level: BUILDSTDERR: cc1: warning: unrecognized command line option '-Wno-pedantic-ms-format' gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-fsredir.o `test -f 'src/fsredir.c' || echo './'`src/fsredir.c BUILDSTDERR: src/fsredir.c:60: warning: ISO C forbids an empty translation unit [-Wpedantic] BUILDSTDERR: #endif BUILDSTDERR: BUILDSTDERR: cc1: warning: unrecognized command line option '-Wno-pedantic-ms-format' gcc -DHAVE_CONFIG_H -I. -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/genidl-genidl.o `test -f 'src/genidl.c' || echo './'`src/genidl.c BUILDSTDERR: src/genidl_typinfo.c: At top level: BUILDSTDERR: cc1: warning: unrecognized command line option '-Wno-pedantic-ms-format' BUILDSTDERR: src/genidl_dumpidl.c: At top level: BUILDSTDERR: cc1: warning: unrecognized command line option '-Wno-pedantic-ms-format' BUILDSTDERR: src/genidl_typeinfo.c: At top level: BUILDSTDERR: cc1: warning: unrecognized command line option '-Wno-pedantic-ms-format' gcc -O3 -g -std=gnu99 -Wall -Wextra -Wshadow -Wformat -Wpacked -Wredundant-decls -Winline -pedantic -Wno-pedantic-ms-format -Wmissing-declarations -Wredundant-decls -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -Wstrict-aliasing=2 -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,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o genidl src/genidl-genidl_config.o src/genidl-genidl_typinfo.o src/genidl-genidl_typeinfo.o src/genidl-genidl_readpe.o src/genidl-genidl_dumpidl.o src/genidl-fsredir.o src/genidl-genidl.o make[1]: Leaving directory '/builddir/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/genidl' + popd ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/widl ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 + pushd widl + mkdir win32 + pushd win32 ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/widl/win32 ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools/widl ~/build/BUILD/mingw-w64-v5.0.4/mingw-w64-tools ~/build/BUILD/mingw-w64-v5.0.4 + 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 ../build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../build-aux/config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ../build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../build-aux/config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ find . -name 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 --target=i686-w64-mingw32 --program-prefix=i686-w64-mingw32- checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... i686-w64-mingw32 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 to enable maintainer-specific portions of Makefiles... no 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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 stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int8_t... yes checking for off_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for long long... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for atexit... yes checking for gettimeofday... yes checking for getopt_long_only... yes checking for memmove... yes checking for memset... yes checking for mkstemps... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands + make -j4 gcc -DHAVE_CONFIG_H -I. -I.. -I./include -I../include -DDEFAULT_INCLUDE_DIR=\"/usr/i686-w64-mingw32/sys-root/mingw/include\" -DDEFAULT_BINDIR=\"/usr/bin\" -Wall -Wformat -Wpacked -Wmissing-declarations -Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/widl-pathtools.o `test -f 'src/pathtools.c' || echo '../'`src/pathtools.c gcc -DHAVE_CONFIG_H -I. -I.. -I./include -I../include -DDEFAULT_INCLUDE_DIR=\"/usr/i686-w64-mingw32/sys-root/mingw/include\" -DDEFAULT_BINDIR=\"/usr/bin\" -Wall -Wformat -Wpacked -Wmissing-declarations -Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/widl-client.o `test -f 'src/client.c' || echo '../'`src/client.c gcc -DHAVE_CONFIG_H -I. -I.. -I./include -I../include -DDEFAULT_INCLUDE_DIR=\"/usr/i686-w64-mingw32/sys-root/mingw/include\" -DDEFAULT_BINDIR=\"/usr/bin\" -Wall -Wformat -Wpacked -Wmissing-declarations -Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/widl-expr.o `test -f 'src/expr.c' || echo '../'`src/expr.c gcc -DHAVE_CONFIG_H -I. -I.. -I./include -I../include -DDEFAULT_INCLUDE_DIR=\"/usr/i686-w64-mingw32/sys-root/mingw/include\" -DDEFAULT_BINDIR=\"/usr/bin\" -Wall -Wformat -Wpacked -Wmissing-declarations -Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-aliasing=2 -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 src/widl-hash.o `test -f 'src/hash.c' || echo '../'`src/hash.c BUILDSTDERR: In file included from ../include/winnt.h:24, BUILDSTDERR: from ../include/windef.h:252, BUILDSTDERR: from ../src/hash.c:24: BUILDSTDERR: ../include/basetsd.h:321:3: error: #error Unknown CPU architecture! BUILDSTDERR: # error Unknown CPU architecture! BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ../include/windef.h:252, BUILDSTDERR: from ../src/hash.c:24: BUILDSTDERR: ../include/winnt.h:2050:2: error: #error You need to define a CONTEXT for your CPU BUILDSTDERR: #error You need to define a CONTEXT for your CPU BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/winnt.h:2053:9: error: unknown type name 'CONTEXT' BUILDSTDERR: typedef CONTEXT *PCONTEXT; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ../include/winnt.h:2055:40: error: unknown type name 'CONTEXT'; did you mean 'PCONTEXT'? BUILDSTDERR: NTSYSAPI void WINAPI RtlCaptureContext(CONTEXT*); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: PCONTEXT BUILDSTDERR: ../src/pathtools.c: In function 'pathlist_relocation': BUILDSTDERR: ../src/pathtools.c:549:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: return (to_path_list); BUILDSTDERR: ^ BUILDSTDERR: ../src/expr.c: In function 'resolve_expression': BUILDSTDERR: ../src/expr.c:570:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (!result.is_variable) BUILDSTDERR: ^~ BUILDSTDERR: ../src/expr.c:574:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: result.is_variable = FALSE; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ../src/hash.c:25: BUILDSTDERR: ../include/winbase.h:1876:55: error: unknown type name 'CONTEXT'; did you mean 'PCONTEXT'? BUILDSTDERR: WINBASEAPI BOOL WINAPI GetThreadContext(HANDLE,CONTEXT *); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: PCONTEXT BUILDSTDERR: ../include/winbase.h:2221:61: error: unknown type name 'CONTEXT' BUILDSTDERR: WINBASEAPI BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: make: *** [Makefile:534: src/widl-hash.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../src/pathtools.c:18: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'get_relative_path' at ../src/pathtools.c:142:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' accessing 0 or more bytes at offsets 2 and 0 may overlap up to 18446744073709551612 bytes at offset [2, 9223372036854775807] [-Wrestrict] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.uIjMuX (%build) BUILDSTDERR: Macro expanded in comment on line 3: (echo %snapshot_rev | cut -c1-6) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.uIjMuX (%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/mingw-w64-tools.spec