Applying ./patches/001_libsqlite3_fix.patch using plaintext: patching file acinclude.m4 Applying ./patches/100-remove-date-to-fix-reproducible-builds.patch using plaintext: patching file drivers/db2/dbd_db2.c patching file drivers/firebird/dbd_firebird.c patching file drivers/freetds/dbd_freetds.c patching file drivers/ingres/dbd_ingres.c patching file drivers/msql/dbd_msql.c patching file drivers/mysql/dbd_mysql.c patching file drivers/oracle/dbd_oracle.c patching file drivers/pgsql/dbd_pgsql.c patching file drivers/sqlite/dbd_sqlite.c patching file drivers/sqlite3/dbd_sqlite3.c autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: 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 m4 aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in '.'. OpenWrt-libtoolize: linking file './config.guess' OpenWrt-libtoolize: linking file './config.sub' OpenWrt-libtoolize: linking file './install-sh' OpenWrt-libtoolize: linking file './ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: linking file 'm4/libtool.m4' OpenWrt-libtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltoptions.m4' OpenWrt-libtoolize: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltsugar.m4' OpenWrt-libtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltversion.m4' OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4' OpenWrt-libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc 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 m4 aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:5: the top level configure.in:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:6: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:781: AM_CONFIG_HEADER is expanded from... configure.in:6: the top level configure.in:7: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. configure.in:7: You should run autoupdate. aclocal.m4:9738: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:7: the top level configure.in:7: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.in:7: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9738: AC_LIBTOOL_WIN32_DLL is expanded from... configure.in:7: the top level configure.in:35: warning: The macro `AC_PROG_LD' is obsolete. configure.in:35: You should run autoupdate. aclocal.m4:4557: AC_PROG_LD is expanded from... configure.in:35: the top level configure.in:256: warning: AC_OUTPUT should be used without arguments. configure.in:256: You should run autoupdate. 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 autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:5: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:34: installing './compile' configure.in:5: installing './missing' drivers/db2/Makefile.am:33: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' drivers/db2/Makefile.am: installing './depcomp' drivers/firebird/Makefile.am:33: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/freetds/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/ingres/Makefile.am:33: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/msql/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/mysql/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/oracle/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/pgsql/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/sqlite/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') drivers/sqlite3/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/Makefile.am:17: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' tests/cgreen/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/cgreen/Makefile.am:9: warning: source file 'src/unit.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. tests/cgreen/Makefile.am:9: warning: source file 'src/messaging.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/breadcrumb.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/reporter.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/assertions.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/vector.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/mocks.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/constraint.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/parameters.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/text_reporter.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled tests/cgreen/Makefile.am:9: warning: source file 'src/cdash_reporter.c' is in a subdirectory, tests/cgreen/Makefile.am:9: but option 'subdir-objects' is disabled autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls, --disable-rpath configure: loading site script /builder/shared-workdir/build/sdk/include/site/mipsel 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 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 build system type... x86_64-pc-linux-gnu checking host system type... mipsel-openwrt-linux-gnu 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 the compiler supports GNU C... yes checking whether mipsel-openwrt-linux-musl-gcc accepts -g... yes checking for mipsel-openwrt-linux-musl-gcc option to enable C11 features... none needed checking whether mipsel-openwrt-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of mipsel-openwrt-linux-musl-gcc... none checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed 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 fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking how to print strings... printf 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 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-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-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet 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... dlltool 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... 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 a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mipsel-openwrt-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 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-gcc -E checking for libdbi framework... checking for MySQL support... yes checking for MySQL includes... -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/mysql checking for MySQL libraries... checking for PostgreSQL support... yes checking for PostgreSQL includes... -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include checking for PostgreSQL libraries... -L/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/lib checking for SQLite support... no checking for SQLite3 support... yes checking for Msql support... no checking for Oracle support... no checking for Firebird/Interbase support... no checking for Freetds support... no checking for Ingres support... no checking for IBM DB2 support... no checking for strtoll... yes checking for atoll... yes checking for vasprintf... yes checking for asprintf... yes checking for libdbi library... yes: libs in /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/lib checking for string.h... (cached) yes checking for strings.h... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libdbi-drivers.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/include/Makefile config.status: creating drivers/Makefile config.status: creating drivers/mysql/Makefile config.status: creating drivers/pgsql/Makefile config.status: creating drivers/sqlite/Makefile config.status: creating drivers/sqlite3/Makefile config.status: creating drivers/msql/Makefile config.status: creating drivers/oracle/Makefile config.status: creating drivers/firebird/Makefile config.status: creating drivers/freetds/Makefile config.status: creating drivers/ingres/Makefile config.status: creating drivers/db2/Makefile config.status: creating tests/Makefile config.status: creating tests/cgreen/Makefile config.status: creating tests/test_dbi.cfg config.status: creating tests/plugin_settings.sh config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls, --disable-rpath make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0' make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0' Making all in drivers make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0/drivers' Making all in mysql make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0/drivers/mysql' /bin/bash ../../libtool --tag=CC --mode=compile mipsel-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/mysql -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include -std=gnu99 -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0=libdbi-drivers-0.9.0 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o dbd_mysql.lo dbd_mysql.c OpenWrt-libtool: compile: mipsel-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/mysql -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include -std=gnu99 -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0=libdbi-drivers-0.9.0 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c dbd_mysql.c -fPIC -DPIC -o .libs/dbd_mysql.o dbd_mysql.c:54:10: fatal error: mysql.h: No such file or directory 54 | #include | ^~~~~~~~~ compilation terminated. make[7]: *** [Makefile:515: dbd_mysql.lo] Error 1 make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0/drivers/mysql' make[6]: *** [Makefile:404: all-recursive] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0/drivers' make[5]: *** [Makefile:456: all-recursive] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0' make[4]: *** [Makefile:386: all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0' make[3]: *** [Makefile:106: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/libdbi-drivers-0.9.0/.built] Error 2 time: package/feeds/packages/libdbi-drivers/compile#20.45#2.14#29.56