cat ./smartctl.8.in | sed "s|CURRENT_SVN_VERSION|smartmontools-5.43|g; s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$,\1,p' svnversion.h`|g; s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$,r\1,p' svnversion.h`|g; s|/usr/local/share/man/|/usr/share/man/|g; s|/usr/local/sbin/|/usr/sbin/|g; s|/usr/local/etc/rc\\.d/init.d/|/|g; s|/usr/local/share/doc/smartmontools/examplescripts/|!exampledir!|g; s|/usr/local/share/doc/smartmontools/|/usr/share/doc/smartmontools/|g; s|!exampledir!|/usr/share/doc/smartmontools/examplescripts/|g; s|/usr/local/etc/smartd\\.conf|/etc/smartd.conf|g; s|/usr/local/etc/smart_drivedb\\.h|/etc/smart_drivedb\\.h|g" | sed '/^\.\\" %IF ENABLE_ATTRIBUTELOG/,/^\.\\" %ENDIF ENABLE_ATTRIBUTELOG/ s,^,.\\"# ,' | sed '/^\.\\" %IF ENABLE_CAPABILITIES/,/^\.\\" %ENDIF ENABLE_CAPABILITIES/ s,^,.\\"# ,' | sed "s|/usr/local/share/smartmontools/drivedb\\.h|/usr/share/smartmontools/drivedb.h|g" | sed '/^\.\\" %IF ENABLE_SAVESTATES/,/^\.\\" %ENDIF ENABLE_SAVESTATES/ s,^,.\\"# ,' | if test -n 'Linux'; then sed -e 's,OS_MAN_FILTER,Linux,g' -e '/^\.\\" %IF NOT OS .*Linux/,/^.\\" %ENDIF NOT OS .*Linux/ s,^,.\\"# ,' -e '/^\.\\" %IF OS .*Linux/,/^\.\\" %ENDIF OS .*Linux/ s,^,!!,' -e '/^\.\\" %IF OS ./,/^\.\\" %ENDIF OS ./ s,^,.\\"# ,' -e '/^!*\.\\" %IF NOT OS ./,/^!*\.\\" %ENDIF NOT OS ./ s,^,!!,' -e 's,^!!!*\.\\"! \(.*\)$,\1 \\"#,' -e 's,^!!!*,,' ; else cat; fi > smartctl.8 cat ./smartd.8.in | sed "s|CURRENT_SVN_VERSION|smartmontools-5.43|g; s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$,\1,p' svnversion.h`|g; s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$,r\1,p' svnversion.h`|g; s|/usr/local/share/man/|/usr/share/man/|g; s|/usr/local/sbin/|/usr/sbin/|g; s|/usr/local/etc/rc\\.d/init.d/|/|g; s|/usr/local/share/doc/smartmontools/examplescripts/|!exampledir!|g; s|/usr/local/share/doc/smartmontools/|/usr/share/doc/smartmontools/|g; s|!exampledir!|/usr/share/doc/smartmontools/examplescripts/|g; s|/usr/local/etc/smartd\\.conf|/etc/smartd.conf|g; s|/usr/local/etc/smart_drivedb\\.h|/etc/smart_drivedb\\.h|g" | sed '/^\.\\" %IF ENABLE_ATTRIBUTELOG/,/^\.\\" %ENDIF ENABLE_ATTRIBUTELOG/ s,^,.\\"# ,' | sed '/^\.\\" %IF ENABLE_CAPABILITIES/,/^\.\\" %ENDIF ENABLE_CAPABILITIES/ s,^,.\\"# ,' | sed "s|/usr/local/share/smartmontools/drivedb\\.h|/usr/share/smartmontools/drivedb.h|g" | sed '/^\.\\" %IF ENABLE_SAVESTATES/,/^\.\\" %ENDIF ENABLE_SAVESTATES/ s,^,.\\"# ,' | if test -n 'Linux'; then sed -e 's,OS_MAN_FILTER,Linux,g' -e '/^\.\\" %IF NOT OS .*Linux/,/^.\\" %ENDIF NOT OS .*Linux/ s,^,.\\"# ,' -e '/^\.\\" %IF OS .*Linux/,/^\.\\" %ENDIF OS .*Linux/ s,^,!!,' -e '/^\.\\" %IF OS ./,/^\.\\" %ENDIF OS ./ s,^,.\\"# ,' -e '/^!*\.\\" %IF NOT OS ./,/^!*\.\\" %ENDIF NOT OS ./ s,^,!!,' -e 's,^!!!*\.\\"! \(.*\)$,\1 \\"#,' -e 's,^!!!*,,' ; else cat; fi > smartd.8 /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Wall -W -MT utility.o -MD -MP -MF .deps/utility.Tpo -c -o utility.o utility.cpp mv -f .deps/atacmds.Tpo .deps/atacmds.Po mv -f .deps/smartctl.Tpo .deps/smartctl.Po mv -f .deps/os_linux.Tpo .deps/os_linux.Po mv -f .deps/utility.Tpo .deps/utility.Po mv -f .deps/scsiprint.Tpo .deps/scsiprint.Po mv -f .deps/ataprint.Tpo .deps/ataprint.Po /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Wall -W -o smartctl smartctl.o atacmdnames.o atacmds.o ataprint.o dev_ata_cmd_set.o dev_interface.o knowndrives.o scsicmds.o scsiata.o scsiprint.o utility.o os_linux.o cciss.o mv -f .deps/smartd.Tpo .deps/smartd.Po /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Wall -W -o smartd smartd.o atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_interface.o knowndrives.o scsicmds.o scsiata.o utility.o os_linux.o cciss.o make[2]: Leaving directory `/home/test/test/output2/build/smartmontools-5.43' make[1]: Leaving directory `/home/test/test/output2/build/smartmontools-5.43' >>> smartmontools 5.43 Installing to target PATH="/home/test/test/output2/host/bin:/home/test/test/output2/host/usr/bin:/home/test/test/output2/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" PERLLIB="/home/test/test/output2/host/usr/lib/perl" /usr/bin/make -j8 DESTDIR=/home/test/test/output2/target install -C /home/test/test/output2/build/smartmontools-5.43/ make[1]: Entering directory `/home/test/test/output2/build/smartmontools-5.43' make[2]: Entering directory `/home/test/test/output2/build/smartmontools-5.43' test -z "/usr/sbin" || /bin/mkdir -p "/home/test/test/output2/target/usr/sbin" test -z "/usr/sbin" || /bin/mkdir -p "/home/test/test/output2/target/usr/sbin" /usr/bin/install -c smartd smartctl '/home/test/test/output2/target/usr/sbin' /bin/bash /home/test/test/output2/build/smartmontools-5.43/install-sh -d /home/test/test/output2/target/etc /usr/bin/install -c update-smart-drivedb '/home/test/test/output2/target/usr/sbin' /usr/bin/install -c -m 644 ./smartd.conf /home/test/test/output2/target/etc/smartd.conf test -z "" || /bin/mkdir -p "/home/test/test/output2/target" test -z "/usr/share/doc/smartmontools" || /bin/mkdir -p "/home/test/test/output2/target/usr/share/doc/smartmontools" test -z "/usr/share/smartmontools" || /bin/mkdir -p "/home/test/test/output2/target/usr/share/smartmontools" test -z "/usr/share/doc/smartmontools/examplescripts" || /bin/mkdir -p "/home/test/test/output2/target/usr/share/doc/smartmontools/examplescripts" test -z "/usr/share/doc/smartmontools/examplescripts" || /bin/mkdir -p "/home/test/test/output2/target/usr/share/doc/smartmontools/examplescripts" /usr/bin/install -c -m 644 AUTHORS CHANGELOG COPYING INSTALL NEWS README TODO WARNINGS smartd.conf '/home/test/test/output2/target/usr/share/doc/smartmontools' /usr/bin/install -c -m 644 drivedb.h '/home/test/test/output2/target/usr/share/smartmontools' /usr/bin/install -c -m 644 examplescripts/README '/home/test/test/output2/target/usr/share/doc/smartmontools/examplescripts' test -z "/usr/share/man/man5" || /bin/mkdir -p "/home/test/test/output2/target/usr/share/man/man5" /usr/bin/install -c examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 '/home/test/test/output2/target/usr/share/doc/smartmontools/examplescripts' test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/test/test/output2/target/usr/share/man/man8" test -z "" || /bin/mkdir -p "/home/test/test/output2/target" /usr/bin/install -c -m 644 smartd.conf.5 '/home/test/test/output2/target/usr/share/man/man5' /usr/bin/install -c -m 644 smartctl.8 smartd.8 '/home/test/test/output2/target/usr/share/man/man8' test -z "" || /bin/mkdir -p "/home/test/test/output2/target" make[2]: Leaving directory `/home/test/test/output2/build/smartmontools-5.43' make[1]: Leaving directory `/home/test/test/output2/build/smartmontools-5.43' >>> strace 4.7 Extracting xzcat /home/test/dl/strace-4.7.tar.xz | tar --strip-components=1 -C /home/test/test/output2/build/strace-4.7 -xf - >>> strace 4.7 Patching package//strace Applying strace-fix-arm-bad-syscall.patch using patch: patching file syscall.c Hunk #1 succeeded at 916 (offset -100 lines). Applying strace-fix-disabled-largefile-syscalls.patch using patch: patching file syscall.c Hunk #1 succeeded at 100 with fuzz 2 (offset -25 lines). >>> strace 4.7 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/test/test/output2/build/strace-4.7 -name $file); do cp support/gnuconfig/$file $i; done; done >>> strace 4.7 Patching libtool >>> strace 4.7 Configuring (cd /home/test/test/output2/build/strace-4.7/ && rm -rf config.cache && PATH="/home/test/test/output2/host/bin:/home/test/test/output2/host/usr/bin:/home/test/test/output2/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" AR="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-ar" AS="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-as" LD="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-ld" NM="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-nm" CC="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-gcc" GCC="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-gcc" CPP="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-cpp" CXX="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-g++" FC="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-gfortran" RANLIB="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-ranlib" READELF="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-readelf" STRIP="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-strip" OBJCOPY="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-objcopy" OBJDUMP="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-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++" FC_FOR_BUILD="/usr/bin/ld" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/test/test/output2/host/usr/include" CFLAGS_FOR_BUILD="-O2 -I/home/test/test/output2/host/usr/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/test/test/output2/host/usr/include" LDFLAGS_FOR_BUILD="-L/home/test/test/output2/host/lib -L/home/test/test/output2/host/usr/lib -Wl,-rpath,/home/test/test/output2/host/usr/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-as" DEFAULT_LINKER="/home/test/test/output2/host/usr/bin/aarch64-linux-gnu-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 -pipe -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os " LDFLAGS="" FCFLAGS="" PKG_CONFIG="/home/test/test/output2/host/usr/bin/pkg-config" PERLLIB="/home/test/test/output2/host/usr/lib/perl" STAGING_DIR="/home/test/test/output2/host/usr/aarch64-buildroot-linux-gnu/sysroot" 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 ac_cv_header_linux_if_packet_h=yes ac_cv_header_linux_netlink_h=yes CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -pipe -Os" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" ./configure --target=aarch64-buildroot-linux-gnu --host=aarch64-buildroot-linux-gnu --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix="" --disable-gtk-doc --enable-ipv6 --enable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --enable-ipv6, --enable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for aarch64-buildroot-linux-gnu-strip... /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-strip checking for a thread-safe mkdir -p... /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 whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-unknown-linux-gnu checking host system type... aarch64-buildroot-linux-gnu checking for aarch64-buildroot-linux-gnu-gcc... /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-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 we are using the GNU C compiler... yes checking whether /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-gcc accepts -g... yes checking for /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... /home/test/test/output2/host/usr/bin/aarch64-linux-gnu-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for supported architecture... NO! configure: error: architecture aarch64 is not supported by strace make: *** [/home/test/test/output2/build/strace-4.7/.stamp_configured] Error 1