Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Nov 4, 2021 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Nov 4, 2021

desigabri:

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?

@openwrt-bot
Copy link
Author

openwrt-bot commented Nov 4, 2021

bittorf:

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 <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

@openwrt-bot
Copy link
Author

openwrt-bot commented Nov 13, 2021

desigabri:

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant