checking for strdup... (cached) yes checking for strchr... (cached) yes checking for strrchr... (cached) yes checking for strsignal... (cached) yes checking for fchmod... yes checking for fstat... yes checking for chmod... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed configure: Using supplied libopts tearoff checking whether a reg expr header is specified... no checking whether with-libregex was specified... no checking whether with-libregex-cflags was specified... no checking whether with-libregex-libs was specified... no checking whether libregex functions properly... no checking whether pathfind(3) works... no checking whether /dev/zero is readable device... crw-rw-rw- 1 root root 1, 5 Jul 30 07:49 /dev/zero checking whether we have a functional realpath(3C)... no checking whether strftime() works... no checking whether fopen accepts "b" mode... no checking whether fopen accepts "t" mode... no checking whether not wanting optional option args... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libopts/Makefile config.status: creating Makefile config.status: creating doxygen.cfg config.status: creating lib/Makefile config.status: creating docs/Makefile config.status: creating src/Makefile config.status: creating src/tcpedit/Makefile config.status: creating src/fragroute/Makefile config.status: creating src/common/Makefile config.status: creating src/defines.h config.status: creating test/Makefile config.status: creating test/config config.status: creating scripts/Makefile config.status: creating src/config.h 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 ########################################################################## TCPREPLAY Suite Configuration Results (4.3.3) ########################################################################## libpcap: /tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr (>= 0.9.6) PF_RING libpcap no libdnet: no autogen: (unknown - man pages will not be built) Use libopts tearoff: yes 64bit counter support: yes tcpdump binary path: no fragroute support: no tcpbridge support: yes tcpliveplay support: yes Supported Packet Injection Methods (*): Linux TX_RING: no Linux PF_PACKET: yes BSD BPF: no libdnet: no pcap_inject: yes pcap_sendpacket: yes ** pcap_netmap no Linux/BSD netmap: no Tuntap device support: yes * In order of preference; see configure --help to override ** Required for tcpbridge >>> tcpreplay 4.3.3 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-0/output-1/build/tcpreplay-4.3.3/ make[1]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' Making all in scripts make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/scripts' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/scripts' Making all in lib make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/lib' Making all in libopts make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' /usr/bin/make all-am make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' CC libopts_la-libopts.lo In file included from libopts.c:32: makeshell.c: In function 'text_to_var': makeshell.c:324:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 324 | (*(opts->pUsageProc))(opts, EXIT_SUCCESS); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeshell.c:327:9: note: here 327 | case TT_USAGE: | ^~~~ makeshell.c:328:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 328 | (*(opts->pUsageProc))(opts, EXIT_FAILURE); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeshell.c:331:9: note: here 331 | case TT_VERSION: | ^~~~ makeshell.c:337:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 337 | optionPrintVersion(opts, od); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeshell.c:340:9: note: here 340 | default: | ^~~~~~~ makeshell.c: In function 'genshelloptUsage': makeshell.c:887:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | optionUsage(opts, EXIT_FAILURE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeshell.c:890:5: note: here 890 | case 0: | ^~~~ makeshell.c:932:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 932 | optionUsage(optionParseShellOptions, EXIT_FAILURE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeshell.c:934:5: note: here 934 | default: | ^~~~~~~ In file included from libopts.c:34: numeric.c: In function 'optionNumericVal': numeric.c:139:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 139 | case 't': val *= 1000; | ~~~~^~~~~~~ numeric.c:140:9: note: here 140 | case 'g': val *= 1000; | ^~~~ numeric.c:140:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 140 | case 'g': val *= 1000; | ~~~~^~~~~~~ numeric.c:141:9: note: here 141 | case 'm': val *= 1000; | ^~~~ numeric.c:141:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 141 | case 'm': val *= 1000; | ~~~~^~~~~~~ numeric.c:142:9: note: here 142 | case 'k': val *= 1000; break; | ^~~~ numeric.c:144:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 144 | case 'T': val *= 1024; | ~~~~^~~~~~~ numeric.c:145:9: note: here 145 | case 'G': val *= 1024; | ^~~~ numeric.c:145:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 145 | case 'G': val *= 1024; | ~~~~^~~~~~~ numeric.c:146:9: note: here 146 | case 'M': val *= 1024; | ^~~~ numeric.c:146:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 146 | case 'M': val *= 1024; | ~~~~^~~~~~~ numeric.c:147:9: note: here 147 | case 'K': val *= 1024; break; | ^~~~ CCLD libopts.la libtool: warning: '-version-info/-version-number' is ignored for convenience libraries make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' Making all in src make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' /usr/bin/make all-recursive make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' Making all in common make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' /usr/bin/make all-am make[5]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' CC cidr.o CC err.o CC list.o CC cache.o CC services.o CC get.o CC fakepcap.o CC fakepcapnav.o CC fakepoll.o CC xX.o CC utils.o CC timer.o CC git_version.o CC sendpacket.o CC dlt_names.o CC mac.o CC flows.o CC interface.o CC txring.o AR libcommon.a make[5]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' Making all in tcpedit make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' /usr/bin/make all-am make[5]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' CC tcpedit.o CC parse_args.o CC edit_packet.o CC portmap.o CC checksum.o CC dlt.o CC incremental_checksum.o CC tcpedit_api.o CC rewrite_sequence.o CC fuzzing.o CC plugins/dlt_plugins.o CC plugins/ethernet.o CC plugins/dlt_utils.o CC plugins/dlt_en10mb/en10mb_api.o CC plugins/dlt_en10mb/en10mb.o CC plugins/dlt_hdlc/hdlc_api.o CC plugins/dlt_hdlc/hdlc.o CC plugins/dlt_user/user.o CC plugins/dlt_raw/raw.o CC plugins/dlt_user/user_api.o CC plugins/dlt_null/null.o CC plugins/dlt_loop/loop.o CC plugins/dlt_linuxsll/linuxsll.o CC plugins/dlt_ieee80211/ieee80211.o CC plugins/dlt_ieee80211/ieee80211_hdr.o CC plugins/dlt_radiotap/radiotap.o CC plugins/dlt_jnpr_ether/jnpr_ether.o CC plugins/dlt_pppserial/pppserial.o AR libtcpedit.a make[5]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' CC tcpreplay-tcpreplay_opts.o CC tcpreplay-send_packets.o CC tcpreplay-signal_handler.o CC tcpreplay-tcpreplay.o CC tcpreplay-tcpreplay_api.o CC tcpreplay-sleep.o CC tcpreplay-replay.o CC tcpprep-tcpprep_opts.o CC tcpprep-tcpprep.o CC tcpprep-tree.o CC tcpprep-tcpprep_api.o CC tcprewrite-tcprewrite_opts.o CC tcprewrite-tcprewrite.o CC tcpreplay_edit-tcpreplay_edit_opts.o CC tcpreplay_edit-send_packets.o CC tcpreplay_edit-signal_handler.o CC tcpreplay_edit-tcpreplay.o CC tcpreplay_edit-tcpreplay_api.o CC tcpreplay_edit-replay.o CC tcpreplay_edit-sleep.o CC tcpcapinfo-tcpcapinfo_opts.o CC tcpcapinfo-tcpcapinfo.o CC tcpbridge-tcpbridge_opts.o CC tcpbridge-tcpbridge.o CC tcpbridge-bridge.o CC tcpliveplay-tcpliveplay_opts.o CC tcpliveplay-tcpliveplay.o bridge.c: In function 'do_bridge_unidirectional': bridge.c:110:13: warning: cast between incompatible function types from 'int (*)(struct live_data_t *, struct pcap_pkthdr *, const u_char *)' {aka 'int (*)(struct live_data_t *, struct pcap_pkthdr *, const unsigned char *)'} to 'void (*)(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} [-Wcast-function-type] 110 | (pcap_handler)live_callback, (u_char *) &livedata)) < 0) { | ^ bridge.c: In function 'do_bridge_bidirectional': bridge.c:169:51: warning: cast between incompatible function types from 'int (*)(struct live_data_t *, struct pcap_pkthdr *, const u_char *)' {aka 'int (*)(struct live_data_t *, struct pcap_pkthdr *, const unsigned char *)'} to 'void (*)(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} [-Wcast-function-type] 169 | pcap_dispatch(options->pcap1, -1, (pcap_handler) live_callback, | ^ bridge.c:178:51: warning: cast between incompatible function types from 'int (*)(struct live_data_t *, struct pcap_pkthdr *, const u_char *)' {aka 'int (*)(struct live_data_t *, struct pcap_pkthdr *, const unsigned char *)'} to 'void (*)(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} [-Wcast-function-type] 178 | pcap_dispatch(options->pcap2, -1, (pcap_handler) live_callback, | ^ tcpprep.c: In function 'main': tcpprep.c:545:60: warning: 'l2len' may be used uninitialized in this function [-Wmaybe-uninitialized] 545 | check_dst_port(ip_hdr, ip6_hdr, (pkthdr.caplen - l2len))); | ~~~~~~~~~~~~~~~^~~~~~~~ tcpprep.c:328:9: note: 'l2len' was declared here 328 | int l2len; | ^~~~~ CCLD tcprewrite CCLD tcpcapinfo CCLD tcpbridge CCLD tcpprep CCLD tcpreplay CCLD tcpliveplay CCLD tcpreplay-edit make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' make[1]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' >>> tcpreplay 4.3.3 Installing to target PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-0/output-1/target install -C /tmp/instance-0/output-1/build/tcpreplay-4.3.3/ make[1]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' Making install in scripts make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/scripts' make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/scripts' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/scripts' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/scripts' Making install in lib make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/lib' make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/lib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/lib' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/lib' Making install in libopts make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' /usr/bin/make install-am make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/libopts' Making install in src make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' /usr/bin/make install-recursive make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' Making install in common make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' /usr/bin/make install-am make[5]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' make[6]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' make[5]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/common' Making install in tcpedit make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' /usr/bin/make install-am make[5]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[6]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[5]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src/tcpedit' make[4]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[5]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/bin' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/man/man1' /bin/bash ../libtool --mode=install /usr/bin/install -c tcpreplay tcpprep tcprewrite tcpreplay-edit tcpcapinfo tcpbridge tcpliveplay '/tmp/instance-0/output-1/target/usr/bin' /usr/bin/install -c -m 644 tcpreplay.1 tcpprep.1 tcprewrite.1 tcpreplay-edit.1 tcpcapinfo.1 tcpbridge.1 tcpliveplay.1 '/tmp/instance-0/output-1/target/usr/share/man/man1' libtool: install: /usr/bin/install -c tcpreplay /tmp/instance-0/output-1/target/usr/bin/tcpreplay libtool: install: /usr/bin/install -c tcpprep /tmp/instance-0/output-1/target/usr/bin/tcpprep libtool: install: /usr/bin/install -c tcprewrite /tmp/instance-0/output-1/target/usr/bin/tcprewrite libtool: install: /usr/bin/install -c tcpreplay-edit /tmp/instance-0/output-1/target/usr/bin/tcpreplay-edit libtool: install: /usr/bin/install -c tcpcapinfo /tmp/instance-0/output-1/target/usr/bin/tcpcapinfo libtool: install: /usr/bin/install -c tcpbridge /tmp/instance-0/output-1/target/usr/bin/tcpbridge libtool: install: /usr/bin/install -c tcpliveplay /tmp/instance-0/output-1/target/usr/bin/tcpliveplay make[5]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[4]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3/src' make[2]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' make[3]: Entering directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' make[1]: Leaving directory '/tmp/instance-0/output-1/build/tcpreplay-4.3.3' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-0/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/arm-linux-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm926ej-s%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' -e 's%@PKG_TARGET_LDFLAGS@%%g' -e 's%@PKG_TARGET_CXXFLAGS@%%g' /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-0/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-0/output-1/target/etc/shells; fi mkdir -p /tmp/instance-0/output-1/target/etc echo "buildroot" > /tmp/instance-0/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-0/output-1/target/etc/hosts mkdir -p /tmp/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-0/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-0/output-1/target/etc/shadow rm -f /tmp/instance-0/output-1/target/bin/sh if [ -x /tmp/instance-0/output-1/target/sbin/swapon -a -x /tmp/instance-0/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-0/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-0/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-0/output-1/build/locales.nopurge for dir in /tmp/instance-0/output-1/target/usr/share/locale /tmp/instance-0/output-1/target/usr/share/X11/locale /tmp/instance-0/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-0/output-1/target/usr/include /tmp/instance-0/output-1/target/usr/share/aclocal \ /tmp/instance-0/output-1/target/usr/lib/pkgconfig /tmp/instance-0/output-1/target/usr/share/pkgconfig \ /tmp/instance-0/output-1/target/usr/lib/cmake /tmp/instance-0/output-1/target/usr/share/cmake \ /tmp/instance-0/output-1/target/usr/doc find /tmp/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-0/output-1/target/lib/ /tmp/instance-0/output-1/target/usr/lib/ /tmp/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-0/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-0/output-1/target/usr/share/gdb rm -rf /tmp/instance-0/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-0/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-0/output-1/target/usr/share/zsh rm -rf /tmp/instance-0/output-1/target/usr/man /tmp/instance-0/output-1/target/usr/share/man rm -rf /tmp/instance-0/output-1/target/usr/info /tmp/instance-0/output-1/target/usr/share/info rm -rf /tmp/instance-0/output-1/target/usr/doc /tmp/instance-0/output-1/target/usr/share/doc rm -rf /tmp/instance-0/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-0/output-1/target/lib/debug /tmp/instance-0/output-1/target/usr/lib/debug find /tmp/instance-0/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-0/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-0/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-0/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-0/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-66-g5fb92d0d49"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.05"; \ echo "PRETTY_NAME=\"Buildroot 2021.05\"" \ ) > /tmp/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-0/output-1/per-package /tmp/instance-0/buildroot/support/scripts/fix-rpath target touch /tmp/instance-0/output-1/target/usr ln -snf /tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2021.05-66-g5fb92d0d49 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> cracklib 2.9.7 Collecting legal info COPYING.LIB: OK (sha256: f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa) >>> host-cracklib 2.9.7 Collecting legal info COPYING.LIB: OK (sha256: f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> hwdata 0.345 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) LICENSE: OK (sha256: 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f) >>> initscripts Collecting legal info >>> lft 3.8 Collecting legal info COPYING: OK (sha256: e3b7634630e6800eccca6ecafb5d40153d4f8f7a20e2b2399bf3c0ea92f44614) >>> libpcap 1.10.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-bison 3.7.6 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> libconfig 1.7.3 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libev 4.27 Collecting legal info LICENSE: OK (sha256: c4dd1a5bc38b041a320b93c5d6c08f5c41a63f2ce718ee16cfcb757fad448199) >>> libopenssl 1.1.1k Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> libpagekite 0.91.190530 Collecting legal info doc/COPYING.md: OK (sha256: ba443b9c9d4273d06aae3e147e9ad1ec199cc9c23455f486a039536d47f57eed) doc/LICENSE-2.0.txt: OK (sha256: 4a271d0bb6bb6e0bac880efddb46da73e6df3dcf0d9ca08a945a232f8ab882ef) doc/AGPLv3.txt: OK (sha256: 8e0f770cabe772d67d36469f6bf413afd2dcfa6ac37acfc65f770cf3a134106d) >>> openssl Collecting legal info >>> libsodium 1.0.18 Collecting legal info LICENSE: OK (sha256: dea1855c9809f3faf22aa4a1fba20ec8af5a5587f23115012e5b98279cedc4af) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-python-cython 0.29.21 Collecting legal info COPYING.txt: OK (sha256: e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7) LICENSE.txt: OK (sha256: a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9) >>> host-python 2.7.18 Collecting legal info LICENSE: OK (sha256: de4d1f2d2ad5ad0cfd1657a106476b31cb5db5ef9d1ff842b237c0c81f0c8a23) >>> host-expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-libffi 3.3 Collecting legal info LICENSE: OK (sha256: deaf3a42effb551a5b140fa9afefed183a27f1341c6d1bf430d106a5e6931fc0) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> tcpreplay 4.3.3 Collecting legal info docs/LICENSE: OK (sha256: 5971b0c544622f4b210a9cc56436a970685d3b0666e373c09e3cf9304db15d05) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'