Applying ./patches/010-autoconf-libapparmor.patch using plaintext: 
patching file libraries/libapparmor/Makefile

Applying ./patches/020-remove-which-dep.patch using plaintext: 
patching file utils/aa-unconfined
patching file utils/apparmor/easyprof.py
patching file utils/apparmor/sandbox.py

Applying ./patches/030-systemd.patch using plaintext: 
patching file parser/Makefile

Applying ./patches/040-remove-bash-dep.patch using plaintext: 
patching file utils/aa-decode

Applying ./patches/050-disable-man-pages.patch using plaintext: 
patching file binutils/Makefile
patching file parser/Makefile
patching file utils/Makefile

Applying ./patches/060-openwrt-dnsmasq-profile.patch using plaintext: 
patching file profiles/apparmor.d/usr.sbin.dnsmasq

Applying ./patches/070-python-3.10.patch using plaintext: 
patching file profiles/apparmor.d/abstractions/python
patching file profiles/apparmor.d/lsb_release
patching file profiles/apparmor/profiles/extras/usr.bin.chromium-browser

Applying ./patches/080-add-new-python-versions-to-logprof-conf.patch using plaintext: 
patching file utils/logprof.conf

Applying ./patches/090-setuptools.patch using plaintext: 
patching file .gitignore
patching file .gitlab-ci.yml
patching file libraries/libapparmor/m4/ac_python_devel.m4
patching file libraries/libapparmor/swig/python/Makefile.am
patching file libraries/libapparmor/swig/python/setup.py.in
patching file libraries/libapparmor/swig/python/test/Makefile.am
patching file profiles/Makefile
patching file utils/Makefile
patching file utils/python-tools-setup.py
patching file utils/test/Makefile
patching file utils/test/README.md
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_mpcore_musl_eabi/apparmor-v3.0.3/libraries/libapparmor'
/builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal
/builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --force
configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
configure.ac:8: the top level
configure.ac:10: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
aclocal.m4:668: AM_PROG_LEX is expanded from...
configure.ac:10: the top level
configure.ac:48: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:48: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/ac_python_devel.m4:1: AC_PYTHON_DEVEL is expanded from...
configure.ac:48: the top level
configure.ac:81: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:81: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:81: the top level
configure.ac:88: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:88: You should run autoupdate.
aclocal.m4:1613: AM_PROG_LIBTOOL is expanded from...
configure.ac:88: the top level
configure.ac:90: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:90: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:90: the top level
configure.ac:95: warning: AC_OUTPUT should be used without arguments.
configure.ac:95: You should run autoupdate.
/builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --automake -c --force
/builder/shared-workdir/build/sdk/staging_dir/host/bin/automake -ac
configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:8: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:10: installing './compile'
configure.ac:88: installing './config.guess'
configure.ac:88: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
doc/Makefile.am:10: warning: subst .2,.pod,$(man_MANS: non-POSIX variable name
doc/Makefile.am:10: (probably a GNU make extension)
doc/Makefile.am:10: warning: subst .3,.pod,$(man_MANS: non-POSIX variable name
doc/Makefile.am:10: (probably a GNU make extension)
doc/Makefile.am:17: warning: '%'-style pattern rules are a GNU make extension
doc/Makefile.am:26: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:63: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
configure.ac: installing './ylwrap'
parallel-tests: installing './test-driver'
testsuite/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_mpcore_musl_eabi/apparmor-v3.0.3/libraries/libapparmor'
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to enable C11 features... none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
checking pkg-config is at least version 0.9.0... yes
checking for swig... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/swig
checking whether the libapparmor debug output should be enabled... no
checking whether the libapparmor man pages should be generated... no
checking whether python bindings are enabled... yes
checking for python3... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python3
checking for python3.11... (cached) /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python3
checking for arm-openwrt-linux-python3-config... (cached) /builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/host/bin/python3.11-config
checking for a version of Python >= '2.1.0'... yes
checking for the setuptools Python package... yes
checking for Python include path... ./configure: line 5490: type: /builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/host/bin/python3.11-config: not found
-I/builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/include/python3.11
checking for Python library path... ./configure: line 5510: type: /builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/host/bin/python3.11-config: not found
-I/builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/include/python3.11 -L/builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/lib/python3.11
checking for Python site-packages path... /builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/lib/python3.11/site-packages
checking python extra libraries... ./configure: line 5553: type: /builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/host/bin/python3.11-config: not found
libpython3.11.a  -lpthread -ldl  -lutil
checking python extra linking flags... ./configure: line 5571: type: /builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/host/bin/python3.11-config: not found
-L/builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arm_mpcore_musl_eabi/usr/lib/python3.11/config-3.11 -lpthread -ldl -lm -lz -lpython3.11
checking consistency of all components of python development environment... no
configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================
           
make[3]: *** [Makefile:220: /builder/shared-workdir/build/sdk/build_dir/target-arm_mpcore_musl_eabi/apparmor-v3.0.3/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1
time: package/feeds/packages/apparmor/compile#15.11#0.87#23.20