Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ed.spec'], chrootPath='/var/lib/mock/dist-oc8-build-378-288/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 8: %{name}-%{version}.tar.lz Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ed-1.14.2-4.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ed.spec'], chrootPath='/var/lib/mock/dist-oc8-build-378-288/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 8: %{name}-%{version}.tar.lz Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HTwRET + 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 . Patch #0 (ed-1.14.2-fix-resource-leaks.patch): + echo 'Patch #0 (ed-1.14.2-fix-resource-leaks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file carg_parser.c patching file main_loop.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N9U05T + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-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 configure: WARNING: unrecognized option: '--build=aarch64-redhat-linux-gnu' configure: WARNING: unrecognized option: '--host=aarch64-redhat-linux-gnu' configure: WARNING: unrecognized option: '--disable-dependency-tracking' configure: WARNING: unrecognized option: '--sbindir=/usr/sbin' configure: WARNING: unrecognized option: '--sysconfdir=/etc' configure: WARNING: unrecognized option: '--datadir=/usr/share' configure: WARNING: unrecognized option: '--includedir=/usr/include' configure: WARNING: unrecognized option: '--libdir=/usr/lib64' configure: WARNING: unrecognized option: '--libexecdir=/usr/libexec' configure: WARNING: unrecognized option: '--localstatedir=/var' 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 -j32 '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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 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 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 -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 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 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 -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 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 buffer.o buffer.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 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 -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.omFs9T + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 + cd ed-1.14.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 'INSTALL=/usr/bin/install -p' if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/bin" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/bin" ; fi /usr/bin/install -p -m 755 ./ed "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/bin/ed" /usr/bin/install -p -m 755 ./red "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/bin/red" if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/info" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/info" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/info/ed.info"* /usr/bin/install -p -m 644 ./doc/ed.info "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/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-4.oc8.aarch64/usr/share/info" "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/info/ed.info" ; \ fi if [ ! -d "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/man/man1" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/man/man1" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/man/man1/ed.1"* rm -f "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/man/man1/red.1"* /usr/bin/install -p -m 644 ./doc/ed.1 "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/man/man1/ed.1" cd "/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/man/man1" && ln -s "ed.1" "red.1" + rm -vrf /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/info/dir removed '/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/info/dir' + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.14.2-4.oc8 --unique-debug-suffix -1.14.2-4.oc8.aarch64 --unique-debug-src-base ed-1.14.2-4.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ed-1.14.2 extracting debug info from /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/bin/ed /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 197 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ed-1.14.2-4.oc8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jL6I9R + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + DOCDIR=/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + cp -pr ChangeLog /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + cp -pr NEWS /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + cp -pr README /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + cp -pr TODO /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + cp -pr AUTHORS /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/doc/ed + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.y0GSUT + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + LICENSEDIR=/builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/licenses/ed + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/licenses/ed + cp -pr COPYING /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64/usr/share/licenses/ed + exit 0 Provides: ed = 1.14.2-4.oc8 ed(aarch-64) = 1.14.2-4.oc8 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: ed-debugsource-1.14.2-4.oc8.aarch64 Provides: ed-debugsource = 1.14.2-4.oc8 ed-debugsource(aarch-64) = 1.14.2-4.oc8 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-4.oc8.aarch64 Provides: debuginfo(build-id) = cc34b02ff3623d0a5ba240b84d7335a6b506fa83 ed-debuginfo = 1.14.2-4.oc8 ed-debuginfo(aarch-64) = 1.14.2-4.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ed-debugsource(aarch-64) = 1.14.2-4.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 Wrote: /builddir/build/RPMS/ed-1.14.2-4.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/ed-debugsource-1.14.2-4.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/ed-debuginfo-1.14.2-4.oc8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TFXvPQ + umask 022 + cd /builddir/build/BUILD + cd ed-1.14.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ed-1.14.2-4.oc8.aarch64 + exit 0 Child return code was: 0