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/barry.spec'], chrootPath='/var/lib/mock/f31-build-62001-29003/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/barry.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 159: %{_datadir}/hal/fdi/policy/10osvendor/19-blackberry-acl.fdi BUILDSTDERR: warning: Macro expanded in comment on line 173: %{_sysconfdir}/security/console.perms.d/* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1517961600 Wrote: /builddir/build/SRPMS/barry-0.18.4-23.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/barry.spec'], chrootPath='/var/lib/mock/f31-build-62001-29003/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/barry.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 159: %{_datadir}/hal/fdi/policy/10osvendor/19-blackberry-acl.fdi BUILDSTDERR: warning: Macro expanded in comment on line 173: %{_sysconfdir}/security/console.perms.d/* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1517961600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fB7YuK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf barry-0.18.4 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/barry-0.18.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd barry-0.18.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (barry-0.18-cxx11.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + rm -frv ./doc/www/append.php ./doc/www/backups.php ./doc/www/browse.php ./doc/www/bugs.php ./doc/www/codingguide.php ./doc/www/contact.php ./doc/www/cvs.php ./doc/www/dependencies.php ./doc/www/design.php ./doc/www/desktop.php ./doc/www/guimodem.php ./doc/www/guisync.php ./doc/www/hacking.php ./doc/www/index.php ./doc/www/install.php ./doc/www/installdebian.php ./doc/www/installfedora.php ./doc/www/logs.php ./doc/www/migrate.php ./doc/www/modem.php ./doc/www/patches.php ./doc/www/php_conf1.php ./doc/www/php_conf2.php ./doc/www/php_conf3.php ./doc/www/prepend.php ./doc/www/rawchannel.php ./doc/www/requirements.php ./doc/www/roadmap.php ./doc/www/sync.php ./doc/www/troubleshooting.php + rm -frv ./doc/www/clean.sh ./doc/www/static.sh + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (barry-0.18-cxx11.patch): patching file tools/btool.cc patching file tools/bio.cc patching file src/usbwrap.h patching file src/socket.h patching file opensync-plugin/src/environment.h patching file src/ldifio.h patching file src/controller.h patching file src/iconv.h patching file src/connector.h patching file src/j_server.h removed './doc/www/append.php' removed './doc/www/backups.php' removed './doc/www/browse.php' removed './doc/www/bugs.php' removed './doc/www/codingguide.php' removed './doc/www/contact.php' removed './doc/www/cvs.php' removed './doc/www/dependencies.php' removed './doc/www/design.php' removed './doc/www/desktop.php' removed './doc/www/guimodem.php' removed './doc/www/guisync.php' removed './doc/www/hacking.php' removed './doc/www/index.php' removed './doc/www/install.php' removed './doc/www/installdebian.php' removed './doc/www/installfedora.php' removed './doc/www/logs.php' removed './doc/www/migrate.php' removed './doc/www/modem.php' removed './doc/www/patches.php' removed './doc/www/php_conf1.php' removed './doc/www/php_conf2.php' removed './doc/www/php_conf3.php' removed './doc/www/prepend.php' removed './doc/www/rawchannel.php' removed './doc/www/requirements.php' removed './doc/www/roadmap.php' removed './doc/www/sync.php' removed './doc/www/troubleshooting.php' removed './doc/www/clean.sh' removed './doc/www/static.sh' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U1RxsL + umask 022 + cd /builddir/build/BUILD + cd barry-0.18.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,--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 ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./gui/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./gui/config.guess BUILDSTDERR: ++ basename ./gui/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./gui/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./gui/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./gui/config.sub BUILDSTDERR: ++ basename ./gui/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./gui/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./opensync-plugin-0.4x/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./opensync-plugin-0.4x/config.guess BUILDSTDERR: ++ basename ./opensync-plugin-0.4x/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./opensync-plugin-0.4x/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./opensync-plugin-0.4x/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./opensync-plugin-0.4x/config.sub BUILDSTDERR: ++ basename ./opensync-plugin-0.4x/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./opensync-plugin-0.4x/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./desktop/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./desktop/config.guess BUILDSTDERR: ++ basename ./desktop/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./desktop/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./desktop/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./desktop/config.sub BUILDSTDERR: ++ basename ./desktop/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./desktop/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./opensync-plugin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./opensync-plugin/config.guess BUILDSTDERR: ++ basename ./opensync-plugin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./opensync-plugin/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./opensync-plugin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./opensync-plugin/config.sub BUILDSTDERR: ++ basename ./opensync-plugin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./opensync-plugin/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"~' ./gui/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"~' ./opensync-plugin-0.4x/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"~' ./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"~' ./desktop/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"~' ./opensync-plugin/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-boost --with-zlib --disable-rpath BUILDSTDERR: ./configure: line 5308: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 5308: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.guess' -> './gui/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './gui/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './opensync-plugin-0.4x/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './opensync-plugin-0.4x/config.sub' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' '/usr/lib/rpm/redhat/config.guess' -> './desktop/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './desktop/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './opensync-plugin/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './opensync-plugin/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 for style of include used by make... GNU 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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc 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 dependency style of gcc... (cached) none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking whether make sets $(MAKE)... (cached) yes BUILDSTDERR: checking fconfigure: error: boost_serialization not found or a sed that does not truncate output... /usr/bin/sed 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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-ar... no checking for ar... ar 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 dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no checking dependency style of g++... (cached) none 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... yes checking whether the C compiler accepts the -fvisibility=hidden flag... yes checking whether the C++ compiler accepts the -fvisibility=hidden flag... no Guessing libtar location... may not compile... checking for tar_open in -ltar... no configure: Libtar NOT found, disabling libbarrybackup Guessing zlib location... may not compile... 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 LIBUSB_0_1... yes checking for LIBUSB_1_0... yes checking for which USB library to use... libusb-1.0 configure: using BOOST library... yes checking for main in -lboost_serialization... no checking for main in -lboost_serialization-mt... no RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.U1RxsL (%build) BUILDSTDERR: Macro expanded in comment on line 159: %{_datadir}/hal/fdi/policy/10osvendor/19-blackberry-acl.fdi BUILDSTDERR: Macro expanded in comment on line 173: %{_sysconfdir}/security/console.perms.d/* BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.U1RxsL (%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/barry.spec