Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libimobiledevice.spec'], chrootPath='/var/lib/mock/dist-an23-build-203286-61049/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libimobiledevice.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658102400 Wrote: /builddir/build/SRPMS/libimobiledevice-1.2.0-16.0.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libimobiledevice.spec'], chrootPath='/var/lib/mock/dist-an23-build-203286-61049/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libimobiledevice.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658102400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C1hhXr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libimobiledevice-1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libimobiledevice-1.2.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd libimobiledevice-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'libimobiledevice-1.2.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/344409e1d1ad917d377b256214c5411dda82e6b0...5a85432719fb3d18027d528f87d2a44b76fd3e12.patch + /usr/bin/git apply --index --reject - :4930: trailing whitespace. return ret; Checking patch m4/ac_python_devel.m4... Checking patch src/lockdown.c... Checking patch cython/lockdown.pxi... Checking patch include/libimobiledevice/lockdown.h... Checking patch src/lockdown.c... Checking patch include/libimobiledevice/lockdown.h... Checking patch src/lockdown.c... Checking patch src/idevice.c... Checking patch src/installation_proxy.c... Checking patch src/mobilesync.c... Checking patch tools/idevice_id.c... Checking patch tools/idevicebackup.c... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicecrashreport.c... Checking patch tools/idevicedate.c... Checking patch tools/idevicedebug.c... Checking patch tools/idevicedebugserverproxy.c... Checking patch tools/idevicediagnostics.c... Checking patch tools/ideviceenterrecovery.c... Checking patch tools/ideviceimagemounter.c... Checking patch tools/ideviceinfo.c... Checking patch tools/idevicename.c... Checking patch tools/idevicenotificationproxy.c... Checking patch tools/idevicepair.c... Checking patch tools/ideviceprovision.c... Checking patch tools/idevicescreenshot.c... Checking patch tools/idevicesyslog.c... Checking patch common/Makefile.am... Checking patch src/idevice.c... Checking patch tools/idevicecrashreport.c... Checking patch tools/idevicecrashreport.c... Checking patch tools/idevicecrashreport.c... Checking patch common/socket.c... Checking patch common/utils.h... Checking patch tools/idevicebackup.c... Checking patch tools/idevicebackup2.c... Checking patch src/installation_proxy.c... Checking patch src/lockdown.c... Checking patch include/libimobiledevice/libimobiledevice.h... Checking patch src/idevice.c... Checking patch tools/idevicedebug.c... Checking patch src/diagnostics_relay.c... Checking patch src/file_relay.c... Checking patch configure.ac... Checking patch configure.ac... Checking patch src/idevice.c... Checking patch src/idevice.c... Checking patch src/idevice.c... Checking patch src/idevice.c... Checking patch src/lockdown.c... Checking patch common/userpref.c... Checking patch src/idevice.c... Checking patch src/lockdown.c... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicebackup2.c... Checking patch src/Makefile.am... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicebackup2.c... Checking patch tools/idevicebackup2.c... Checking patch common/userpref.c... Checking patch tools/idevicebackup2.c... Checking patch include/libimobiledevice/misagent.h... Checking patch src/misagent.c... Checking patch tools/ideviceprovision.c... Checking patch tools/ideviceprovision.c... Checking patch tools/ideviceprovision.c... Checking patch tools/ideviceprovision.c... Checking patch tools/idevicebackup2.c... Checking patch cython/Makefile.am... Checking patch tools/ideviceprovision.c... Checking patch configure.ac... Checking patch m4/ax_pthread.m4... Checking patch src/Makefile.am... Checking patch tools/ideviceprovision.c... Checking patch src/property_list_service.c... Checking patch include/libimobiledevice/lockdown.h... Checking patch src/idevice.c... Checking patch src/lockdown.c... Checking patch src/property_list_service.c... Checking patch include/libimobiledevice/libimobiledevice.h... Checking patch include/endianness.h... Checking patch src/installation_proxy.c... Checking patch src/idevice.c... Checking patch src/idevice.c... Checking patch src/idevice.c... Checking patch cython/lockdown.pxi... Checking patch src/idevice.c... Checking patch README... Checking patch tools/idevicescreenshot.c... Checking patch include/Makefile.am... Checking patch include/libimobiledevice/mobileactivation.h... Checking patch src/Makefile.am... Checking patch src/mobileactivation.c... Checking patch src/mobileactivation.h... Checking patch include/libimobiledevice/mobileactivation.h... Checking patch src/mobileactivation.c... Checking patch src/idevice.c... Checking patch src/idevice.h... Checking patch src/lockdown.c... Applied patch m4/ac_python_devel.m4 cleanly. Applied patch src/lockdown.c cleanly. Applied patch cython/lockdown.pxi cleanly. Applied patch include/libimobiledevice/lockdown.h cleanly. Applied patch src/lockdown.c cleanly. Applied patch include/libimobiledevice/lockdown.h cleanly. Applied patch src/lockdown.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/installation_proxy.c cleanly. Applied patch src/mobilesync.c cleanly. Applied patch tools/idevice_id.c cleanly. Applied patch tools/idevicebackup.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicecrashreport.c cleanly. Applied patch tools/idevicedate.c cleanly. Applied patch tools/idevicedebug.c cleanly. Applied patch tools/idevicedebugserverproxy.c cleanly. Applied patch tools/idevicediagnostics.c cleanly. Applied patch tools/ideviceenterrecovery.c cleanly. Applied patch tools/ideviceimagemounter.c cleanly. Applied patch tools/ideviceinfo.c cleanly. Applied patch tools/idevicename.c cleanly. Applied patch tools/idevicenotificationproxy.c cleanly. Applied patch tools/idevicepair.c cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch tools/idevicescreenshot.c cleanly. Applied patch tools/idevicesyslog.c cleanly. Applied patch common/Makefile.am cleanly. Applied patch src/idevice.c cleanly. Applied patch tools/idevicecrashreport.c cleanly. Applied patch tools/idevicecrashreport.c cleanly. Applied patch tools/idevicecrashreport.c cleanly. Applied patch common/socket.c cleanly. Applied patch common/utils.h cleanly. Applied patch tools/idevicebackup.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch src/installation_proxy.c cleanly. Applied patch src/lockdown.c cleanly. Applied patch include/libimobiledevice/libimobiledevice.h cleanly. Applied patch src/idevice.c cleanly. Applied patch tools/idevicedebug.c cleanly. Applied patch src/diagnostics_relay.c cleanly. Applied patch src/file_relay.c cleanly. Applied patch configure.ac cleanly. Applied patch configure.ac cleanly. Applied patch src/idevice.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/lockdown.c cleanly. Applied patch common/userpref.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/lockdown.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch src/Makefile.am cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch common/userpref.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch include/libimobiledevice/misagent.h cleanly. Applied patch src/misagent.c cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch tools/idevicebackup2.c cleanly. Applied patch cython/Makefile.am cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch configure.ac cleanly. Applied patch m4/ax_pthread.m4 cleanly. Applied patch src/Makefile.am cleanly. Applied patch tools/ideviceprovision.c cleanly. Applied patch src/property_list_service.c cleanly. Applied patch include/libimobiledevice/lockdown.h cleanly. Applied patch src/idevice.c cleanly. Applied patch src/lockdown.c cleanly. Applied patch src/property_list_service.c cleanly. Applied patch include/libimobiledevice/libimobiledevice.h cleanly. Applied patch include/endianness.h cleanly. Applied patch src/installation_proxy.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/idevice.c cleanly. Applied patch cython/lockdown.pxi cleanly. Applied patch src/idevice.c cleanly. Applied patch README cleanly. Applied patch tools/idevicescreenshot.c cleanly. Applied patch include/Makefile.am cleanly. Applied patch include/libimobiledevice/mobileactivation.h cleanly. Applied patch src/Makefile.am cleanly. Applied patch src/mobileactivation.c cleanly. Applied patch src/mobileactivation.h cleanly. Applied patch include/libimobiledevice/mobileactivation.h cleanly. Applied patch src/mobileactivation.c cleanly. Applied patch src/idevice.c cleanly. Applied patch src/idevice.h cleanly. Applied patch src/lockdown.c cleanly. warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m 344409e1d1ad917d377b256214c5411dda82e6b0...5a85432719fb3d18027d528f87d2a44b76fd3e12.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch + /usr/bin/git apply --index --reject - Checking patch common/userpref.c... Applied patch common/userpref.c cleanly. + /usr/bin/git commit -q -m 0001-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch + /usr/bin/git apply --index --reject - Checking patch common/userpref.c... Applied patch common/userpref.c cleanly. + /usr/bin/git commit -q -m 0002-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch --author 'rpm-build ' + chmod +x docs/html + ACLOCAL='aclocal -I m4' + autoreconf -f -i 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' configure.ac:34: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:34: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:34: the top level configure.ac:42: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:42: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:42: the top level configure.ac:80: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead 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... m4/ax_pthread.m4:88: AX_PTHREAD is expanded from... configure.ac:80: the top level configure.ac:95: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:95: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/ac_python_devel.m4:73: AC_PYTHON_DEVEL is expanded from... m4/cython_python.m4:1: CYTHON_PYTHON is expanded from... configure.ac:95: the top level configure.ac:172: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:172: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... m4/as-compiler-flag.m4:37: AS_COMPILER_FLAGS is expanded from... configure.ac:172: the top level configure.ac:209: warning: AC_OUTPUT should be used without arguments. configure.ac:209: You should run autoupdate. configure.ac:31: installing './compile' configure.ac:6: installing './missing' common/Makefile.am: installing './depcomp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DRyk8n + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 libimobiledevice-1.2.0 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + '[' '-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 2023-01-29 18:35:40.586571431 +0800 +++ ./configure 2023-01-29 18:35:41.436650371 +0800 @@ -1873,7 +1873,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-01-29 18:35:41.436650371 +0800 +++ ./configure 2023-01-29 18:35:41.454652043 +0800 @@ -7930,7 +7930,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'" @@ -21358,7 +21358,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.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./ltmain.sh + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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 --disable-static --disable-openssl --enable-dev-tools --without-cython configure: WARNING: unrecognized options: --enable-dev-tools 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 whether make supports nested variables... (cached) yes checking for x86_64-Anolis-linux-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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-file... no checking for file... file checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7936: -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 x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... 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 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... no 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 -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libusbmuxd... no configure: error: Package requirements (libusbmuxd >= 1.0.9) were not met: Package 'libusbmuxd', required by 'virtual:world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables libusbmuxd_CFLAGS and libusbmuxd_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. error: Bad exit status from /var/tmp/rpm-tmp.DRyk8n (%build) Bad exit status from /var/tmp/rpm-tmp.DRyk8n (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libimobiledevice.spec