Applying ./patches/0001-sepolgen-adjust-data_dir.patch using plaintext: patching file sepolgen/src/sepolgen/defaults.py Applying ./patches/0002-sepolgen-don-t-hardcode-search-for-ausearch-in-sbin.patch using plaintext: patching file sepolgen/src/sepolgen/audit.py make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2/sepolicy' /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python3.10 setup.py build running build running build_py creating build creating build/lib creating build/lib/sepolicy copying sepolicy/generate.py -> build/lib/sepolicy copying sepolicy/network.py -> build/lib/sepolicy copying sepolicy/booleans.py -> build/lib/sepolicy copying sepolicy/sedbus.py -> build/lib/sepolicy copying sepolicy/communicate.py -> build/lib/sepolicy copying sepolicy/manpage.py -> build/lib/sepolicy copying sepolicy/transition.py -> build/lib/sepolicy copying sepolicy/__init__.py -> build/lib/sepolicy copying sepolicy/gui.py -> build/lib/sepolicy copying sepolicy/interface.py -> build/lib/sepolicy creating build/lib/sepolicy/templates copying sepolicy/templates/boolean.py -> build/lib/sepolicy/templates copying sepolicy/templates/var_log.py -> build/lib/sepolicy/templates copying sepolicy/templates/rw.py -> build/lib/sepolicy/templates copying sepolicy/templates/semodule.py -> build/lib/sepolicy/templates copying sepolicy/templates/network.py -> build/lib/sepolicy/templates copying sepolicy/templates/tmp.py -> build/lib/sepolicy/templates copying sepolicy/templates/unit_file.py -> build/lib/sepolicy/templates copying sepolicy/templates/script.py -> build/lib/sepolicy/templates copying sepolicy/templates/user.py -> build/lib/sepolicy/templates copying sepolicy/templates/var_lib.py -> build/lib/sepolicy/templates copying sepolicy/templates/var_spool.py -> build/lib/sepolicy/templates copying sepolicy/templates/spec.py -> build/lib/sepolicy/templates copying sepolicy/templates/var_run.py -> build/lib/sepolicy/templates copying sepolicy/templates/etc_rw.py -> build/lib/sepolicy/templates copying sepolicy/templates/var_cache.py -> build/lib/sepolicy/templates copying sepolicy/templates/__init__.py -> build/lib/sepolicy/templates copying sepolicy/templates/test_module.py -> build/lib/sepolicy/templates copying sepolicy/templates/executable.py -> build/lib/sepolicy/templates creating build/lib/sepolicy/help copying sepolicy/help/__init__.py -> build/lib/sepolicy/help copying sepolicy/sepolicy.glade -> build/lib/sepolicy copying sepolicy/help/lockdown_ptrace.txt -> build/lib/sepolicy/help copying sepolicy/help/start.txt -> build/lib/sepolicy/help copying sepolicy/help/transition_to.txt -> build/lib/sepolicy/help copying sepolicy/help/lockdown_permissive.txt -> build/lib/sepolicy/help copying sepolicy/help/system_policy_type.txt -> build/lib/sepolicy/help copying sepolicy/help/lockdown_unconfined.txt -> build/lib/sepolicy/help copying sepolicy/help/booleans_toggled.txt -> build/lib/sepolicy/help copying sepolicy/help/system_current_mode.txt -> build/lib/sepolicy/help copying sepolicy/help/ports_outbound.txt -> build/lib/sepolicy/help copying sepolicy/help/file_equiv.txt -> build/lib/sepolicy/help copying sepolicy/help/booleans.txt -> build/lib/sepolicy/help copying sepolicy/help/transition_from.txt -> build/lib/sepolicy/help copying sepolicy/help/booleans_more_show.txt -> build/lib/sepolicy/help copying sepolicy/help/system_boot_mode.txt -> build/lib/sepolicy/help copying sepolicy/help/login_default.txt -> build/lib/sepolicy/help copying sepolicy/help/users.txt -> build/lib/sepolicy/help copying sepolicy/help/files_write.txt -> build/lib/sepolicy/help copying sepolicy/help/files_exec.txt -> build/lib/sepolicy/help copying sepolicy/help/transition_from_boolean_1.txt -> build/lib/sepolicy/help copying sepolicy/help/files_apps.txt -> build/lib/sepolicy/help copying sepolicy/help/ports_inbound.txt -> build/lib/sepolicy/help copying sepolicy/help/system_relabel.txt -> build/lib/sepolicy/help copying sepolicy/help/system.txt -> build/lib/sepolicy/help copying sepolicy/help/system_export.txt -> build/lib/sepolicy/help copying sepolicy/help/transition_file.txt -> build/lib/sepolicy/help copying sepolicy/help/booleans_more.txt -> build/lib/sepolicy/help copying sepolicy/help/lockdown.txt -> build/lib/sepolicy/help copying sepolicy/help/login.txt -> build/lib/sepolicy/help copying sepolicy/help/transition_from_boolean_2.txt -> build/lib/sepolicy/help copying sepolicy/help/transition_from_boolean.txt -> build/lib/sepolicy/help copying sepolicy/help/file_equiv.png -> build/lib/sepolicy/help copying sepolicy/help/booleans.png -> build/lib/sepolicy/help copying sepolicy/help/booleans_more.png -> build/lib/sepolicy/help copying sepolicy/help/transition_file.png -> build/lib/sepolicy/help copying sepolicy/help/lockdown_unconfined.png -> build/lib/sepolicy/help copying sepolicy/help/ports_outbound.png -> build/lib/sepolicy/help copying sepolicy/help/start.png -> build/lib/sepolicy/help copying sepolicy/help/transition_from_boolean_2.png -> build/lib/sepolicy/help copying sepolicy/help/system_boot_mode.png -> build/lib/sepolicy/help copying sepolicy/help/files_write.png -> build/lib/sepolicy/help copying sepolicy/help/files_apps.png -> build/lib/sepolicy/help copying sepolicy/help/ports_inbound.png -> build/lib/sepolicy/help copying sepolicy/help/transition_to.png -> build/lib/sepolicy/help copying sepolicy/help/transition_from.png -> build/lib/sepolicy/help copying sepolicy/help/login_default.png -> build/lib/sepolicy/help copying sepolicy/help/transition_from_boolean.png -> build/lib/sepolicy/help copying sepolicy/help/transition_from_boolean_1.png -> build/lib/sepolicy/help copying sepolicy/help/lockdown_permissive.png -> build/lib/sepolicy/help copying sepolicy/help/booleans_more_show.png -> build/lib/sepolicy/help copying sepolicy/help/users.png -> build/lib/sepolicy/help copying sepolicy/help/system_current_mode.png -> build/lib/sepolicy/help copying sepolicy/help/lockdown.png -> build/lib/sepolicy/help copying sepolicy/help/lockdown_ptrace.png -> build/lib/sepolicy/help copying sepolicy/help/login.png -> build/lib/sepolicy/help copying sepolicy/help/booleans_toggled.png -> build/lib/sepolicy/help copying sepolicy/help/system_relabel.png -> build/lib/sepolicy/help copying sepolicy/help/system_export.png -> build/lib/sepolicy/help copying sepolicy/help/system_policy_type.png -> build/lib/sepolicy/help copying sepolicy/help/files_exec.png -> build/lib/sepolicy/help copying sepolicy/help/system.png -> build/lib/sepolicy/help warning: build_py: byte-compiling is disabled, skipping. make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2/sepolicy' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2/audit2allow' arc-openwrt-linux-gnu-gcc -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2=selinux-python-3.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include/python3.10 -c -o sepolgen-ifgen-attr-helper.o sepolgen-ifgen-attr-helper.c arc-openwrt-linux-gnu-gcc -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/lib -znow -zrelro -lpython3.10 -o sepolgen-ifgen-attr-helper sepolgen-ifgen-attr-helper.o -l:libsepol.a -lselinux /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/bin/ld: cannot find -lpython3.10 collect2: error: ld returned 1 exit status make[5]: *** [Makefile:22: sepolgen-ifgen-attr-helper] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2/audit2allow' make[4]: *** [Makefile:4: all] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2' make[3]: *** [Makefile:158: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/selinux-python-3.2/.built] Error 2 time: package/feeds/packages/selinux-python/compile#1.01#0.19#1.54