Ahoy ahoy friends.
Today i wanted to compile an image for my MT7621 device using the master branch. Unfortunately it doesn't work anymore. One week ago, i was still able to compile an image for the master branch.
Even though, i can still compile stuff for the 21.02 branch.
That's the error which interrupts the compiling process. I'm using a default .config in order to test this, so no issues with that.
I'm using Debian Bullseye release.
Thanks in advance!
chairman@debian:/tmp/openwrt$ make -j16
time: target/linux/prereq#0.59#0.02#0.61
make[1] world
make[2] tools/compile
make[2] package/cleanup
make[3] -C tools/flock compile
make[3] -C tools/xz compile
make[3] -C tools/sed compile
make[3] -C tools/tar compile
make[3] -C tools/patch compile
make[3] -C tools/m4 compile
make[3] -C tools/ninja compile
make[3] -C tools/autoconf-archive compile
make[3] -C tools/cpio compile
make[3] -C tools/mtools compile
make[3] -C tools/lzma compile
make[3] -C tools/patch-image compile
make[3] -C tools/sstrip compile
make[3] -C tools/xxd compile
make[3] -C tools/expat compile
make[3] -C tools/zip compile
make[3] -C tools/meson compile
make[3] -C tools/pkgconf compile
ERROR: tools/pkgconf failed to build.
Installing libpkgconf.a to /tmp/openwrt/staging_dir/host/lib
Installing pkgconf to /tmp/openwrt/staging_dir/host/bin
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/libpkgconf/libpkgconf.h to /tmp/openwrt/staging_dir/host/include/pkgconf/libpkgconf
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/libpkgconf/stdinc.h to /tmp/openwrt/staging_dir/host/include/pkgconf/libpkgconf
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/libpkgconf/iter.h to /tmp/openwrt/staging_dir/host/include/pkgconf/libpkgconf
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/libpkgconf/bsdstubs.h to /tmp/openwrt/staging_dir/host/include/pkgconf/libpkgconf
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/libpkgconf/libpkgconf-api.h to /tmp/openwrt/staging_dir/host/include/pkgconf/libpkgconf
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/man/pkgconf.1 to /tmp/openwrt/staging_dir/host/share/man/man1
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/man/pkg.m4.7 to /tmp/openwrt/staging_dir/host/share/man/man7
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/man/pc.5 to /tmp/openwrt/staging_dir/host/share/man/man5
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/man/pkgconf-personality.5 to /tmp/openwrt/staging_dir/host/share/man/man5
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/openwrt-build/meson-private/libpkgconf.pc to /tmp/openwrt/staging_dir/host/lib/pkgconfig
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/pkg.m4 to /tmp/openwrt/staging_dir/host/share/aclocal
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/AUTHORS to /tmp/openwrt/staging_dir/host/share/doc/pkgconf
Installing /tmp/openwrt/build_dir/host/pkgconf-1.8.0/README.md to /tmp/openwrt/staging_dir/host/share/doc/pkgconf
Traceback (most recent call last):
File "/tmp/openwrt/staging_dir/host/bin/meson/mesonbuild/mesonmain.py", line 138, in run
return options.run_func(options)
File "/tmp/openwrt/staging_dir/host/bin/meson/mesonbuild/minstall.py", line 767, in run
installer.do_install(datafilename)
File "/tmp/openwrt/staging_dir/host/bin/meson/mesonbuild/minstall.py", line 550, in do_install
self.apply_ldconfig(dm, destdir)
File "/tmp/openwrt/staging_dir/host/bin/meson/mesonbuild/minstall.py", line 373, in apply_ldconfig
apply_ldconfig(dm)
File "/tmp/openwrt/staging_dir/host/bin/meson/mesonbuild/minstall.py", line 255, in apply_ldconfig
proc, out, err = Popen_safe(['ldconfig', '-v'])
File "/tmp/openwrt/staging_dir/host/bin/meson/mesonbuild/mesonlib/universal.py", line 1393, in Popen_safe
p = subprocess.Popen(args, universal_newlines=True, close_fds=False,
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: 'ldconfig'
FAILED: meson-install
/tmp/openwrt/staging_dir/host/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:38: /tmp/openwrt/staging_dir/host/stamp/.pkgconf_installed] Error 1
make[3]: Leaving directory '/tmp/openwrt/tools/pkgconf'
time: tools/pkgconf/compile#1.39#0.12#1.52
ERROR: tools/pkgconf failed to build.
make[2]: *** [tools/Makefile:161: tools/pkgconf/compile] Error 1
make[2]: Leaving directory '/tmp/openwrt'
make[1]: *** [tools/Makefile:157: /tmp/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyyyyynyynnyynyyyyyyyyyyyyyyyyyyynynyyyyyyyyy] Error 2
make[1]: Leaving directory '/tmp/openwrt'
make: *** [/tmp/openwrt/include/toplevel.mk:230: world] Error 2