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/ed.spec'], chrootPath='/var/lib/mock/f29-build-123-128/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=86400uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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-3.fc29.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/f29-build-123-128/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=86400uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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.1fZvJf + 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.HEuvXx + 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 ' + 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 ' + 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 -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 -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 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 ' 'LDFLAGS=-Wl,-z,relro -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 -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 -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 -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 -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 -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 -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 -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 -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,-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 -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.mnhhNR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 + cd ed-1.14.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 'INSTALL=/usr/bin/install -p' if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/bin" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/bin" ; fi /usr/bin/install -p -m 755 ./ed "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/bin/ed" /usr/bin/install -p -m 755 ./red "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/bin/red" if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/info" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/info" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/info/ed.info"* /usr/bin/install -p -m 644 ./doc/ed.info "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.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-3.fc29.riscv64/usr/share/info" "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/info/ed.info" ; \ fi if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/man/man1" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/man/man1" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/man/man1/ed.1"* rm -f "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/man/man1/red.1"* /usr/bin/install -p -m 644 ./doc/ed.1 "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/man/man1/ed.1" cd "/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/man/man1" && ln -s "ed.1" "red.1" + rm -vrf /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/info/dir removed '/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/info/dir' + /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: ed-1.14.2-3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tHWlwj + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + DOCDIR=/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.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-3.fc29.riscv64/usr/share/doc/ed + cp -pr ChangeLog /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/doc/ed + cp -pr NEWS /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/doc/ed + cp -pr README /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/doc/ed + cp -pr TODO /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/doc/ed + cp -pr AUTHORS /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/doc/ed + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Lh7J6o + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + LICENSEDIR=/builddir/build/BUILDROOT/ed-1.14.2-3.fc29.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-3.fc29.riscv64/usr/share/licenses/ed + cp -pr COPYING /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64/usr/share/licenses/ed + exit 0 Provides: ed = 1.14.2-3.fc29 ed(riscv-64) = 1.14.2-3.fc29 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: /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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 Wrote: /builddir/build/RPMS/ed-1.14.2-3.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LiZ3sz + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ed-1.14.2-3.fc29.riscv64 + exit 0 Child return code was: 0