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/6tunnel.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-75183-52175/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/6tunnel.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/6tunnel-0.13-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/6tunnel.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-75183-52175/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/6tunnel.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.h7lTRN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf 6tunnel-0.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/6tunnel-0.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd 6tunnel-0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/9e4119f03f57eec67b97dddbf09d363b638791dc.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1S9ktq + 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 6tunnel-0.13 + autoreconf -vif autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:16: warning: The macro `AC_STDC_HEADERS' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:16: the top level configure.ac:16: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:16: the top level configure.ac:17: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.ac:17: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... configure.ac:17: the top level configure.ac:21: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:21: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:21: the top level autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:3: installing './compile' configure.ac:2: installing './missing' Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' + '[' '-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 --- ./configure.backup 2024-06-03 10:35:26.583810808 +0800 +++ ./configure 2024-06-03 10:35:26.891812738 +0800 @@ -1620,7 +1620,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for aarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for strip... /usr/bin/strip checking for t_accept in -lnsl... no checking for socket in -lsocket... no checking for main in -linet6... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/socket.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for getaddrinfo... yes checking for AF_INET6... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -DPACKAGE_NAME=\"6tunnel\" -DPACKAGE_TARNAME=\"6tunnel\" -DPACKAGE_VERSION=\"0.13\" -DPACKAGE_STRING=\"6tunnel\ 0.13\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"6tunnel\" -DVERSION=\"0.13\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETDB_H=1 -DHAVE_GETADDRINFO=1 -I. -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 6tunnel.o 6tunnel.c 6tunnel.c: In function 'make_tunnel': 6tunnel.c:212:26: warning: unused variable 'sa' [-Wunused-variable] 212 | struct sockaddr *sa = NULL; | ^~ 6tunnel.c: In function 'main': 6tunnel.c:596:29: warning: unused variable 'laddr6' [-Wunused-variable] 596 | struct sockaddr_in6 laddr6; | ^~~~~~ 6tunnel.c:595:28: warning: unused variable 'laddr' [-Wunused-variable] 595 | struct sockaddr_in laddr; | ^~~~~ 6tunnel.c:594:26: warning: unused variable 'sa' [-Wunused-variable] 594 | struct sockaddr *sa; | ^~ 6tunnel.c:589:25: warning: unused variable 'sa_len' [-Wunused-variable] 589 | int detach = 1, sa_len, conn_limit = 0, optc; | ^~~~~~ 6tunnel.c:875:53: warning: array subscript 'struct sockaddr_in6[0]' is partly outside array bounds of 'struct sockaddr[1]' [-Warray-bounds] 875 | ((struct sockaddr_in6*) &sa)->sin6_port; | ^~ 6tunnel.c:851:33: note: object 'sa' of size 16 851 | struct sockaddr sa; | ^~ 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 6tunnel 6tunnel.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lXgdrM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64 + cd 6tunnel-0.13 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/6tunnel-0.13' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/bin' /usr/bin/install -p 6tunnel '/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 6tunnel.1 '/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/6tunnel-0.13' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.13-1.oc9 --unique-debug-suffix -0.13-1.oc9.aarch64 --unique-debug-src-base 6tunnel-0.13-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/6tunnel-0.13 extracting debug info from /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/bin/6tunnel 37 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: 6tunnel-0.13-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BosPDi + umask 022 + cd /builddir/build/BUILD + cd 6tunnel-0.13 + DOCDIR=/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/doc/6tunnel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/doc/6tunnel + cp -pr README.md /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/doc/6tunnel + cp -pr ChangeLog /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/doc/6tunnel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xRN2HO + umask 022 + cd /builddir/build/BUILD + cd 6tunnel-0.13 + LICENSEDIR=/builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/licenses/6tunnel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/licenses/6tunnel + cp -pr COPYING /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64/usr/share/licenses/6tunnel + RPM_EC=0 ++ jobs -p + exit 0 Provides: 6tunnel = 0.13-1.oc9 6tunnel(aarch-64) = 0.13-1.oc9 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: 6tunnel-debugsource-0.13-1.oc9.aarch64 Provides: 6tunnel-debugsource = 0.13-1.oc9 6tunnel-debugsource(aarch-64) = 0.13-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: 6tunnel-debuginfo-0.13-1.oc9.aarch64 Provides: 6tunnel-debuginfo = 0.13-1.oc9 6tunnel-debuginfo(aarch-64) = 0.13-1.oc9 debuginfo(build-id) = ca1f1af5b51ee8fb3610162a835bf1504f282cf2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 6tunnel-debugsource(aarch-64) = 0.13-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/6tunnel-0.13-1.oc9.aarch64 Wrote: /builddir/build/RPMS/6tunnel-debugsource-0.13-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/6tunnel-debuginfo-0.13-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/6tunnel-0.13-1.oc9.aarch64.rpm Child return code was: 0