Workaround to fix building mesa

Which Khadas SBC do you use?

VIM3 Pro

Which system do you use? Android, Ubuntu, OOWOW or others?

Debian

Which version of system do you use? Khadas official images, self built images, or others?

Self built image by Fenix

Please describe your issue below:

When I building Debian 11 for VIM3 with settings:
KHADAS_BOARD=VIM3 LINUX=mainline UBOOT=mainline DISTRIBUTION=Debian DISTRIB_RELEASE=bullseye DISTRIB_RELEASE_VERSION=11 DISTRIB_TYPE=xfce DISTRIB_ARCH=arm64 INSTALL_TYPE=SD-USB COMPRESS_IMAGE=yes

the following build error occurs:

Info: Building mesa...
cp: cannot stat 'bullseye/arm64/*': No such file or directory
make: *** [Makefile:2: all] Error 1
echo $DISTRIB_RELEASE
bullsey

But directory bullseye/arm64/ is missing. Instead there is directory buster/arm64/.

I suggest a temporary workaround and made a pull request here:
https://github.com/khadas/fenix/pull/243

Post a console log of your issue below:

Info: Building mesa...
cp: cannot stat 'bullseye/arm64/*': No such file or directory
make: *** [Makefile:2: all] Error 1
1 Like

Debian 11 no need this version of mesa packages, we will fix this issue.

1 Like

Hello @smike

Can you update Fenix source code and try again?

It seems that the image was build without errors. Thanks!