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/unixODBC.spec'], chrootPath='/var/lib/mock/dist-oc9-build-49588-14595/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/unixODBC.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/unixODBC-2.3.11-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/unixODBC.spec'], chrootPath='/var/lib/mock/dist-oc9-build-49588-14595/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/unixODBC.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.BGO7Nv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unixODBC-2.3.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/unixODBC-2.3.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd unixODBC-2.3.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/so-version-bump.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/keep-typedefs.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hfl18A + 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 unixODBC-2.3.11 + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory libltdl to autoreconf autoreconf: Entering directory 'libltdl' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I ../m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force --ltdl libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '..'. libtoolize: copying file '../compile' libtoolize: copying file '../config.guess' libtoolize: copying file '../config.sub' libtoolize: copying file '../depcomp' libtoolize: copying file '../install-sh' libtoolize: copying file '../missing' libtoolize: copying file '../ltmain.sh' libtoolize: putting macros in '../m4'. libtoolize: copying file '../m4/libtool.m4' libtoolize: copying file '../m4/ltargz.m4' libtoolize: copying file '../m4/ltdl.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' libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, '.'. libtoolize: copying file './COPYING.LIB' libtoolize: creating file './Makefile.am' libtoolize: copying file './README' libtoolize: creating file './configure.ac' libtoolize: copying file './aclocal.m4' libtoolize: creating file './Makefile.in' libtoolize: copying file './config-h.in' libtoolize: creating file './configure' libtoolize: copying file './libltdl/lt__alloc.h' libtoolize: copying file './libltdl/lt__argz_.h' libtoolize: copying file './libltdl/lt__dirent.h' libtoolize: copying file './libltdl/lt__glibc.h' libtoolize: copying file './libltdl/lt__private.h' libtoolize: copying file './libltdl/lt__strl.h' libtoolize: copying file './libltdl/lt_dlloader.h' libtoolize: copying file './libltdl/lt_error.h' libtoolize: copying file './libltdl/lt_system.h' libtoolize: copying file './libltdl/slist.h' libtoolize: copying file './loaders/dld_link.c' libtoolize: copying file './loaders/dlopen.c' libtoolize: copying file './loaders/dyld.c' libtoolize: copying file './loaders/load_add_on.c' libtoolize: copying file './loaders/loadlibrary.c' libtoolize: copying file './loaders/preopen.c' libtoolize: copying file './loaders/shl_load.c' libtoolize: copying file './lt__alloc.c' libtoolize: copying file './lt__argz.c' libtoolize: copying file './lt__dirent.c' libtoolize: copying file './lt__strl.c' libtoolize: copying file './lt_dlloader.c' libtoolize: copying file './lt_error.c' libtoolize: copying file './ltdl.c' libtoolize: copying file './ltdl.h' libtoolize: copying file './slist.c' libtoolize: Remember to add 'LTDL_INIT' to configure.ac. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([../m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I ../m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: '../config.guess' is updated autoreconf: Leaving directory 'libltdl' autoreconf: running: libtoolize --copy --force --ltdl --ltdl libtoolize: putting auxiliary files in '.'. libtoolize: copying file './compile' libtoolize: copying file './config.guess' libtoolize: copying file './config.sub' libtoolize: copying file './depcomp' libtoolize: copying file './install-sh' libtoolize: copying file './missing' libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltargz.m4' libtoolize: copying file 'm4/ltdl.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' libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'libltdl'. libtoolize: copying file 'libltdl/COPYING.LIB' libtoolize: creating file 'libltdl/Makefile.am' libtoolize: copying file 'libltdl/README' libtoolize: creating file 'libltdl/configure.ac' libtoolize: copying file 'libltdl/aclocal.m4' libtoolize: creating file 'libltdl/Makefile.in' libtoolize: copying file 'libltdl/config-h.in' libtoolize: creating file 'libltdl/configure' libtoolize: copying file 'libltdl/libltdl/lt__alloc.h' libtoolize: copying file 'libltdl/libltdl/lt__argz_.h' libtoolize: copying file 'libltdl/libltdl/lt__dirent.h' libtoolize: copying file 'libltdl/libltdl/lt__glibc.h' libtoolize: copying file 'libltdl/libltdl/lt__private.h' libtoolize: copying file 'libltdl/libltdl/lt__strl.h' libtoolize: copying file 'libltdl/libltdl/lt_dlloader.h' libtoolize: copying file 'libltdl/libltdl/lt_error.h' libtoolize: copying file 'libltdl/libltdl/lt_system.h' libtoolize: copying file 'libltdl/libltdl/slist.h' libtoolize: copying file 'libltdl/loaders/dld_link.c' libtoolize: copying file 'libltdl/loaders/dlopen.c' libtoolize: copying file 'libltdl/loaders/dyld.c' libtoolize: copying file 'libltdl/loaders/load_add_on.c' libtoolize: copying file 'libltdl/loaders/loadlibrary.c' libtoolize: copying file 'libltdl/loaders/preopen.c' libtoolize: copying file 'libltdl/loaders/shl_load.c' libtoolize: copying file 'libltdl/lt__alloc.c' libtoolize: copying file 'libltdl/lt__argz.c' libtoolize: copying file 'libltdl/lt__dirent.c' libtoolize: copying file 'libltdl/lt__strl.c' libtoolize: copying file 'libltdl/lt_dlloader.c' libtoolize: copying file 'libltdl/lt_error.c' libtoolize: copying file 'libltdl/ltdl.c' libtoolize: copying file 'libltdl/ltdl.h' libtoolize: copying file 'libltdl/slist.c' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:11: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:668: AM_PROG_LEX is expanded from... configure.ac:11: the top level configure.ac:161: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. configure.ac:161: You should run autoupdate. m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from... configure.ac:161: the top level configure.ac:161: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:161: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from... configure.ac:161: the top level configure.ac:213: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:213: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:524: AM_ICONV is expanded from... configure.ac:213: the top level configure.ac:213: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:213: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:524: AM_ICONV is expanded from... configure.ac:213: the top level configure.ac:274: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:274: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... configure.ac:274: the top level configure.ac:274: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:274: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... configure.ac:274: the top level configure.ac:300: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:300: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... configure.ac:300: the top level configure.ac:300: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:300: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... configure.ac:300: the top level configure.ac:359: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:359: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:359: the top level configure.ac:372: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:372: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:502: AC_CHECK_LONG_LONG is expanded from... configure.ac:372: the top level configure.ac:380: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:380: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:691: AM_LANGINFO_CODESET is expanded from... configure.ac:380: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o CPPFLAGS=\"$CPPFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o CPPFLAGS=\"$CPPFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o CFLAGS=\"$CFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o CFLAGS=\"$CFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o LDFLAGS=\"$LDFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o LDFLAGS=\"$LDFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o LIBS=\"$LIBS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o LIBS=\"$LIBS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: The macro `AC_TRY_CPP' is obsolete. configure.ac:388: You should run autoupdate. ./lib/autoconf/general.m4:2762: AC_TRY_CPP is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:388: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:388: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o PTH_CFLAGS=\"$PTH_CFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o PTH_CFLAGS=\"$PTH_CFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o PTH_LDFLAGS=\"$PTH_LDFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o PTH_LDFLAGS=\"$PTH_LDFLAGS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: result: o PTH_LIBS=\"$PTH_LIBS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:388: warning: back quotes and double quotes must not be escaped in: o PTH_LIBS=\"$PTH_LIBS\" acinclude.m4:151: _AC_PTH_VERBOSE is expanded from... acinclude.m4:157: AC_CHECK_PTH is expanded from... configure.ac:388: the top level configure.ac:410: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:410: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:63: AC_CHECK_LIB_NOC is expanded from... configure.ac:410: the top level configure.ac:421: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:421: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:10: AC_CHECK_LIBPT_NOC is expanded from... configure.ac:421: the top level configure.ac:421: warning: The macro `ac_cv_prog_gcc' is obsolete. configure.ac:421: You should run autoupdate. ./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from... acinclude.m4:10: AC_CHECK_LIBPT_NOC is expanded from... configure.ac:421: the top level configure.ac:437: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:437: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:10: AC_CHECK_LIBPT_NOC is expanded from... configure.ac:437: the top level configure.ac:437: warning: The macro `ac_cv_prog_gcc' is obsolete. configure.ac:437: You should run autoupdate. ./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from... acinclude.m4:10: AC_CHECK_LIBPT_NOC is expanded from... configure.ac:437: the top level configure.ac:453: warning: The macro `ac_cv_prog_gcc' is obsolete. configure.ac:453: You should run autoupdate. ./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from... configure.ac:453: the top level configure.ac:456: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:456: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:10: AC_CHECK_LIBPT_NOC is expanded from... configure.ac:456: the top level configure.ac:469: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:469: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:10: AC_CHECK_LIBPT_NOC is expanded from... configure.ac:469: the top level configure.ac:515: warning: The macro `AC_LANG_C' is obsolete. configure.ac:515: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acinclude.m4:615: AC_CHECK_SEMUNDOO is expanded from... configure.ac:515: the top level configure.ac:515: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:515: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:615: AC_CHECK_SEMUNDOO is expanded from... configure.ac:515: the top level configure.ac:531: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:531: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:531: the top level configure.ac:538: warning: AC_CHECK_HEADERS($ac_dir/msql.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:651: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.ac:538: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + 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 -fno-strict-aliasing' + 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 -fno-strict-aliasing' + export CFLAGS CXXFLAGS + '[' '-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' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure --- ./libltdl/configure.backup 2023-09-19 21:59:23.605329901 +0800 +++ ./libltdl/configure 2023-09-19 21:59:26.773336170 +0800 @@ -1712,7 +1712,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' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/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'\''"#' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure --- ./libltdl/configure.backup 2023-09-19 21:59:26.773336170 +0800 +++ ./libltdl/configure 2023-09-19 21:59:26.785336194 +0800 @@ -6876,7 +6876,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'" @@ -14859,7 +14859,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"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./Interix/configure + diff -u ./Interix/configure.backup ./Interix/configure --- ./Interix/configure.backup 2021-04-22 18:21:30.000000000 +0800 +++ ./Interix/configure 2023-09-19 21:59:26.793336210 +0800 @@ -7868,7 +7868,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -8028,7 +8028,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -10970,7 +10970,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 } @@ -12288,7 +12288,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 } @@ -15774,7 +15774,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 } @@ -15947,7 +15947,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 } @@ -16042,7 +16042,7 @@ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else -char (*f) () = _doprnt; +__attribute__ ((used)) char (*f) () = _doprnt; #endif #ifdef __cplusplus } @@ -16154,7 +16154,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' ./Interix/configure + diff -u ./Interix/configure.backup ./Interix/configure + mv ./Interix/configure.backup ./Interix/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./Interix/configure + diff -u ./Interix/configure.backup ./Interix/configure + mv ./Interix/configure.backup ./Interix/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' ./Interix/configure + diff -u ./Interix/configure.backup ./Interix/configure + mv ./Interix/configure.backup ./Interix/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'\''"#' ./Interix/configure + diff -u ./Interix/configure.backup ./Interix/configure + mv ./Interix/configure.backup ./Interix/configure + 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 2023-09-19 21:59:25.165332988 +0800 +++ ./configure 2023-09-19 21:59:26.841336305 +0800 @@ -1882,7 +1882,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 2023-09-19 21:59:26.841336305 +0800 +++ ./configure 2023-09-19 21:59:26.857336337 +0800 @@ -9302,7 +9302,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'" @@ -20427,7 +20427,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' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./Interix/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./Interix/config.guess ++ basename ./Interix/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./Interix/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './Interix/config.guess' + '[' 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-gnu-ld=yes --enable-threads=yes --enable-drivers=yes --enable-driverc=yes configure: loading site script /usr/share/config.site 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 for gawk... (cached) gawk checking for bison... no checking for byacc... no checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for aarch64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for flex... no checking for lex... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes 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 sys/time.h... yes checking for sys/sem.h... yes checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 9308: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes