Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ed.spec'], chrootPath='/var/lib/mock/dist-oc9-build-59458-16463/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 --noclean --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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ed-1.19-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ed.spec'], chrootPath='/var/lib/mock/dist-oc9-build-59458-16463/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 --noclean --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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pPIvUy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ed-1.19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ed-1.19.tar.lz + STATUS=0 + '[' 0 -ne 0 ']' + cd ed-1.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l6IkkS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ed-1.19 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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-opencloudos-linux-gnu' configure: WARNING: unrecognized option: '--host=aarch64-opencloudos-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 = MAKEINFO = makeinfo OK. Now you can run make. + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o global.o global.c cat ./red.in > red chmod a+x red gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o carg_parser.o carg_parser.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o io.o io.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o buffer.o buffer.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DPROGVERSION=\"1.19\" -c -o main.o main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o signal.o signal.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o regex.o regex.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_loop.o main_loop.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ed buffer.o carg_parser.o global.o io.o main.o main_loop.o regex.o signal.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.f7XNoW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64 + cd ed-1.19 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64 'INSTALL=/usr/bin/install -p' if [ ! -d "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/bin" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/bin" ; fi /usr/bin/install -p -m 755 ./ed "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/bin/ed" /usr/bin/install -p -m 755 ./red "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/bin/red" if [ ! -d "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/info" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/info" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/info/ed.info"* /usr/bin/install -p -m 644 ./doc/ed.info "/builddir/build/BUILDROOT/ed-1.19-2.oc9.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.19-2.oc9.aarch64/usr/share/info" "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/info/ed.info" ; \ fi if [ ! -d "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/man/man1" ] ; then /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/man/man1" ; fi rm -f "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/man/man1/ed.1"* rm -f "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/man/man1/red.1"* /usr/bin/install -p -m 644 ./doc/ed.1 "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/man/man1/ed.1" cd "/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/man/man1" && ln -s "ed.1" "red.1" + rm -f /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/info/dir + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.19-2.oc9 --unique-debug-suffix -1.19-2.oc9.aarch64 --unique-debug-src-base ed-1.19-2.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/ed-1.19 extracting debug info from /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/bin/ed 211 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/red from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ed-1.19-2.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.B8xptU + umask 022 + cd /builddir/build/BUILD + cd ed-1.19 + DOCDIR=/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/doc/ed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/doc/ed + cp -pr ChangeLog /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/doc/ed + cp -pr NEWS /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/doc/ed + cp -pr README /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/doc/ed + cp -pr AUTHORS /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/doc/ed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CCK2w2 + umask 022 + cd /builddir/build/BUILD + cd ed-1.19 + LICENSEDIR=/builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/licenses/ed + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/licenses/ed + cp -pr COPYING /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64/usr/share/licenses/ed + RPM_EC=0 ++ jobs -p + exit 0 Provides: ed = 1.19-2.oc9 ed(aarch-64) = 1.19-2.oc9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: ed-debugsource-1.19-2.oc9.aarch64 Provides: ed-debugsource = 1.19-2.oc9 ed-debugsource(aarch-64) = 1.19-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ed-debuginfo-1.19-2.oc9.aarch64 Provides: debuginfo(build-id) = 6473c4e801911b5736e9b0e4efc0efb00d97df0c ed-debuginfo = 1.19-2.oc9 ed-debuginfo(aarch-64) = 1.19-2.oc9 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.19-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ed-1.19-2.oc9.aarch64 Wrote: /builddir/build/RPMS/ed-debugsource-1.19-2.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ed-1.19-2.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ed-debuginfo-1.19-2.oc9.aarch64.rpm Child return code was: 0