>>> libblockdev 2.26 Downloading wget --passive-ftp -nd -t 3 -O '/tmp/instance-10/output-1/build/.libblockdev-2.26.tar.gz.gCcl3K/output' 'https://github.com/storaged-project/libblockdev/releases/download/2.26-1/libblockdev-2.26.tar.gz' --2022-12-27 11:32:45-- https://github.com/storaged-project/libblockdev/releases/download/2.26-1/libblockdev-2.26.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/19988938/f94bf4ab-e09a-4084-a5c0-8935cbfde6bd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221227T183246Z&X-Amz-Expires=300&X-Amz-Signature=fccf5b5e8d21125e2395a4390e59716237fb106f760bcecb5936b85d44e512a1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=19988938&response-content-disposition=attachment%3B%20filename%3Dlibblockdev-2.26.tar.gz&response-content-type=application%2Foctet-stream [following] --2022-12-27 11:32:46-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/19988938/f94bf4ab-e09a-4084-a5c0-8935cbfde6bd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221227T183246Z&X-Amz-Expires=300&X-Amz-Signature=fccf5b5e8d21125e2395a4390e59716237fb106f760bcecb5936b85d44e512a1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=19988938&response-content-disposition=attachment%3B%20filename%3Dlibblockdev-2.26.tar.gz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 932129 (910K) [application/octet-stream] Saving to: '/tmp/instance-10/output-1/build/.libblockdev-2.26.tar.gz.gCcl3K/output' 0K .......... .......... .......... .......... .......... 5% 11.8M 0s 50K .......... .......... .......... .......... .......... 10% 527K 1s 100K .......... .......... .......... .......... .......... 16% 185M 1s 150K .......... .......... .......... .......... .......... 21% 730K 1s 200K .......... .......... .......... .......... .......... 27% 11.8M 0s 250K .......... .......... .......... .......... .......... 32% 746K 0s 300K .......... .......... .......... .......... .......... 38% 46.9M 0s 350K .......... .......... .......... .......... .......... 43% 125M 0s 400K .......... .......... .......... .......... .......... 49% 14.2M 0s 450K .......... .......... .......... .......... .......... 54% 732K 0s 500K .......... .......... .......... .......... .......... 60% 117M 0s 550K .......... .......... .......... .......... .......... 65% 190M 0s 600K .......... .......... .......... .......... .......... 71% 8.06M 0s 650K .......... .......... .......... .......... .......... 76% 189M 0s 700K .......... .......... .......... .......... .......... 82% 785K 0s 750K .......... .......... .......... .......... .......... 87% 174M 0s 800K .......... .......... .......... .......... .......... 93% 9.74M 0s 850K .......... .......... .......... .......... .......... 98% 186M 0s 900K .......... 100% 157M=0.4s 2022-12-27 11:32:46 (2.29 MB/s) - '/tmp/instance-10/output-1/build/.libblockdev-2.26.tar.gz.gCcl3K/output' saved [932129/932129] libblockdev-2.26.tar.gz: OK (sha256: c4c0e10b35ac632bda8ce6d200b5601184984dec387fe59185921eb42432e069) >>> libblockdev 2.26 Extracting gzip -d -c /tmp/instance-10/dl/libblockdev/libblockdev-2.26.tar.gz | tar --strip-components=1 -C /tmp/instance-10/output-1/build/libblockdev-2.26 -xf - >>> libblockdev 2.26 Patching Applying 0001-Provide-replacement-function-for-strerror_l.patch using patch: patching file configure.ac patching file src/plugins/crypto.c patching file src/utils/module.c >>> libblockdev 2.26 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-10/output-1/build/libblockdev-2.26 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libblockdev 2.26 Configuring >>> libblockdev 2.26 Autoreconfiguring libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:16: installing './compile' configure.ac:9: installing './missing' src/lib/Makefile.am: installing './depcomp' >>> libblockdev 2.26 Patching libtool patching file /tmp/instance-10/output-1/build/libblockdev-2.26/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /tmp/instance-10/output-1/build/libblockdev-2.26/ && rm -rf config.cache && PATH="/tmp/instance-10/output-1/host/bin:/tmp/instance-10/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar" AS="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-as" LD="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-ld" NM="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm" CC="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" GCC="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" CPP="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-cpp" CXX="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-g++" FC="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gfortran" F77="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gfortran" RANLIB="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ranlib" READELF="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-objcopy" OBJDUMP="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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/tmp/instance-10/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-10/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-10/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-10/output-1/host/lib -Wl,-rpath,/tmp/instance-10/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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 -O3 -g2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 " LDFLAGS="" FCFLAGS=" -O3 -g2" FFLAGS=" -O3 -g2" PKG_CONFIG="/tmp/instance-10/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-10/output-1/host/arc-buildroot-linux-uclibc/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 CONFIG_SITE=/dev/null ./configure --target=arc-buildroot-linux-uclibc --host=arc-buildroot-linux-uclibc --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 --disable-introspection --with-loop --without-bcache --without-btrfs --without-dm --without-dmraid --without-escrow --without-kbd --without-lvm_dbus --without-mpath --without-nvdimm --without-python2 --without-python3 --without-s390 --without-tools --without-vdo --without-crypto --without-fs --without-loop --without-lvm --without-mdraid --without-part --without-swap ) 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 arc-buildroot-linux-uclibc-strip... /bin/true checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for python... /tmp/instance-10/output-1/host/bin/python checking for python version... 3.11 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages checking whether to enable debugging... no checking whether make supports the include directive... yes (GNU style) checking for arc-buildroot-linux-uclibc-gcc... /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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 /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc accepts -g... yes checking for /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to enable C11 features... none needed checking whether /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking dependency style of /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... none checking for arc-buildroot-linux-uclibc-ar... /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar checking the archiver (/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar) interface... ar checking for arc-buildroot-linux-uclibc-gcc... (cached) /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc accepts -g... (cached) yes checking for /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to enable C11 features... (cached) none needed checking whether /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc understands -c and -o together... (cached) yes checking dependency style of /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... (cached) none checking build system type... x86_64-pc-linux-gnu checking host system type... arc-buildroot-linux-uclibc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc... /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-ld checking if the linker (/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm checking the name lister (/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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 arc-buildroot-linux-uclibc 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 /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-ld option to reload object files... -r checking for arc-buildroot-linux-uclibc-objdump... /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for arc-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arc-buildroot-linux-uclibc-ar... (cached) /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for arc-buildroot-linux-uclibc-strip... (cached) /bin/true checking for arc-buildroot-linux-uclibc-ranlib... /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ranlib checking command to parse /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-nm output from /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for arc-buildroot-linux-uclibc-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet 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 /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc linker (/tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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 pkg-config is at least version 0.9.0... yes checking for gobject-introspection... no (disabled, use --enable-introspection to enable) checking for gtkdoc-scan... no checking for dlfcn.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/fcntl.h... yes checking for sys/ioctl.h... yes checking for linux/random.h... yes checking for glob.h... yes checking for syslog.h... yes checking for math.h... yes checking for strerror_l... no checking for GLIB... yes checking for GOBJECT... yes checking for GIO... yes checking for UDEV... yes checking for KMOD... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/fs/Makefile config.status: creating src/utils/Makefile config.status: creating src/utils/blockdev-utils.pc config.status: creating src/lib/Makefile config.status: creating src/lib/plugin_apis/Makefile config.status: creating src/lib/blockdev.c config.status: creating src/lib/blockdev.pc config.status: creating src/python/Makefile config.status: creating src/python/gi/Makefile config.status: creating src/python/gi/overrides/Makefile config.status: creating include/Makefile config.status: creating include/blockdev/Makefile config.status: creating docs/Makefile config.status: creating docs/libblockdev-docs.xml config.status: creating dist/Makefile config.status: creating dist/libblockdev.spec config.status: creating scripts/Makefile config.status: creating tools/Makefile config.status: creating data/Makefile config.status: creating data/conf.d/Makefile 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 libblockdev 2.26 ==================== prefix: /usr libdir: ${exec_prefix}/lib libexecdir: ${exec_prefix}/libexec bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin datadir: ${datarootdir} sysconfdir: /etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} compiler: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc cflags: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 cppflags: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ldflags: BTRFS plugin: no Crypto plugin: no escrow support: no DM plugin: no dmraid support: no FS plugin: no KBD plugin: no Bcache support: no Loop plugin: no LVM plugin: no LVM DBus plugin: no MDRAID plugin: no MPath plugin no NVDIMM plugin: no Part plugin: no S390 plugin: no Swap plugin: no VDO plugin (deprecated): no GObject introspection: no (disabled, use --enable-introspection to enable) Python 2 bindings: no Python 3 bindings: no tools: no >>> libblockdev 2.26 Building PATH="/tmp/instance-10/output-1/host/bin:/tmp/instance-10/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/make/make -j1 -C /tmp/instance-10/output-1/build/libblockdev-2.26/ make[1]: Entering directory '/tmp/instance-10/output-1/build/libblockdev-2.26' Making all in include make[2]: Entering directory '/tmp/instance-10/output-1/build/libblockdev-2.26/include' Making all in blockdev make[3]: Entering directory '/tmp/instance-10/output-1/build/libblockdev-2.26/include/blockdev' for header in ./../../src/plugins/*.h; do ln -sf ${header} ./; done for header in ./../../src/utils/*.h; do ln -sf ${header} ./; done for header in ./../../src/lib/*.h; do ln -sf ${header} ./; done mkdir -p fs; cd fs; for header in ./../../../src/plugins/fs/*.h; do ln -sf ${header} ./; done make[3]: Leaving directory '/tmp/instance-10/output-1/build/libblockdev-2.26/include/blockdev' make[3]: Entering directory '/tmp/instance-10/output-1/build/libblockdev-2.26/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/tmp/instance-10/output-1/build/libblockdev-2.26/include' make[2]: Leaving directory '/tmp/instance-10/output-1/build/libblockdev-2.26/include' Making all in src make[2]: Entering directory '/tmp/instance-10/output-1/build/libblockdev-2.26/src' Making all in utils make[3]: Entering directory '/tmp/instance-10/output-1/build/libblockdev-2.26/src/utils' /bin/bash ../../libtool --tag=CC --mode=compile /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"libblockdev\ 2.26\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c -o libbd_utils_la-exec.lo `test -f 'exec.c' || echo './'`exec.c libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c exec.c -fPIC -DPIC -o .libs/libbd_utils_la-exec.o libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c exec.c -o libbd_utils_la-exec.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"libblockdev\ 2.26\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c -o libbd_utils_la-extra_arg.lo `test -f 'extra_arg.c' || echo './'`extra_arg.c libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c extra_arg.c -fPIC -DPIC -o .libs/libbd_utils_la-extra_arg.o libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c extra_arg.c -o libbd_utils_la-extra_arg.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"libblockdev\ 2.26\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c -o libbd_utils_la-dev_utils.lo `test -f 'dev_utils.c' || echo './'`dev_utils.c libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c dev_utils.c -fPIC -DPIC -o .libs/libbd_utils_la-dev_utils.o libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c dev_utils.c -o libbd_utils_la-dev_utils.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"libblockdev\ 2.26\" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c -o libbd_utils_la-module.lo `test -f 'module.c' || echo './'`module.c libtool: compile: /tmp/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"libblockdev 2.26\"" -DPACKAGE_BUGREPORT=\"vpodzime@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.26\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/tmp/instance-10/output-1/host/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g2 -std=gnu99 -c module.c -fPIC -DPIC -o .libs/libbd_utils_la-module.o module.c:33:37: error: unknown type name 'locale_t' 33 | static char *strerror_l(int errnum, locale_t locale UNUSED) | ^~~~~~~~ module.c: In function 'bd_utils_have_kernel_module': module.c:63:5: error: unknown type name 'locale_t' 63 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~ module.c:63:25: error: implicit declaration of function 'newlocale'; did you mean 'setlocale'? [-Werror=implicit-function-declaration] 63 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~~ | setlocale module.c:63:36: error: 'LC_ALL_MASK' undeclared (first use in this function) 63 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~~~~ module.c:63:36: note: each undeclared identifier is reported only once for each function it appears in module.c:63:55: error: 'locale_t' undeclared (first use in this function) 63 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~ module.c:63:64: error: expected ')' before numeric constant 63 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ~ ^~ | ) module.c:69:9: error: implicit declaration of function 'freelocale'; did you mean 'setlocale'? [-Werror=implicit-function-declaration] 69 | freelocale (c_locale); | ^~~~~~~~~~ | setlocale module.c:78:54: error: implicit declaration of function 'strerror_l'; did you mean 'strerror_r'? [-Werror=implicit-function-declaration] 78 | "Failed to get the module: %s", strerror_l (-ret, c_locale)); | ^~~~~~~~~~ | strerror_r module.c:78:50: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=] 78 | "Failed to get the module: %s", strerror_l (-ret, c_locale)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d module.c: In function 'bd_utils_load_kernel_module': module.c:109:5: error: unknown type name 'locale_t' 109 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~ module.c:109:36: error: 'LC_ALL_MASK' undeclared (first use in this function) 109 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~~~~ module.c:109:55: error: 'locale_t' undeclared (first use in this function) 109 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~ module.c:109:64: error: expected ')' before numeric constant 109 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ~ ^~ | ) module.c:124:50: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=] 124 | "Failed to get the module: %s", strerror_l (-ret, c_locale)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d module.c:145:74: error: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Werror=format=] 145 | "Failed to load the module '%s' with options '%s': %s", | ~^ | | | char * | %d 146 | module_name, options, strerror_l (-ret, c_locale)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int module.c: In function 'bd_utils_unload_kernel_module': module.c:174:5: error: unknown type name 'locale_t' 174 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~ module.c:174:36: error: 'LC_ALL_MASK' undeclared (first use in this function) 174 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~~~~ module.c:174:55: error: 'locale_t' undeclared (first use in this function) 174 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ^~~~~~~~ module.c:174:64: error: expected ')' before numeric constant 174 | locale_t c_locale = newlocale (LC_ALL_MASK, "C", (locale_t) 0); | ~ ^~ | ) module.c:189:50: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=] 189 | "Failed to get the module: %s", strerror_l (-ret, c_locale)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d module.c:216:58: error: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Werror=format=] 216 | "Failed to unload the module '%s': %s", | ~^ | | | char * | %d 217 | module_name, strerror_l (-ret, c_locale)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int cc1: all warnings being treated as errors make[3]: *** [Makefile:571: libbd_utils_la-module.lo] Error 1 make[3]: Leaving directory '/tmp/instance-10/output-1/build/libblockdev-2.26/src/utils' make[2]: *** [Makefile:432: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-10/output-1/build/libblockdev-2.26/src' make[1]: *** [Makefile:510: all-recursive] Error 1 make[1]: Leaving directory '/tmp/instance-10/output-1/build/libblockdev-2.26' make: *** [package/pkg-generic.mk:293: /tmp/instance-10/output-1/build/libblockdev-2.26/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-10/buildroot'