make: Entering directory `/opt/buildroot' >>> Finalizing target directory # Check files that are touched by more than one package ./support/scripts/check-uniq-files -t target /opt/output/build/packages-file-list.txt ./support/scripts/check-uniq-files -t staging /opt/output/build/packages-file-list-staging.txt ./support/scripts/check-uniq-files -t host /opt/output/build/packages-file-list-host.txt Warning: host file "./share/locale/da/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/fr/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/de/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/fr/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-linux-gcov-dump" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/include-fixed/limits.h" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./bin/aarch64-linux-gcov" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/nl/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/vi/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/plugin/include/configargs.h" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/es/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/da/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/uk/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/tr/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./libexec/gcc/aarch64-buildroot-linux-uclibc/6.4.0/lto-wrapper" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/plugin/include/auto-host.h" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/uk/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./libexec/gcc/aarch64-buildroot-linux-uclibc/6.4.0/collect2" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/info/bfd.info" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/crtfastmath.o" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/ja/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-buildroot-linux-uclibc-gcov" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/id/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-buildroot-linux-uclibc-gcov-dump" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/it/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-linux-cpp.br_real" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/sv/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/ro/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/libgcov.a" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./libexec/gcc/aarch64-buildroot-linux-uclibc/6.4.0/lto1" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/vi/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/fi/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/crtbeginS.o" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/ro/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/tr/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/pt_BR/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-buildroot-linux-uclibc-gcov-tool" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/ru/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/libgcc.a" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/id/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/zh_CN/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-buildroot-linux-uclibc-gcc-6.4.0.br_real" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/es/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/fi/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/install-tools/include/limits.h" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./bin/aarch64-linux-gcc.br_real" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./bin/aarch64-buildroot-linux-uclibc-cpp.br_real" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/ga/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./share/locale/sv/LC_MESSAGES/bfd.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./bin/aarch64-linux-gcc-6.4.0.br_real" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./bin/aarch64-buildroot-linux-uclibc-gcc.br_real" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./share/locale/zh_CN/LC_MESSAGES/opcodes.mo" is touched by more than one package: ['host-binutils', 'host-gdb'] Warning: host file "./libexec/gcc/aarch64-buildroot-linux-uclibc/6.4.0/cc1" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/crtbegin.o" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./lib/gcc/aarch64-buildroot-linux-uclibc/6.4.0/crtbeginT.o" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] Warning: host file "./bin/aarch64-linux-gcov-tool" is touched by more than one package: ['host-gcc-initial', 'host-gcc-final'] mkdir -p /opt/output/target/etc echo "buildroot" > /opt/output/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /opt/output/target/etc/hosts mkdir -p /opt/output/target/etc echo "Welcome to Buildroot" > /opt/output/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /opt/output/target/etc/shadow ln -sf dash /opt/output/target/bin/sh rm -f /opt/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /opt/output/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /opt/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /opt/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /opt/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /opt/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /opt/output/target/usr/include /opt/output/target/usr/share/aclocal \ /opt/output/target/usr/lib/pkgconfig /opt/output/target/usr/share/pkgconfig \ /opt/output/target/usr/lib/cmake /opt/output/target/usr/share/cmake find /opt/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find: `/opt/output/target/usr/share/': No such file or directory find /opt/output/target/lib/ /opt/output/target/usr/lib/ /opt/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: `/opt/output/target/usr/libexec/': No such file or directory rm -rf /opt/output/target/usr/share/bash-completion rm -rf /opt/output/target/usr/share/zsh rm -rf /opt/output/target/usr/man /opt/output/target/usr/share/man rm -rf /opt/output/target/usr/info /opt/output/target/usr/share/info rm -rf /opt/output/target/usr/doc /opt/output/target/usr/share/doc rm -rf /opt/output/target/usr/share/gtk-doc rmdir /opt/output/target/usr/share 2>/dev/null || true find /opt/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /opt/aarch64--uclibc--stable-2018.02-2/bin/aarch64-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /opt/output/target/lib/ -type f -name 'libpthread*.so*' | \ xargs -r /opt/aarch64--uclibc--stable-2018.02-2/bin/aarch64-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note --strip-debug find /opt/output/target/lib/ -type f -name 'ld-*.so*' | \ xargs -r /opt/aarch64--uclibc--stable-2018.02-2/bin/aarch64-buildroot-linux-uclibc-strip --remove-section=.comment --remove-section=.note --strip-debug test -f /opt/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /opt/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /opt/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2018.02-rc2-00006-g39101b7"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2018.02-rc2"; \ echo "PRETTY_NAME=\"Buildroot 2018.02-rc2\"" \ ) > /opt/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /opt/output/target/etc >>> Sanitizing RPATH in target tree /opt/buildroot/support/scripts/fix-rpath target >>> Rendering the SDK relocatable /opt/buildroot/support/scripts/fix-rpath host /opt/buildroot/support/scripts/fix-rpath staging /usr/bin/install -m 755 /opt/buildroot/support/misc/relocate-sdk.sh /opt/aarch64--uclibc--stable-2018.02-2/relocate-sdk.sh echo /opt/aarch64--uclibc--stable-2018.02-2 > /opt/aarch64--uclibc--stable-2018.02-2/share/buildroot/sdk-location make: Leaving directory `/opt/buildroot'