Need help fixing my toolchain

I've setup a new system and installed an Arch Linux on it. I've installed all requirements according to OpenWrt Wiki to prepare the system for compiling OpenWrt.

I'm able to compile tools and toolchain without any error. I want to compile for device NBG7815/IPQ8074. The process is stopping at qca-ssdk (a kmod is required from it to build for this device).

Normally I'm able to find a fix or workaround for such cases. But not this time because the error is so "I tell you nothing". On top of that it is compiling on my old system (running Arch Linux also; the installation is up to date also). The main "difference" is the "new" system is AMD based the other is Intel based.

I cannot track this:

If I look into the log I see that all patches are applied correctly before compilation begins. Short after it is stopping with (make -j1 V=sc package/kernel/qca-ssdk/{clean,compile} > my.log 2>&1):

make[4]: *** No rule to make target '/home/user/openwrt-src-builds/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/qca-ssdk-2022-09-12-628b22bc/build/linux/KSLIB/adpt.d', needed by 'adpt.o'.  Stop.
make[4]: Leaving directory '/home/user/openwrt-src-builds/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/qca-ssdk-2022-09-12-628b22bc/src/adpt'
make[3]: *** [Makefile:27: kslib_o] Error 1
make[3]: Leaving directory '/home/user/openwrt-src-builds/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/qca-ssdk-2022-09-12-628b22bc'
make[2]: *** [Makefile:85: /home/user/openwrt-src-builds/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/qca-ssdk-2022-09-12-628b22bc/.built] Error 2
make[2]: Leaving directory '/home/user/openwrt-src-builds/openwrt/package/kernel/qca-ssdk'
time: package/kernel/qca-ssdk/compile#2.64#1.33#3.93
    ERROR: package/kernel/qca-ssdk failed to build.
make[1]: *** [package/Makefile:116: package/kernel/qca-ssdk/compile] Error 1
make[1]: Leaving directory '/home/user/openwrt-src-builds/openwrt'
make: *** [/home/user/openwrt-src-builds/openwrt/include/ package/kernel/qca-ssdk/compile] Error 2

My idea in first place was trying to catch the tools are used during compilation process (like: sed, ar, awk, python-xyz, perl-xyz, etc.). I did that with ps (0.1 sec interval) piping it to a logfile. But this is to much to go through and compare with tools installed. I tried to compare with my old installation also but there is so much stuff on it and I gave up this path too. While I have no clue if this is the "real" cause for my issue.

The full log is here: ... In case anyone is willing to help out.

If just have a guess or sth. let me know I will try anything. :slight_smile: