m4 -E -E -D enable_ubac -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms -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 /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/virtual_domain_context
m4 -E -E -D enable_ubac -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms -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 /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/virtual_image_context
install -m 0644 config/appconfig-standard/media /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/files/media
install -m 0644 config/file_contexts.subs_dist /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/files/file_contexts.subs_dist
install -m 0644 config/appconfig-standard/staff_u_default_contexts /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/users/staff_u
install -m 0644 config/appconfig-standard/guest_u_default_contexts /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/users/guest_u
install -m 0644 config/appconfig-standard/xguest_u_default_contexts /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/users/xguest_u
install -m 0644 config/appconfig-standard/user_u_default_contexts /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/users/user_u
install -m 0644 config/appconfig-standard/root_default_contexts /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/users/root
install -m 0644 config/appconfig-standard/unconfined_u_default_contexts /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/contexts/users/unconfined_u
Generating interface templates into tmp/iftemplates
support/gentemplates.sh -g -s policy/modules -t tmp/iftemplates
cat policy/modules/admin/metadata.xml > tmp/admin.xml
for i in policy/modules/admin/acct policy/modules/admin/aide policy/modules/admin/alsa policy/modules/admin/amanda policy/modules/admin/amtu policy/modules/admin/anaconda policy/modules/admin/apt policy/modules/admin/backup policy/modules/admin/bacula policy/modules/admin/bcfg2 policy/modules/admin/blueman policy/modules/admin/bootloader policy/modules/admin/brctl policy/modules/admin/certwatch policy/modules/admin/cfengine policy/modules/admin/chkrootkit policy/modules/admin/consoletype policy/modules/admin/ddcprobe policy/modules/admin/dmesg policy/modules/admin/dmidecode policy/modules/admin/dphysswapfile policy/modules/admin/dpkg policy/modules/admin/fakehwclock policy/modules/admin/firstboot policy/modules/admin/hwloc policy/modules/admin/kdump policy/modules/admin/kdumpgui policy/modules/admin/kismet policy/modules/admin/kudzu policy/modules/admin/logrotate policy/modules/admin/logwatch policy/modules/admin/mcelog policy/modules/admin/mrtg policy/modules/admin/ncftool policy/modules/admin/netutils policy/modules/admin/passenger policy/modules/admin/portage policy/modules/admin/prelink policy/modules/admin/puppet policy/modules/admin/quota policy/modules/admin/readahead policy/modules/admin/rkhunter policy/modules/admin/rpm policy/modules/admin/samhain policy/modules/admin/sblim policy/modules/admin/sectoolm policy/modules/admin/shorewall policy/modules/admin/shutdown policy/modules/admin/smoltclient policy/modules/admin/sosreport policy/modules/admin/su policy/modules/admin/sudo policy/modules/admin/sxid policy/modules/admin/tboot policy/modules/admin/tmpreaper policy/modules/admin/tripwire policy/modules/admin/tzdata policy/modules/admin/updfstab policy/modules/admin/usbmodules policy/modules/admin/usermanage policy/modules/admin/vbetool policy/modules/admin/vpn; do /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/segenxml.py -w -T tmp/iftemplates -m $i >> tmp/admin.xml; done
cat policy/modules/apps/metadata.xml > tmp/apps.xml
for i in policy/modules/apps/ada policy/modules/apps/awstats policy/modules/apps/calamaris policy/modules/apps/cdrecord policy/modules/apps/chromium policy/modules/apps/cpufreqselector policy/modules/apps/evolution policy/modules/apps/firewallgui policy/modules/apps/games policy/modules/apps/gift policy/modules/apps/gitosis policy/modules/apps/gnome policy/modules/apps/gpg policy/modules/apps/irc policy/modules/apps/java policy/modules/apps/libmtp policy/modules/apps/lightsquid policy/modules/apps/livecd policy/modules/apps/loadkeys policy/modules/apps/lockdev policy/modules/apps/man2html policy/modules/apps/mandb policy/modules/apps/mono policy/modules/apps/mozilla policy/modules/apps/mplayer policy/modules/apps/openoffice policy/modules/apps/podsleuth policy/modules/apps/ptchown policy/modules/apps/pulseaudio policy/modules/apps/qemu policy/modules/apps/rssh policy/modules/apps/sambagui policy/modules/apps/screen policy/modules/apps/seunshare policy/modules/apps/sigrok policy/modules/apps/slocate policy/modules/apps/syncthing policy/modules/apps/telepathy policy/modules/apps/thunderbird policy/modules/apps/tvtime policy/modules/apps/uml policy/modules/apps/userhelper policy/modules/apps/usernetctl policy/modules/apps/vlock policy/modules/apps/vmware policy/modules/apps/webalizer policy/modules/apps/wine policy/modules/apps/wireshark policy/modules/apps/wm policy/modules/apps/xscreensaver policy/modules/apps/yam; do /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/segenxml.py -w -T tmp/iftemplates -m $i >> tmp/apps.xml; done
cat policy/modules/kernel/metadata.xml > tmp/kernel.xml
for i in policy/modules/kernel/corecommands policy/modules/kernel/corenetwork policy/modules/kernel/devices policy/modules/kernel/domain policy/modules/kernel/files policy/modules/kernel/filesystem policy/modules/kernel/kernel policy/modules/kernel/mcs policy/modules/kernel/mls policy/modules/kernel/selinux policy/modules/kernel/storage policy/modules/kernel/terminal policy/modules/kernel/ubac; do /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/segenxml.py -w -T tmp/iftemplates -m $i >> tmp/kernel.xml; done
cat policy/modules/roles/metadata.xml > tmp/roles.xml
for i in policy/modules/roles/auditadm policy/modules/roles/dbadm policy/modules/roles/guest policy/modules/roles/logadm policy/modules/roles/secadm policy/modules/roles/staff policy/modules/roles/sysadm policy/modules/roles/unprivuser policy/modules/roles/webadm policy/modules/roles/xguest; do /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/segenxml.py -w -T tmp/iftemplates -m $i >> tmp/roles.xml; done
cat policy/modules/services/metadata.xml > tmp/services.xml
for i in policy/modules/services/abrt policy/modules/services/accountsd policy/modules/services/acpi policy/modules/services/afs policy/modules/services/aiccu policy/modules/services/aisexec policy/modules/services/amavis policy/modules/services/apache policy/modules/services/apcupsd policy/modules/services/arpwatch policy/modules/services/asterisk policy/modules/services/automount policy/modules/services/avahi policy/modules/services/bind policy/modules/services/bird policy/modules/services/bitlbee policy/modules/services/bluetooth policy/modules/services/boinc policy/modules/services/bugzilla policy/modules/services/cachefilesd policy/modules/services/callweaver policy/modules/services/canna policy/modules/services/ccs policy/modules/services/certmaster policy/modules/services/certmonger policy/modules/services/cgmanager policy/modules/services/cgroup policy/modules/services/chronyd policy/modules/services/cipe policy/modules/services/clamav policy/modules/services/clockspeed policy/modules/services/clogd policy/modules/services/cmirrord policy/modules/services/cobbler policy/modules/services/collectd policy/modules/services/colord policy/modules/services/comsat policy/modules/services/condor policy/modules/services/consolekit policy/modules/services/corosync policy/modules/services/couchdb policy/modules/services/courier policy/modules/services/cpucontrol policy/modules/services/cron policy/modules/services/ctdb policy/modules/services/cups policy/modules/services/cvs policy/modules/services/cyphesis policy/modules/services/cyrus policy/modules/services/dante policy/modules/services/dbskk policy/modules/services/dbus policy/modules/services/dcc policy/modules/services/ddclient policy/modules/services/denyhosts policy/modules/services/devicekit policy/modules/services/dhcp policy/modules/services/dictd policy/modules/services/dirmngr policy/modules/services/distcc policy/modules/services/djbdns policy/modules/services/dkim policy/modules/services/dnsmasq policy/modules/services/dnssectrigger policy/modules/services/dovecot policy/modules/services/drbd policy/modules/services/dspam policy/modules/services/entropyd policy/modules/services/exim policy/modules/services/fail2ban policy/modules/services/fcoe policy/modules/services/fetchmail policy/modules/services/finger policy/modules/services/firewalld policy/modules/services/fprintd policy/modules/services/ftp policy/modules/services/gatekeeper policy/modules/services/gdomap policy/modules/services/geoclue policy/modules/services/git policy/modules/services/glance policy/modules/services/glusterfs policy/modules/services/gnomeclock policy/modules/services/gpm policy/modules/services/gpsd policy/modules/services/gssproxy policy/modules/services/hadoop policy/modules/services/hal policy/modules/services/hddtemp policy/modules/services/hostapd policy/modules/services/howl policy/modules/services/hypervkvp policy/modules/services/i18n_input policy/modules/services/icecast policy/modules/services/ifplugd policy/modules/services/imaze policy/modules/services/inetd policy/modules/services/inn policy/modules/services/iodine policy/modules/services/ircd policy/modules/services/irqbalance policy/modules/services/isns policy/modules/services/jabber policy/modules/services/jockey policy/modules/services/kerberos policy/modules/services/kerneloops policy/modules/services/keyboardd policy/modules/services/keystone policy/modules/services/ksmtuned policy/modules/services/ktalk policy/modules/services/l2tp policy/modules/services/ldap policy/modules/services/likewise policy/modules/services/lircd policy/modules/services/lldpad policy/modules/services/lpd policy/modules/services/lsm policy/modules/services/mailman policy/modules/services/mailscanner policy/modules/services/mediawiki policy/modules/services/memcached policy/modules/services/milter policy/modules/services/minidlna policy/modules/services/minissdpd policy/modules/services/modemmanager policy/modules/services/mojomojo policy/modules/services/mon policy/modules/services/mongodb policy/modules/services/monit policy/modules/services/monop policy/modules/services/mpd policy/modules/services/mta policy/modules/services/munin policy/modules/services/mysql policy/modules/services/nagios policy/modules/services/nessus policy/modules/services/networkmanager policy/modules/services/nis policy/modules/services/nscd policy/modules/services/nsd policy/modules/services/nslcd policy/modules/services/ntop policy/modules/services/ntp policy/modules/services/numad policy/modules/services/nut policy/modules/services/nx policy/modules/services/oav policy/modules/services/obex policy/modules/services/oddjob policy/modules/services/oident policy/modules/services/openca policy/modules/services/openct policy/modules/services/openhpi policy/modules/services/openvpn policy/modules/services/openvswitch policy/modules/services/pacemaker policy/modules/services/pads policy/modules/services/pcscd policy/modules/services/pegasus policy/modules/services/perdition policy/modules/services/pingd policy/modules/services/pkcs policy/modules/services/plymouthd policy/modules/services/policykit policy/modules/services/polipo policy/modules/services/portmap policy/modules/services/portreserve policy/modules/services/portslave policy/modules/services/postfix policy/modules/services/postfixpolicyd policy/modules/services/postgresql policy/modules/services/postgrey policy/modules/services/ppp policy/modules/services/prelude policy/modules/services/privoxy policy/modules/services/procmail policy/modules/services/psad policy/modules/services/publicfile policy/modules/services/pwauth policy/modules/services/pxe policy/modules/services/pyicqt policy/modules/services/pyzor policy/modules/services/qmail policy/modules/services/qpid policy/modules/services/quantum policy/modules/services/rabbitmq policy/modules/services/radius policy/modules/services/radvd policy/modules/services/razor policy/modules/services/rdisc policy/modules/services/realmd policy/modules/services/redis policy/modules/services/remotelogin policy/modules/services/resmgr policy/modules/services/rgmanager policy/modules/services/rhcs policy/modules/services/rhgb policy/modules/services/rhsmcertd policy/modules/services/ricci policy/modules/services/rlogin policy/modules/services/rngd policy/modules/services/roundup policy/modules/services/rpc policy/modules/services/rpcbind policy/modules/services/rshd policy/modules/services/rsync policy/modules/services/rtkit policy/modules/services/rwho policy/modules/services/samba policy/modules/services/sanlock policy/modules/services/sasl policy/modules/services/sendmail policy/modules/services/sensord policy/modules/services/setroubleshoot policy/modules/services/shibboleth policy/modules/services/slpd policy/modules/services/slrnpull policy/modules/services/smartmon policy/modules/services/smokeping policy/modules/services/smstools policy/modules/services/snmp policy/modules/services/snort policy/modules/services/soundserver policy/modules/services/spamassassin policy/modules/services/speedtouch policy/modules/services/squid policy/modules/services/ssh policy/modules/services/sssd policy/modules/services/stunnel policy/modules/services/svnserve policy/modules/services/sysstat policy/modules/services/systemtap policy/modules/services/tcpd policy/modules/services/tcsd policy/modules/services/telnet policy/modules/services/tftp policy/modules/services/tgtd policy/modules/services/timidity policy/modules/services/tor policy/modules/services/transproxy policy/modules/services/tuned policy/modules/services/ucspitcp policy/modules/services/ulogd policy/modules/services/uptime policy/modules/services/usbmuxd policy/modules/services/uucp policy/modules/services/uuidd policy/modules/services/uwimap policy/modules/services/varnishd policy/modules/services/vdagent policy/modules/services/vhostmd policy/modules/services/virt policy/modules/services/vnstatd policy/modules/services/w3c policy/modules/services/watchdog policy/modules/services/wdmd policy/modules/services/xfs policy/modules/services/xprint policy/modules/services/xserver policy/modules/services/zabbix policy/modules/services/zarafa policy/modules/services/zebra policy/modules/services/zosremote; do /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/segenxml.py -w -T tmp/iftemplates -m $i >> tmp/services.xml; done
cat policy/modules/system/metadata.xml > tmp/system.xml
for i in policy/modules/system/application policy/modules/system/authlogin policy/modules/system/clock policy/modules/system/daemontools policy/modules/system/fstools policy/modules/system/getty policy/modules/system/hostname policy/modules/system/hotplug policy/modules/system/init policy/modules/system/ipsec policy/modules/system/iptables policy/modules/system/iscsi policy/modules/system/libraries policy/modules/system/locallogin policy/modules/system/logging policy/modules/system/lvm policy/modules/system/miscfiles policy/modules/system/modutils policy/modules/system/mount policy/modules/system/netlabel policy/modules/system/pcmcia policy/modules/system/raid policy/modules/system/selinuxutil policy/modules/system/setrans policy/modules/system/sysnetwork policy/modules/system/systemd policy/modules/system/udev policy/modules/system/unconfined policy/modules/system/userdomain policy/modules/system/xdg policy/modules/system/xen; do /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/segenxml.py -w -T tmp/iftemplates -m $i >> tmp/system.xml; done
Creating policy.xml
echo '' > doc/policy.xml
echo '' >> doc/policy.xml
echo '' >> doc/policy.xml
for i in admin apps kernel roles services system; do echo "" >> doc/policy.xml; cat tmp/$i.xml >> doc/policy.xml; echo "" >> doc/policy.xml; done
cat doc/global_tunables.xml doc/global_booleans.xml >> doc/policy.xml
echo '' >> doc/policy.xml
if test -x /usr/bin/xmllint && test -f doc/policy.dtd; then \
/usr/bin/xmllint --noout --path doc/ --dtdvalid doc/policy.dtd doc/policy.xml ;\
fi
Updating policy/booleans.conf and policy/modules.conf
/data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/usr/bin/python support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml
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 /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/booleans
m4 -E -E -D enable_ubac -D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D hide_broken_symptoms -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 /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/seusers
Installing local.users
install -b -m 0644 config/local.users /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/targeted/users/local.users
make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/refpolicy-2.20190201'
/usr/bin/install -m 0755 -D package/refpolicy/config /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/config
/usr/bin/sed -i -e "/^SELINUX=/c\SELINUX=permissive" /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/etc/selinux/config
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
usb-modeswitch-2.5.2.tar.bz2: OK (sha256: abffac09c87eacd78e101545967dc25af7e989745b4276756d45dbf4008a2ea6)
>>> usb_modeswitch 2.5.2 Extracting
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
bzcat /data/buildroot/buildroot-test/instance-0/dl/usb_modeswitch/usb-modeswitch-2.5.2.tar.bz2 | /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2 -xf -
>>> usb_modeswitch 2.5.2 Patching
Applying 0001-Makefile-allow-extra-configure-flags-to-be-passed-to.patch using patch:
patching file Makefile
>>> usb_modeswitch 2.5.2 Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find /data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2 -name $file); do cp support/gnuconfig/$file $i; done; done
>>> usb_modeswitch 2.5.2 Configuring
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libusb/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libusb/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libusb/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libusb/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target
>>> usb_modeswitch 2.5.2 Building
PATH="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin:/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 PATH="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin:/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ar" AS="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-as" LD="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ld" NM="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-nm" CC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc" GCC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc" CPP="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-cpp" CXX="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-g++" FC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gfortran" F77="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gfortran" RANLIB="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ranlib" READELF="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-readelf" STRIP="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-strip" OBJCOPY="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-objcopy" OBJDUMP="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-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/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-as" DEFAULT_LINKER="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-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="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/pkg-config" STAGING_DIR="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no CXX=false CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I." JIM_CONFIGURE_OPTS="--host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-pc-linux-gnu" -C /data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2 static
make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2'
No installed jimsh or tclsh, building local bootstrap jimsh0
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -o usb_modeswitch usb_modeswitch.c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. `pkg-config --libs --cflags libusb-1.0`
cd jim && CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I." CC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc" ./configure --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-pc-linux-gnu --disable-lineedit --with-out-jim-ext="stdlib posix load signal syslog" --prefix=/usr
/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2/jim/autosetup/jimsh0 make_string.tcl usb_modeswitch.tcl > usb_modeswitch.string
Host System...arm-buildroot-linux-uclibcgnueabi
Build System...x86_64-pc-linux-gnu
C compiler... /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I.
Build C compiler.../usr/bin/gcc
usb_modeswitch.c: In function 'main':
usb_modeswitch.c:519:3: warning: 'libusb_set_debug' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
libusb_set_debug(ctx, 3);
^~~~~~~~~~~~~~~~
In file included from usb_modeswitch.h:26:0,
from usb_modeswitch.c:59:
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
^~~~~~~~~~~~~~~~
Checking for stdlib.h...ok
Checking for long long...ok
Checking for sys/socket.h...ok
Checking for netinet/in.h...ok
Checking for arpa/inet.h...ok
Checking for netdb.h...ok
Checking for sys/un.h...ok
Checking for dlfcn.h...ok
Checking for unistd.h...ok
Checking for crt_externs.h...not found
Checking libs for inet_ntop...none needed
Checking libs for socket...none needed
usb_modeswitch.c: In function 'checkSuccess':
usb_modeswitch.c:1607:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == CheckSuccess-1) {
^
Checking for ualarm...ok
Checking for lstat...ok
Checking for fork...ok
Checking for vfork...ok
Checking for system...ok
Checking for select...ok
Checking for backtrace...not found
Checking for geteuid...ok
Checking for mkstemp...ok
Checking for realpath...ok
Checking for strptime...ok
Checking for gettimeofday...ok
Checking for regcomp...ok
Checking for waitpid...ok
Checking for sigaction...ok
Checking for sys_signame...not found
Checking for sys_siglist...not found
Checking for syslog...ok
Checking for opendir...ok
Checking for readlink...ok
Checking for sleep...ok
Checking for usleep...ok
Checking for pipe...ok
Checking for getaddrinfo...ok
Checking for utimes...ok
Checking for sysinfo...ok
Checking for struct sysinfo.uptime...ok
Checking for _NSGetEnviron...not found
Checking environ declared in unistd.h...yes
Checking for sys/types.h...ok
Checking for sys/stat.h...ok
Checking for mkdir with one arg...no
Enabling references
Building static library
Extension aio...enabled (default)
Extension array...enabled (default)
Extension binary...not enabled
Extension clock...enabled (default)
Extension eventloop...enabled (default)
Extension exec...enabled (default)
Extension file...enabled (default)
Extension glob...enabled (default)
Extension load...disabled
Extension mk...not enabled
Extension nvp...not enabled
Extension oo...not enabled
Extension pack...not enabled
Extension package...enabled (default)
Extension posix...disabled
Extension readdir...enabled
Extension readline...not enabled
Extension regexp...enabled (default)
Extension rlprompt...not enabled
Extension sdl...not enabled
Extension signal...disabled
Extension sqlite...not enabled
Extension sqlite3...not enabled
Extension stdlib...disabled
Extension syslog...disabled
Extension tclcompat...enabled (default)
Extension tree...not enabled
Extension win32...not enabled
Jim static extensions: aio array clock eventloop exec file glob package readdir regexp tclcompat
Created jim-config.h
Created jimautoconf.h
Created Makefile from Makefile.in
/usr/bin/make -C jim lib
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2/jim'
/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2/jim/autosetup/jimsh0 ./make-load-static-exts.tcl aio array clock eventloop exec file package readdir regexp glob tclcompat >_load-static-exts.c || ( rm _load-static-exts.c; exit 1)
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-subcmd.o jim-subcmd.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-interactive.o jim-interactive.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-format.o jim-format.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim.o jim.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o utf8.o utf8.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jimregexp.o jimregexp.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-aio.o jim-aio.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-array.o jim-array.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-clock.o jim-clock.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-eventloop.o jim-eventloop.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-exec.o jim-exec.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-file.o jim-file.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-package.o jim-package.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-readdir.o jim-readdir.c
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o jim-regexp.o jim-regexp.c
/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2/jim/autosetup/jimsh0 ./make-c-ext.tcl glob.tcl >_glob.c || ( rm _glob.c; exit 1)
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -c -o glob.o _glob.c || ( rm _glob.c; exit 1)
/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2/jim/autosetup/jimsh0 ./make-c-ext.tcl tclcompat.tcl >_tclcompat.c || ( rm _tclcompat.c; exit 1)
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -c -o tclcompat.o _tclcompat.c || ( rm _tclcompat.c; exit 1)
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o _load-static-exts.o _load-static-exts.c
jim.c:986:32: warning: 'JimSharedStringsHashTableType' defined but not used [-Wunused-const-variable=]
static const Jim_HashTableType JimSharedStringsHashTableType = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jim.c: In function 'Jim_InfoCoreCommand':
jim.c:4597:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
const char *fmt = ".%020" JIM_WIDE_MODIFIER ">";
^~~~~~~~~~~~~~~~~~~~~~
jim.c:4597:66: note: format string is defined here
const char *fmt = ".%020" JIM_WIDE_MODIFIER ">";
^
jim.c:4599:5: note: 'sprintf' output between 36 and 43 bytes into a destination of size 42
sprintf(buf, fmt, refPtr->tag, id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ar cr libjim.a _load-static-exts.o jim-subcmd.o jim-interactive.o jim-format.o jim.o utf8.o jimregexp.o jim-aio.o jim-array.o jim-clock.o jim-eventloop.o jim-exec.o jim-file.o jim-package.o jim-readdir.o jim-regexp.o glob.o tclcompat.o
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ranlib libjim.a
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2/jim'
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc dispatcher.c jim/libjim.a -Ijim -o usb_modeswitch_dispatcher -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_GNU_SOURCE -Wall -I.
make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2'
>>> usb_modeswitch 2.5.2 Installing to target
PATH="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin:/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 PATH="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin:/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ar" AS="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-as" LD="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ld" NM="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-nm" CC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc" GCC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc" CPP="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-cpp" CXX="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-g++" FC="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gfortran" F77="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gfortran" RANLIB="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-ranlib" READELF="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-readelf" STRIP="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-strip" OBJCOPY="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-objcopy" OBJDUMP="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-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/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-as" DEFAULT_LINKER="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-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="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/pkg-config" STAGING_DIR="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no DESTDIR=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target -C /data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2 install-static
make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2'
/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/bin/arm-linux-gcc dispatcher.c jim/libjim.a -Ijim -o usb_modeswitch_dispatcher -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os
install -D --mode=755 usb_modeswitch /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/usr/sbin/usb_modeswitch
install -D --mode=755 usb_modeswitch.sh /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/lib/udev/usb_modeswitch
install -D --mode=644 usb_modeswitch.conf /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/etc/usb_modeswitch.conf
install -D --mode=644 usb_modeswitch.1 /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/usr/share/man/man1/usb_modeswitch.1
install -D --mode=644 usb_modeswitch_dispatcher.1 /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/usr/share/man/man1/usb_modeswitch_dispatcher.1
install -D --mode=755 usb_modeswitch_dispatcher /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/usr/sbin/usb_modeswitch_dispatcher
install -d /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/var/lib/usb_modeswitch
test -d /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/etc/init -a -e /sbin/initctl && install --mode=644 usb-modeswitch-upstart.conf /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/etc/init || test 1
test -d /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/etc/systemd/system -a \( -e /usr/bin/systemctl -o -e /bin/systemctl \) && install --mode=644 usb_modeswitch@.service /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/etc/systemd/system || test 1
make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch-2.5.2'
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
usb-modeswitch-data-20170806.tar.bz2: OK (sha256: ce413ef2a50e648e9c81bc3ea6110e7324a8bf981034fc9ec4467d3562563c2c)
>>> usb_modeswitch_data 20170806 Extracting
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-tar/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
bzcat /data/buildroot/buildroot-test/instance-0/dl/usb_modeswitch_data/usb-modeswitch-data-20170806.tar.bz2 | /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch_data-20170806 -xf -
>>> usb_modeswitch_data 20170806 Patching
>>> usb_modeswitch_data 20170806 Configuring
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host
mkdir -p /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target
>>> usb_modeswitch_data 20170806 Building
>>> usb_modeswitch_data 20170806 Installing to target
PATH="/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host/bin:/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 -C /data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch_data-20170806 DESTDIR=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target install
make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch_data-20170806'
install -d /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target/usr/share/usb_modeswitch
install -d /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target/etc/usb_modeswitch.d
install -D --mode=644 40-usb_modeswitch.rules /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target/lib/udev/rules.d/40-usb_modeswitch.rules
install --mode=644 -t /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target/usr/share/usb_modeswitch ./usb_modeswitch.d/*
make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/usb_modeswitch_data-20170806'
>>> Finalizing host directory
mkdir -p /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/audit/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/audit/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/busybox/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/busybox/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/bzip2/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/bzip2/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/fxload/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/fxload/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-patchelf/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-patchelf/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/initscripts/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/initscripts/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/jpeg/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/jpeg/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libcap-ng/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libcap-ng/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libffi/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libffi/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libjpeg/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libjpeg/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libselinux/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libselinux/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libsemanage/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libsemanage/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libsepol/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libsepol/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libusb/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libusb/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libxml2/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/libxml2/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/micropython/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/micropython/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/mjpg-streamer/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/mjpg-streamer/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/musl-fts/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/musl-fts/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/pcre/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/pcre/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/policycoreutils/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/policycoreutils/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-common/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-common/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-sysv/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-sysv/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external-custom/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external-custom/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/host/ /data/buildroot/buildroot-test/instance-0/output/host
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/host/ /data/buildroot/buildroot-test/instance-0/output/host
>>> Finalizing target directory
mkdir -p /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/audit/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/audit/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/busybox/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/busybox/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/bzip2/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/bzip2/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/fxload/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/fxload/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/host-patchelf/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/host-patchelf/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/initscripts/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/initscripts/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/jpeg/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/jpeg/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libcap-ng/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libcap-ng/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libffi/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libffi/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libjpeg/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libjpeg/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libselinux/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libselinux/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libsemanage/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libsemanage/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libsepol/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libsepol/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libusb/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libusb/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/libxml2/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/libxml2/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/micropython/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/micropython/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/mjpg-streamer/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/mjpg-streamer/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/musl-fts/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/musl-fts/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/pcre/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/pcre/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/policycoreutils/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/policycoreutils/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/refpolicy/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-common/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-common/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-sysv/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/skeleton-init-sysv/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external-custom/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/toolchain-external-custom/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch/target/ /data/buildroot/buildroot-test/instance-0/output/target
rsync -a --link-dest=/data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target/ /data/buildroot/buildroot-test/instance-0/output/per-package/usb_modeswitch_data/target/ /data/buildroot/buildroot-test/instance-0/output/target
# Check files that are touched by more than one package
/usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab
/usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab
if grep -q CONFIG_ASH=y ./.config; then grep -qsE '^/bin/ash$' /data/buildroot/buildroot-test/instance-0/output/target/etc/shells || echo "/bin/ash" >> /data/buildroot/buildroot-test/instance-0/output/target/etc/shells; fi
grep: ./.config: No such file or directory
if grep -q CONFIG_HUSH=y ./.config; then grep -qsE '^/bin/hush$' /data/buildroot/buildroot-test/instance-0/output/target/etc/shells || echo "/bin/hush" >> /data/buildroot/buildroot-test/instance-0/output/target/etc/shells; fi
grep: ./.config: No such file or directory
mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc
echo "buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/hostname
/usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /data/buildroot/buildroot-test/instance-0/output/target/etc/hosts
mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc
echo "Welcome to Buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/issue
/usr/bin/sed -i -e s,^root:[^:]*:,root::, /data/buildroot/buildroot-test/instance-0/output/target/etc/shadow
rm -f /data/buildroot/buildroot-test/instance-0/output/target/bin/sh
rm -f /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge
for i in C en_US locale-archive; do echo $i >> /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge; done
for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge || rm -rf $langdir; fi done; done
if [ -d /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/locale.dir; fi
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/include /data/buildroot/buildroot-test/instance-0/output/target/usr/share/aclocal \
/data/buildroot/buildroot-test/instance-0/output/target/usr/lib/pkgconfig /data/buildroot/buildroot-test/instance-0/output/target/usr/share/pkgconfig \
/data/buildroot/buildroot-test/instance-0/output/target/usr/lib/cmake /data/buildroot/buildroot-test/instance-0/output/target/usr/share/cmake
find /data/buildroot/buildroot-test/instance-0/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
find /data/buildroot/buildroot-test/instance-0/output/target/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/libexec/ \
\( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gdb
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/bash-completion
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/zsh
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/man /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/info /data/buildroot/buildroot-test/instance-0/output/target/usr/share/info
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/doc /data/buildroot/buildroot-test/instance-0/output/target/usr/share/doc
rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gtk-doc
rmdir /data/buildroot/buildroot-test/instance-0/output/target/usr/share 2>/dev/null || true
find /data/buildroot/buildroot-test/instance-0/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true
find /data/buildroot/buildroot-test/instance-0/output/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true
test -f /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf && \
{ echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true
test -d /data/buildroot/buildroot-test/instance-0/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 /data/buildroot/buildroot-test/instance-0/output/target/etc
( \
echo "NAME=Buildroot"; \
echo "VERSION=2020.02-git-00420-g45bb8059ae"; \
echo "ID=buildroot"; \
echo "VERSION_ID=2020.02-git"; \
echo "PRETTY_NAME=\"Buildroot 2020.02-git\"" \
) > /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/os-release
ln -sf ../usr/lib/os-release /data/buildroot/buildroot-test/instance-0/output/target/etc
>>> Sanitizing RPATH in target tree
PER_PACKAGE_DIR=/data/buildroot/buildroot-test/instance-0/output/per-package /data/buildroot/buildroot-test/instance-0/buildroot/support/scripts/fix-rpath target
touch /data/buildroot/buildroot-test/instance-0/output/target/usr
make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'
make: Entering directory '/data/buildroot/buildroot-test/instance-0/buildroot'
>>> Buildroot 2020.02-git-00420-g45bb8059ae Collecting legal info
COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4)
>>> toolchain-external Collecting legal info
>>> host-skeleton Collecting legal info
>>> host-tar 1.29 Collecting legal info
COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
>>> 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
>>> audit 2.8.5 Collecting legal info
COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670)
COPYING.LIB: OK (sha256: f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa)
>>> 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)
>>> libcap-ng 0.7.9 Collecting legal info
COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670)
COPYING.LIB: OK (sha256: f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa)
>>> busybox 1.31.1 Collecting legal info
LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548)
>>> host-pkgconf 1.6.1 Collecting legal info
COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04)
>>> libselinux 2.9 Collecting legal info
LICENSE: OK (sha256: 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364)
>>> libsepol 2.9 Collecting legal info
COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3)
>>> host-flex 2.6.4 Collecting legal info
COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273)
>>> host-gettext Collecting legal info
>>> host-gettext-tiny 73fc3e7ef7e016a3874b632fd0475969d288f309 Collecting legal info
LICENSE: OK (sha256: b57aa4fdc1c614c28d41c1e2d5c4090935964c5f86291ba7d1c99ffd1d698b34)
extra/COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
>>> musl-fts 1.2.7 Collecting legal info
COPYING: OK (sha256: 55af87e4017668f54467a3380e7ebbac5e672d8c763bfe95e6fc882a6fdc4046)
>>> pcre 8.43 Collecting legal info
LICENCE: OK (sha256: a5fce68baf797e0918463a4437ef75984c41118f43850ddeabda1b5a90154309)
>>> bzip2 1.0.8 Collecting legal info
LICENSE: OK (sha256: c6dbbf828498be844a89eaa3b84adbab3199e342eb5cb2ed2f0d4ba7ec0f38a3)
>>> fxload 2008_10_13 Collecting legal info
ERROR: No hash found for COPYING
>>> initscripts Collecting legal info
>>> jpeg Collecting legal info
>>> libjpeg 9c Collecting legal info
README: OK (sha256: 31f366acfb6259456d9046eb7f16875e387f8bf029d37ac4c4397bf63f22fd6b)
>>> libffi 3.3 Collecting legal info
LICENSE: OK (sha256: deaf3a42effb551a5b140fa9afefed183a27f1341c6d1bf430d106a5e6931fc0)
>>> libsemanage 2.9 Collecting legal info
COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3)
>>> host-bison 3.4.2 Collecting legal info
COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
>>> libusb 1.0.23 Collecting legal info
COPYING: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a)
>>> libxml2 2.9.10 Collecting legal info
COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd)
>>> micropython 1.11 Collecting legal info
ERROR: No hash found for LICENSE
>>> mjpg-streamer 501f6362c5afddcfb41055f97ae484252c85c912 Collecting legal info
mjpg-streamer-experimental/LICENSE: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6)
>>> host-cmake 3.15.5 Collecting legal info
Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9)
>>> host-patchelf 0.9 Collecting legal info
COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
>>> policycoreutils 2.9 Collecting legal info
COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994)
>>> refpolicy 2.20190201 Collecting legal info
COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994)
>>> host-checkpolicy 2.9 Collecting legal info
COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994)
>>> host-libselinux 2.9 Collecting legal info
LICENSE: OK (sha256: 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364)
>>> host-libsepol 2.9 Collecting legal info
COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3)
>>> host-pcre 8.43 Collecting legal info
LICENCE: OK (sha256: a5fce68baf797e0918463a4437ef75984c41118f43850ddeabda1b5a90154309)
>>> host-python 2.7.17 Collecting legal info
LICENSE: OK (sha256: a77d71d6be6f9032e6b6e5d2cf6da68f9eeab9036edfbc043633c8979cd5e82c)
>>> host-expat 2.2.9 Collecting legal info
COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76)
>>> host-zlib Collecting legal info
>>> host-libzlib 1.2.11 Collecting legal info
README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15)
>>> host-swig 4.0.1 Collecting legal info
LICENSE: OK (sha256: f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e)
LICENSE-GPL: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
LICENSE-UNIVERSITIES: OK (sha256: 7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2)
>>> host-gawk 5.0.1 Collecting legal info
COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
>>> host-policycoreutils 2.9 Collecting legal info
COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994)
>>> host-libsemanage 2.9 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.1.1 Collecting legal info
COPYING: OK (sha256: 2f7547e10f76a382c24c053595f38a5cc6dda9347f508f254ca490e0046a9624)
COPYING.GPL: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643)
COPYING.LGPL: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551)
>>> host-python-enum34 1.1.6 Collecting legal info
ERROR: No hash found for enum/LICENSE
>>> host-python-setuptools 41.4.0 Collecting legal info
LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a)
>>> host-python-networkx 1.11 Collecting legal info
LICENSE.txt: OK (sha256: f4c13bf0e83bef45116ebda6c360066df6fd99610efaea9790b998c5441b0c0d)
>>> host-python-decorator 4.4.1 Collecting legal info
LICENSE.txt: OK (sha256: fd11660cabf0532082c45706862fafc294907ec7f8e217818240a4999806782e)
>>> usb_modeswitch 2.5.2 Collecting legal info
COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670)
>>> usb_modeswitch_data 20170806 Collecting legal info
COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670)
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 /data/buildroot/buildroot-test/instance-0/output/legal-info
make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'