OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Build Failure
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by desigabri - 04.11.2021

FS#4120 - Problems compiling starting from trunk (or from openwrt-21.02)

Supply the following if possible:
- Device problem occurs on Tp-link Archer C2600
- Software versions of OpenWrt from Trunk
- Steps to reproduce:

Download “master” from Git:
#git clone master
#cd master
#git pull
#./scripts/feeds update -a
#./scripts/feeds install -a
#make menuconfig
#make -j 1 V=s

- compilation stops very early with errors about Ninja and Meson

Tryed make clean, make dirclean, make distclean → same results.



#git checkout v21.02.0
#git pull
#./scripts/feeds update -a
#./scripts/feeds install -a
#make menuconfig
#make -j 1 V=s

- I can see logs about ninja and meson compiling right
- compilation stops after long time with error about libcap


#git checkout master
#git pull
#./scripts/feeds update -a
#./scripts/feeds install -a
#make menuconfig
#make -j 1 V=s

- compiling goes right

It seems impossible to compile master or 21.02 at fist time: may be something wrong in master make file about compiling ninja and meson packages so for 21.02 compiling libcap package?


Bastian Bittorf commented on 04.11.2021 08:06

this was fixed here:

commit 6a5b4228e30244b44a49f523dea66caf3fbe3307
Author: Damien Mascord <>
Date:   Mon Nov 1 20:06:20 2021 +1100

    build: fix ldconfig executable error in python
    The empty executable is causing problems with meson builds, due to the
    error: OSError: [Errno 8] Exec format error: 'ldconfig'
    This patch changes the empty ldconfig stub to symlink to /bin/true to
    work around this issue.
    Fixes: FS#4117
    Fixes: 3bd31cc4d2ff ("tools/meson: update to 0.60.0")
    Signed-off-by: Damien Mascord <>
    Tested-by: Aleksander Jan Bajkowski <> # Tested on Debian 11
    Tested-By: Lucian Cristian <>
    Tested-By: Baptiste Jonglez <>
    Cc: Rosen Penev <>

$ git describe 6a5b4228e30244b44a49f523dea66caf3fbe3307
desigabri commented on 13.11.2021 01:01

ok it work for Openwrt-21.02 build but it doesn't for master....


master says (compiling an old package because the newer SoftEtherVPN-5.02.58000 created big problems to me):

5.01.9674 vpnserver vpnbridge vpnclient vpncmd hamcore-archive-build
ninja: Entering directory `/home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674'
ninja: error: loading '': No such file or directory
make[3]: *** [Makefile:169: /home/gabriele/openwrt/mastermod/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/SoftEtherVPN-5.01.9674/.built] Error 1
make[3]: Leaving directory '/home/gabriele/openwrt/mastermod/package/network/services/softethervpn5'
time: package/network/services/softethervpn5/compile#2.23#0.47#2.54

  ERROR: package/network/services/softethervpn5 failed to build.

Just to say that openwrt-21.02 build goes right and the firmware run very fine (until now)


Available keyboard shortcuts


Task Details

Task Editing