OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • 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 https://git.openwrt.org/openwrt/openwrt.git 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.

ALL REPEATED 3 times!

then:

#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

then:

#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 <tusker@tusker.org>
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 <tusker@tusker.org>
    Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl> # Tested on Debian 11
    Tested-By: Lucian Cristian <lucian.cristian@gmail.com>
    Tested-By: Baptiste Jonglez <git@bitsofnetworks.org>
    Cc: Rosen Penev <rosenp@gmail.com>

$ git describe 6a5b4228e30244b44a49f523dea66caf3fbe3307
reboot-17951-g6a5b4228e3
desigabri commented on 13.11.2021 01:01

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

I'm saying FROM SCRATCH

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 'build.ninja': 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)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing