Hi.

I’m having issues building a lot of packages lately, going back to June or 
July.  Not sure what changed then.  Maybe the 0.54.3 update to Meson?

Various things like lighttpd and glib2 don’t want to build because of Meson.

I get errors like this:


make[2]: Entering directory '/home/philipp/lede/feeds/packages/libs/glib2'
touch 
/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/.prepared_4c066b52530f924da7f5ef0d019bc503_6664517399ebbbc92a37c5bb081b5c53_check
. /home/philipp/lede/include/shell.sh; xzcat 
/home/philipp/lede/dl/glib-2.65.2.tar.xz | tar -C 
/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. 
/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2

Applying ./patches/001-no-libelf.patch using plaintext: 
patching file gio/meson.build

Applying ./patches/002-no-tests.patch using plaintext: 
patching file meson.build

Applying ./patches/003-valgrind.h-mips16-fix.patch using plaintext: 
patching file glib/valgrind.h

Applying ./patches/004-no-distutils.patch using plaintext: 
patching file meson.build

Applying ./patches/005-uclibc.patch using plaintext: 
patching file meson.build
touch 
/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/.prepared_4c066b52530f924da7f5ef0d019bc503_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/.configured_*
rm -f /home/philipp/lede/staging_dir/target-x86_64_musl/stamp/.glib2_installed
/home/philipp/lede/staging_dir/host/bin/sed -e "s|@CC@|'gcc',|" -e 
"s|@CXX@|'g++',|" -e 
"s|@PKGCONFIG@|/home/philipp/lede/staging_dir/host/bin/pkg-config|" -e 
"s|@CFLAGS@|'-O2', '-I/home/philipp/lede/staging_dir/host/include', 
'-I/home/philipp/lede/staging_dir/hostpkg/include', 
'-I/home/philipp/lede/staging_dir/target-x86_64_musl/host/include', 
'-I/home/philipp/lede/staging_dir/host/include', 
'-I/home/philipp/lede/staging_dir/hostpkg/include', 
'-I/home/philipp/lede/staging_dir/target-x86_64_musl/host/include',|" -e 
"s|@CXXFLAGS@|'-I/home/philipp/lede/staging_dir/host/include', 
'-I/home/philipp/lede/staging_dir/hostpkg/include', 
'-I/home/philipp/lede/staging_dir/target-x86_64_musl/host/include',|" -e 
"s|@LDFLAGS@|'-L/home/philipp/lede/staging_dir/host/lib', 
'-L/home/philipp/lede/staging_dir/hostpkg/lib', 
'-L/home/philipp/lede/staging_dir/target-x86_64_musl/host/lib', '-liconv', 
'-Wl,-rpath,/home/philipp/lede/staging_dir/hostpkg/lib',|" -e 
"s|@PREFIX@|/home/philipp/lede/staging_dir/hostpkg|" < 
/home/philipp/lede/staging_dir/hostpkg/lib/meson/openwrt-native.txt.in > 
/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/openwrt-native.txt
bash: /home/philipp/lede/staging_dir/hostpkg/lib/meson/openwrt-native.txt.in: 
No such file or directory
Makefile:142: recipe for target 
'/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/.configured_efb2d3cf01c707184fb77fd0fe149f94'
 failed
make[2]: *** 
[/home/philipp/lede/build_dir/target-x86_64_musl/glib-2.65.2/.configured_efb2d3cf01c707184fb77fd0fe149f94]
 Error 1
make[2]: Leaving directory '/home/philipp/lede/feeds/packages/libs/glib2'
time: package/feeds/packages/glib2/compile#0.97#0.33#1.14
package/Makefile:111: recipe for target 'package/feeds/packages/glib2/compile' 
failed
make[1]: *** [package/feeds/packages/glib2/compile] Error 2
make[1]: Leaving directory '/home/philipp/lede'
/home/philipp/lede/include/toplevel.mk:233: recipe for target 
'package/glib2/compile' failed
make: *** [package/glib2/compile] Error 2


That seems to be an invocation of Meson/CreateNativeFile, defined in 
feeds/packages/devel/meson/meson.mk, where $(MESON_DIR)/openwrt-cross.txt.in 
has never been installed.

MESON_DIR is $(STAGING_DIR_HOSTPKG)/lib/meson, but 
staging_dir/hostpkg/lib/meson doesn’t exist.

Where is this supposed to be created?

I need to be able to get back to building packages, but I’m dead in my tracks.

Any guidance appreciated.

Thanks,

-Philip


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to