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 x86_64 --nodeps /builddir/build/SPECS/asterisk.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-123602-73027/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 x86_64 --nodeps /builddir/build/SPECS/asterisk.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 (4 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/asterisk-18.26.1-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (4 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 x86_64 --nodeps --nocheck /builddir/build/SPECS/asterisk.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-123602-73027/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 x86_64 --nodeps --nocheck /builddir/build/SPECS/asterisk.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 (4 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E5k0kb + umask 022 + cd /builddir/build/BUILD + rpm -q libgcrypt libgcrypt-1.10.2-5.oc9.x86_64 + gpgv2 --keyring /builddir/build/SOURCES/asterisk-gpgkeys.gpg /builddir/build/SOURCES/asterisk-18.26.1.tar.gz.asc /builddir/build/SOURCES/asterisk-18.26.1.tar.gz gpgv: can't allocate lock for '/builddir/build/SOURCES/asterisk-gpgkeys.gpg' gpgv: Signature made Fri Jan 10 03:34:27 2025 CST gpgv: using RSA key F2FC93DB7587BD1FB49E045A5D984BE337191CE7 gpgv: Good signature from "Asterisk Development Team " + cd /builddir/build/BUILD + rm -rf asterisk-18.26.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/asterisk-18.26.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd asterisk-18.26.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir cache + cp /builddir/build/SOURCES/pjproject-2.14.1.tar.bz2 cache/ ************************************************************************* + echo '*************************************************************************' + ls -altr cache/ total 8192 drwxr-xr-x 33 mockbuild mock 4096 Jan 13 19:26 .. drwxr-xr-x 2 mockbuild mock 4096 Jan 13 19:26 . -rw-r--r-- 1 mockbuild mock 8379251 Jan 13 19:26 pjproject-2.14.1.tar.bz2 /builddir/build/BUILD/asterisk-18.26.1 ************************************************************************* Patch #0 (asterisk-mariadb.patch): + pwd + echo '*************************************************************************' + echo 'Patch #0 (asterisk-mariadb.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file addons/cdr_mysql.c Hunk #1 succeeded at 45 (offset 2 lines). Hunk #2 succeeded at 651 (offset 149 lines). patching file addons/res_config_mysql.c Patch #1 (asterisk-16.1.0-explicit-python3.patch): + echo 'Patch #1 (asterisk-16.1.0-explicit-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build_tools/get_documentation.py patching file build_tools/post_process_documentation.py patching file contrib/scripts/refcounter.py patching file contrib/scripts/reflocks.py patching file contrib/scripts/refstats.py patching file contrib/scripts/sip_to_pjsip/sip_to_pjsip.py patching file contrib/scripts/sip_to_pjsip/sip_to_pjsql.py patching file contrib/scripts/spandspflow2pcap.py patching file contrib/scripts/voicemailpwcheck.py patching file rest-api-templates/make_ari_stubs.py patching file contrib/scripts/ast_coredumper Hunk #1 succeeded at 421 (offset 50 lines). Patch #2 (asterisk-18.4.0-astmm_ignore_for_console_board.patch): + echo 'Patch #2 (asterisk-18.4.0-astmm_ignore_for_console_board.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file channels/console_board.c Patch #3 (asterisk-18.12.1-ilbc_macros.patch): + echo 'Patch #3 (asterisk-18.12.1-ilbc_macros.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file codecs/codec_ilbc.c + cp /builddir/build/SOURCES/menuselect.makedeps menuselect.makedeps + cp /builddir/build/SOURCES/menuselect.makeopts menuselect.makeopts + /usr/bin/perl -pi -e 's/^all:.*$/all:/' sounds/Makefile + /usr/bin/perl -pi -e 's/^install:.*$/install:/' sounds/Makefile + mv main/fskmodem.c main/fskmodem.c.old + iconv -f iso-8859-1 -t utf-8 -o main/fskmodem.c main/fskmodem.c.old + touch -r main/fskmodem.c.old main/fskmodem.c + rm main/fskmodem.c.old + chmod -x contrib/scripts/dbsep.cgi + /usr/bin/perl -pi -e 's/^MENUSELECT_CHANNELS=(.*)$/MENUSELECT_CHANNELS=\1 chan_misdn/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_APPS=(.*)$/MENUSELECT_APPS=\1 app_ices/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_APPS=(.*)$/MENUSELECT_APPS=\1 app_jack/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_RES=(.*)$/MENUSELECT_RES=\1 res_xmpp/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_CHANNELS=(.*)$/MENUSELECT_CHANNELS=\1 chan_motif/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_APPS=(.*)$/MENUSELECT_APPS=\1 app_meetme/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_ADDONS=(.*)$/MENUSELECT_ADDONS=\1 chan_ooh323/g' menuselect.makeopts + /usr/bin/perl -pi -e 's/^MENUSELECT_APPS=(.*)$/MENUSELECT_APPS=\1 app_voicemail_imap/g' menuselect.makeopts + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LbZWo7 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC -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 asterisk-18.26.1 + export '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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + export '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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + export '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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC' + export 'LDFLAGS=-m64 -Wl,--as-needed,--library-path=/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + LDFLAGS='-m64 -Wl,--as-needed,--library-path=/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export 'ASTCFLAGS= ' + ASTCFLAGS=' ' + sed -i '1s/env python/python3/' contrib/scripts/refcounter.py + ./bootstrap.sh Generating the configure script for Asterisk ... Generating the configure script for menuselect ... + pushd menuselect ~/build/BUILD/asterisk-18.26.1/menuselect ~/build/BUILD/asterisk-18.26.1 + '[' '-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-01-13 19:26:34.302973359 +0800 +++ ./configure 2025-01-13 19:26:34.752974886 +0800 @@ -1750,7 +1750,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + 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 + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking for x86_64-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 for GNU make... make checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... 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 size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for asprintf... yes checking for getloadavg... yes checking for setenv... yes checking for strcasestr... yes checking for strndup... yes checking for strnlen... yes checking for strsep... yes checking for unsetenv... yes checking for vasprintf... yes checking for newtBell in -lnewt... yes checking for newt.h... yes checking for initscr in -lncurses... yes checking for ncurses.h... yes checking for keypad in -ltinfo... yes checking for ncurses.h... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking for libxml-2.0... yes checking for gtk+-2.0... yes configure: creating ./config.status config.status: creating makeopts config.status: creating autoconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking configure: Menuselect build configuration successfully completed + popd ~/build/BUILD/asterisk-18.26.1 + '[' '-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' ./menuselect/configure + diff -u ./menuselect/configure.backup ./menuselect/configure + mv ./menuselect/configure.backup ./menuselect/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./menuselect/configure + diff -u ./menuselect/configure.backup ./menuselect/configure + mv ./menuselect/configure.backup ./menuselect/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./menuselect/configure + diff -u ./menuselect/configure.backup ./menuselect/configure + mv ./menuselect/configure.backup ./menuselect/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' ./menuselect/configure + diff -u ./menuselect/configure.backup ./menuselect/configure + mv ./menuselect/configure.backup ./menuselect/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'\''"#' ./menuselect/configure + diff -u ./menuselect/configure.backup ./menuselect/configure + mv ./menuselect/configure.backup ./menuselect/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 2025-01-13 19:26:32.841968396 +0800 +++ ./configure 2025-01-13 19:26:36.271980044 +0800 @@ -2720,7 +2720,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./menuselect/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./menuselect/config.guess ++ basename ./menuselect/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./menuselect/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './menuselect/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./menuselect/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./menuselect/config.sub ++ basename ./menuselect/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./menuselect/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './menuselect/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 + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-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 --without-imap --with-gsm=/usr --with-ilbc=/usr --with-libedit=yes --with-srtp --with-pjproject-bundled --with-externals-cache=/builddir/build/BUILD/asterisk-18.26.1/cache 'LDFLAGS=-m64 -Wl,--as-needed,--library-path=/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' NOISY_BUILD=1 CPPFLAGS=-fPIC configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking for x86_64-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 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 wchar.h... yes checking for minix/config.h... no checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for utime.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether char is unsigned... no checking for x86_64-opencloudos-linux-gnu-uname... no checking for uname... /usr/bin/uname 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 how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for GNU make... make checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for x86_64-opencloudos-linux-gnu-strip... no checking for x86_64-opencloudos-linux-gnu-gstrip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ar... no checking for x86_64-opencloudos-linux-gnu-gar... no checking for ar... ar checking for bison... : checking for cmp... /usr/bin/cmp checking for cat... /usr/bin/cat checking for cut... /usr/bin/cut checking for flex... : checking for grep... (cached) /usr/bin/grep checking for python2.7... no checking for python2... no checking for python... no checking for python3... /usr/bin/python3 checking for find... /usr/bin/find checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for sh... /bin/sh checking for ln... /usr/bin/ln checking for doxygen... /usr/bin/doxygen checking for dot... /usr/bin/dot checking for wget... : checking for curl... /usr/bin/curl checking for xmllint... /usr/bin/xmllint checking for xmlstarlet... no checking for xml... no checking for bash... /bin/sh checking for git... : checking for alembic... : checking for bzip2... /usr/bin/bzip2 checking for tar... /usr/bin/tar checking for patch... /usr/bin/patch checking for sed... (cached) /usr/bin/sed checking for nm... /usr/bin/nm checking for realpath... /usr/bin/realpath checking for ldconfig... /usr/sbin/ldconfig checking for sha1sum... /usr/bin/sha1sum checking for openssl... : checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for bison that supports parse-param... checking for x86_64-opencloudos-linux-gnu-soxmix... no checking for soxmix... no checking for md5... no checking for md5sum... md5sum checking for a sed that does not truncate output... (cached) /usr/bin/sed checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for RAII support... checking for gcc -fnested-functions... no checking for clang strsep/strcmp optimization... no configure: checking OPENSSL with pkg-config configure: checking whether system openssl > 1.1.0 checking for openssl >= 1.1.0... yes checking for embedded pjproject (may have to download)... configuring [pjproject] Verifying /builddir/build/BUILD/asterisk-18.26.1/cache/pjproject-2.14.1.tar.bz2 [pjproject] Verify successful [pjproject] Unpacking /builddir/build/BUILD/asterisk-18.26.1/cache/pjproject-2.14.1.tar.bz2 Applying patch 0000-configure-ssl-library-path.patch Applying patch 0000-remove-third-party.patch Makefile:1: build.mak: No such file or directory make[2]: *** No rule to make target 'build.mak'. Stop. checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking target system type... x86_64-opencloudos-linux-gnu checking for x86_64-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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-opencloudos-linux-gnu-ar... no checking for x86_64-opencloudos-linux-gnu-gar... no checking for ar... ar checking for pthread_create in -lpthread... yes checking for puts in -lwsock32... no checking for puts in -lws2_32... no checking for puts in -lole32... no checking for puts in -lwinmm... no checking for puts in -lsocket... no checking for puts in -lrt... yes checking for sin in -lm... yes checking for uuid_generate in -luuid... yes checking for uuid_generate in -luuid... (cached) yes checking for library containing gethostbyname... none required Setting PJ_M_NAME to x86_64 checking memory alignment... 8 bytes 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 whether byte ordering is bigendian... no Checking if floating point is disabled... no checking for arpa/inet.h... yes checking for assert.h... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for linux/socket.h... yes checking for limits.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for ifaddrs.h... yes checking for getifaddrs... yes checking for semaphore.h... yes checking for setjmp.h... yes checking for stdarg.h... yes checking for stddef.h... yes checking for stdio.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking for sys/filio.h... no checking for sys/sockio.h... no checking for sys/utsname.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for execinfo.h... yes checking for winsock.h... no checking for winsock2.h... no checking for mswsock.h... no checking for ws2tcpip.h... no checking for uuid/uuid.h... yes checking for net/if.h... yes checking for localtime_r... yes Setting PJ_OS_NAME to x86_64-opencloudos-linux-gnu Setting PJ_HAS_ERRNO_VAR to 1 Setting PJ_HAS_HIGH_RES_TIMER to 1 Setting PJ_HAS_MALLOC to 1 Setting PJ_NATIVE_STRING_IS_UNICODE to 0 Setting PJ_ATOMIC_VALUE_TYPE to long checking if inet_aton() is available... yes checking if inet_pton() is available... yes checking if inet_ntop() is available... yes checking if getaddrinfo() is available... yes checking if socketpair() is available... yes checking if sockaddr_in has sin_len member... no checking if socklen_t is available... yes checking if IPV6_V6ONLY is available... yes checking if SO_ERROR is available... yes checking if pthread_rwlock_t is available... yes checking if pthread_mutexattr_settype() is available... no checking if pthread_mutexattr_t has recursive member... no checking ioqueue backend... /dev/epoll Building shared libraries... no Building pjsua2 library and application... yes Checking if UPnP is disabled... yes Checking if resampling is disabled...yes Checking if sound is disabled... yes checking for sys/soundcard.h... yes checking for linux/soundcard.h... yes checking for machine/soundcard.h... no Video is disabled Checking if small filter is disabled... no Checking if large filter is disabled... no Checking if Speex AEC is disabled...yes Checking if G.711 codec is disabled...yes Checking if L16 codecs are disabled...yes Checking if GSM codec is disabled...yes Checking if G.722 codec is disabled...yes Checking if G.722.1 codec is disabled...yes Checking if Speex codec is disabled...yes Checking if iLBC codec is disabled...yes Checking if libsamplerate is enabled...no Building libresample as shared library... no Checking if Speex resample is enabled... no Checking if SDL is disabled... yes Checking if ffmpeg is disabled... yes Checking if V4L2 is disabled... yes Checking if OpenH264 is disabled... yes Checking if VPX is disabled... yes Skipping Intel IPP settings (not wanted) Using SSL prefix... yes checking for OpenSSL installations.. checking for openssl/ssl.h... yes checking for ERR_load_BIO_strings in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes OpenSSL library found, SSL support enabled checking for EVP_aes_128_gcm in -lcrypto... yes OpenSSL has AES GCM support, SRTP will use OpenSSL Checking if OpenCORE AMR support is disabled... yes Checking if SILK support is disabled... yes Checking if OPUS support is disabled... yes Checking if bcg729 is disabled... yes Checking if libsrtp is disabled...yes Checking if libyuv is disabled...yes Checking if libwebrtc is disabled...yes Checking if libwebrtc-aec3 is enabled...no checking if select() needs correct nfds... no (default) ** Decided that select() doesn't need correct nfds (please check) checking if pj_thread_create() should enforce stack size... no (default) checking if pj_thread_create() should allocate stack... no (default) ** Setting non-blocking recv() retval to EAGAIN (please check) ** Setting non-blocking connect() retval to EINPROGRESS (please check) checking for pthread_np.h... no checking for pthread_setname_np... yes checking for pthread_set_name_np... no aconfigure: creating ./config.status config.status: creating build.mak config.status: creating build/os-auto.mak config.status: creating build/cc-auto.mak config.status: creating pjlib/build/os-auto.mak config.status: creating pjlib-util/build/os-auto.mak config.status: creating pjmedia/build/os-auto.mak config.status: creating pjsip/build/os-auto.mak config.status: creating third_party/build/os-auto.mak config.status: creating pjlib/include/pj/compat/os_auto.h config.status: creating pjlib/include/pj/compat/m_auto.h config.status: creating pjmedia/include/pjmedia/config_auto.h config.status: creating pjmedia/include/pjmedia-codec/config_auto.h config.status: creating pjsip/include/pjsip/sip_autoconf.h Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. Further customizations can be put in: - 'user.mak' - 'pjlib/include/pj/config_site.h' The next step now is to run 'make dep' and 'make'. checking for bundled pjproject... yes checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 8.4.0 checking for libcurl >= version 7.10.1... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... (cached) yes checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for netdb.h... yes checking for resolv.h... yes checking for arpa/nameser.h... (cached) yes checking for assert.h... yes checking for ctype.h... yes checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for float.h... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for locale.h... yes checking for math.h... yes checking for pwd.h... yes checking for netinet/in.h... (cached) yes checking for regex.h... yes checking for sched.h... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/resource.h... yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/un.h... yes checking for termios.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for arpa/inet.h... yes checking for libintl.h... yes checking for malloc.h... yes checking for netdb.h... (cached) yes checking for stddef.h... yes checking for strings.h... (cached) yes checking for sys/event.h... no checking for utime.h... (cached) yes checking for libedit... yes checking for Testing for libedit unicode support... yes checking for uuid_generate_random in -luuid... yes checking for uuid/uuid.h... yes checking for jansson >= 2.11... yes checking for libjwt >= 1.15.3... no checking for clock_gettime in -lrt... yes checking for libxml-2.0... yes checking for uriParseUriA in -luriparser... no checking for xsltLoadStylesheetPI in -lxslt... no checking for xsltCleanupGlobals in -lxslt... no checking for xlocale.h... no checking for winsock.h... no checking for winsock2.h... no checking for sys/poll.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for long double with more range or precision than double... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... (cached) yes checking for struct stat.st_blksize... yes checking for struct ucred.uid... yes checking for struct ucred.cr_uid... no checking for struct sockpeercred.uid... no checking for struct ifreq.ifr_ifru.ifru_hwaddr... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for ptrdiff_t... yes checking for struct stat.st_mtim... yes checking for struct stat.st_mtimensec... no checking for struct stat.st_mtimespec... no checking for working chown... yes checking whether closedir returns void... no checking for error_at_line... yes checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether gcc needs -traditional... no checking for working memcmp... yes checking for getpagesize... yes checking for vprintf... yes checking for working mmap... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for working strnlen... yes checking for working strtod... yes checking whether utime accepts a null argument... yes checking for asprintf... yes checking for atexit... yes checking for closefrom... yes checking for dup2... yes checking for eaccess... yes checking for endpwent... yes checking for euidaccess... yes checking for ffsll... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for gethostname... yes checking for getloadavg... yes checking for gettimeofday... yes checking for glob... yes checking for ioperm... yes checking for inet_ntoa... yes checking for isascii... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkdtemp... yes checking for munmap... yes checking for newlocale... yes checking for pipe2... yes checking for ppoll... yes checking for putenv... yes checking for re_comp... yes checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strsep... yes checking for strspn... yes checking for strstr... yes checking for strtod... (cached) yes checking for strtol... yes checking for strtold... yes checking for strtoq... yes checking for unsetenv... yes checking for uselocale... yes checking for utime... yes checking for vasprintf... yes checking for getpeereid... no checking for sysctl... no checking for swapctl... no checking for malloc_trim... yes checking for htonll... no checking for ntohll... no checking for sqrt in -lm... yes checking for exp2... yes checking for log2... yes checking for exp10... yes checking for log10... yes checking for sin... yes checking for cos... yes checking for tan... yes checking for asin... yes checking for acos... yes checking for atan... yes checking for atan2... yes checking for pow... yes checking for rint... yes checking for exp... yes checking for log... yes checking for remainder... yes checking for fmod... yes checking for round... yes checking for roundf... yes checking for trunc... yes checking for floor... yes checking for ceil... yes checking for exp2l... yes checking for log2l... yes checking for exp10l... yes checking for log10l... yes checking for sinl... yes checking for cosl... yes checking for tanl... yes checking for asinl... yes checking for acosl... yes checking for atanl... yes checking for atan2l... yes checking for powl... yes checking for sqrtl... yes checking for rintl... yes checking for expl... yes checking for logl... yes checking for remainderl... yes checking for fmodl... yes checking for roundl... yes checking for truncl... yes checking for floorl... yes checking for ceill... yes checking for LLONG_MAX in limits.h... yes checking for timersub in time.h... yes checking for a version of GNU ld that supports the --dynamic-list flag... yes checking for sys/poll.h... (cached) yes checking for inet_aton... yes checking for IP_PKTINFO... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether gethostbyname_r is declared... yes checking for library containing gethostbyname_r... none required checking for gethostbyname_r with 6 arguments... yes checking for gethostbyname_r with 5 arguments... no checking for byteswap.h... yes checking for __swap16 variant of byteswapping macros... no checking for bswap16 variant of byteswapping macros... no checking for locale_t in locale.h... yes checking for O_EVTONLY in fcntl.h... no checking for O_SYMLINK in fcntl.h... no checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes checking for PTHREAD_MUTEX_ADAPTIVE_NP in pthread.h... yes checking for pthread_spinlock_t in pthread.h... yes checking for pthread_rwlock_timedwrlock() in pthread.h... yes checking for working unnamed semaphores... yes checking if PTHREAD_ONCE_INIT needs braces... no checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes checking whether we can compare a mutex to its initial value... no checking for compiler sync operations... yes checking for compiler atomic operations... yes checking if your system printf is NULL-safe.... (null)yes checking if socket() accepts SOCK_NONBLOCK... yes checking if we can increase the maximum select-able file descriptor... no checking if we have usable eventfd support... yes checking for compiler 'attribute pure' support... yes checking for compiler 'attribute malloc' support... yes checking for compiler 'attribute const' support... yes checking for compiler 'attribute unused' support... yes checking for compiler 'attribute always_inline' support... no checking for compiler 'attribute deprecated' support... yes checking for compiler 'attribute sentinel' support... yes checking for compiler 'attribute warn_unused_result' support... yes checking for compiler 'attribute may_alias' support... yes checking for compiler 'attribute constructor' support... yes checking for compiler 'attribute destructor' support... yes checking for compiler 'attribute noreturn' support... yes checking for -fsanitize=address support... yes checking for -fsanitize=thread support... yes checking for -fsanitize=leak support... yes checking for -fsanitize=undefined support... yes checking for -Wdeclaration-after-statement support... yes checking for -Wtrampolines support... yes checking for _FORTIFY_SOURCE support... yes checking for -fno-strict-overflow... yes checking for -Wno-format-truncation... yes checking for -Wno-format-y2k... yes checking for -Wno-stringop-truncation... yes checking for -Wshadow... yes checking for -march=native support... yes checking whether to use rpath... not needed checking for sysinfo... yes checking for library containing res_9_ninit... no checking for res_ninit... yes checking for library containing res_9_ndestroy... no checking for res_ndestroy... no checking for library containing res_9_close... no checking for res_close... no checking for struct __res_state._u._ext.nsaddrs... yes checking for BIND_8_COMPAT required... no checking for GLOB_NOMAGIC in glob.h... yes checking for GLOB_BRACE in glob.h... yes checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of char *... 8 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking size of fd_set.fds_bits... (cached) 8 checking for dladdr in dlfcn.h... yes checking for snd_pcm_open in -lasound... yes checking for alsa/asoundlib.h... yes checking for bfd_openr in -lbfd... no checking for bfd_openr in -lbfd... (cached) no checking for bfd_openr in -lbfd... (cached) no checking for cap_from_text in -lcap... yes checking for sys/capability.h... yes checking for DAHDI_RESET_COUNTERS in dahdi/user.h... yes checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h... yes checking for enhanced dahdi vmwi support... yes checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using dahdi/user.h... yes checking for getifaddrs() support... yes checking for timerfd support... yes checking for gsm_create in -lgsm... yes checking for /usr/include/gsm.h... yes checking for /usr/include/gsm/gsm.h... yes checking for libilbc < 3... no checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for iconv_close in -lc... yes checking for iconv.h... yes checking for icaltimezone_get_utc_timezone in -lical... yes checking for libical/ical.h... yes checking for iks_start_sasl in -liksemel... no checking for SQLConnect in -liodbc... no checking for inotify_init in -lc... yes checking for sys/inotify.h... yes checking for jack_activate in -ljack... no checking for kqueue in -lc... no checking for kevent64... no checking for ldap_initialize in -lldap... yes checking for ldap.h... yes checking for mISDN_open in -lmISDN... no checking for x86_64-opencloudos-linux-gnu-mysql_config... no checking for mysql_config... /bin/mysql_config checking for MySQL client bool support... no checking for MySQL client my_bool support... yes checking for nbs_connect in -lnbs... no checking for x86_64-opencloudos-linux-gnu-neon-config... no checking for neon-config... /bin/neon-config checking for x86_64-opencloudos-linux-gnu-neon-config... no checking for neon-config... /bin/neon-config checking for netsnmp-agent... yes checking for newtBell in -lnewt... yes checking for newt.h... yes checking for ub_ctx_delete in -lunbound... yes checking for unbound.h... yes checking for unbound version >= 1.5... yes checking for SQLConnect in -lodbc... yes checking for sql.h... yes checking for ogg_stream_init in -logg... yes checking for ogg/ogg.h... yes checking for backtrace in -lexecinfo... no checking for backtrace in -lc... yes checking for execinfo.h... yes checking for ba2str in -lbluetooth... yes checking for bluetooth/bluetooth.h... yes checking for bs_version in -lbeanstalk... no checking for linux/soundcard.h... yes checking for x86_64-opencloudos-linux-gnu-pg_config... no checking for pg_config... /usr/bin/pg_config checking for PQescapeStringConn in -lpq... yes checking for pg_encoding_to_char within Postgres headers... no checking for poptStrerror in -lpopt... yes checking for popt.h... yes checking for portaudio-2.0... yes checking for pri_connected_line_update in -lpri... yes checking for libpri.h... yes checking for pri_setup_ack in -lpri... yes checking for libpri.h... (cached) yes checking for pri_persistent_layer2_option in -lpri... yes checking for libpri.h... (cached) yes checking for pri_date_time_send_option in -lpri... yes checking for libpri.h... (cached) yes checking for pri_mwi_indicate_v2 in -lpri... yes checking for libpri.h... (cached) yes checking for pri_display_text in -lpri... yes checking for libpri.h... (cached) yes checking for pri_mwi_indicate in -lpri... yes checking for libpri.h... (cached) yes checking for pri_mcid_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_connect_ack_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_aoc_events_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_transfer_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_cc_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_hangup_fix_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_sr_set_called_subaddress in -lpri... yes checking for libpri.h... (cached) yes checking for pri_hold_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_reroute_enable in -lpri... yes checking for libpri.h... (cached) yes checking for pri_sr_set_keypad_digits in -lpri... yes checking for libpri.h... (cached) yes checking for pri_progress_with_cause in -lpri... yes checking for libpri.h... (cached) yes checking for pri_set_inbanddisconnect in -lpri... yes checking for libpri.h... (cached) yes checking for pri_maintenance_service in -lpri... yes checking for libpri.h... (cached) yes checking for pri_sr_set_reversecharge in -lpri... yes checking for libpri.h... (cached) yes checking for resample_open in -lresample... yes checking for libresample.h... yes checking for fftw_malloc in -lfftw3... no checking for sf_open in -lsndfile... no checking for minimum version of SpanDSP... yes checking for span_set_message_handler in -lspandsp... yes checking for spandsp.h... yes checking for t38_terminal_init in -lspandsp... yes checking for spandsp.h... (cached) yes checking for ss7_set_isup_timer in -lss7... yes checking for libss7.h... yes checking for openr2_chan_new in -lopenr2... no checking for opus_encoder_create in -lopus... no checking for op_open_callbacks in -lopusfile... no checking for luaL_newstate in -llua5.4... no checking for luaL_newstate in -llua5.3... no checking for luaL_newstate in -llua5.2... no checking for luaL_newstate in -llua5.1... no checking for luaL_newstate in -llua... yes checking for lua.h... yes checking for rc_read_config in -lfreeradius-client... yes checking for freeradius-client.h... yes checking for codec2_create in -lcodec2... no checking for cpg_join in -lcpg... yes checking for corosync/cpg.h... yes checking for corosync_cfg_state_track in -lcfg... no checking for speex_encode in -lspeex... yes checking for speex/speex.h... yes checking for speex_preprocess_ctl in -lspeex... no checking for speex_preprocess_ctl in -lspeexdsp... yes checking for speex/speex.h... (cached) yes checking for sqlite_exec in -lsqlite... no checking for sqlite3_open in -lsqlite3... yes checking for sqlite3.h... yes checking for crypt in -lcrypt... yes checking for crypt.h... yes checking for crypt... no checking for crypt_r in -lcrypt... yes checking for osp/osp.h... no checking for srtp_init in -lsrtp2... yes checking for srtp2/srtp.h... yes checking for the ability of -lsrtp2 to be linked in a shared object... yes checking for srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80 in -lsrtp2... yes checking for srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80 in -lsrtp2... yes checking for srtp_crypto_policy_set_aes_gcm_128_8_auth in -lsrtp2... yes checking for srtp_shutdown in -lsrtp2... yes checking for srtp2/srtp.h... (cached) yes checking for srtp_get_version_string in -lsrtp2... yes checking for srtp2/srtp.h... (cached) yes checking for gmime-3.0... yes checking for malloc in -lhoard... no checking for dbinit in -lsybdb... yes checking for sybdb.h... yes checking for tone_zone_find_by_num in -ltonezone... yes checking for tone_zone_find in -ltonezone... yes checking for dahdi/tonezone.h... yes checking for vorbis_info_init in -lvorbis... yes checking for vorbis/codec.h... yes checking for OV_CALLBACKS_NOCLOSE declared in vorbis/vorbisfile.h... yes checking for vpb_open in -lvpb... no checking for compress in -lz... yes checking for zlib.h... yes checking whether ODBC has support for Unicode types... yes checking for linux/compiler.h... no checking for linux/ixjuser.h... no checking for MSG_NOSIGNAL in sys/socket.h... yes checking for SO_NOSIGPIPE in sys/socket.h... no checking for x86_64-opencloudos-linux-gnu-sdl-config... no checking for sdl-config... /bin/sdl-config checking for IMG_Load in -lSDL_image... yes checking for SDL_image.h... yes checking for sws_getContext in -lavcodec... no checking for linux/videodev.h... no checking for XOpenDisplay in -lX11... yes checking for X11/Xlib.h... yes checking for /sbin/launchd... no checking for gtk+-2.0... yes checking for libsystemd... no checking for LOG_AUTH in syslog.h... yes checking for LOG_AUTHPRIV in syslog.h... yes checking for LOG_CRON in syslog.h... yes checking for LOG_DAEMON in syslog.h... yes checking for LOG_FTP in syslog.h... yes checking for LOG_KERN in syslog.h... yes checking for LOG_LPR in syslog.h... yes checking for LOG_MAIL in syslog.h... yes checking for LOG_NEWS in syslog.h... yes checking for LOG_SYSLOG in syslog.h... yes checking for LOG_UUCP in syslog.h... yes checking for bridges/bridge_softmix/include/hrirs.h... yes checking for mandatory modules: PJPROJECT GSM ILBC LIBEDIT SRTP... fail configure: *** configure: *** The ILBC installation appears to be missing or broken. configure: *** Either correct the installation, or run configure configure: *** including --without-ilbc. error: Bad exit status from /var/tmp/rpm-tmp.LbZWo7 (%build) %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.LbZWo7 (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/asterisk.spec\n', 1)] 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 597, 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 --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/asterisk.spec