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/freeipa.spec'], chrootPath='/var/lib/mock/dist-oc9-build-135268-78936/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/freeipa.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/freeipa-4.12.2-3.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/freeipa.spec'], chrootPath='/var/lib/mock/dist-oc9-build-135268-78936/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/freeipa.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.b9hstq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freeipa-4.12.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/freeipa-4.12.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd freeipa-4.12.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Revert-Replace-netifaces-with-ifaddr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ~/build/BUILD/freeipa-4.12.2/po ~/build/BUILD/freeipa-4.12.2 + pushd po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s bn_IN.po + mv bn_IN.po.tmp bn_IN.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s ca.po + mv ca.po.tmp ca.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s cs.po + mv cs.po.tmp cs.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s de.po + mv de.po.tmp de.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s en_GB.po + mv en_GB.po.tmp en_GB.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s es.po + mv es.po.tmp es.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s eu.po + mv eu.po.tmp eu.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s fi.po + mv fi.po.tmp fi.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s fr.po + mv fr.po.tmp fr.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s hi.po + mv hi.po.tmp hi.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s hu.po + mv hu.po.tmp hu.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s id.po + mv id.po.tmp id.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s ja.po + mv ja.po.tmp ja.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s ka.po + mv ka.po.tmp ka.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s kn.po + mv kn.po.tmp kn.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s ko.po + mv ko.po.tmp ko.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s mr.po + mv mr.po.tmp mr.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s nl.po + mv nl.po.tmp nl.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s pa.po + mv pa.po.tmp pa.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s pl.po + mv pl.po.tmp pl.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s pt.po + mv pt.po.tmp pt.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s pt_BR.po + mv pt_BR.po.tmp pt_BR.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s ru.po + mv ru.po.tmp ru.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s sk.po + mv sk.po.tmp sk.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s tg.po + mv tg.po.tmp tg.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s tr.po + mv tr.po.tmp tr.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s uk.po + mv uk.po.tmp uk.po + for i in *.po + msgattrib --translated --no-fuzzy --no-location -s zh_CN.po + mv zh_CN.po.tmp zh_CN.po ~/build/BUILD/freeipa-4.12.2 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mKXJvg + 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 freeipa-4.12.2 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force Copying file ABOUT-NLS Copying file config.rpath Creating directory m4 Copying file m4/codeset.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot autoreconf: running: aclocal --force -I m4 sh: line 1: git: command not found autoreconf: configure.ac: tracing sh: line 1: git: command not found autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 sh: line 1: git: command not found autoreconf: running: /usr/bin/autoconf --force sh: line 1: git: command not found configure.ac:30: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:30: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:30: the top level configure.ac:34: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:34: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:34: the top level configure.ac:38: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:38: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:38: the top level configure.ac:48: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:48: the top level configure.ac:54: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:54: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:54: the top level configure.ac:62: warning: The macro `ac_cv_prog_gcc' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from... aclocal.m4:503: AM_CONDITIONAL is expanded from... configure.ac:62: the top level configure.ac:361: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:361: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:361: the top level configure.ac:499: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:499: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:499: the top level configure.ac:529: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:529: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:529: the top level configure.ac:594: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:594: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:594: the top level autoreconf: running: /usr/bin/autoheader --force sh: line 1: git: command not found autoreconf: running: automake --add-missing --copy --force-missing configure.ac:30: installing './compile' configure.ac:32: installing './config.guess' configure.ac:32: installing './config.sub' configure.ac:18: installing './install-sh' configure.ac:18: installing './missing' asn1/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + '[' '-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 2025-04-24 12:48:01.015397793 +0800 +++ ./configure 2025-04-24 12:48:09.491393526 +0800 @@ -2043,7 +2043,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 --- ./configure.backup 2025-04-24 12:48:09.491393526 +0800 +++ ./configure 2025-04-24 12:48:09.587393478 +0800 @@ -7405,7 +7405,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -21504,7 +21504,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./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 --with-vendor-suffix=-3.oc9 --disable-server --without-ipatests --without-ipa-join-xml --disable-pylint --without-jslint --disable-rpmlint