Applying ./patches/010-setup-py-custom-cc.patch using plaintext: 
patching file src/Makefile

Applying ./patches/020-Make-use-of-variables-when-defining-libdir-and-inclu.patch using plaintext: 
patching file src/libselinux.pc.in
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/src'
make[4]: Nothing to be done for 'swigify'.
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o avc.o avc.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o avc_internal.o avc_internal.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o avc_sidtab.o avc_sidtab.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o booleans.o booleans.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o callbacks.o callbacks.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o canonicalize_context.o canonicalize_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o checkAccess.o checkAccess.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o check_context.o check_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o checkreqprot.o checkreqprot.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o compute_av.o compute_av.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o compute_create.o compute_create.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o compute_member.o compute_member.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o compute_relabel.o compute_relabel.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o compute_user.o compute_user.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o context.o context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o deny_unknown.o deny_unknown.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o disable.o disable.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o enabled.o enabled.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o fgetfilecon.o fgetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o freecon.o freecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o freeconary.o freeconary.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o fsetfilecon.o fsetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o get_context_list.o get_context_list.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o get_default_type.o get_default_type.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o get_initial_context.o get_initial_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o getenforce.o getenforce.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o getfilecon.o getfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o getpeercon.o getpeercon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o init.o init.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o is_customizable_type.o is_customizable_type.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o label.o label.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o label_db.o label_db.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o label_file.o label_file.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o label_media.o label_media.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o label_support.o label_support.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o label_x.o label_x.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o lgetfilecon.o lgetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o load_policy.o load_policy.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o lsetfilecon.o lsetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o mapping.o mapping.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o matchmediacon.o matchmediacon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o matchpathcon.o matchpathcon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o policyvers.o policyvers.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o procattr.o procattr.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o query_user_context.o query_user_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o regex.o regex.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o reject_unknown.o reject_unknown.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o selinux_check_securetty_context.o selinux_check_securetty_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o selinux_config.o selinux_config.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o selinux_restorecon.o selinux_restorecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o sestatus.o sestatus.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o setenforce.o setenforce.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o setexecfilecon.o setexecfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o setfilecon.o setfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o setrans_client.o setrans_client.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o seusers.o seusers.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o sha1.o sha1.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o stringrep.o stringrep.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND   -c -o validatetrans.o validatetrans.c
x86_64-openwrt-linux-musl-gcc-ar rcs libselinux.a avc.o avc_internal.o avc_sidtab.o booleans.o callbacks.o canonicalize_context.o checkAccess.o check_context.o checkreqprot.o compute_av.o compute_create.o compute_member.o compute_relabel.o compute_user.o context.o deny_unknown.o disable.o enabled.o fgetfilecon.o freecon.o freeconary.o fsetfilecon.o get_context_list.o get_default_type.o get_initial_context.o getenforce.o getfilecon.o getpeercon.o init.o is_customizable_type.o label.o label_db.o label_file.o label_media.o label_support.o label_x.o lgetfilecon.o load_policy.o lsetfilecon.o mapping.o matchmediacon.o matchpathcon.o policyvers.o procattr.o query_user_context.o regex.o reject_unknown.o selinux_check_securetty_context.o selinux_config.o selinux_restorecon.o sestatus.o setenforce.o setexecfilecon.o setfilecon.o setrans_client.o seusers.o sha1.o stringrep.o validatetrans.o
x86_64-openwrt-linux-musl-gcc-ranlib libselinux.a
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o avc.lo avc.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o avc_internal.lo avc_internal.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o avc_sidtab.lo avc_sidtab.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o booleans.lo booleans.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o callbacks.lo callbacks.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o canonicalize_context.lo canonicalize_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o checkAccess.lo checkAccess.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o check_context.lo check_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o checkreqprot.lo checkreqprot.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o compute_av.lo compute_av.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o compute_create.lo compute_create.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o compute_member.lo compute_member.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o compute_relabel.lo compute_relabel.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o compute_user.lo compute_user.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o context.lo context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o deny_unknown.lo deny_unknown.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o disable.lo disable.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o enabled.lo enabled.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o fgetfilecon.lo fgetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o freecon.lo freecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o freeconary.lo freeconary.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o fsetfilecon.lo fsetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o get_context_list.lo get_context_list.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o get_default_type.lo get_default_type.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o get_initial_context.lo get_initial_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o getenforce.lo getenforce.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o getfilecon.lo getfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o getpeercon.lo getpeercon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o init.lo init.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o is_customizable_type.lo is_customizable_type.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o label.lo label.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o label_db.lo label_db.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o label_file.lo label_file.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o label_media.lo label_media.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o label_support.lo label_support.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o label_x.lo label_x.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o lgetfilecon.lo lgetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o load_policy.lo load_policy.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o lsetfilecon.lo lsetfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o mapping.lo mapping.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o matchmediacon.lo matchmediacon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o matchpathcon.lo matchpathcon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o policyvers.lo policyvers.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o procattr.lo procattr.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o query_user_context.lo query_user_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o regex.lo regex.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o reject_unknown.lo reject_unknown.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o selinux_check_securetty_context.lo selinux_check_securetty_context.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o selinux_config.lo selinux_config.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o selinux_restorecon.lo selinux_restorecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o sestatus.lo sestatus.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o setenforce.lo setenforce.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o setexecfilecon.lo setexecfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o setfilecon.lo setfilecon.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o setrans_client.lo setrans_client.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o seusers.lo seusers.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o sha1.lo sha1.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o stringrep.lo stringrep.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -fPIC -DSHARED -c -o validatetrans.lo validatetrans.c
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/lib -znow -zrelro -lpython3.10 -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.lo selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -lpcre -lfts -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro
ln -sf libselinux.so.1 libselinux.so
sed -e 's/@VERSION@/3.3/; s:@prefix@:/usr:; s:@libdir@:/usr/lib:; s:@includedir@:/usr/include:; s:@PCRE_MODULE@::' < libselinux.pc.in > libselinux.pc
LDSHARED="x86_64-openwrt-linux-musl-gcc -shared" CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations" python3.10 setup.py build_ext
running build_ext
building 'selinux._selinux' extension
swigging selinuxswig_python.i to selinuxswig_python_wrap.c
swig -python -o selinuxswig_python_wrap.c selinuxswig_python.i
../include/selinux/avc.h:426: Warning 302: Identifier 'avc_cache_stats' redefined (ignored),
../include/selinux/avc.h:406: Warning 302: previous definition of 'avc_cache_stats'.
../include/selinux/selinux.h:147: Warning 451: Setting a const char * variable may leak memory.
../include/selinux/selinux.h:388: Warning 451: Setting a const char * variable may leak memory.
creating build
creating build/temp.linux-x86_64-cpython-310
x86_64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/Python-3.10.7=Python-3.10.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/Python-3.10.7=Python-3.10.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/Python-3.10.7=Python-3.10.7 -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-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/python3.10 -fPIC -I../include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c selinuxswig_python_wrap.c -o build/temp.linux-x86_64-cpython-310/selinuxswig_python_wrap.o
cc1: note: someone does not honour COPTS correctly, passed 4 times
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/selinux
x86_64-openwrt-linux-musl-gcc -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/lib -znow -zrelro -lpython3.10 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/python3.10 build/temp.linux-x86_64-cpython-310/selinuxswig_python_wrap.o -L. -L/usr/lib -lselinux -o build/lib.linux-x86_64-cpython-310/selinux/_selinux.cpython-310.so
building 'selinux.audit2why' extension
x86_64-openwrt-linux-musl-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/Python-3.10.7=Python-3.10.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/Python-3.10.7=Python-3.10.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/Python-3.10.7=Python-3.10.7 -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-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/python3.10 -fPIC -I../include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c audit2why.c -o build/temp.linux-x86_64-cpython-310/audit2why.o
cc1: note: someone does not honour COPTS correctly, passed 4 times
x86_64-openwrt-linux-musl-gcc -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/lib -znow -zrelro -lpython3.10 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/python3.10 build/temp.linux-x86_64-cpython-310/audit2why.o -L. -L/usr/lib -lselinux -o build/lib.linux-x86_64-cpython-310/selinux/audit2why.cpython-310.so -l:libsepol.a -Wl,--version-script=audit2why.map
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/src'
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/src'
LDSHARED="x86_64-openwrt-linux-musl-gcc -shared" CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3=libselinux-3.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND  -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -Wno-deprecated-declarations" python3.10 setup.py build_ext
running build_ext
python3.10 setup.py install --prefix=/usr `test -n "/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install" && echo --root /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install` 
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_ext
running install_lib
creating /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install
creating /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr
creating /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib
creating /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10
creating /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages
creating /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/selinux
copying build/lib.linux-x86_64-cpython-310/selinux/audit2why.cpython-310.so -> /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/selinux
copying build/lib.linux-x86_64-cpython-310/selinux/_selinux.cpython-310.so -> /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/selinux
warning: install_lib: byte-compiling is disabled, skipping.

running install_egg_info
running egg_info
creating selinux.egg-info
writing selinux.egg-info/PKG-INFO
writing dependency_links to selinux.egg-info/dependency_links.txt
writing top-level names to selinux.egg-info/top_level.txt
writing manifest file 'selinux.egg-info/SOURCES.txt'
reading manifest file 'selinux.egg-info/SOURCES.txt'
writing manifest file 'selinux.egg-info/SOURCES.txt'
Copying selinux.egg-info to /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/selinux-3.3-py3.10.egg-info
running install_scripts
install -m 644 selinux.py /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/selinux/__init__.py
ln -sf --relative /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/selinux/_selinux.cpython-310.so /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/ipkg-install/usr/lib/python3.10/site-packages/_selinux.cpython-310.so
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/python-libselinux/libselinux-3.3/src'
Package python3-libselinux is missing dependencies for the following libraries:
libpython3.10.so.1.0
make[3]: *** [Makefile:86: /builder/shared-workdir/build/sdk/bin/packages/x86_64/packages/python3-libselinux_3.3-2_x86_64.ipk] Error 1
time: package/feeds/packages/python3-libselinux/compile#22.24#2.05#26.30