Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mingw-w64-tools.spec'], chrootPath='/var/lib/mock/f31-build-115657-34504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} 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 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/mingw-w64-tools-6.0.0-2.fc31.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/f31-build-115657-34504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} 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 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kgpsr5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mingw-w64-v6.0.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mingw-w64-v6.0.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mingw-w64-v6.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/mingw-w64-tools-2.0.999-s390.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mingw-w64-tools-widl-includedir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mingw-w64-tools-aarch64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bjiIX2 + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools/gendef ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 + cd mingw-w64-v6.0.0 + pushd mingw-w64-tools + pushd gendef + 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,--as-needed -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.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' + 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' + '[' 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 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-v6.0.0/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-v6.0.0/mingw-w64-tools/gendef' + popd ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools/genidl ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 + pushd genidl + 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,--as-needed -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.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' + 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' + '[' 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 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-v6.0.0/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_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: 185 | 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: 191 | 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: 199 | 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: 205 | fread (dta[0], 1, res_size, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 424 | char **exps; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/genidl_config.c:423:10: warning: variable 'alias' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 423 | char **alias = NULL; 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: 530 | sprintf (s,"(LONGLONG) %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: | ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | int64_t {aka long int} BUILDSTDERR: | long long int 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: 536 | sprintf (s,"(ULONGLONG) %lluULL", *((uint64_t *) dta)); break; BUILDSTDERR: | ~~~^ ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | uint64_t {aka long unsigned int} BUILDSTDERR: | long long unsigned int 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: 549 | sprintf (s,"(CY) %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: | ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | int64_t {aka long int} BUILDSTDERR: | long long int 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: 1055 | fprintf (fp," = %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: | ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | int64_t {aka long int} BUILDSTDERR: | long long int 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: 1061 | fprintf (fp," = %lluULL", *((uint64_t *) dta)); break; BUILDSTDERR: | ~~~^ ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | uint64_t {aka long unsigned int} BUILDSTDERR: | long long unsigned int 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: 1075 | fprintf (fp," = %lldLL", *((int64_t *) dta)); break; BUILDSTDERR: | ~~~^ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | int64_t {aka long int} BUILDSTDERR: | long long int 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: 212 | 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: 731 | 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: 733 | 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: 914 | 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: 916 | 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: 60 | #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,--as-needed -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-v6.0.0/mingw-w64-tools/genidl' ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 + popd + pushd widl + mkdir win32 ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools/widl ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 + pushd win32 ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools/widl/win32 ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools/widl ~/build/BUILD/mingw-w64-v6.0.0/mingw-w64-tools ~/build/BUILD/mingw-w64-v6.0.0 + 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,--as-needed -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.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' + 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' + '[' 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 make supports nested variables... 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 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 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\" -O3 -g -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\" -O3 -g -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\" -O3 -g -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\" -O3 -g -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:279, BUILDSTDERR: from ../src/hash.c:24: BUILDSTDERR: ../include/basetsd.h:317:3: error: #error Unknown CPU architecture! BUILDSTDERR: 317 | # error Unknown CPU architecture! BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from ../include/windef.h:279, BUILDSTDERR: from ../src/hash.c:24: BUILDSTDERR: ../include/winnt.h:2142:2: error: #error You need to define a CONTEXT for your CPU BUILDSTDERR: 2142 | #error You need to define a CONTEXT for your CPU BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../include/winnt.h:2145:9: error: unknown type name 'CONTEXT' BUILDSTDERR: 2145 | typedef CONTEXT *PCONTEXT; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ../include/winnt.h:2147:40: error: unknown type name 'CONTEXT'; did you mean 'PCONTEXT'? BUILDSTDERR: 2147 | NTSYSAPI void WINAPI RtlCaptureContext(CONTEXT*); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | PCONTEXT BUILDSTDERR: ../src/pathtools.c: In function 'pathlist_relocation': BUILDSTDERR: ../src/pathtools.c:545:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 545 | return (to_path_list); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../src/hash.c:25: BUILDSTDERR: ../include/winbase.h:2249:55: error: unknown type name 'CONTEXT'; did you mean 'PCONTEXT'? BUILDSTDERR: 2249 | WINBASEAPI BOOL WINAPI GetThreadContext(HANDLE,CONTEXT *); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | PCONTEXT BUILDSTDERR: ../include/winbase.h:2614:61: error: unknown type name 'CONTEXT' BUILDSTDERR: 2614 | WINBASEAPI BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: make: *** [Makefile:619: 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:140: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: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.bjiIX2 (%build) RPM build errors: BUILDSTDERR: Macro expanded in comment on line 3: (echo %snapshot_rev | cut -c1-6) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.bjiIX2 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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