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/libspnav.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-82753-57142/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/libspnav.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/libspnav-1.1-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/libspnav.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-82753-57142/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 --nocheck /builddir/build/SPECS/libspnav.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.6y1uLF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libspnav-1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libspnav-1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libspnav-1.1 + /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.BQXuV3 + 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 libspnav-1.1 + sed -i s/libdir=lib/libdir=lib64/g configure + '[' '-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 configuring spacenav library... configuring libspnav - v1.1 prefix: /usr optimize for speed: yes include debugging symbols: yes x11 communication method: yes 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 creating Makefile ... creating spnav_config.h ... creating spnav.pc ... Done. You can now type make (or gmake) to compile libspnav. + sed -i 's/CFLAGS =/CFLAGS +=/g' Makefile + /usr/bin/make -O -j8 V=1 VERBOSE=1 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 -O3 -g -std=c89 -fPIC -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include -I/usr/X11R6/include -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 src/proto.c -o src/proto.o src/proto.c: In function 'spnav_send_str': src/proto.c:25:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | write(fd, &rr, sizeof rr); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -O3 -g -std=c89 -fPIC -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include -I/usr/X11R6/include -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 src/spnav_magellan.c -o src/spnav_magellan.o 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 -O3 -g -std=c89 -fPIC -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include -I/usr/X11R6/include -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 src/util.c -o src/util.o 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 -O3 -g -std=c89 -fPIC -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include -I/usr/X11R6/include -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 src/spnav.c -o src/spnav.o src/spnav.c: In function 'spnav_open': src/spnav.c:161:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | write(s, &cmd, sizeof cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/spnav.c: In function 'request': src/spnav.c:739:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 739 | write(sock, rr, sizeof *rr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/spnav.c: In function 'flush_resp': src/spnav.c:693:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 693 | read(sock, buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcs libspnav.a src/spnav.o src/proto.o src/util.o src/spnav_magellan.o gcc -shared -Wl,-soname,libspnav.so.0 -o libspnav.so.0.3 src/spnav.o src/proto.o src/util.o src/spnav_magellan.o -L/usr/local/lib -L/usr/X11R6/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lX11 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IFzKdi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64 + cd libspnav-1.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64 /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/include cp libspnav.a /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64/libspnav.a cp libspnav.so.0.3 /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64/libspnav.so.0.3 [ -n "libspnav.so.0" ] && \ rm -f /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64/libspnav.so.0 /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64/libspnav.so && \ cd /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64 && \ ln -s libspnav.so.0.3 libspnav.so.0 && \ ln -s libspnav.so.0 libspnav.so || \ true for h in src/spnav.h src/spnav_magellan.h src/spnav_config.h; do cp -p ./$h /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/include/; done mkdir -p /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/pkgconfig cp spnav.pc /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/pkgconfig/spnav.pc + rm -f /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64/libspnav.a + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.1-1.oc9 --unique-debug-suffix -1.1-1.oc9.aarch64 --unique-debug-src-base libspnav-1.1-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/libspnav-1.1 extracting debug info from /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/lib64/libspnav.so.0.3 111 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: libspnav-1.1-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.V03OIc + umask 022 + cd /builddir/build/BUILD + cd libspnav-1.1 + DOCDIR=/builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/doc/libspnav + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/doc/libspnav + cp -pr README.md /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/doc/libspnav + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jwGt2k + umask 022 + cd /builddir/build/BUILD + cd libspnav-1.1 + LICENSEDIR=/builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/licenses/libspnav + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/licenses/libspnav + cp -pr LICENSE /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/licenses/libspnav + RPM_EC=0 ++ jobs -p + exit 0 Provides: libspnav = 1.1-1.oc9 libspnav(aarch-64) = 1.1-1.oc9 libspnav.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: libspnav-devel-1.1-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hZZTQx + umask 022 + cd /builddir/build/BUILD + cd libspnav-1.1 + DOCDIR=/builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/doc/libspnav-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/doc/libspnav-devel + cp -pr examples /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64/usr/share/doc/libspnav-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libspnav-devel = 1.1-1.oc9 libspnav-devel(aarch-64) = 1.1-1.oc9 pkgconfig(spnav) = 1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libspnav.so.0()(64bit) Processing files: libspnav-debugsource-1.1-1.oc9.aarch64 Provides: libspnav-debugsource = 1.1-1.oc9 libspnav-debugsource(aarch-64) = 1.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libspnav-debuginfo-1.1-1.oc9.aarch64 Provides: debuginfo(build-id) = 160452f096b1f1ffb053ce620a1cd8ea5f17ec62 libspnav-debuginfo = 1.1-1.oc9 libspnav-debuginfo(aarch-64) = 1.1-1.oc9 libspnav.so.0.3-1.1-1.oc9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libspnav-debugsource(aarch-64) = 1.1-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libspnav-1.1-1.oc9.aarch64 Wrote: /builddir/build/RPMS/libspnav-devel-1.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libspnav-debugsource-1.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libspnav-1.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libspnav-debuginfo-1.1-1.oc9.aarch64.rpm Child return code was: 0