Applying ./patches/030-remove-host-paths.patch using plaintext: patching file setup.py Requirement already satisfied: Cython==0.29.32 in /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages (from -r ../../lang/python/host-pip-requirements/Cython.txt (line 1)) (0.29.32) Compiling setools/policyrep.pyx because it changed. [1/1] Cythonizing setools/policyrep.pyx running install /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.-cpython-310 creating build/lib.-cpython-310/setools copying setools/objclassquery.py -> build/lib.-cpython-310/setools copying setools/ibpkeyconquery.py -> build/lib.-cpython-310/setools copying setools/mlsrulequery.py -> build/lib.-cpython-310/setools copying setools/defaultquery.py -> build/lib.-cpython-310/setools copying setools/devicetreeconquery.py -> build/lib.-cpython-310/setools copying setools/constraintquery.py -> build/lib.-cpython-310/setools copying setools/terulequery.py -> build/lib.-cpython-310/setools copying setools/permmap.py -> build/lib.-cpython-310/setools copying setools/categoryquery.py -> build/lib.-cpython-310/setools copying setools/nodeconquery.py -> build/lib.-cpython-310/setools copying setools/util.py -> build/lib.-cpython-310/setools copying setools/rolequery.py -> build/lib.-cpython-310/setools copying setools/__init__.py -> build/lib.-cpython-310/setools copying setools/exception.py -> build/lib.-cpython-310/setools copying setools/descriptors.py -> build/lib.-cpython-310/setools copying setools/typeattrquery.py -> build/lib.-cpython-310/setools copying setools/commonquery.py -> build/lib.-cpython-310/setools copying setools/pirqconquery.py -> build/lib.-cpython-310/setools copying setools/typequery.py -> build/lib.-cpython-310/setools copying setools/iomemconquery.py -> build/lib.-cpython-310/setools copying setools/genfsconquery.py -> build/lib.-cpython-310/setools copying setools/userquery.py -> build/lib.-cpython-310/setools copying setools/ioportconquery.py -> build/lib.-cpython-310/setools copying setools/pcideviceconquery.py -> build/lib.-cpython-310/setools copying setools/netifconquery.py -> build/lib.-cpython-310/setools copying setools/boolquery.py -> build/lib.-cpython-310/setools copying setools/portconquery.py -> build/lib.-cpython-310/setools copying setools/ibendportconquery.py -> build/lib.-cpython-310/setools copying setools/polcapquery.py -> build/lib.-cpython-310/setools copying setools/boundsquery.py -> build/lib.-cpython-310/setools copying setools/initsidquery.py -> build/lib.-cpython-310/setools copying setools/query.py -> build/lib.-cpython-310/setools copying setools/rbacrulequery.py -> build/lib.-cpython-310/setools copying setools/mixins.py -> build/lib.-cpython-310/setools copying setools/infoflow.py -> build/lib.-cpython-310/setools copying setools/dta.py -> build/lib.-cpython-310/setools copying setools/sensitivityquery.py -> build/lib.-cpython-310/setools copying setools/fsusequery.py -> build/lib.-cpython-310/setools creating build/lib.-cpython-310/setools/checker copying setools/checker/assertrbac.py -> build/lib.-cpython-310/setools/checker copying setools/checker/assertte.py -> build/lib.-cpython-310/setools/checker copying setools/checker/util.py -> build/lib.-cpython-310/setools/checker copying setools/checker/globalkeys.py -> build/lib.-cpython-310/setools/checker copying setools/checker/__init__.py -> build/lib.-cpython-310/setools/checker copying setools/checker/descriptors.py -> build/lib.-cpython-310/setools/checker copying setools/checker/roexec.py -> build/lib.-cpython-310/setools/checker copying setools/checker/emptyattr.py -> build/lib.-cpython-310/setools/checker copying setools/checker/checkermodule.py -> build/lib.-cpython-310/setools/checker copying setools/checker/checker.py -> build/lib.-cpython-310/setools/checker creating build/lib.-cpython-310/setools/diff copying setools/diff/netifcon.py -> build/lib.-cpython-310/setools/diff copying setools/diff/typing.py -> build/lib.-cpython-310/setools/diff copying setools/diff/typeattr.py -> build/lib.-cpython-310/setools/diff copying setools/diff/__init__.py -> build/lib.-cpython-310/setools/diff copying setools/diff/default.py -> build/lib.-cpython-310/setools/diff copying setools/diff/commons.py -> build/lib.-cpython-310/setools/diff copying setools/diff/properties.py -> build/lib.-cpython-310/setools/diff copying setools/diff/mlsrules.py -> build/lib.-cpython-310/setools/diff copying setools/diff/descriptors.py -> build/lib.-cpython-310/setools/diff copying setools/diff/types.py -> build/lib.-cpython-310/setools/diff copying setools/diff/objclass.py -> build/lib.-cpython-310/setools/diff copying setools/diff/initsid.py -> build/lib.-cpython-310/setools/diff copying setools/diff/fsuse.py -> build/lib.-cpython-310/setools/diff copying setools/diff/ibendportcon.py -> build/lib.-cpython-310/setools/diff copying setools/diff/users.py -> build/lib.-cpython-310/setools/diff copying setools/diff/terules.py -> build/lib.-cpython-310/setools/diff copying setools/diff/ibpkeycon.py -> build/lib.-cpython-310/setools/diff copying setools/diff/roles.py -> build/lib.-cpython-310/setools/diff copying setools/diff/context.py -> build/lib.-cpython-310/setools/diff copying setools/diff/portcon.py -> build/lib.-cpython-310/setools/diff copying setools/diff/nodecon.py -> build/lib.-cpython-310/setools/diff copying setools/diff/conditional.py -> build/lib.-cpython-310/setools/diff copying setools/diff/mls.py -> build/lib.-cpython-310/setools/diff copying setools/diff/rbacrules.py -> build/lib.-cpython-310/setools/diff copying setools/diff/bounds.py -> build/lib.-cpython-310/setools/diff copying setools/diff/difference.py -> build/lib.-cpython-310/setools/diff copying setools/diff/polcap.py -> build/lib.-cpython-310/setools/diff copying setools/diff/genfscon.py -> build/lib.-cpython-310/setools/diff copying setools/diff/constraints.py -> build/lib.-cpython-310/setools/diff copying setools/diff/bool.py -> build/lib.-cpython-310/setools/diff creating build/lib.-cpython-310/setoolsgui copying setoolsgui/models.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/commonmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/rolemodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/listview.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/constraintmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/mlsrulemodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/ibendportconmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/__init__.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/netifconmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/typeattrmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/defaultmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/nodeconmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/rbacrulemodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/usermodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/typemodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/widget.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/terulemodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/details.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/initsidmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/boolmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/genfsconmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/boundsmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/objclassmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/logtosignal.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/fsusemodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/getdetailslist.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/treeview.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/portconmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/tableview.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/ibpkeyconmodel.py -> build/lib.-cpython-310/setoolsgui copying setoolsgui/mlsmodel.py -> build/lib.-cpython-310/setoolsgui creating build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/objclassquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibpkeyconquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/mlsrulequery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/permmapedit.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/defaultquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/analysistab.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/mainwindow.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/constraintquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/terulequery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/workspace.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/categoryquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/nodeconquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/rolequery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/__init__.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/exception.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/config.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/typeattrquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/commonquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/chooseanalysis.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/typequery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/genfsconquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/userquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/summary.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/netifconquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/boolquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/portconquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibendportconquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/queryupdater.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/boundsquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/initsidquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/rbacrulequery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/excludetypes.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/infoflow.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/dta.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/sensitivityquery.py -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/fsusequery.py -> build/lib.-cpython-310/setoolsgui/apol copying setools/perm_map -> build/lib.-cpython-310/setools copying setoolsgui/detail_popup.ui -> build/lib.-cpython-310/setoolsgui copying setoolsgui/apol/initsidquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/exclude_types.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/constraintquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibpkeyconquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/rbacrulequery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/summary.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/dta.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/choose_analysis.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/mlsrulequery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/nodeconquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/netifconquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/sensitivityquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/portconquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/fsusequery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/permmap_editor.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/objclassquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/boolquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/defaultquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/rolequery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/permmapping.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/commonquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/typequery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/typeattrquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/categoryquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/ibendportconquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/infoflow.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/genfsconquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/userquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/boundsquery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/apol.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/terulequery.ui -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/apol.qhc -> build/lib.-cpython-310/setoolsgui/apol copying setoolsgui/apol/apol.qch -> build/lib.-cpython-310/setoolsgui/apol warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'setools.policyrep' extension creating build/temp.-cpython-310 creating build/temp.-cpython-310/setools mipsel-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/include -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/setools=setools -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-mipsel_24kc+24kf_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/python3.10 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c setools/policyrep.c -o build/temp.-cpython-310/setools/policyrep.o -Wextra -Waggregate-return -Wfloat-equal -Wformat -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wunknown-pragmas -Wwrite-strings -fno-exceptions cc1: warning: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/include: No such file or directory [-Wmissing-include-dirs] cc1: warning: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/host/include: No such file or directory [-Wmissing-include-dirs] cc1: warning: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/include/python3.10: No such file or directory [-Wmissing-include-dirs] In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:25, from setools/policyrep.c:46: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify/stdio.h: In function 'snprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify/stdio.h:101:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 101 | return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack()); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify/stdio.h: In function 'sprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify/stdio.h:110:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 110 | __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack()); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/include/fortify/stdio.h:114:17: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 114 | __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack()); | ^~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h: At top level: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ setools/policyrep.c:308:41: warning: division by zero [-Wdiv-by-zero] 308 | enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) }; | ^ setools/policyrep.c:308:12: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant 308 | enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) }; | ^~~~~~~~~~~~~~~~~~~~~~~~ setools/policyrep.c:808:10: fatal error: selinux/selinux.h: No such file or directory 808 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.2.0_musl/bin/mipsel-openwrt-linux-musl-gcc' failed with exit code 1 make[3]: *** [Makefile:47: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/setools/.built] Error 1 time: package/feeds/packages/setools/compile#11.32#0.44#12.10