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/linux-user-chroot.spec'], chrootPath='/var/lib/mock/f31-build-48063-26977/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x1558116898>timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/linux-user-chroot.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1548979200
Wrote: /builddir/build/SRPMS/linux-user-chroot-2015.1-8.fc31.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux-user-chroot.spec'], chrootPath='/var/lib/mock/f31-build-48063-26977/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x1558116898>timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux-user-chroot.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1548979200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jOImZa
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf linux-user-chroot-2015.1
+ /usr/bin/xz -dc /builddir/build/SOURCES/linux-user-chroot-2015.1.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd linux-user-chroot-2015.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SWzlm7
+ umask 022
+ cd /builddir/build/BUILD
+ cd linux-user-chroot-2015.1
+ env NOCONFIGURE=1 ./autogen.sh
BUILDSTDERR: autoreconf: Entering directory `.'
BUILDSTDERR: autoreconf: configure.ac: not using Gettext
BUILDSTDERR: autoreconf: running: aclocal --force 
BUILDSTDERR: autoreconf: configure.ac: tracing
BUILDSTDERR: autoreconf: configure.ac: creating directory build-aux
BUILDSTDERR: autoreconf: running: libtoolize --copy --force
BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force
BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force
BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing
BUILDSTDERR: configure.ac:11: installing 'build-aux/compile'
BUILDSTDERR: configure.ac:25: installing 'build-aux/config.guess'
BUILDSTDERR: configure.ac:25: installing 'build-aux/config.sub'
BUILDSTDERR: configure.ac:7: installing 'build-aux/install-sh'
BUILDSTDERR: configure.ac:7: installing 'build-aux/missing'
BUILDSTDERR: Makefile-user-chroot.am:20: warning: source file 'src/setup-seccomp.c' is in a subdirectory,
BUILDSTDERR: Makefile-user-chroot.am:20: but option 'subdir-objects' is disabled
BUILDSTDERR: Makefile.am:19:   'Makefile-user-chroot.am' included from here
BUILDSTDERR: automake: warning: possible forward-incompatibility.
BUILDSTDERR: automake: At least a source file is in a subdirectory, but the 'subdir-objects'
BUILDSTDERR: automake: automake option hasn't been enabled.  For now, the corresponding output
BUILDSTDERR: automake: object file(s) will be placed in the top-level directory.  However,
BUILDSTDERR: automake: this behaviour will change in future Automake versions: they will
BUILDSTDERR: automake: unconditionally cause object files to be placed in the same subdirectory
BUILDSTDERR: automake: of the corresponding sources.
BUILDSTDERR: automake: You are advised to start using 'subdir-objects' option throughout your
BUILDSTDERR: automake: project, to avoid future incompatibilities.
BUILDSTDERR: Makefile-user-chroot.am:20: warning: source file 'src/setup-dev.c' is in a subdirectory,
BUILDSTDERR: Makefile-user-chroot.am:20: but option 'subdir-objects' is disabled
BUILDSTDERR: Makefile.am:19:   'Makefile-user-chroot.am' included from here
BUILDSTDERR: Makefile-user-chroot.am:20: warning: source file 'src/linux-user-chroot.c' is in a subdirectory,
BUILDSTDERR: Makefile-user-chroot.am:20: but option 'subdir-objects' is disabled
BUILDSTDERR: Makefile.am:19:   'Makefile-user-chroot.am' included from here
BUILDSTDERR: Makefile.am: installing 'build-aux/depcomp'
BUILDSTDERR: autoreconf: Leaving directory `.'
+ 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
+ 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
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
BUILDSTDERR: ++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/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 --enable-documentation
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
'/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess'
'/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub'
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 UID '986' is supported by ustar format... yes
checking whether GID '135' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for riscv64-koji-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 dependency style of gcc... none
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
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 ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking build system type... riscv64-koji-linux-gnu
checking host system type... riscv64-koji-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop
checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for riscv64-koji-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-koji-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-koji-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for riscv64-koji-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-koji-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for riscv64-koji-linux-gnu-mt... no
checking for mt... no
BUILDSTDERR: checking i+ make -j4
BUILDSTDERR: src/linux-user-chroot.c: In function 'main':
BUILDSTDERR: src/linux-user-chroot.c:388:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
BUILDSTDERR:   388 |           asprintf (&dest, "%s%s", chroot_dir, bind_mount_iter->dest);
BUILDSTDERR:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
f : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for riscv64-koji-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBSECCOMP... 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
config.status: executing libtool commands
make  all-am
make[1]: Entering directory '/builddir/build/BUILD/linux-user-chroot-2015.1'
  CC       linux_user_chroot-setup-seccomp.o
  CC       linux_user_chroot-setup-dev.o
  CC       linux_user_chroot-linux-user-chroot.o
  CCLD     linux-user-chroot
make[1]: Leaving directory '/builddir/build/BUILD/linux-user-chroot-2015.1'
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0QU4i8
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64
+ cd linux-user-chroot-2015.1
+ make install DESTDIR=/builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2015.1-8.fc31 --unique-debug-suffix -2015.1-8.fc31.riscv64 --unique-debug-src-base linux-user-chroot-2015.1-8.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/linux-user-chroot-2015.1
BUILDSTDERR: 53 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
make  install-am
make[1]: Entering directory '/builddir/build/BUILD/linux-user-chroot-2015.1'
make[2]: Entering directory '/builddir/build/BUILD/linux-user-chroot-2015.1'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c linux-user-chroot '/builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/bin'
libtool: install: /usr/bin/install -c linux-user-chroot /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/bin/linux-user-chroot
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/share/man/man8'
 /usr/bin/install -c -m 644 doc/linux-user-chroot.8 '/builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/share/man/man8'
make[2]: Leaving directory '/builddir/build/BUILD/linux-user-chroot-2015.1'
make[1]: Leaving directory '/builddir/build/BUILD/linux-user-chroot-2015.1'
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/bin/linux-user-chroot
extracting debug info from /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64/usr/bin/linux-user-chroot
original debug info size: 68kB, size after compression: 68kB
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Processing files: linux-user-chroot-2015.1-8.fc31.riscv64
Provides: linux-user-chroot = 2015.1-8.fc31 linux-user-chroot(riscv-64) = 2015.1-8.fc31
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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libseccomp.so.2()(64bit) rtld(GNU_HASH)
Processing files: linux-user-chroot-debugsource-2015.1-8.fc31.riscv64
Provides: linux-user-chroot-debugsource = 2015.1-8.fc31 linux-user-chroot-debugsource(riscv-64) = 2015.1-8.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: linux-user-chroot-debuginfo-2015.1-8.fc31.riscv64
Provides: debuginfo(build-id) = 12ed143d234cee7d353dd308d9973bc1964ad6a2 linux-user-chroot-debuginfo = 2015.1-8.fc31 linux-user-chroot-debuginfo(riscv-64) = 2015.1-8.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: linux-user-chroot-debugsource(riscv-64) = 2015.1-8.fc31
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64
Wrote: /builddir/build/RPMS/linux-user-chroot-2015.1-8.fc31.riscv64.rpm
Wrote: /builddir/build/RPMS/linux-user-chroot-debugsource-2015.1-8.fc31.riscv64.rpm
Wrote: /builddir/build/RPMS/linux-user-chroot-debuginfo-2015.1-8.fc31.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.y5rqfa
+ umask 022
+ cd /builddir/build/BUILD
+ cd linux-user-chroot-2015.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/linux-user-chroot-2015.1-8.fc31.riscv64
+ RPM_EC=0
BUILDSTDERR: ++ jobs -p
+ exit 0
Child return code was: 0