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/autossh.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90461-59064/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/autossh.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: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/autossh-1.4g-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/autossh.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90461-59064/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/autossh.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: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e7INgy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autossh-1.4g + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autossh-1.4g.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd autossh-1.4g + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (autossh-configure-c99.patch): + echo 'Patch #0 (autossh-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + cp -p /builddir/build/SOURCES/README.service . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nVc82J + 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 autossh-1.4g + '[' '-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 --- ./configure.backup 2024-08-05 10:39:53.105321287 +0800 +++ ./configure 2024-08-05 10:39:53.241321740 +0800 @@ -4393,7 +4393,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -5431,7 +5431,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -5607,7 +5607,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -5702,7 +5702,7 @@ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else -char (*f) () = _doprnt; +__attribute__ ((used)) char (*f) () = _doprnt; #endif #ifdef __cplusplus } @@ -5813,7 +5813,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -5921,7 +5921,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6026,7 +6026,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 checking for aarch64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ssh... /usr/bin/ssh checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for socklen_t... yes checking for struct addrinfo... yes checking for u_int16_t... yes checking for uint16_t... no checking whether LOG_PERROR is declared... yes checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... no checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for alarm... yes checking for daemon... yes checking for dup2... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for poll... yes checking for select... yes checking for setproctitle... no checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for strtoul... yes checking for uname... yes checking for vsyslog... yes checking for gethostbyname in -lnsl... no checking for connect in -lsocket... no checking whether __progname is declared... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make -j8 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 -Wall -DVER=\"1.4g\" -DSSH_PATH=\"/usr/bin/ssh\" -c -o autossh.o autossh.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o autossh autossh.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hPqPY8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64 + cd autossh-1.4g + rm -rf /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/bin + mkdir -p /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/etc/autossh + mkdir -p /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/lib/systemd/system + mkdir -p examples + cp -p autossh.host rscreen examples + chmod 0644 examples/autossh.host examples/rscreen + install -m 0755 -p autossh /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/bin + cp -p autossh.1 /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/man/man1 + install -m 0644 -p /builddir/build/SOURCES/autossh@.service /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/lib/systemd/system + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.4g-1.oc9 --unique-debug-suffix -1.4g-1.oc9.aarch64 --unique-debug-src-base autossh-1.4g-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/autossh-1.4g extracting debug info from /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/bin/autossh 85 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: autossh-1.4g-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jMYJVW + umask 022 + cd /builddir/build/BUILD + cd autossh-1.4g + DOCDIR=/builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/doc/autossh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/doc/autossh + cp -pr CHANGES /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/doc/autossh + cp -pr README /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/doc/autossh + cp -pr README.service /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/doc/autossh + cp -pr examples /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64/usr/share/doc/autossh + RPM_EC=0 ++ jobs -p + exit 0 Provides: autossh = 1.4g-1.oc9 autossh(aarch-64) = 1.4g-1.oc9 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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: autossh-debugsource-1.4g-1.oc9.aarch64 Provides: autossh-debugsource = 1.4g-1.oc9 autossh-debugsource(aarch-64) = 1.4g-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: autossh-debuginfo-1.4g-1.oc9.aarch64 Provides: autossh-debuginfo = 1.4g-1.oc9 autossh-debuginfo(aarch-64) = 1.4g-1.oc9 debuginfo(build-id) = c7151371fa2ae3eb0bfd1cc191045336cc807cdb Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: autossh-debugsource(aarch-64) = 1.4g-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/autossh-1.4g-1.oc9.aarch64 Wrote: /builddir/build/RPMS/autossh-debuginfo-1.4g-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/autossh-1.4g-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/autossh-debugsource-1.4g-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0