>>> mdadm 4.1 Downloading --2019-08-04 10:38:19-- https://cdn.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.1.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)... 151.101.53.176, 2a04:4e42:d::432 Connecting to cdn.kernel.org (cdn.kernel.org)|151.101.53.176|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 440756 (430K) [application/x-xz] Saving to: '/home/buildroot/autobuild/instance-2/output/build/.mdadm-4.1.tar.xz.BQVR17/output' 0K .......... .......... .......... .......... .......... 11% 3.61M 0s 50K .......... .......... .......... .......... .......... 23% 7.44M 0s 100K .......... .......... .......... .......... .......... 34% 79.1M 0s 150K .......... .......... .......... .......... .......... 46% 8.54M 0s 200K .......... .......... .......... .......... .......... 58% 51.8M 0s 250K .......... .......... .......... .......... .......... 69% 87.7M 0s 300K .......... .......... .......... .......... .......... 81% 7.90M 0s 350K .......... .......... .......... .......... .......... 92% 154M 0s 400K .......... .......... .......... 100% 227M=0.03s 2019-08-04 10:38:19 (12.2 MB/s) - '/home/buildroot/autobuild/instance-2/output/build/.mdadm-4.1.tar.xz.BQVR17/output' saved [440756/440756] mdadm-4.1.tar.xz: OK (sha256: ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1934f4a) >>> mdadm 4.1 Extracting xzcat /home/buildroot/autobuild/instance-2/buildroot/instance-2/dl/mdadm/mdadm-4.1.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output/build/mdadm-4.1 -xf - >>> mdadm 4.1 Patching Applying 0001-add-install-targets-for-mdadm-and-mdmon.patch using patch: patching file Makefile Hunk #1 succeeded at 242 (offset 11 lines). >>> mdadm 4.1 Configuring >>> mdadm 4.1 Building PATH="/home/buildroot/autobuild/instance-2/output/host/bin:/home/buildroot/autobuild/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output/build/mdadm-4.1 PATH="/home/buildroot/autobuild/instance-2/output/host/bin:/home/buildroot/autobuild/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" AR="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-ar" AS="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-as" LD="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-ld" NM="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-nm" CC="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc" GCC="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc" CPP="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-cpp" CXX="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-g++" FC="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gfortran" F77="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gfortran" RANLIB="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-ranlib" READELF="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-readelf" STRIP="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-strip" OBJCOPY="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-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/autobuild/instance-2/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-2/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-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 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/autobuild/instance-2/output/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-2/output/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\\\"/sbin\\\"" CHECK_RUN_DIR=0 mdadm mdmon make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/mdadm-4.1' /home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\"/sbin\" -o mdadm.o -c mdadm.c /home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\"/sbin\" -o config.o -c config.c /home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\"/sbin\" -o policy.o -c policy.c /home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\"/sbin\" -o mdstat.o -c mdstat.c policy.c: In function 'disk_path': policy.c:215:23: warning: implicit declaration of function 'makedev'; did you mean 'map_dev'? [-Wimplicit-function-declaration] if (stb.st_rdev != makedev(disk->disk.major, disk->disk.minor)) ^~~~~~~ map_dev policy.c: In function 'devid_policy': policy.c:425:20: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] disk.disk.major = major(dev); ^~~~~ policy.c:426:20: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] disk.disk.minor = minor(dev); ^~~~~ mknod mdadm.c: In function 'main': mdadm.c:1372:24: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] ident.super_minor = minor(stb.st_rdev); ^~~~~ mknod /home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\"/sbin\" -o ReadMe.o -c ReadMe.c /home/buildroot/autobuild/instance-2/output/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNO_COROSYNC -DNO_DLM -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DBINDIR=\"/sbin\" -o util.o -c util.c util.c: In function 'test_partition_from_id': util.c:539:24: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] sprintf(buf, "%d:%d", major(id), minor(id)); ^~~~~ util.c:539:35: warning: implicit declaration of function 'minor'; did you mean 'mincore'? [-Wimplicit-function-declaration] sprintf(buf, "%d:%d", major(id), minor(id)); ^~~~~ mincore util.c: In function 'devnm2devid': util.c:1028:11: warning: implicit declaration of function 'makedev'; did you mean 'map_dev'? [-Wimplicit-function-declaration] return makedev(mjr, mnr); ^~~~~~~ map_dev util.c: In function 'open_container': util.c:1622:8: error: called object 'major' is not a function or function pointer (int)major(st.st_rdev), (int)minor(st.st_rdev)); ^~~~~ util.c:1616:6: note: declared here int major, minor; ^~~~~ util.c:1622:32: error: called object 'minor' is not a function or function pointer (int)major(st.st_rdev), (int)minor(st.st_rdev)); ^~~~~ util.c:1616:13: note: declared here int major, minor; ^~~~~ Makefile:185: recipe for target 'util.o' failed make[1]: *** [util.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/mdadm-4.1' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output/build/mdadm-4.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output/build/mdadm-4.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'