fi mkdir -p /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/etc/selinux/targeted/src/policy cp -R . /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/etc/selinux/targeted/src/policy Installing targeted policy headers. install -m 644 doc/tmp/admin.xml doc/tmp/apps.xml doc/tmp/kernel.xml doc/tmp/roles.xml doc/tmp/services.xml doc/tmp/system.xml doc/global_tunables.xml doc/global_booleans.xml /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include mkdir -p /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/support install -m 644 support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 doc/policy.dtd /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/support install -m 755 support/segenxml.py /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/support /tmp/instance-2/output-1/host/usr/bin/python3 support/genclassperms.py policy/flask/access_vectors policy/flask/security_classes > /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/support/all_perms.spt for i in admin apps kernel roles services system; do \ mkdir -p /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/$i ;\ install -m 644 policy/modules/$i/*.if /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/$i ;\ done echo "TYPE ?= standard" > /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "NAME ?= targeted" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "MONOLITHIC ?= n" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "DIRECT_INITRC ?= n" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "SYSTEMD ?= n" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "CUSTOM_BUILDOPT ?= " >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "override UBAC := y" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "override MLS_SENS := 16" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "override MLS_CATS := 1024" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf echo "override MCS_CATS := 1024" >> /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/build.conf install -m 644 support/Makefile.devel /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/selinux/targeted/include/Makefile make[1]: Leaving directory '/tmp/instance-2/output-1/build/refpolicy-2.20200818' >>> refpolicy 2.20200818 Fixing libtool files for la in $(find /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-2/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-2/output-1/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/tmp/instance-2/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-2/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> refpolicy 2.20200818 Installing to target PYTHON=/tmp/instance-2/output-1/host/usr/bin/python3 TEST_TOOLCHAIN=/tmp/instance-2/output-1/host PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /tmp/instance-2/output-1/build/refpolicy-2.20200818 DESTDIR=/tmp/instance-2/output-1/target install make[1]: Entering directory '/tmp/instance-2/output-1/build/refpolicy-2.20200818' Compiling and installing targeted /tmp/instance-2/output-1/target/etc/selinux/targeted/policy/policy.30 env LD_LIBRARY_PATH="/tmp/instance-2/output-1/host/lib:/tmp/instance-2/output-1/host/usr/lib" /tmp/instance-2/output-1/host/usr/bin/checkpolicy -c 30 -U deny policy.conf -o /tmp/instance-2/output-1/target/etc/selinux/targeted/policy/policy.30 Creating targeted file_contexts. m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 tmp/generated_definitions.conf policy/modules/system/application.fc policy/modules/system/authlogin.fc policy/modules/kernel/corecommands.fc policy/modules/kernel/corenetwork.fc policy/modules/kernel/devices.fc policy/modules/kernel/domain.fc policy/modules/kernel/files.fc policy/modules/kernel/filesystem.fc policy/modules/system/getty.fc policy/modules/system/init.fc policy/modules/kernel/kernel.fc policy/modules/system/libraries.fc policy/modules/system/locallogin.fc policy/modules/system/logging.fc policy/modules/kernel/mcs.fc policy/modules/system/miscfiles.fc policy/modules/kernel/mls.fc policy/modules/system/modutils.fc policy/modules/system/mount.fc policy/modules/kernel/selinux.fc policy/modules/system/selinuxutil.fc policy/modules/kernel/storage.fc policy/modules/roles/sysadm.fc policy/modules/system/sysnetwork.fc policy/modules/kernel/terminal.fc policy/modules/kernel/ubac.fc policy/modules/system/unconfined.fc policy/modules/system/userdomain.fc > tmp/file_contexts.tmp /tmp/instance-2/output-1/host/usr/bin/python3 support/fc_sort.py tmp/file_contexts.tmp file_contexts egrep -e HOME -e ROLE -e USER file_contexts > homedir_template sed -i -e /HOME/d -e /ROLE/d -e /USER/d file_contexts Installing system.users m4 -E -E -D self_contained_policy -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 tmp/generated_definitions.conf policy/users | sed -r -e 's/^[[:blank:]]+//' \ -e '/^[[:blank:]]*($|#)/d' >> tmp/system.users install -m 0644 tmp/system.users /tmp/instance-2/output-1/target/etc/selinux/targeted/users/system.users Validating targeted file_contexts. env LD_LIBRARY_PATH="/tmp/instance-2/output-1/host/lib:/tmp/instance-2/output-1/host/usr/lib" /tmp/instance-2/output-1/host/sbin/setfiles -q -c /tmp/instance-2/output-1/target/etc/selinux/targeted/policy/policy.30 file_contexts Installing file_contexts. install -m 0644 file_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/files/file_contexts install -m 0644 homedir_template /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/files/homedir_template umask 022 ; /tmp/instance-2/output-1/host/usr/bin/python3 support/genhomedircon.py -d /tmp/instance-2/output-1/target/etc/selinux -t targeted You do not have access to /etc/default/useradd HOME= grep: /etc/libuser.conf: No such file or directory You do not have access to /etc/libuser.conf LU_HOMEDIRECTORY= The user "staff_u" is not present in the passwd file, skipping... The user "sysadm_u" is not present in the passwd file, skipping... The user "unconfined_u" is not present in the passwd file, skipping... m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/default_contexts > tmp/default_contexts install -m 0644 tmp/default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/default_contexts m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/default_type > tmp/default_type install -m 0644 tmp/default_type /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/default_type m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/initrc_context > tmp/initrc_context install -m 0644 tmp/initrc_context /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/initrc_context m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/failsafe_context > tmp/failsafe_context install -m 0644 tmp/failsafe_context /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/failsafe_context m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/userhelper_context > tmp/userhelper_context install -m 0644 tmp/userhelper_context /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/userhelper_context m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/removable_context > tmp/removable_context install -m 0644 tmp/removable_context /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/removable_context m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/dbus_contexts > tmp/dbus_contexts install -m 0644 tmp/dbus_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/dbus_contexts m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/sepgsql_contexts > tmp/sepgsql_contexts install -m 0644 tmp/sepgsql_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/sepgsql_contexts m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/x_contexts > tmp/x_contexts install -m 0644 tmp/x_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/x_contexts egrep '^[[:blank:]]*type .*customizable' policy.conf | cut -d';' -f1 | cut -d',' -f1 | cut -d' ' -f2 | LC_ALL=C sort -u > tmp/customizable_types install -m 0644 tmp/customizable_types /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/customizable_types m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/securetty_types > tmp/securetty_types install -m 0644 tmp/securetty_types /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/securetty_types m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/lxc_contexts > tmp/lxc_contexts install -m 0644 tmp/lxc_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/lxc_contexts m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/openrc_contexts > tmp/openrc_contexts install -m 0644 tmp/openrc_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/openrc_contexts m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/virtual_domain_context > tmp/virtual_domain_context install -m 0644 tmp/virtual_domain_context /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/virtual_domain_context m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/virtual_image_context > tmp/virtual_image_context install -m 0644 tmp/virtual_image_context /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/virtual_image_context install -m 0644 config/appconfig-standard/media /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/files/media install -m 0644 config/file_contexts.subs_dist /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/files/file_contexts.subs_dist install -m 0644 config/appconfig-standard/staff_u_default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/users/staff_u install -m 0644 config/appconfig-standard/guest_u_default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/users/guest_u install -m 0644 config/appconfig-standard/xguest_u_default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/users/xguest_u install -m 0644 config/appconfig-standard/user_u_default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/users/user_u install -m 0644 config/appconfig-standard/root_default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/users/root install -m 0644 config/appconfig-standard/unconfined_u_default_contexts /tmp/instance-2/output-1/target/etc/selinux/targeted/contexts/users/unconfined_u sed -r -e 's/false/0/g' -e 's/true/1/g' \ -e '/^[[:blank:]]*($|#)/d' policy/booleans.conf | LC_ALL=C sort > tmp/booleans install -m 0644 tmp/booleans /tmp/instance-2/output-1/target/etc/selinux/targeted/booleans m4 -E -E -D enable_ubac=true -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms=true -D self_contained_policy support/divert.m4 policy/support/file_patterns.spt policy/support/ipc_patterns.spt policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt policy/support/loadable_module.spt support/undivert.m4 config/appconfig-standard/seusers | egrep '^[a-z_]' > tmp/seusers install -m 0644 tmp/seusers /tmp/instance-2/output-1/target/etc/selinux/targeted/seusers Installing local.users install -b -m 0644 config/local.users /tmp/instance-2/output-1/target/etc/selinux/targeted/users/local.users make[1]: Leaving directory '/tmp/instance-2/output-1/build/refpolicy-2.20200818' /usr/bin/install -m 0755 -D package/refpolicy/config /tmp/instance-2/output-1/target/etc/selinux/config /usr/bin/sed -i -e "/^SELINUX=/c\SELINUX=permissive" /tmp/instance-2/output-1/target/etc/selinux/config sdparm-1.10.tar.xz: OK (sha256: 7dc9e148cef22744e00809dad21b59ac544e3615001bc1b2399978f73e1d58ca) >>> sdparm 1.10 Extracting xzcat /tmp/instance-2/dl/sdparm/sdparm-1.10.tar.xz | tar --strip-components=1 -C /tmp/instance-2/output-1/build/sdparm-1.10 -xf - >>> sdparm 1.10 Patching >>> sdparm 1.10 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-2/output-1/build/sdparm-1.10 -name $file); do cp support/gnuconfig/$file $i; done; done >>> sdparm 1.10 Patching libtool >>> sdparm 1.10 Configuring (cd /tmp/instance-2/output-1/build/sdparm-1.10/ && rm -rf config.cache && PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-2/output-1/host/bin/arc-linux-ar" AS="/tmp/instance-2/output-1/host/bin/arc-linux-as" LD="/tmp/instance-2/output-1/host/bin/arc-linux-ld" NM="/tmp/instance-2/output-1/host/bin/arc-linux-nm" CC="/tmp/instance-2/output-1/host/bin/arc-linux-gcc" GCC="/tmp/instance-2/output-1/host/bin/arc-linux-gcc" CPP="/tmp/instance-2/output-1/host/bin/arc-linux-cpp" CXX="/tmp/instance-2/output-1/host/bin/arc-linux-g++" FC="/tmp/instance-2/output-1/host/bin/arc-linux-gfortran" F77="/tmp/instance-2/output-1/host/bin/arc-linux-gfortran" RANLIB="/tmp/instance-2/output-1/host/bin/arc-linux-ranlib" READELF="/tmp/instance-2/output-1/host/bin/arc-linux-readelf" STRIP="/tmp/instance-2/output-1/host/bin/arc-linux-strip" OBJCOPY="/tmp/instance-2/output-1/host/bin/arc-linux-objcopy" OBJDUMP="/tmp/instance-2/output-1/host/bin/arc-linux-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/tmp/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-2/output-1/host/lib -Wl,-rpath,/tmp/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-2/output-1/host/bin/arc-linux-as" DEFAULT_LINKER="/tmp/instance-2/output-1/host/bin/arc-linux-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 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl 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 CONFIG_SITE=/dev/null ./configure --target=arc-buildroot-linux-uclibc --host=arc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-libsgutils ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arc-buildroot-linux-uclibc-strip... /tmp/instance-2/output-1/host/bin/arc-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for arc-buildroot-linux-uclibc-gcc... /tmp/instance-2/output-1/host/bin/arc-linux-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 /tmp/instance-2/output-1/host/bin/arc-linux-gcc accepts -g... yes checking for /tmp/instance-2/output-1/host/bin/arc-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-2/output-1/host/bin/arc-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /tmp/instance-2/output-1/host/bin/arc-linux-gcc... none checking how to run the C preprocessor... /tmp/instance-2/output-1/host/bin/arc-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for linux/types.h... yes checking for linux/bsg.h... yes checking for linux/kdev_t.h... yes checking for getopt_long... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arc-buildroot-linux-uclibc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared >>> sdparm 1.10 Building PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/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-2/output-1/build/sdparm-1.10/ make[1]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10' Making all in src make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/src' /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sdparm.o sdparm.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sdparm_data.o sdparm_data.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sdparm_data_vendor.o sdparm_data_vendor.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sdparm_access.o sdparm_access.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sdparm_vpd.o sdparm_vpd.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sdparm_cmd.o sdparm_cmd.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_lib.o `test -f '../lib/sg_lib.c' || echo './'`../lib/sg_lib.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_lib_data.o `test -f '../lib/sg_lib_data.c' || echo './'`../lib/sg_lib_data.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_cmds_basic.o `test -f '../lib/sg_cmds_basic.c' || echo './'`../lib/sg_cmds_basic.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_cmds_basic2.o `test -f '../lib/sg_cmds_basic2.c' || echo './'`../lib/sg_cmds_basic2.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_cmds_mmc.o `test -f '../lib/sg_cmds_mmc.c' || echo './'`../lib/sg_cmds_mmc.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_pt_common.o `test -f '../lib/sg_pt_common.c' || echo './'`../lib/sg_pt_common.c /tmp/instance-2/output-1/host/bin/arc-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o sg_pt_linux.o `test -f '../lib/sg_pt_linux.c' || echo './'`../lib/sg_pt_linux.c ../lib/sg_cmds_basic.c: In function 'sg_cmds_process_helper': ../lib/sg_cmds_basic.c:139:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 139 | ++check_data_in; | ^~~~~~~~~~~~~~~ ../lib/sg_cmds_basic.c:141:5: note: here 141 | case SG_LIB_CAT_UNIT_ATTENTION: | ^~~~ sdparm.c: In function 'main': sdparm.c:2340:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 2340 | cmd_str = optarg; | ~~~~~~~~^~~~~~~~ sdparm.c:2341:9: note: here 2341 | case 'd': | ^~~~ /tmp/instance-2/output-1/host/bin/arc-linux-gcc -iquote ../include -Wall -W -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -o sdparm sdparm.o sdparm_data.o sdparm_data_vendor.o sdparm_access.o sdparm_vpd.o sdparm_cmd.o sg_lib.o sg_lib_data.o sg_cmds_basic.o sg_cmds_basic2.o sg_cmds_mmc.o sg_pt_common.o sg_pt_linux.o make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/src' Making all in doc make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/doc' Making all in scripts make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/scripts' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/scripts' make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10' make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10' make[2]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10' make[1]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10' >>> sdparm 1.10 Installing to target PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/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-2/output-1/target install -C /tmp/instance-2/output-1/build/sdparm-1.10/ make[1]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10' Making install in src make[2]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/src' make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/src' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/tmp/instance-2/output-1/target/usr/bin' /usr/bin/install -c sdparm '/tmp/instance-2/output-1/target/usr/bin' make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/src' make[2]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/src' Making install in doc make[2]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/doc' make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/doc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/tmp/instance-2/output-1/target/usr/share/man/man8' /usr/bin/install -c -m 644 sdparm.8 sas_disk_blink.8 scsi_ch_swp.8 '/tmp/instance-2/output-1/target/usr/share/man/man8' make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/doc' make[2]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/doc' Making install in scripts make[2]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/scripts' make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10/scripts' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/tmp/instance-2/output-1/target/usr/bin' /usr/bin/install -c sas_disk_blink scsi_ch_swp '/tmp/instance-2/output-1/target/usr/bin' make[3]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/scripts' make[2]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10/scripts' make[2]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10' make[3]: Entering directory '/tmp/instance-2/output-1/build/sdparm-1.10' 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-2/output-1/build/sdparm-1.10' make[2]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10' make[1]: Leaving directory '/tmp/instance-2/output-1/build/sdparm-1.10' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-2/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-2/output-1/host/bin/arc-linux-%g' -e 's%@TARGET_ARCH@%arc%g' -e 's%@TARGET_CPU@%archs%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-2/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-2/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-2/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-2/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-2/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-2/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-2/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-2/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-2/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-2/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-2/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-2/output-1/target/etc/shells; fi rm -f /tmp/instance-2/output-1/target/usr/share/glib-2.0/schemas/*.xml /tmp/instance-2/output-1/target/usr/share/glib-2.0/schemas/*.dtd /tmp/instance-2/output-1/host/bin/glib-compile-schemas /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/share/glib-2.0/schemas --targetdir=/tmp/instance-2/output-1/target/usr/share/glib-2.0/schemas No schema files found: doing nothing. mkdir -p /tmp/instance-2/output-1/target/etc echo "buildroot" > /tmp/instance-2/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-2/output-1/target/etc/hosts mkdir -p /tmp/instance-2/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-2/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-2/output-1/target/etc/shadow rm -f /tmp/instance-2/output-1/target/bin/sh if [ -x /tmp/instance-2/output-1/target/sbin/swapon -a -x /tmp/instance-2/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-2/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-2/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-2/output-1/build/locales.nopurge for dir in /tmp/instance-2/output-1/target/usr/share/locale /tmp/instance-2/output-1/target/usr/share/X11/locale /tmp/instance-2/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-2/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-2/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-2/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-2/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-2/output-1/target/usr/include /tmp/instance-2/output-1/target/usr/share/aclocal \ /tmp/instance-2/output-1/target/usr/lib/pkgconfig /tmp/instance-2/output-1/target/usr/share/pkgconfig \ /tmp/instance-2/output-1/target/usr/lib/cmake /tmp/instance-2/output-1/target/usr/share/cmake \ /tmp/instance-2/output-1/target/usr/doc find /tmp/instance-2/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-2/output-1/target/lib/ /tmp/instance-2/output-1/target/usr/lib/ /tmp/instance-2/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-2/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-2/output-1/target/usr/share/gdb rm -rf /tmp/instance-2/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-2/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-2/output-1/target/usr/share/zsh rm -rf /tmp/instance-2/output-1/target/usr/man /tmp/instance-2/output-1/target/usr/share/man rm -rf /tmp/instance-2/output-1/target/usr/info /tmp/instance-2/output-1/target/usr/share/info rm -rf /tmp/instance-2/output-1/target/usr/doc /tmp/instance-2/output-1/target/usr/share/doc rm -rf /tmp/instance-2/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-2/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-2/output-1/target/lib/debug /tmp/instance-2/output-1/target/usr/lib/debug find /tmp/instance-2/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-2/output-1/host/bin/arc-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-2/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-2/output-1/host/bin/arc-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-2/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-2/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-2/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.02.3-70-g9c76f35500"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.02.3"; \ echo "PRETTY_NAME=\"Buildroot 2021.02.3\"" \ ) > /tmp/instance-2/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-2/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-2/output-1/per-package /tmp/instance-2/buildroot/support/scripts/fix-rpath target touch /tmp/instance-2/output-1/target/usr ln -snf /tmp/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot /tmp/instance-2/output-1/staging make: Leaving directory '/tmp/instance-2/buildroot' make: Entering directory '/tmp/instance-2/buildroot' >>> Buildroot 2021.02.3-70-g9c76f35500 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-bootlin 2020.08-1 Collecting legal info >>> toolchain Collecting legal info >>> aumix 2.9.1 Collecting legal info COPYING: OK (sha256: 1ca3e8f71b7de618968e7ea9fe47822d9e704dc476aef8544033abedec355225) >>> 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-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> 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) >>> ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> libtirpc 1.3.2 Collecting legal info COPYING: OK (sha256: 17cf6098f95bdbb269f0bbc68e76c88fe20487ca7ec53f454923ab4256ecd2e7) >>> host-nfs-utils 2.5.2 Collecting legal info COPYING: OK (sha256: 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de) >>> host-libtirpc 1.3.2 Collecting legal info COPYING: OK (sha256: 17cf6098f95bdbb269f0bbc68e76c88fe20487ca7ec53f454923ab4256ecd2e7) >>> pciutils 3.7.0 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> ca-certificates 20210119 Collecting legal info debian/copyright: OK (sha256: e85e1bcad3a915dc7e6f41412bc5bdeba275cadd817896ea0451f2140a93967c) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1k Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python3 3.9.6 Collecting legal info LICENSE: OK (sha256: 599826df92bfdcd2702eac691072498bb096c55af04ee984cf90f70ed77b5a70) >>> host-autoconf-archive 2019.01.06 Collecting legal info COPYING: OK (sha256: e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-libffi 3.3 Collecting legal info LICENSE: OK (sha256: deaf3a42effb551a5b140fa9afefed183a27f1341c6d1bf430d106a5e6931fc0) >>> cairo 1.16.0 Collecting legal info COPYING: OK (sha256: 67228a9f7c5f9b67c58f556f1be178f62da4d9e2e6285318d8c74d567255abdf) COPYING-LGPL-2.1: OK (sha256: 9e9e8608c4cdda51a78cc3a385f4ec9a2e4c96d5ecad74ac8bca5fca3e563b7d) COPYING-MPL-1.1: OK (sha256: 53692a2ed6c6a2c6ec9b32dd0b820dfae91e0a1fcdf625ca9ed0bdf8705fcc4f) >>> fontconfig 2.13.1 Collecting legal info COPYING: OK (sha256: fa4cd9ab005185e10cd8f7504518856c7dd36c01e766c2bac87f4fc638e9f886) >>> expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> freetype 2.10.4 Collecting legal info docs/LICENSE.TXT: OK (sha256: fd056de4196903a676208ef58cfddafc7d583d1f28fa2e44c309cf84a59e62fb) docs/FTL.TXT: OK (sha256: 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1) docs/GPLv2.TXT: OK (sha256: c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18) >>> host-gperf 3.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> libglib2 2.66.8 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-libglib2 2.66.8 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-meson 0.56.2 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.10.2 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-cmake 3.15.5 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> host-python3-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> host-pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> host-util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libffi 3.3 Collecting legal info LICENSE: OK (sha256: deaf3a42effb551a5b140fa9afefed183a27f1341c6d1bf430d106a5e6931fc0) >>> pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> pixman 0.40.0 Collecting legal info COPYING: OK (sha256: fac9270f0987b96ff4533fca3548c633e02083cbba4a0172a3b149b2e4019793) >>> cairomm 1.12.0 Collecting legal info COPYING: OK (sha256: bfe4a52dc4645385f356a8e83cc54216a293e3b6f1cb4f79f5fc0277abf937fd) >>> libsigc 2.10.0 Collecting legal info COPYING: OK (sha256: 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509) >>> fetchmail 6.4.18 Collecting legal info COPYING: OK (sha256: 8e3ec4863456a26fcd1cf84fadd4146efcb2fd8515bcec482e0f2b7060108895) >>> openssl Collecting legal info >>> libopenssl 1.1.1k Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> harfbuzz 2.7.4 Collecting legal info COPYING: OK (sha256: beb3f017ceb41387667f78237a7cecf84defa0ed257c505894663d6a9f13211b) >>> htop 3.0.5 Collecting legal info COPYING: OK (sha256: c228cc14df980a23ea0c3c9ac957b904dd6a8514f6283db403de22e9179471be) >>> imx-usb-loader 30b43d69770cd69e84c045dc9dcabb1f3e9d975a Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libusb 1.0.24 Collecting legal info COPYING: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> initscripts Collecting legal info >>> iprutils 2.4.18.1 Collecting legal info LICENSE: OK (sha256: 59b4179e61248aff9cd2d6ee4cd1dbbd0ef48836fe2eeee19f4b16459785104a) >>> libsysfs 2.1.0 Collecting legal info cmd/GPL: OK (sha256: 88ced477f0659c5a4df22df3b65de2f12ea3a9c7b5e4750fdc757bc11e97aa79) lib/LGPL: OK (sha256: 4eb1c0ea980e7e4c7fac34e025be0423f5e7ca7df501e1da7ef31f32f14d6cf9) >>> libebml 1.4.2 Collecting legal info LICENSE.LGPL: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libmatroska 1.6.2 Collecting legal info LICENSE.LGPL: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libmodplug 0.8.9.0 Collecting legal info COPYING: OK (sha256: 49942e7b3b175f549e751feb08b5270ca6f6c5fb7a1be9f9517db275ec32c92e) >>> libsepol 3.1 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> nfs-utils 2.5.2 Collecting legal info COPYING: OK (sha256: 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> refpolicy 2.20200818 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> host-checkpolicy 3.1 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> host-bison 3.7.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-libselinux 3.1 Collecting legal info LICENSE: OK (sha256: 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364) >>> host-libsepol 3.1 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-swig 4.0.2 Collecting legal info LICENSE: OK (sha256: f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e) LICENSE-GPL: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) LICENSE-UNIVERSITIES: OK (sha256: 7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2) >>> host-gawk 5.1.0 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-policycoreutils 3.1 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> host-libsemanage 3.1 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-audit 2.8.5 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYING.LIB: OK (sha256: f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa) >>> host-bzip2 1.0.8 Collecting legal info LICENSE: OK (sha256: c6dbbf828498be844a89eaa3b84adbab3199e342eb5cb2ed2f0d4ba7ec0f38a3) >>> host-setools 4.3.0 Collecting legal info COPYING: OK (sha256: 2f7547e10f76a382c24c053595f38a5cc6dda9347f508f254ca490e0046a9624) COPYING.GPL: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING.LGPL: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-python-networkx 2.4 Collecting legal info LICENSE.txt: OK (sha256: f421f7c5d30022aa268174976e43e488b856ad953f32cdd13f0675630996d8c0) >>> host-python3-decorator 4.4.1 Collecting legal info LICENSE.txt: OK (sha256: fd11660cabf0532082c45706862fafc294907ec7f8e217818240a4999806782e) >>> host-python3-cython 0.29.21 Collecting legal info COPYING.txt: OK (sha256: e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7) LICENSE.txt: OK (sha256: a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9) >>> sdparm 1.10 Collecting legal info COPYING: OK (sha256: 4f98444e14adb18a94a65c3ded5f0dad42d382c6a2288b593a2d5bd5ecc4f46d) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-bootlin-2020.08-1: cannot save license (TOOLCHAIN_EXTERNAL_BOOTLIN_LICENSE_FILES not defined) Legal info produced in /tmp/instance-2/output-1/legal-info make: Leaving directory '/tmp/instance-2/buildroot'