byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/netifconmodel.py to netifconmodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/ibpkeyconmodel.py to ibpkeyconmodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/getdetailslist.py to getdetailslist.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/defaultmodel.py to defaultmodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/constraintmodel.py to constraintmodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/boolmodel.py to boolmodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/tableview.py to tableview.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/mlsrulemodel.py to mlsrulemodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/widget.py to widget.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/initsidmodel.py to initsidmodel.pyc byte-compiling /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setoolsgui/rbacrulemodel.py to rbacrulemodel.pyc running install_data copying man/sechecker.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/sedta.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/seinfo.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/sesearch.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/apol.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/sediff.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/seinfoflow.1 -> /tmp/instance-0/output-1/host/share/man/man1 copying man/ru/sedta.1 -> /tmp/instance-0/output-1/host/share/man/ru/man1 copying man/ru/seinfo.1 -> /tmp/instance-0/output-1/host/share/man/ru/man1 copying man/ru/sesearch.1 -> /tmp/instance-0/output-1/host/share/man/ru/man1 copying man/ru/apol.1 -> /tmp/instance-0/output-1/host/share/man/ru/man1 copying man/ru/sediff.1 -> /tmp/instance-0/output-1/host/share/man/ru/man1 copying man/ru/seinfoflow.1 -> /tmp/instance-0/output-1/host/share/man/ru/man1 running install_egg_info running egg_info creating setools.egg-info writing setools.egg-info/PKG-INFO writing dependency_links to setools.egg-info/dependency_links.txt writing requirements to setools.egg-info/requires.txt writing top-level names to setools.egg-info/top_level.txt writing manifest file 'setools.egg-info/SOURCES.txt' reading manifest file 'setools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'setools.egg-info/SOURCES.txt' Copying setools.egg-info to /tmp/instance-0/output-1/host/lib/python3.9/site-packages/setools-4.4.0-py3.9.egg-info running install_scripts copying build/scripts-3.9/sechecker -> /tmp/instance-0/output-1/host/bin copying build/scripts-3.9/sediff -> /tmp/instance-0/output-1/host/bin copying build/scripts-3.9/apol -> /tmp/instance-0/output-1/host/bin copying build/scripts-3.9/seinfo -> /tmp/instance-0/output-1/host/bin copying build/scripts-3.9/sesearch -> /tmp/instance-0/output-1/host/bin copying build/scripts-3.9/sedta -> /tmp/instance-0/output-1/host/bin copying build/scripts-3.9/seinfoflow -> /tmp/instance-0/output-1/host/bin changing mode of /tmp/instance-0/output-1/host/bin/sechecker to 755 changing mode of /tmp/instance-0/output-1/host/bin/sediff to 755 changing mode of /tmp/instance-0/output-1/host/bin/apol to 755 changing mode of /tmp/instance-0/output-1/host/bin/seinfo to 755 changing mode of /tmp/instance-0/output-1/host/bin/sesearch to 755 changing mode of /tmp/instance-0/output-1/host/bin/sedta to 755 changing mode of /tmp/instance-0/output-1/host/bin/seinfoflow to 755 rm -f /tmp/instance-0/output-1/host/bin/apol refpolicy-2.20210203.tar.bz2: OK (sha256: 48cbf2c63ff9003bef05e03c8d3cdddb4e8f63fef2a072ae51c987301f0b874d) >>> refpolicy 2.20210203 Extracting bzcat /tmp/instance-0/dl/refpolicy/refpolicy-2.20210203.tar.bz2 | tar --strip-components=1 -C /tmp/instance-0/output-1/build/refpolicy-2.20210203 -xf - >>> refpolicy 2.20210203 Patching Applying 0001-policy-modules-services-minidlna.te-make-xdg-optiona.patch using patch: patching file policy/modules/services/minidlna.te Applying 0002-policy-modules-services-cvs.te-make-inetd-optional.patch using patch: patching file policy/modules/services/cvs.te Applying 0003-policy-modules-services-ifplugd.te-make-netutils-opt.patch using patch: patching file policy/modules/services/ifplugd.te Applying 0004-policy-modules-services-ftp-te-make-ssh-optional.patch using patch: patching file policy/modules/services/ftp.te Applying 0005-policy-modules-services-samba.te-make-crack-optional.patch using patch: patching file policy/modules/services/samba.te Hunk #3 succeeded at 495 (offset 4 lines). >>> refpolicy 2.20210203 Configuring /usr/bin/sed -i -e "/OUTPUT_POLICY/c\OUTPUT_POLICY = 30" /tmp/instance-0/output-1/build/refpolicy-2.20210203/build.conf /usr/bin/sed -i -e "/MONOLITHIC/c\MONOLITHIC = y" /tmp/instance-0/output-1/build/refpolicy-2.20210203/build.conf /usr/bin/sed -i -e "/NAME/c\NAME = targeted" /tmp/instance-0/output-1/build/refpolicy-2.20210203/build.conf PYTHON=/tmp/instance-0/output-1/host/usr/bin/python3 TEST_TOOLCHAIN=/tmp/instance-0/output-1/host PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/refpolicy-2.20210203 bare conf make[1]: Entering directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' rm -f policy.conf rm -f policy.30 rm -f file_contexts rm -f homedir_template rm -f net_contexts net_contexts.nft rm -f *.res rm -fR tmp rm -f doc/policy.xml rm -fR doc/tmp rm -f doc/global_tunables.xml rm -f doc/global_booleans.xml rm -f policy/modules.conf rm -f policy/booleans.conf rm -fR doc/html rm -f tags rm -f support/*.pyc rm -Rf support/__pycache__/ rm -f policy/modules/kernel/corenetwork.te rm -f policy/modules/kernel/corenetwork.if Generating interface templates into doc/tmp/iftemplates support/gentemplates.sh -g -s policy/modules -t doc/tmp/iftemplates 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/modules/kernel/corenetwork.te.m4 support/undivert.m4 policy/modules/kernel/corenetwork.te.in \ | sed -e 's/dollarsone/\$1/g' -e 's/dollarszero/\$0/g' >> policy/modules/kernel/corenetwork.te cat policy/modules/kernel/corenetwork.if.in >> policy/modules/kernel/corenetwork.if egrep "^[[:blank:]]*(network_(interface|node|port|packet)(_controlled)?)|ib_(pkey|endport)\(.*\)" policy/modules/kernel/corenetwork.te.in \ | 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/modules/kernel/corenetwork.if.m4 support/undivert.m4 - \ | sed -e 's/dollarsone/\$1/g' -e 's/dollarszero/\$0/g' >> policy/modules/kernel/corenetwork.if cat policy/modules/admin/metadata.xml > doc/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/kismet 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/rkhunter policy/modules/admin/rpm policy/modules/admin/samhain policy/modules/admin/sblim policy/modules/admin/shorewall policy/modules/admin/shutdown 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/usbguard policy/modules/admin/usbmodules policy/modules/admin/usermanage policy/modules/admin/vbetool policy/modules/admin/vpn; do /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -T doc/tmp/iftemplates -m $i >> doc/tmp/admin.xml; done cat policy/modules/apps/metadata.xml > doc/tmp/apps.xml for i in policy/modules/apps/awstats policy/modules/apps/calamaris policy/modules/apps/cdrecord policy/modules/apps/chromium policy/modules/apps/cpufreqselector policy/modules/apps/cryfs policy/modules/apps/evolution policy/modules/apps/games 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/pulseaudio policy/modules/apps/qemu policy/modules/apps/rssh 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; do /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -T doc/tmp/iftemplates -m $i >> doc/tmp/apps.xml; done cat policy/modules/kernel/metadata.xml > doc/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 /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -T doc/tmp/iftemplates -m $i >> doc/tmp/kernel.xml; done cat policy/modules/roles/metadata.xml > doc/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 /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -T doc/tmp/iftemplates -m $i >> doc/tmp/roles.xml; done cat policy/modules/services/metadata.xml > doc/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/aptcacher 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/certbot 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/consolesetup 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/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/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/keystone policy/modules/services/knot 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/memlockd 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/rhsmcertd policy/modules/services/ricci policy/modules/services/rlogin policy/modules/services/rngd 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/squid policy/modules/services/ssh policy/modules/services/sssd policy/modules/services/stubby 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/tpm2 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/watchdog policy/modules/services/wdmd policy/modules/services/wireguard policy/modules/services/xfs policy/modules/services/xserver policy/modules/services/zabbix policy/modules/services/zarafa policy/modules/services/zebra policy/modules/services/zosremote; do /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -T doc/tmp/iftemplates -m $i >> doc/tmp/services.xml; done cat policy/modules/system/metadata.xml > doc/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/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/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 /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -T doc/tmp/iftemplates -m $i >> doc/tmp/system.xml; done /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -t policy/global_tunables > doc/global_tunables.xml /tmp/instance-0/output-1/host/usr/bin/python3 support/segenxml.py -w -b policy/global_booleans > doc/global_booleans.xml 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 doc/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 ;\ else \ echo "doc/policy.xml XML validation not run. Please install the xmllint tool." ;\ fi Updating policy/booleans.conf and policy/modules.conf /tmp/instance-0/output-1/host/usr/bin/python3 support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml make[1]: Leaving directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' /usr/bin/sed -i -e "s/ = module/ = no/g" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^application =/c\application = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^authlogin =/c\authlogin = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^getty =/c\getty = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^init =/c\init = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^libraries =/c\libraries = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^locallogin =/c\locallogin = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^logging =/c\logging = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^miscfiles =/c\miscfiles = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^modutils =/c\modutils = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^mount =/c\mount = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^selinuxutil =/c\selinuxutil = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^storage =/c\storage = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^sysadm =/c\sysadm = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^sysnetwork =/c\sysnetwork = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^unconfined =/c\unconfined = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf /usr/bin/sed -i -e "/^userdomain =/c\userdomain = base" /tmp/instance-0/output-1/build/refpolicy-2.20210203/policy/modules.conf >>> refpolicy 2.20210203 Building PYTHON=/tmp/instance-0/output-1/host/usr/bin/python3 TEST_TOOLCHAIN=/tmp/instance-0/output-1/host PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/refpolicy-2.20210203 policy make[1]: Entering directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' 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 policy/flask/security_classes policy/flask/initial_sids policy/flask/access_vectors 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 policy/context_defaults policy/mls policy/mcs policy/policy_capabilities > tmp/pre_te_files.conf /tmp/instance-0/output-1/host/usr/bin/python3 support/genclassperms.py policy/flask/access_vectors policy/flask/security_classes >> tmp/generated_definitions.conf test -f policy/booleans.conf && gawk -f support/set_bools_tuns.awk policy/booleans.conf >> tmp/generated_definitions.conf || true m4 -E -E 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 policy/modules/system/application.if policy/modules/system/authlogin.if policy/modules/kernel/corecommands.if policy/modules/kernel/corenetwork.if policy/modules/kernel/devices.if policy/modules/kernel/domain.if policy/modules/kernel/files.if policy/modules/kernel/filesystem.if policy/modules/system/getty.if policy/modules/system/init.if policy/modules/kernel/kernel.if policy/modules/system/libraries.if policy/modules/system/locallogin.if policy/modules/system/logging.if policy/modules/kernel/mcs.if policy/modules/system/miscfiles.if policy/modules/kernel/mls.if policy/modules/system/modutils.if policy/modules/system/mount.if policy/modules/kernel/selinux.if policy/modules/system/selinuxutil.if policy/modules/kernel/storage.if policy/modules/roles/sysadm.if policy/modules/system/sysnetwork.if policy/modules/kernel/terminal.if policy/modules/kernel/ubac.if policy/modules/system/unconfined.if policy/modules/system/userdomain.if policy/modules/admin/acct.if policy/modules/admin/aide.if policy/modules/admin/alsa.if policy/modules/admin/amanda.if policy/modules/admin/amtu.if policy/modules/admin/anaconda.if policy/modules/admin/apt.if policy/modules/admin/backup.if policy/modules/admin/bacula.if policy/modules/admin/bcfg2.if policy/modules/admin/blueman.if policy/modules/admin/bootloader.if policy/modules/admin/brctl.if policy/modules/admin/certwatch.if policy/modules/admin/cfengine.if policy/modules/admin/chkrootkit.if policy/modules/admin/consoletype.if policy/modules/admin/ddcprobe.if policy/modules/admin/dmesg.if policy/modules/admin/dmidecode.if policy/modules/admin/dphysswapfile.if policy/modules/admin/dpkg.if policy/modules/admin/fakehwclock.if policy/modules/admin/firstboot.if policy/modules/admin/hwloc.if policy/modules/admin/kdump.if policy/modules/admin/kismet.if policy/modules/admin/logrotate.if policy/modules/admin/logwatch.if policy/modules/admin/mcelog.if policy/modules/admin/mrtg.if policy/modules/admin/ncftool.if policy/modules/admin/netutils.if policy/modules/admin/passenger.if policy/modules/admin/portage.if policy/modules/admin/prelink.if policy/modules/admin/puppet.if policy/modules/admin/quota.if policy/modules/admin/rkhunter.if policy/modules/admin/rpm.if policy/modules/admin/samhain.if policy/modules/admin/sblim.if policy/modules/admin/shorewall.if policy/modules/admin/shutdown.if policy/modules/admin/sosreport.if policy/modules/admin/su.if policy/modules/admin/sudo.if policy/modules/admin/sxid.if policy/modules/admin/tboot.if policy/modules/admin/tmpreaper.if policy/modules/admin/tripwire.if policy/modules/admin/tzdata.if policy/modules/admin/updfstab.if policy/modules/admin/usbguard.if policy/modules/admin/usbmodules.if policy/modules/admin/usermanage.if policy/modules/admin/vbetool.if policy/modules/admin/vpn.if policy/modules/apps/awstats.if policy/modules/apps/calamaris.if policy/modules/apps/cdrecord.if policy/modules/apps/chromium.if policy/modules/apps/cpufreqselector.if policy/modules/apps/cryfs.if policy/modules/apps/evolution.if policy/modules/apps/games.if policy/modules/apps/gitosis.if policy/modules/apps/gnome.if policy/modules/apps/gpg.if policy/modules/apps/irc.if policy/modules/apps/java.if policy/modules/apps/libmtp.if policy/modules/apps/lightsquid.if policy/modules/apps/livecd.if policy/modules/apps/loadkeys.if policy/modules/apps/lockdev.if policy/modules/apps/man2html.if policy/modules/apps/mandb.if policy/modules/apps/mono.if policy/modules/apps/mozilla.if policy/modules/apps/mplayer.if policy/modules/apps/openoffice.if policy/modules/apps/pulseaudio.if policy/modules/apps/qemu.if policy/modules/apps/rssh.if policy/modules/apps/screen.if policy/modules/apps/seunshare.if policy/modules/apps/sigrok.if policy/modules/apps/slocate.if policy/modules/apps/syncthing.if policy/modules/apps/telepathy.if policy/modules/apps/thunderbird.if policy/modules/apps/tvtime.if policy/modules/apps/uml.if policy/modules/apps/userhelper.if policy/modules/apps/usernetctl.if policy/modules/apps/vlock.if policy/modules/apps/vmware.if policy/modules/apps/webalizer.if policy/modules/apps/wine.if policy/modules/apps/wireshark.if policy/modules/apps/wm.if policy/modules/apps/xscreensaver.if policy/modules/roles/auditadm.if policy/modules/roles/dbadm.if policy/modules/roles/guest.if policy/modules/roles/logadm.if policy/modules/roles/secadm.if policy/modules/roles/staff.if policy/modules/roles/unprivuser.if policy/modules/roles/webadm.if policy/modules/roles/xguest.if policy/modules/services/abrt.if policy/modules/services/accountsd.if policy/modules/services/acpi.if policy/modules/services/afs.if policy/modules/services/aiccu.if policy/modules/services/aisexec.if policy/modules/services/amavis.if policy/modules/services/apache.if policy/modules/services/apcupsd.if policy/modules/services/aptcacher.if policy/modules/services/arpwatch.if policy/modules/services/asterisk.if policy/modules/services/automount.if policy/modules/services/avahi.if policy/modules/services/bind.if policy/modules/services/bird.if policy/modules/services/bitlbee.if policy/modules/services/bluetooth.if policy/modules/services/boinc.if policy/modules/services/bugzilla.if policy/modules/services/cachefilesd.if policy/modules/services/callweaver.if policy/modules/services/canna.if policy/modules/services/ccs.if policy/modules/services/certbot.if policy/modules/services/certmaster.if policy/modules/services/certmonger.if policy/modules/services/cgmanager.if policy/modules/services/cgroup.if policy/modules/services/chronyd.if policy/modules/services/cipe.if policy/modules/services/clamav.if policy/modules/services/clockspeed.if policy/modules/services/clogd.if policy/modules/services/cmirrord.if policy/modules/services/cobbler.if policy/modules/services/collectd.if policy/modules/services/colord.if policy/modules/services/comsat.if policy/modules/services/condor.if policy/modules/services/consolesetup.if policy/modules/services/corosync.if policy/modules/services/couchdb.if policy/modules/services/courier.if policy/modules/services/cpucontrol.if policy/modules/services/cron.if policy/modules/services/ctdb.if policy/modules/services/cups.if policy/modules/services/cvs.if policy/modules/services/cyphesis.if policy/modules/services/cyrus.if policy/modules/services/dante.if policy/modules/services/dbskk.if policy/modules/services/dbus.if policy/modules/services/dcc.if policy/modules/services/ddclient.if policy/modules/services/denyhosts.if policy/modules/services/devicekit.if policy/modules/services/dhcp.if policy/modules/services/dictd.if policy/modules/services/dirmngr.if policy/modules/services/distcc.if policy/modules/services/djbdns.if policy/modules/services/dkim.if policy/modules/services/dnsmasq.if policy/modules/services/dovecot.if policy/modules/services/drbd.if policy/modules/services/dspam.if policy/modules/services/entropyd.if policy/modules/services/exim.if policy/modules/services/fail2ban.if policy/modules/services/fcoe.if policy/modules/services/fetchmail.if policy/modules/services/finger.if policy/modules/services/firewalld.if policy/modules/services/fprintd.if policy/modules/services/ftp.if policy/modules/services/gatekeeper.if policy/modules/services/gdomap.if policy/modules/services/geoclue.if policy/modules/services/git.if policy/modules/services/glance.if policy/modules/services/glusterfs.if policy/modules/services/gnomeclock.if policy/modules/services/gpm.if policy/modules/services/gpsd.if policy/modules/services/gssproxy.if policy/modules/services/hadoop.if policy/modules/services/hddtemp.if policy/modules/services/hostapd.if policy/modules/services/howl.if policy/modules/services/hypervkvp.if policy/modules/services/i18n_input.if policy/modules/services/icecast.if policy/modules/services/ifplugd.if policy/modules/services/imaze.if policy/modules/services/inetd.if policy/modules/services/inn.if policy/modules/services/iodine.if policy/modules/services/ircd.if policy/modules/services/irqbalance.if policy/modules/services/isns.if policy/modules/services/jabber.if policy/modules/services/jockey.if policy/modules/services/kerberos.if policy/modules/services/kerneloops.if policy/modules/services/keystone.if policy/modules/services/knot.if policy/modules/services/ksmtuned.if policy/modules/services/ktalk.if policy/modules/services/l2tp.if policy/modules/services/ldap.if policy/modules/services/likewise.if policy/modules/services/lircd.if policy/modules/services/lldpad.if policy/modules/services/lpd.if policy/modules/services/lsm.if policy/modules/services/mailman.if policy/modules/services/mailscanner.if policy/modules/services/mediawiki.if policy/modules/services/memcached.if policy/modules/services/memlockd.if policy/modules/services/milter.if policy/modules/services/minidlna.if policy/modules/services/minissdpd.if policy/modules/services/modemmanager.if policy/modules/services/mojomojo.if policy/modules/services/mon.if policy/modules/services/mongodb.if policy/modules/services/monit.if policy/modules/services/monop.if policy/modules/services/mpd.if policy/modules/services/mta.if policy/modules/services/munin.if policy/modules/services/mysql.if policy/modules/services/nagios.if policy/modules/services/nessus.if policy/modules/services/networkmanager.if policy/modules/services/nis.if policy/modules/services/nscd.if policy/modules/services/nsd.if policy/modules/services/nslcd.if policy/modules/services/ntop.if policy/modules/services/ntp.if policy/modules/services/numad.if policy/modules/services/nut.if policy/modules/services/nx.if policy/modules/services/oav.if policy/modules/services/obex.if policy/modules/services/oddjob.if policy/modules/services/oident.if policy/modules/services/openca.if policy/modules/services/openct.if policy/modules/services/openhpi.if policy/modules/services/openvpn.if policy/modules/services/openvswitch.if policy/modules/services/pacemaker.if policy/modules/services/pads.if policy/modules/services/pcscd.if policy/modules/services/pegasus.if policy/modules/services/perdition.if policy/modules/services/pingd.if policy/modules/services/pkcs.if policy/modules/services/plymouthd.if policy/modules/services/policykit.if policy/modules/services/polipo.if policy/modules/services/portmap.if policy/modules/services/portreserve.if policy/modules/services/portslave.if policy/modules/services/postfix.if policy/modules/services/postfixpolicyd.if policy/modules/services/postgresql.if policy/modules/services/postgrey.if policy/modules/services/ppp.if policy/modules/services/prelude.if policy/modules/services/privoxy.if policy/modules/services/procmail.if policy/modules/services/psad.if policy/modules/services/publicfile.if policy/modules/services/pwauth.if policy/modules/services/pxe.if policy/modules/services/pyicqt.if policy/modules/services/pyzor.if policy/modules/services/qmail.if policy/modules/services/qpid.if policy/modules/services/quantum.if policy/modules/services/rabbitmq.if policy/modules/services/radius.if policy/modules/services/radvd.if policy/modules/services/razor.if policy/modules/services/rdisc.if policy/modules/services/realmd.if policy/modules/services/redis.if policy/modules/services/remotelogin.if policy/modules/services/resmgr.if policy/modules/services/rgmanager.if policy/modules/services/rhcs.if policy/modules/services/rhsmcertd.if policy/modules/services/ricci.if policy/modules/services/rlogin.if policy/modules/services/rngd.if policy/modules/services/rpc.if policy/modules/services/rpcbind.if policy/modules/services/rshd.if policy/modules/services/rsync.if policy/modules/services/rtkit.if policy/modules/services/rwho.if policy/modules/services/samba.if policy/modules/services/sanlock.if policy/modules/services/sasl.if policy/modules/services/sendmail.if policy/modules/services/sensord.if policy/modules/services/setroubleshoot.if policy/modules/services/shibboleth.if policy/modules/services/slpd.if policy/modules/services/slrnpull.if policy/modules/services/smartmon.if policy/modules/services/smokeping.if policy/modules/services/smstools.if policy/modules/services/snmp.if policy/modules/services/snort.if policy/modules/services/soundserver.if policy/modules/services/spamassassin.if policy/modules/services/squid.if policy/modules/services/ssh.if policy/modules/services/sssd.if policy/modules/services/stubby.if policy/modules/services/stunnel.if policy/modules/services/svnserve.if policy/modules/services/sysstat.if policy/modules/services/systemtap.if policy/modules/services/tcpd.if policy/modules/services/tcsd.if policy/modules/services/telnet.if policy/modules/services/tftp.if policy/modules/services/tgtd.if policy/modules/services/timidity.if policy/modules/services/tor.if policy/modules/services/tpm2.if policy/modules/services/transproxy.if policy/modules/services/tuned.if policy/modules/services/ucspitcp.if policy/modules/services/ulogd.if policy/modules/services/uptime.if policy/modules/services/usbmuxd.if policy/modules/services/uucp.if policy/modules/services/uuidd.if policy/modules/services/uwimap.if policy/modules/services/varnishd.if policy/modules/services/vdagent.if policy/modules/services/vhostmd.if policy/modules/services/virt.if policy/modules/services/vnstatd.if policy/modules/services/watchdog.if policy/modules/services/wdmd.if policy/modules/services/wireguard.if policy/modules/services/xfs.if policy/modules/services/xserver.if policy/modules/services/zabbix.if policy/modules/services/zarafa.if policy/modules/services/zebra.if policy/modules/services/zosremote.if policy/modules/system/clock.if policy/modules/system/daemontools.if policy/modules/system/fstools.if policy/modules/system/hostname.if policy/modules/system/ipsec.if policy/modules/system/iptables.if policy/modules/system/iscsi.if policy/modules/system/lvm.if policy/modules/system/netlabel.if policy/modules/system/raid.if policy/modules/system/setrans.if policy/modules/system/systemd.if policy/modules/system/udev.if policy/modules/system/xdg.if policy/modules/system/xen.if support/iferror.m4 > tmp/all_interfaces.conf.tmp sed -e s/dollarsstar/\$\*/g tmp/all_interfaces.conf.tmp >> tmp/all_interfaces.conf 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 -s 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 tmp/all_interfaces.conf policy/modules/system/application.te policy/modules/system/authlogin.te policy/modules/kernel/corecommands.te policy/modules/kernel/corenetwork.te policy/modules/kernel/devices.te policy/modules/kernel/domain.te policy/modules/kernel/files.te policy/modules/kernel/filesystem.te policy/modules/system/getty.te policy/modules/system/init.te policy/modules/kernel/kernel.te policy/modules/system/libraries.te policy/modules/system/locallogin.te policy/modules/system/logging.te policy/modules/kernel/mcs.te policy/modules/system/miscfiles.te policy/modules/kernel/mls.te policy/modules/system/modutils.te policy/modules/system/mount.te policy/modules/kernel/selinux.te policy/modules/system/selinuxutil.te policy/modules/kernel/storage.te policy/modules/roles/sysadm.te policy/modules/system/sysnetwork.te policy/modules/kernel/terminal.te policy/modules/kernel/ubac.te policy/modules/system/unconfined.te policy/modules/system/userdomain.te support/fatal_error.m4 > tmp/all_te_files.conf sed -r -f support/get_type_attr_decl.sed tmp/all_te_files.conf | LC_ALL=C sort > tmp/all_attrs_types.conf 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/global_booleans policy/global_tunables > tmp/global_bools.conf sed -r -f support/comment_move_decl.sed tmp/all_te_files.conf > tmp/only_te_rules.conf egrep '^[[:blank:]]*user ' tmp/all_te_files.conf > tmp/post_te_files.conf || true 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/users policy/constraints >> tmp/post_te_files.conf cat tmp/post_te_files.conf > tmp/all_post.conf egrep '^sid ' tmp/all_te_files.conf >> tmp/all_post.conf || true egrep '^fs_use_(xattr|task|trans)' tmp/all_te_files.conf >> tmp/all_post.conf || true egrep ^genfscon tmp/all_te_files.conf >> tmp/all_post.conf || true egrep ^portcon tmp/all_te_files.conf >> tmp/all_post.conf || true egrep ^netifcon tmp/all_te_files.conf >> tmp/all_post.conf || true egrep ^nodecon tmp/all_te_files.conf >> tmp/all_post.conf || true egrep ^ibpkeycon tmp/all_te_files.conf >> tmp/all_post.conf || true egrep ^ibendportcon tmp/all_te_files.conf >> tmp/all_post.conf || true Creating targeted policy.conf cat tmp/pre_te_files.conf tmp/all_attrs_types.conf tmp/global_bools.conf tmp/only_te_rules.conf tmp/all_post.conf > policy.conf Compiling targeted policy.30 env LD_LIBRARY_PATH="/tmp/instance-0/output-1/host/lib:/tmp/instance-0/output-1/host/usr/lib" /tmp/instance-0/output-1/host/usr/bin/checkpolicy -c 30 -U deny -S -O -E policy.conf -o policy.30 make[1]: Leaving directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' >>> refpolicy 2.20210203 Installing to staging directory PYTHON=/tmp/instance-0/output-1/host/usr/bin/python3 TEST_TOOLCHAIN=/tmp/instance-0/output-1/host PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/refpolicy-2.20210203 DESTDIR=/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot install-src install-headers make[1]: Entering directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' rm -rf /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/etc/selinux/targeted/src/policy.old if test -d /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/etc/selinux/targeted/src/policy; then \ mv /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/etc/selinux/targeted/src/policy /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/etc/selinux/targeted/src/policy.old ;\ fi mkdir -p /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/etc/selinux/targeted/src/policy cp -R . /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/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-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include mkdir -p /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/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-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/support install -m 755 support/segenxml.py /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/support /tmp/instance-0/output-1/host/usr/bin/python3 support/genclassperms.py policy/flask/access_vectors policy/flask/security_classes > /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/support/all_perms.spt for i in admin apps kernel roles services system; do \ mkdir -p /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/$i ;\ install -m 644 policy/modules/$i/*.if /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/$i ;\ done echo "TYPE ?= standard" > /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "NAME ?= targeted" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "MONOLITHIC ?= n" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "DIRECT_INITRC ?= n" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "SYSTEMD ?= n" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "CUSTOM_BUILDOPT ?= " >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "override UBAC := y" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "override MLS_SENS := 16" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "override MLS_CATS := 1024" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf echo "override MCS_CATS := 1024" >> /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/build.conf install -m 644 support/Makefile.devel /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/share/selinux/targeted/include/Makefile make[1]: Leaving directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' >>> refpolicy 2.20210203 Fixing libtool files for la in $(find /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-0/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-0/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-0/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.20210203 Installing to target PYTHON=/tmp/instance-0/output-1/host/usr/bin/python3 TEST_TOOLCHAIN=/tmp/instance-0/output-1/host PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/refpolicy-2.20210203 DESTDIR=/tmp/instance-0/output-1/target install make[1]: Entering directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' Compiling and installing targeted /tmp/instance-0/output-1/target/etc/selinux/targeted/policy/policy.30 env LD_LIBRARY_PATH="/tmp/instance-0/output-1/host/lib:/tmp/instance-0/output-1/host/usr/lib" /tmp/instance-0/output-1/host/usr/bin/checkpolicy -c 30 -U deny -S -O -E policy.conf -o /tmp/instance-0/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-0/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-0/output-1/target/etc/selinux/targeted/users/system.users Validating targeted file_contexts. env LD_LIBRARY_PATH="/tmp/instance-0/output-1/host/lib:/tmp/instance-0/output-1/host/usr/lib" /tmp/instance-0/output-1/host/sbin/setfiles -q -c /tmp/instance-0/output-1/target/etc/selinux/targeted/policy/policy.30 file_contexts Installing file_contexts. install -m 0644 file_contexts /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/files/file_contexts install -m 0644 homedir_template /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/files/homedir_template umask 022 ; /tmp/instance-0/output-1/host/usr/bin/python3 support/genhomedircon.py -d /tmp/instance-0/output-1/target/etc/selinux -t targeted 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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/output-1/target/etc/selinux/targeted/contexts/virtual_image_context install -m 0644 config/appconfig-standard/media /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/files/media install -m 0644 config/file_contexts.subs_dist /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/files/file_contexts.subs_dist install -m 0644 config/appconfig-standard/guest_u_default_contexts /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/users/guest_u install -m 0644 config/appconfig-standard/staff_u_default_contexts /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/users/staff_u install -m 0644 config/appconfig-standard/xguest_u_default_contexts /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/users/xguest_u install -m 0644 config/appconfig-standard/user_u_default_contexts /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/users/user_u install -m 0644 config/appconfig-standard/root_default_contexts /tmp/instance-0/output-1/target/etc/selinux/targeted/contexts/users/root install -m 0644 config/appconfig-standard/unconfined_u_default_contexts /tmp/instance-0/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-0/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-0/output-1/target/etc/selinux/targeted/seusers Installing local.users install -b -m 0644 config/local.users /tmp/instance-0/output-1/target/etc/selinux/targeted/users/local.users make[1]: Leaving directory '/tmp/instance-0/output-1/build/refpolicy-2.20210203' /usr/bin/install -m 0755 -D package/refpolicy/config /tmp/instance-0/output-1/target/etc/selinux/config /usr/bin/sed -i -e "/^SELINUX=/c\SELINUX=permissive" /tmp/instance-0/output-1/target/etc/selinux/config >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-0/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/nios2-linux-%g' -e 's%@TARGET_ARCH@%nios2%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@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', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' -e 's%@PKG_TARGET_LDFLAGS@%%g' -e 's%@PKG_TARGET_CXXFLAGS@%%g' /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-0/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-0/output-1/target/etc/shells; fi mkdir -p /tmp/instance-0/output-1/target/etc echo "buildroot" > /tmp/instance-0/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-0/output-1/target/etc/hosts mkdir -p /tmp/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-0/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-0/output-1/target/etc/shadow rm -f /tmp/instance-0/output-1/target/bin/sh if [ -x /tmp/instance-0/output-1/target/sbin/swapon -a -x /tmp/instance-0/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-0/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-0/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-0/output-1/build/locales.nopurge for dir in /tmp/instance-0/output-1/target/usr/share/locale /tmp/instance-0/output-1/target/usr/share/X11/locale /tmp/instance-0/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-0/output-1/target/usr/include /tmp/instance-0/output-1/target/usr/share/aclocal \ /tmp/instance-0/output-1/target/usr/lib/pkgconfig /tmp/instance-0/output-1/target/usr/share/pkgconfig \ /tmp/instance-0/output-1/target/usr/lib/cmake /tmp/instance-0/output-1/target/usr/share/cmake \ /tmp/instance-0/output-1/target/usr/doc find /tmp/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-0/output-1/target/lib/ /tmp/instance-0/output-1/target/usr/lib/ /tmp/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-0/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-0/output-1/target/usr/share/gdb rm -rf /tmp/instance-0/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-0/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-0/output-1/target/usr/share/zsh rm -rf /tmp/instance-0/output-1/target/usr/man /tmp/instance-0/output-1/target/usr/share/man rm -rf /tmp/instance-0/output-1/target/usr/info /tmp/instance-0/output-1/target/usr/share/info rm -rf /tmp/instance-0/output-1/target/usr/doc /tmp/instance-0/output-1/target/usr/share/doc rm -rf /tmp/instance-0/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-0/output-1/target/lib/debug /tmp/instance-0/output-1/target/usr/lib/debug find /tmp/instance-0/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-0/output-1/host/bin/nios2-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-0/output-1/host/bin/nios2-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-0/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-0/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.08-rc1-372-g9f127cc420"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.11-git"; \ echo "PRETTY_NAME=\"Buildroot 2021.11-git\"" \ ) > /tmp/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-0/output-1/per-package /tmp/instance-0/buildroot/support/scripts/fix-rpath target touch /tmp/instance-0/output-1/target/usr ln -snf /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2021.08-rc1-372-g9f127cc420 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 >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> host-dos2unix 7.4.2 Collecting legal info COPYING.txt: OK (sha256: db8888b7d1454348aca0c6ca851327245ef60e57afa8a6555761c8b95d24af77) >>> host-environment-setup Collecting legal info >>> initscripts Collecting legal info >>> json-c 0.15 Collecting legal info COPYING: OK (sha256: 74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> leafnode2 2.0.0.alpha20140727b Collecting legal info COPYING: OK (sha256: 59d37f745dc5a2d63a51dff344f4ad89f72e76f8c7b7d877f20880d838b1bec9) COPYING.LGPL: OK (sha256: 0c92246a9d3636e0aa6a244f6c481639b2e530fbbb25bc048ce7acd83e1fc5f6) >>> host-pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> lft 3.8 Collecting legal info COPYING: OK (sha256: e3b7634630e6800eccca6ecafb5d40153d4f8f7a20e2b2399bf3c0ea92f44614) >>> libpcap 1.10.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-bison 3.7.6 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gettext Collecting legal info >>> host-gettext-gnu 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) gettext-runtime/intl/COPYING.LIB: OK (sha256: 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288) >>> host-libtextstyle 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-libxml2 2.9.12 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> libaacs 0.11.0 Collecting legal info COPYING: OK (sha256: 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c) >>> libgcrypt 1.9.3 Collecting legal info COPYING.LIB: OK (sha256: ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532) >>> libgpg-error 1.42 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libavl 0.3.5 Collecting legal info COPYING: OK (sha256: 767a9accfe3b110153b567983b98889469dfaae02899a632aeadbb81ad611293) >>> libdaemon 0.14 Collecting legal info LICENSE: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libmbus 0.8.0 Collecting legal info COPYING: OK (sha256: ea171a4ae443eca7186f564db2c3cc8b84c1ac343f227f92cd52ec6a948f4a74) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libnetfilter_cthelper 1.0.0 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> libsepol 3.2 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> libsndfile 1.0.31 Collecting legal info COPYING: OK (sha256: ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140) >>> libusb 1.0.24 Collecting legal info COPYING: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> obsidian-cursors 1.0 Collecting legal info >>> olsr 0.9.8 Collecting legal info license.txt: OK (sha256: 7dcf1fb93ef105e2708b02603bb6ee443115d4819fbf2c5a3a001b46887acb9a) >>> openlayers 6.6.1 Collecting legal info >>> openobex 1.7.2 Collecting legal info COPYING: OK (sha256: e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4) COPYING.LIB: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> refpolicy 2.20210203 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> host-checkpolicy 3.2 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> host-libselinux 3.2 Collecting legal info LICENSE: OK (sha256: 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364) >>> host-libsepol 3.2 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-python3 3.9.7 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.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> 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.2 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> host-libsemanage 3.2 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-audit 3.0.1 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.4.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-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> host-python3-cython 0.29.23 Collecting legal info COPYING.txt: OK (sha256: e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7) LICENSE.txt: OK (sha256: a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9) 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) WARNING: obsidian-cursors-1.0: cannot save license (OBSIDIAN_CURSORS_LICENSE_FILES not defined) WARNING: openlayers-6.6.1: cannot save license (OPENLAYERS_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'