Error building ubuntu 20.04 server / mainline

Hello,

I’m trying to use fenix with Docker to build an image for VIM3 : ubuntu 20.04 server / u-boot mainline / kernel mainline but i have this error:

make[1]: Leaving directory '/home/khadas/fenix/build/linux-mainline-5.6'
Info: Building debs...
Info: Building package: linux-u-boot-vim3-mainline
dpkg-deb: error: parsing file '/home/khadas/fenix/build/images/.tmp/linux-u-boot-vim3-mainline_0.8.4-_arm64/DEBIAN/control' near line 2 package 'linux-u-boot-vim3-mainline':
'Version' field value '0.8.4-': revision number is empty
make: *** [Makefile:7: all] Error 2

Any ideas how to fix this ?
Thank you.
Regards,

And same issue with Debian buster server mainline too:

make[1]: Leaving directory '/home/khadas/fenix/build/linux-mainline-5.6'
Info: Building debs...
Info: Building package: linux-u-boot-vim3-mainline
dpkg-deb: error: parsing file '/home/khadas/fenix/build/images/.tmp/linux-u-boot-vim3-mainline_0.8.4-_arm64/DEBIAN/control' near line 2 package 'linux-u-boot-vim3-mainline':
'Version' field value '0.8.4-': revision number is empty
make: *** [Makefile:7: all] Error 2

@pea13 Do you build it with docker ? If you want to build a ubuntu20.04 image, you must use docker .

@pea13

Please provide the full build logs.

Sure :slight_smile:
Here is the link : https://blog.raveland.org/logs-make.txt
(i didn’t find how to attach this log directly to the thread)
@numbqq

@Frank Please follow up.

Hello,
This issue has been fixed directly in the fenix repository : https://github.com/khadas/fenix/issues/82
Regards,