Hi,
Currently building Mender-3.2.1 for OpenWrt-21.02 x64, but can’t get past this issue.
Host:
Debian 10
Musl 8.4
Gpio 2.58.3
Building targets
github.com/remyoudompheng/go-liblzma
github.com/mendersoftware/mender/dbus
# github.com/bmatsuo/lmdb-go/lmdb
mdb.c: In function 'mdb_cursor_put':
mdb.c:6535:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (SIZELEFT(fp) < offset) {
^
mdb.c:6540:5: note: here
case MDB_CURRENT:
^~~~
# /home/poke/openwrt-mender/openwrt/staging_dir/host/bin/pkg-config --cflags -- gio-2.0 gio-2.0
Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gio-2.0', required by 'virtual:world', not found
Package 'gio-2.0', required by 'virtual:world', not found
/home/poke/openwrt-mender/openwrt/staging_dir/host/bin/pkg-config: exit status 1
# github.com/remyoudompheng/go-liblzma
../../vendor/github.com/remyoudompheng/go-liblzma/reader.go:9:10: fatal error: lzma.h: No such file or directory
#include <lzma.h>
^~~~~~~~
compilation terminated.
Also, would grub2 need to be patched for Mender to work properly? I see patches for uboot.