I am getting the following error about host python issue when compiling for active directory support : ---------------------- Checking for openpty : ok Checking for TCP_USER_TIMEOUT : ok Checking for system installation of Python module markdown : not found Unable to find Python module 'markdown'. Please install the system package: python3-markdown'. make[2]: *** [Makefile:510: /home/nameless/works/openwrt/build_dir/target-x86_64_musl/samba-4.24.4/.configured_bbd0c64cd6da7af6cbcf12061a8c5379] Error 1 ---------------------- But if I am adding the following patch then compilation successfully continue : ---------------------- --- a/python/wscript +++ b/python/wscript @@ -103,9 +103,9 @@ def configure(conf): "'python3-iso8601'. Please install " "one of the packages.") - if not Options.options.without_ad_dc: - for module, package in ad_dc_pkgs.items(): - find_third_party_module(conf, module, package) +# if not Options.options.without_ad_dc: +# for module, package in ad_dc_pkgs.items(): +# find_third_party_module(conf, module, package) def build(bld): ---------------------- OpenWrt Makefile for samba : https://github.com/vortexilation/packages/blob/4.24/net/samba4/Makefile Compiling for OpenWrt x86_64 musl with gcc 16.1.0 on latest debian sid