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/ed.spec'], chrootPath='/var/lib/mock/f30-build-37542-21564/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ed.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 8: %{name}-%{version}.tar.lz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ed-1.14.2-5.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ed.spec'], chrootPath='/var/lib/mock/f30-build-37542-21564/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ed.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 8: %{name}-%{version}.tar.lz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9Q0oTW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ed-1.14.2 + /usr/bin/xz -dc /builddir/build/SOURCES/ed-1.14.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ed-1.14.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.msvnEQ + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.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,--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 + '[' 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 BUILDSTDERR: configure: WARNING: unrecognized option: '--build=riscv64-koji-linux-gnu' BUILDSTDERR: configure: WARNING: unrecognized option: '--host=riscv64-koji-linux-gnu' BUILDSTDERR: configure: WARNING: unrecognized option: '--disable-dependency-tracking' BUILDSTDERR: configure: WARNING: unrecognized option: '--sbindir=/usr/sbin' BUILDSTDERR: configure: WARNING: unrecognized option: '--sysconfdir=/etc' BUILDSTDERR: configure: WARNING: unrecognized option: '--datadir=/usr/share' BUILDSTDERR: configure: WARNING: unrecognized option: '--includedir=/usr/include' BUILDSTDERR: configure: WARNING: unrecognized option: '--libdir=/usr/lib64' BUILDSTDERR: configure: WARNING: unrecognized option: '--libexecdir=/usr/libexec' BUILDSTDERR: configure: WARNING: unrecognized option: '--localstatedir=/var' BUILDSTDERR: configure: WARNING: unrecognized option: '--sharedstatedir=/var/lib' creating config.status creating Makefile VPATH = . prefix = /usr exec_prefix = /usr bindir = /usr/bin datarootdir = $(prefix)/share infodir = /usr/share/info mandir = /usr/share/man program_prefix = CC = gcc CPPFLAGS = CFLAGS = -Wall -W -O2 LDFLAGS = OK. Now you can run make. + /usr/bin/make -O -j4 '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' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 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 -c -o global.o global.c 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 -c -o carg_parser.o carg_parser.c 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 -DPROGVERSION=\"1.14.2\" -c -o main.o main.c 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 -c -o io.o io.c 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 -c -o buffer.o buffer.c cat ./red.in > red chmod a+x red 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 -c -o signal.o signal.c 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 -c -o regex.o regex.c 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 -c -o main_loop.o main_loop.c BUILDSTDERR: main_loop.c: In function 'exec_command': BUILDSTDERR: main_loop.c:617:15: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: case '#': while( *(*ibufpp)++ != '\n' ) ; BUILDSTDERR: ^~~~~ BUILDSTDERR: main_loop.c:618:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: break; BUILDSTDERR: ^~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 ed buffer.o carg_parser.o global.o io.o main.o main_loop.o regex.o signal.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u1ePQK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 + cd ed-1.14.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 'INSTALL=/usr/bin/install -p' if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/bin" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/bin" ; fi /usr/bin/install -p -m 755 ./ed "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/bin/ed" /usr/bin/install -p -m 755 ./red "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/bin/red" if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info/ed.info"* /usr/bin/install -p -m 644 ./doc/ed.info "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info/ed.info" if /bin/sh -c "install-info --version" > /dev/null 2>&1 ; then \ install-info --info-dir="/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info" "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info/ed.info" ; \ fi if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/man/man1" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/man/man1" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/man/man1/ed.1"* rm -f "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/man/man1/red.1"* /usr/bin/install -p -m 644 ./doc/ed.1 "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/man/man1/ed.1" cd "/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/man/man1" && ln -s "ed.1" "red.1" + rm -vrf /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info/dir removed '/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/info/dir' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.14.2-5.fc30 --unique-debug-suffix -1.14.2-5.fc30.riscv64 --unique-debug-src-base ed-1.14.2-5.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ed-1.14.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/bin/ed extracting debug info from /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/bin/ed /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 197 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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/red from /bin/sh to #!/usr/bin/sh Processing files: ed-1.14.2-5.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.crCnTy + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + DOCDIR=/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + cp -pr ChangeLog /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + cp -pr NEWS /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + cp -pr README /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + cp -pr TODO /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + cp -pr AUTHORS /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/doc/ed + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fF2snC + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + LICENSEDIR=/builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/licenses/ed + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/licenses/ed + cp -pr COPYING /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64/usr/share/licenses/ed + exit 0 Provides: ed = 1.14.2-5.fc30 ed(riscv-64) = 1.14.2-5.fc30 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh info Requires(preun): /bin/sh info Requires: /usr/bin/sh 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) rtld(GNU_HASH) Processing files: ed-debugsource-1.14.2-5.fc30.riscv64 Provides: ed-debugsource = 1.14.2-5.fc30 ed-debugsource(riscv-64) = 1.14.2-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ed-debuginfo-1.14.2-5.fc30.riscv64 Provides: debuginfo(build-id) = beec675592dd94e1eb1401186eddd35569657816 ed-debuginfo = 1.14.2-5.fc30 ed-debuginfo(riscv-64) = 1.14.2-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ed-debugsource(riscv-64) = 1.14.2-5.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 Wrote: /builddir/build/RPMS/ed-1.14.2-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ed-debugsource-1.14.2-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ed-debuginfo-1.14.2-5.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eozvVL + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ed-1.14.2-5.fc30.riscv64 + exit 0 Child return code was: 0