Cannot Build Debian Image using fenix

Hi,

Whenever I try to build Debian for Edge V using fenix 0.7, I get the following :

Info: Inst    alling linux-gpu-mali-gbm_0.7-r14p0_arm64.deb in chroot...
Selecting previously unselected package linux-gpu-mali-gbm:arm64.
(Reading database ... 50556 files and directories currently installed.)
Preparing to unpack .../linux-gpu-mali-gbm_0.7-r14p0_arm64.deb ...
Unpacking linux-gpu-mali-gbm:arm64 (0.7-r14p0) ...
dpkg: error processing archive /root/linux-gpu-mali-gbm_0.7-r14p0_arm64.deb (--install):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libEGL.so.1', which is also in package libegl1-mesa:arm64 13.0.6-1+b2
Errors were encountered while processing:
/root/linux-gpu-mali-gbm_0.7-r14p0_arm64.deb
Cleanup...
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

I’m building on Ubuntu 18.04 LTS

full pastebin : https://pastebin.com/4qjwJKTK

Hello @theperfectpunk

Thanks for your feedback, I’ll fix this issue…

Hello @theperfectpunk

This issue has fixed. Can you update your repo and try again?

Hi @numbqq

I tried building the debian image again and now I’m gettting the error:

Info: Installing gstreamer...
Info: Installing gstreamer1.0-rockchip1_20171218-1_arm64.deb in chroot...
Selecting previously unselected package gstreamer1.0-rockchip1.
(Reading database ... 98185 files and directories currently installed.)
Preparing to unpack .../gstreamer1.0-rockchip1_20171218-1_arm64.deb ...
Unpacking gstreamer1.0-rockchip1 (20171218-1) ...
dpkg: dependency problems prevent configuration of gstreamer1.0-rockchip1:
 gstreamer1.0-rockchip1 depends on librockchip-mpp1; however:
  Package librockchip-mpp1 is not installed.

dpkg: error processing package gstreamer1.0-rockchip1 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gstreamer1.0-rockchip1
Cleanup...
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

Hi @numbqq,

I have made changes to fenix board config to build and install libmpp for edge debian builds, please check the pull request here https://github.com/khadas/fenix/pull/48.

1 Like

Hello @theperfectpunk

Thanks for your patch!

Hi @numbqq

I cloned Fenix script and followed the instruction to use Docker and encounter the following error (Tried on two different machines)

Info: Installing WiringPi packages...
Info: Installing wiringpi-2.46-1_arm64.deb in chroot...
Selecting previously unselected package wiringpi.
(Reading database ... 51442 files and directories currently installed.)
Preparing to unpack .../root/wiringpi-2.46-1_arm64.deb ...
Unpacking wiringpi (2.46) ...
Setting up wiringpi (2.46) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Info: Installing mpp...
cp: cannot stat '/home/khadas/fenix/fenix/build/images/debs/0.7/Edge/Ubuntu-bionic/mpp/librockchip-mpp1_*.deb': No such file or directory
Cleanup...
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

This is my environment config

Version: 0.7
Current environment:
===========================================

#KHADAS_BOARD=Edge
#VENDOR=Rockchip
#CHIP=RK3399
#LINUX=4.4
#UBOOT=2017.09
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=bionic
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=EMMC

@recre8 Our team has repaired and pushed the new code. You can update the code and compile it again.