>>> lockdev 1.0.3 Extracting gzip -d -c /home/buildroot/instance-0/dl/lockdev/lockdev_1.0.3.orig.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/lockdev-1.0.3 -xf - >>> lockdev 1.0.3 Patching TAR="/home/buildroot/instance-0/output-1/host/bin/tar" PATH=/home/buildroot/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/instance-0/output-1/build/lockdev-1.0.3 /home/buildroot/instance-0/dl/lockdev lockdev_1.0.3-1.6.diff.gz Applying lockdev_1.0.3-1.6.diff.gz using gzip: patching file debian/NEWS patching file debian/changelog patching file debian/compat patching file debian/control patching file debian/copyright patching file debian/liblockdev1-dbg.dirs patching file debian/liblockdev1-dbg.docs patching file debian/liblockdev1-dev.dirs patching file debian/liblockdev1-dev.manpages patching file debian/liblockdev1-perl.dirs patching file debian/liblockdev1.postinst patching file debian/rules patching file src/lockdev.c Applying 0001-Makefile-install-static-library-and-headers-separate.patch using patch: patching file Makefile >>> lockdev 1.0.3 Configuring >>> lockdev 1.0.3 Building /usr/bin/make -j1 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/armeb-buildroot-linux-musleabi-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-as" LD="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-ld" NM="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-g++" FC="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-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/armeb-buildroot-linux-musleabi-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-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 -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -O3 -g0 -static" FFLAGS=" -O3 -g0 -static" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/armeb-buildroot-linux-musleabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no -C /home/buildroot/instance-0/output-1/build/lockdev-1.0.3 static CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D__GNU_LIBRARY__" make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lockdev-1.0.3' /home/buildroot/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D__GNU_LIBRARY__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o src/lockdev.o src/lockdev.c src/lockdev.c: In function '_dl_filename_1': src/lockdev.c:132:21: error: implicit declaration of function 'gnu_dev_major' [-Wimplicit-function-declaration] 132 | # define MAJOR(dev) gnu_dev_major (dev) | ^~~~~~~~~~~~~ src/lockdev.c:228:22: note: in expansion of macro 'MAJOR' 228 | (int)MAJOR( add+st->st_rdev), (int)MINOR( add+st->st_rdev)); | ^~~~~ src/lockdev.c:133:21: error: implicit declaration of function 'gnu_dev_minor' [-Wimplicit-function-declaration] 133 | # define MINOR(dev) gnu_dev_minor (dev) | ^~~~~~~~~~~~~ src/lockdev.c:228:52: note: in expansion of macro 'MINOR' 228 | (int)MAJOR( add+st->st_rdev), (int)MINOR( add+st->st_rdev)); | ^~~~~ make[1]: *** [: src/lockdev.o] Error 1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lockdev-1.0.3' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/lockdev-1.0.3/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'