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/bsp.spec'], chrootPath='/var/lib/mock/f29-build-2411-598/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=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/bsp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/bsp-5.2-18.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bsp.spec'], chrootPath='/var/lib/mock/f29-build-2411-598/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=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/bsp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.01hDpf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bsp-5.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/bsp-5.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bsp-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f ISO_8859-2 -t UTF8 bsp.6 + mv bsp.6.tmp bsp.6 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EHID4z + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + 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 + '[' 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... 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 dependency style of gcc... none checking whether compiler supports -Wall... yes checking whether compiler supports -Wextra... yes checking whether compiler supports -ffast-math... yes checking whether compiler supports -pipe... yes checking whether compiler supports -march=native... no checking whether compiler supports -Winline... yes checking whether compiler supports -Wwrite-strings... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wbad-function-cast... yes checking whether compiler supports -Wcast-align... yes checking whether compiler supports -Wcast-qual... yes checking whether compiler supports -Wdeclaration-after-statement... yes checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for inline... inline checking whether byte ordering is bigendian... no checking whether make sets $(MAKE)... (cached) yes checking for sqrt in -lm... yes checking if malloc debugging is wanted... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... no 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 unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for vprintf... no checking for isatty... no checking for unlink... no checking for tmpfile... no configure: creating ./config.status config.status: creating Makefile config.status: creating test-wads/Makefile config.status: creating DOS/Makefile config.status: creating Win32/Makefile config.status: creating config.h config.status: executing depfiles commands + make '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' LIBS=-lm -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/bsp-5.2' Making all in test-wads make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2/test-wads' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2/test-wads' Making all in DOS make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2/DOS' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2/DOS' Making all in Win32 make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2/Win32' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2/Win32' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -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 -c blockmap.c gcc -DHAVE_CONFIG_H -I. -I. -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 -c bsp.c gcc -DHAVE_CONFIG_H -I. -I. -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 -c endian.c gcc -DHAVE_CONFIG_H -I. -I. -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 -c funcs.c BUILDSTDERR: blockmap.c: In function 'blockmap_assemble': BUILDSTDERR: blockmap.c:274:12: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: swapshort(blockmap); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from blockmap.c:27: BUILDSTDERR: bsp.h:64:6: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' BUILDSTDERR: void swapshort(uint16_t *i); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: blockmap.c:275:20: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: swapshort(blockmap+1); BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: In file included from blockmap.c:27: BUILDSTDERR: bsp.h:64:6: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' BUILDSTDERR: void swapshort(uint16_t *i); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: blockmap.c:276:20: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: swapshort(blockmap+2); BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: In file included from blockmap.c:27: BUILDSTDERR: bsp.h:64:6: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' BUILDSTDERR: void swapshort(uint16_t *i); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: blockmap.c:277:20: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: swapshort(blockmap+3); BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: In file included from blockmap.c:27: BUILDSTDERR: bsp.h:64:6: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' BUILDSTDERR: void swapshort(uint16_t *i); BUILDSTDERR: ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -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 -c level.c BUILDSTDERR: blockmap.c:301:24: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: swapshort(blockmap + offset); BUILDSTDERR: ~~~~~~~~~^~~~~~~~ BUILDSTDERR: In file included from blockmap.c:27: BUILDSTDERR: bsp.h:64:6: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' BUILDSTDERR: void swapshort(uint16_t *i); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: blockmap.c:311:28: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: swapshort(blockmap+offset+i); BUILDSTDERR: ~~~~~~~~~~~~~~~^~ BUILDSTDERR: In file included from blockmap.c:27: BUILDSTDERR: bsp.h:64:6: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' BUILDSTDERR: void swapshort(uint16_t *i); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: bsp.c: In function 'OpenWadFile': BUILDSTDERR: bsp.c:127:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(direc,sizeof(struct directory),wad.num_entries,infile); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -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 -c makenode.c gcc -DHAVE_CONFIG_H -I. -I. -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 -c picknode.c BUILDSTDERR: picknode.c: In function 'PickNode_visplane': BUILDSTDERR: picknode.c:232:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else BUILDSTDERR: ^~~~ BUILDSTDERR: picknode.c:255:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: if (slen < l && (cost+=factor) >= bestcost) BUILDSTDERR: ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bsp blockmap.o bsp.o endian.o funcs.o level.o makenode.o picknode.o -lm make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[1]: Leaving directory '/builddir/build/BUILD/bsp-5.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.961Gn7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64 + cd bsp-5.2 + install -D -p -m 755 bsp /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64//usr/bin/bsp + install -D -p -m 644 bsp.6 /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64//usr/share/man/man6/bsp.6 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bsp-5.2-18.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y71Vo3 + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + DOCDIR=/builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr AUTHORS /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr ChangeLog /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr INSTALL /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr NEWS /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr README /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr visplane.txt /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + cp -pr test-wads/ /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/doc/bsp + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v9X6q3 + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + LICENSEDIR=/builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/licenses/bsp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/licenses/bsp + cp -pr COPYING /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64/usr/share/licenses/bsp + exit 0 Provides: bsp = 5.2-18.fc29 bsp(riscv-64) = 5.2-18.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64 Wrote: /builddir/build/RPMS/bsp-5.2-18.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OLGeyi + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bsp-5.2-18.fc29.riscv64 + exit 0 Child return code was: 0