in the past, I’ve had issue setting up a perfect build environement for fenix. Then I tried (successfully) to use the provided instruction for doing it in docker container as seen in https://docs.khadas.com/vim2/FenixScript.html#Run-Fenix-in-Docker
I need to combine them with your instructions before…
and we’ll hopefully see some positive result I’ll report once the current build is finished
Here are my steps inside docker :
Building modules, stage 2.
MODPOST 1746 modules
warning: same module names found:
make: Leaving directory ‘/home/khadas/fenix/build/linux-mainline-5.5-rc2’
Info: Building debs…
Building package: linux-u-boot-vim1-mainline
dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)
Makefile:7: recipe for target ‘all’ failed
make: *** [all] Error 2
Something needs to be fixed, I’ll try t o find how,
@numbqq do you have any idea ?
UPDATE: as my FS in NTFS, and according to https://unix.stackexchange.com/questions/252244/dpkg-deb-error-control-directory-has-bad-permissions
the problem is know, I need to move thing on an ext3 or ext4 FS…
I fixed the filesystem issue, but this is how it still ends…
LD [M] sound/usb/line6/snd-usb-variax.ko LD [M] sound/usb/snd-usbmidi-lib.ko warning: same module names found: fs/exfat/exfat.ko drivers/staging/exfat/exfat.ko make: Leaving directory '/home/khadas/fenix/build/linux-mainline-5.5-rc2' Info: Building debs... cp: cannot stat '/home/khadas/fenix/linux/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dtb': No such file or directory Makefile:7: recipe for target 'all' failed make: *** [all] Error 1 khadas@38b1d52425fb:~/fenix$
khadas@38b1d52425fb:~/fenix$ cd /home/khadas/fenix/linux/arch
bash: cd: /home/khadas/fenix/linux/arch: No such file or directory
ah ha !!