Applying ./patches/01-prevent-extra-optimization.patch using plaintext: patching file autoconf/extra.m4 Hunk #1 succeeded at 516 with fuzz 2 (offset 25 lines). Applying ./patches/100-reproducible-builds.patch using plaintext: patching file src/chan_sccp.c Hunk #1 succeeded at 198 (offset 12 lines). autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/share/aclocal -I m4 -I . --force -I autoconf autoreconf: configure.ac: tracing autoreconf: configure.ac: subdirectory libltdl not present autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autoconf'. OpenWrt-libtoolize: linking file `autoconf/config.guess' OpenWrt-libtoolize: linking file `autoconf/config.sub' OpenWrt-libtoolize: linking file `autoconf/install-sh' OpenWrt-libtoolize: linking file `autoconf/ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `autoconf'. OpenWrt-libtoolize: linking file `autoconf/libtool.m4' OpenWrt-libtoolize: You should add the contents of `autoconf/libtool.m4' to `aclocal.m4'. OpenWrt-libtoolize: linking file `autoconf/ltoptions.m4' OpenWrt-libtoolize: You should add the contents of `autoconf/ltoptions.m4' to `aclocal.m4'. OpenWrt-libtoolize: linking file `autoconf/ltsugar.m4' OpenWrt-libtoolize: You should add the contents of `autoconf/ltsugar.m4' to `aclocal.m4'. OpenWrt-libtoolize: linking file `autoconf/ltversion.m4' OpenWrt-libtoolize: linking file `autoconf/lt~obsolete.m4' OpenWrt-libtoolize: You should add the contents of `autoconf/lt~obsolete.m4' to `aclocal.m4'. OpenWrt-libtoolize: Remember to add `LT_INIT' to configure.ac. autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing autoreconf: Leaving directory `.' configure: loading site script /builder/shared-workdir/build/sdk/include/site/mipsel checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-linux-musl-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mipsel-openwrt-linux-musl-gcc accepts -g... yes checking for mipsel-openwrt-linux-musl-gcc option to accept ISO C89... none needed checking whether mipsel-openwrt-linux-musl-gcc understands -c and -o together... yes checking how to run the C preprocessor... mipsel-openwrt-linux-musl-gcc -E checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... x86_64-pc-linux-gnu checking host system type... mipsel-openwrt-linux-gnu checking target system type... mipsel-openwrt-linux-gnu Checking AutoMake: checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-musl-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of mipsel-openwrt-linux-musl-gcc... gcc3 checking whether make supports nested variables... (cached) yes Checking build environment: checking for mipsel-openwrt-linux-uname... no checking for uname... /bin/uname configure: WARNING: using cross tools not prefixed with host triplet checking for date... /bin/date checking for uname... /bin/uname checking for gsed... no checking for sed... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for id... /usr/bin/id checking for RAII support... checking gcc version > 4.3... yes checking for gcc -fnested-functions... no checking whether C compiler accepts -fstack-protector... yes checking whether C compiler accepts -Wno-long-long... yes checking whether C compiler accepts -Wno-ignored-qualifiers... yes checking whether C compiler accepts -Wno-missing-field-initializers... yes checking if pointers to integers require aligned access... no checking whether uint64_t misalignment causes a buserror on this system... no checking whether we are using the GNU C++ compiler... yes checking whether mipsel-openwrt-linux-musl-g++ accepts -g... yes checking dependency style of mipsel-openwrt-linux-musl-g++... gcc3 Checking host platform: Running on: mipsel-openwrt-linux-gnu checking for mipsel-openwrt-linux-gcc... (cached) mipsel-openwrt-linux-musl-gcc checking for mipsel-openwrt-linux-ld... mipsel-openwrt-linux-musl-ld checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-musl-gcc-ranlib Checking Atomic Functions: checking ia64intrin.h usability... no checking ia64intrin.h presence... no checking for ia64intrin.h... no checking ia32intrin.h usability... no checking ia32intrin.h presence... no checking for ia32intrin.h... no checking whether compiler supports builtin atomic CAS-32... yes checking whether compiler supports builtin atomic CAS-64... no checking whether compiler supports builtin atomic CAS-ptr... yes checking whether compiler supports builtin atomic incr... yes checking whether the compiler supports CMPXCHG16B... no Checking for standard programs: checking how to print strings... printf checking for a sed that does not truncate output... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by mipsel-openwrt-linux-musl-gcc... mipsel-openwrt-linux-musl-ld checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... mipsel-openwrt-linux-musl-gcc-nm checking the name lister (mipsel-openwrt-linux-musl-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to mipsel-openwrt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for mipsel-openwrt-linux-musl-ld option to reload object files... -r checking for mipsel-openwrt-linux-objdump... mipsel-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for mipsel-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for mipsel-openwrt-linux-strip... (cached) mipsel-openwrt-linux-musl-strip checking for mipsel-openwrt-linux-ranlib... (cached) mipsel-openwrt-linux-musl-gcc-ranlib checking command to parse mipsel-openwrt-linux-musl-gcc-nm output from mipsel-openwrt-linux-musl-gcc object... ok checking for sysroot... no checking for mipsel-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for git... /builder/shared-workdir/build/sdk/staging_dir/host/bin/git checking for bash... /bin/bash checking for bash... /builder/shared-workdir/build/sdk/staging_dir/host/bin/bash checking for gm4... /builder/shared-workdir/build/sdk/staging_dir/host/bin/m4 checking for ggrep... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for cat... /bin/cat checking for uname... (cached) /bin/uname checking for rpmbuild... no checking for objcopy... /usr/bin/objcopy checking for gdb... no checking for head... /usr/bin/head checking for cut... /usr/bin/cut checking for tr... /usr/bin/tr checking for gawk... /usr/bin/gawk checking for pkg-config... /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config checking for openssl... /builder/shared-workdir/build/sdk/staging_dir/host/bin/openssl checking for mipsel-openwrt-linux-clang... (cached) mipsel-openwrt-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether mipsel-openwrt-linux-musl-gcc accepts -g... (cached) yes checking for mipsel-openwrt-linux-musl-gcc option to accept ISO C89... (cached) none needed checking whether mipsel-openwrt-linux-musl-gcc understands -c and -o together... (cached) yes checking whether mipsel-openwrt-linux-musl-gcc and cc understand -c and -o together... yes checking whether mipsel-openwrt-linux-musl-gcc needs -traditional... no checking how to run the C preprocessor... mipsel-openwrt-linux-musl-gcc -E checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for objdir... .libs checking if mipsel-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for mipsel-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if mipsel-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if mipsel-openwrt-linux-musl-gcc static flag -static works... yes checking if mipsel-openwrt-linux-musl-gcc supports -c -o file.o... yes checking if mipsel-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the mipsel-openwrt-linux-musl-gcc linker (mipsel-openwrt-linux-musl-ld) 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... mipsel-openwrt-linux-musl-g++ -E checking for ld used by mipsel-openwrt-linux-musl-g++... mipsel-openwrt-linux-musl-ld checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes checking whether the mipsel-openwrt-linux-musl-g++ linker (mipsel-openwrt-linux-musl-ld) supports shared libraries... yes checking for mipsel-openwrt-linux-musl-g++ option to produce PIC... -fPIC -DPIC checking if mipsel-openwrt-linux-musl-g++ PIC flag -fPIC -DPIC works... yes checking if mipsel-openwrt-linux-musl-g++ static flag -static works... yes checking if mipsel-openwrt-linux-musl-g++ supports -c -o file.o... yes checking if mipsel-openwrt-linux-musl-g++ supports -c -o file.o... (cached) yes checking whether the mipsel-openwrt-linux-musl-g++ linker (mipsel-openwrt-linux-musl-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether mipsel-openwrt-linux-musl-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 ccache... /builder/shared-workdir/build/sdk/staging_dir/host/bin/ccache checking which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /usr/local/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 /libx32 /usr/libx32 checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... no checking for error_t... no checking for argz_add... no checking for argz_append... no checking for argz_count... no checking for argz_create_sep... no checking for argz_insert... no checking for argz_next... no checking for argz_stringify... no checking whether libtool supports -dlopen/-dlpreopen... yes Checking Libtool: checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... checking where to find libltdl library... -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking for lt_dladvise_init in -lltdl... yes libtool: setup done Checking for Required Libraries: checking for ld... mipsel-openwrt-linux-musl-ld checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... yes checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib32,lib checking for iconv... yes checking for working iconv... guessing yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for main in -lc... yes checking for main in -lpthread... yes checking for main in -lsocket... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking for main in -liconv... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for mkdir... yes checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for netinet/in.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for EVP_EncryptInit in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking sizeof(long long) == sizeof(long)... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking whether byte ordering is bigendian... (cached) no Checking Configure Options: checking Search Path: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr... not-found configure: Either install asterisk and asterisk-devel packages using your package manager. configure: If you compiled asterisk manually, make sure you also run `make install-headers` so chan-sccp can find them. configure: Or run ./configure --with-asterisk=PATH with PATH pointing to the directory where you installed asterisk configure: error: Could not find pbx headers or libraries - these are required. make[3]: *** [Makefile:76: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/asterisk-chan-sccp-2020-12-19-968caa45/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1 time: package/feeds/telephony/asterisk-chan-sccp/compile#37.76#7.31#55.60