>>> ofono 2.2 Extracting xzcat /home/buildroot/instance-0/dl/ofono/ofono-2.2.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/ofono-2.2 -xf - >>> ofono 2.2 Patching Applying 0001-uclibc-backtrace.patch using patch: patching file src/log.c Hunk #3 succeeded at 304 (offset -9 lines). Hunk #4 succeeded at 321 (offset -9 lines). >>> ofono 2.2 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/ofono-2.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ofono 2.2 Patching libtool patching file /home/buildroot/instance-0/output-1/build/ofono-2.2/build-aux/ltmain.sh Hunk #1 succeeded at 2939 (offset 252 lines). Hunk #2 succeeded at 4532 (offset 255 lines). Hunk #3 succeeded at 6828 (offset 274 lines). Hunk #4 succeeded at 6838 (offset 274 lines). Hunk #5 succeeded at 7138 (offset 281 lines). Hunk #6 succeeded at 7442 (offset 293 lines). Hunk #7 succeeded at 8423 (offset 311 lines). Hunk #8 succeeded at 11058 (offset 348 lines). >>> ofono 2.2 Configuring (cd /home/buildroot/instance-0/output-1/build/ofono-2.2/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-as" LD="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld" NM="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-g++" FC="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS=" -ztext" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_GNU_SOURCE" CONFIG_SITE=/dev/null ./configure --target=mipsel-buildroot-linux-musl --host=mipsel-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --enable-shared --enable-external-ell --disable-test --with-dbusconfdir=/etc --disable-udev --enable-bluetooth ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mipsel-buildroot-linux-musl-strip... /bin/true checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for mipsel-buildroot-linux-musl-gcc... /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-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 the compiler supports GNU C... yes checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc option to enable C11 features... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc... none checking for C/C++ restrict keyword... __restrict__ checking for mipsel-buildroot-linux-musl-gcc... (cached) /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc accepts -g... (cached) yes checking for /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc option to enable C11 features... (cached) none needed checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc understands -c and -o together... (cached) yes checking dependency style of /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc... (cached) none checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc accepts -fPIE... yes checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc accepts -fsanitize=address... yes checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc accepts -fsanitize=leak... ./configure: line 5854: _lsan: command not found ./configure: line 5869: _lsan: command not found checking whether /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc accepts -fsanitize=undefined... yes checking build system type... x86_64-pc-linux-gnu checking host system type... mipsel-buildroot-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc... /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to mipsel-buildroot-linux-musl 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 /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld option to reload object files... -r checking for mipsel-buildroot-linux-musl-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for mipsel-buildroot-linux-musl-objdump... /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for mipsel-buildroot-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mipsel-buildroot-linux-musl-ar... /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for mipsel-buildroot-linux-musl-strip... (cached) /bin/true checking for mipsel-buildroot-linux-musl-ranlib... /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mipsel-buildroot-linux-musl-mt... no checking for mt... mt checking if mt 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 /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc linker (/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-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... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for _init in -lasan... no checking for _init in -llsan... no checking for _init in -lubsan... no checking for explicit_bzero... yes checking for rawmemchr... no checking for signalfd... yes checking for dlopen in -ldl... yes checking for glib-2.0 >= 2.68... yes checking for dbus-1 >= 1.6... yes checking for mobile-broadband-provider-info... yes checking for ell >= 0.12... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/version.h config.status: creating src/ofono.service config.status: creating ofono.pc config.status: creating dundee/dundee.service config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> ofono 2.2 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/ofono-2.2/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/ofono-2.2' GEN include/ofono/log.h GEN include/ofono/plugin.h GEN include/ofono/history.h GEN include/ofono/dbus.h GEN include/ofono/modem.h GEN include/ofono/types.h GEN include/ofono/call-barring.h GEN include/ofono/call-forwarding.h GEN include/ofono/call-meter.h GEN include/ofono/call-settings.h GEN include/ofono/phonebook.h GEN include/ofono/ussd.h GEN include/ofono/sms.h GEN include/ofono/sim.h GEN include/ofono/message-waiting.h GEN include/ofono/netreg.h GEN include/ofono/voicecall.h GEN include/ofono/devinfo.h GEN include/ofono/cbs.h GEN include/ofono/call-volume.h GEN include/ofono/gprs.h GEN include/ofono/gprs-context.h GEN include/ofono/radio-settings.h GEN include/ofono/stk.h GEN include/ofono/audio-settings.h GEN include/ofono/nettime.h GEN include/ofono/ctm.h GEN include/ofono/sim-auth.h GEN include/ofono/gprs-provision.h GEN include/ofono/emulator.h GEN include/ofono/location-reporting.h GEN include/ofono/gnss.h GEN include/ofono/private-network.h GEN include/ofono/handsfree.h GEN include/ofono/handsfree-audio.h GEN include/ofono/siri.h GEN include/ofono/netmon.h GEN include/ofono/lte.h GEN include/ofono/ims.h GEN include/ofono/storage.h GEN src/builtin.h GEN include/ofono/version.h GEN ell/shared /usr/bin/make --no-print-directory all-am CC src/log.o CC unit/rilmodem-test-server.o CC unit/rilmodem-test-engine.o CC unit/test-rilmodem-cs.o CC unit/test-rilmodem-sms.o CC unit/test-rilmodem-cb.o CC drivers/rilmodem/call-barring.o CC unit/test-rilmodem-gprs.o CC drivers/rilmodem/gprs.o CC unit/test-sms-root.o CC unit/test-mux.o CC gatchat/gatchat.o CC gatchat/gatresult.o CC gatchat/gatsyntax.o CC gatchat/gatio.o CC gatchat/crc-ccitt.o src/log.c:26:9: warning: "_GNU_SOURCE" redefined 26 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition CC gatchat/gatmux.o src/log.c: In function '__ofono_log_init': src/log.c:311:17: error: implicit declaration of function 'basename'; did you mean 'g_basename'? [-Wimplicit-function-declaration] 311 | openlog(basename(program), option, LOG_DAEMON); | ^~~~~~~~ | g_basename src/log.c:311:17: error: passing argument 1 of 'openlog' makes pointer from integer without a cast [-Wint-conversion] 311 | openlog(basename(program), option, LOG_DAEMON); | ^~~~~~~~~~~~~~~~~ | | | int In file included from src/log.c:32: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/syslog.h:60:15: note: expected 'const char *' but argument is of type 'int' 60 | void openlog (const char *, int, int); | ^~~~~~~~~~~~ CC gatchat/gsm0710.o make[2]: *** [Makefile:4006: src/log.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:2347: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/ofono-2.2' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/ofono-2.2/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'