Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/astyle.spec'], chrootPath='/var/lib/mock/f29-build-33777-18383/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/astyle.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/astyle-3.1-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/astyle.spec'], chrootPath='/var/lib/mock/f29-build-33777-18383/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/astyle.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.IiioX7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf astyle + /usr/bin/gzip -dc /builddir/build/SOURCES/astyle_3.1_linux.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd astyle + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (astyle-arduino.patch):' Patch #0 (astyle-arduino.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/astyle_main.h Hunk #1 succeeded at 421 (offset 9 lines). patching file src/astyle_main.cpp Hunk #1 succeeded at 4076 (offset 322 lines). Hunk #2 succeeded at 4123 (offset 322 lines). + echo 'Patch #1 (astyle-html-help.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (astyle-html-help.patch): patching file src/astyle_main.cpp Hunk #1 succeeded at 1492 (offset 178 lines). + echo 'Patch #2 (astyle-r655-gcc8-vector-at-end.patch):' Patch #2 (astyle-r655-gcc8-vector-at-end.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file src/astyle_main.cpp Hunk #1 succeeded at 1363 (offset 16 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7B63Dd + umask 022 + cd /builddir/build/BUILD + cd astyle + chmod a-x src/ASBeautifier.cpp src/ASEnhancer.cpp src/ASFormatter.cpp src/ASLocalizer.cpp src/ASLocalizer.h src/ASResource.cpp src/astyle.h src/astyle_main.cpp src/astyle_main.h + chmod a-x doc/astyle.html doc/install.html doc/news.html doc/notes.html doc/styles.css + pushd src ~/build/BUILD/astyle/src ~/build/BUILD/astyle + g++ -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 -DASTYLE_LIB -DASTYLE_JNI -fPIC -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -c ASBeautifier.cpp ASEnhancer.cpp ASFormatter.cpp ASResource.cpp astyle_main.cpp + g++ -shared -o libastyle.so.3.1.0 ASBeautifier.o ASEnhancer.o ASFormatter.o ASResource.o astyle_main.o -Wl,-soname,libastyle.so.3 + ln -s libastyle.so.3.1.0 libastyle.so + g++ -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 ASLocalizer.cpp astyle_main.cpp + g++ -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 astyle ASLocalizer.o astyle_main.o -L. -lastyle + popd ~/build/BUILD/astyle + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UIV24X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64 + cd astyle + pushd src ~/build/BUILD/astyle/src ~/build/BUILD/astyle + mkdir -p /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/bin /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64 /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/include + install -p -m 755 astyle /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/bin + install -p -m 755 libastyle.so.3.1.0 /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64 + cp -P libastyle.so /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64 + install -p -m 644 astyle.h /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/include ~/build/BUILD/astyle + popd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-6.fc29 --unique-debug-suffix -3.1-6.fc29.riscv64 --unique-debug-src-base astyle-3.1-6.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/astyle explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/bin/astyle explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64/libastyle.so.3.1.0 extracting debug info from /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/bin/astyle extracting debug info from /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64/libastyle.so.3.1.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1269 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: astyle-3.1-6.fc29.riscv64 BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64/libastyle.so.3 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZWnWPx + umask 022 + cd /builddir/build/BUILD + cd astyle + DOCDIR=/builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/share/doc/astyle + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/share/doc/astyle + cp -pr doc/astyle.html doc/install.html doc/news.html doc/notes.html /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/share/doc/astyle + exit 0 RPM build errors: BUILDSTDERR: File not found: /builddir/build/BUILDROOT/astyle-3.1-6.fc29.riscv64/usr/lib64/libastyle.so.3 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 636, 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/astyle.spec