Building zynthian image now works with docker

sudo modprobe loop ?

No direct reply.

Tried that but I don’t see a loop module in lsmod after doing it . . .

and now I’m back to the instant error about the build.log… :frowning:

I’m sorry this has become just plain bewildering . . .
Time to read a docker book. . . .

Again . . .

No such file or directory error gives missing loopback kernel module too. On device tree loopback nodes created?

rmmod loop && ls /dev/loop*

ls: /dev/loop* ei saa kasutada: No such file or directory

modprobe loop && ls /dev/loop*

/dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 /dev/loop6 /dev/loop7 /dev/loop-control

root@wyleu-HP-G72-Notebook-PC:/home/wyleu# modprobe loop && ls /dev/loop*
/dev/loop0 /dev/loop11 /dev/loop14 /dev/loop17 /dev/loop2 /dev/loop3 /dev/loop6 /dev/loop9
/dev/loop1 /dev/loop12 /dev/loop15 /dev/loop18 /dev/loop20 /dev/loop4 /dev/loop7 /dev/loop-control
/dev/loop10 /dev/loop13 /dev/loop16 /dev/loop19 /dev/loop21 /dev/loop5 /dev/loop8
root@wyleu-HP-G72-Notebook-PC:/home/wyleu# rmmod loop && ls /dev/loop*
rmmod: ERROR: Module loop is builtin.
root@wyleu-HP-G72-Notebook-PC:/home/wyleu#

This is what I loath about docker . It has all the predictability of git …

You can use the vagrant build method if you don’t like docker.
Docker is good for this mostly because it works on cloud services.

Hi,
I try to use Docker to make an image for my raspberry 4.
I use Linux Mint, to use Docker, I also need to install Docker.io

When I run the building with step 9, I have an error about git not installed, since I don’t know what to do, I look in the source and finally add in Zynthianos/src/modules/zynthianos/start_chroot_script the line apt install git before gitclone.

With this modification, the build process run normally.
I see that start_chroot_script call the wrong sh file to buster :bash -x setup_system_rbpi_raspbian_lite_stretch.sh I think we need now bash -x setup_system_rbpi_raspbian_lite_buster.sh

Do I need to make an issue on github?

How can I help, I’m not a developper but I make some compilation in the past and try to solve compilation error when possible

Yes please do, also provide a build.log from your build

Ok, I try another compilation with the modification of setup_system_rbpi_raspbian_lite_buster.sh
The last build.log is more than 3MB, do I need to provide all the log?

Just for my knowledge, for the installation of git, start_chroot_script is the good place to make the modification?

Preferred you give all the log, you can snap parts but it would give the best picture of what is going on

For moment compilation is not finished, only error is on install_lv2_jalv.sh where we need to add apt install 2to3

Compilation is finished.
I put the bluid.log on ZynthianOs issue

Hi! Congratulations @lguyome45,

Please, send a testing report when you have tested your Buster Image :wink:

BTW, we already have a new Buster image in our Nightly Builds dir:

https://os.zynthian.org/2019-08-14-zynthianos-buster-lite-1.0.0.zip

I can’t test here because i’m in a Masia (rural house) and my bandwidth is quite limited now, so please, let me know if someone test this image.

Regards,

1 Like

Hello, Zynthian boots up ok on my V2 kit adapted for RPi4, b̶u̶t̶ ̶c̶o̶n̶t̶r̶o̶l̶ ̶k̶n̶o̶b̶s̶ ̶d̶o̶ ̶n̶o̶t̶ ̶w̶o̶r̶k̶. First test results of Pianoteq (using touch screen, which works) are good. No crackling, but both cores fully loaded. I will give it more time later.

Good work!

Hi,
With my image compiled yesterday, I have this result :

  • ZynthianOs boots ok.
  • The control knobs works
  • Wifi seems to not working, I try to add my networks, wbconf interface did not show any SSID
  • Pianoteq stage 6.5.3 works without xrun a 22.1khz, at 44khz xruns comes. I don’t play many notes but I have the score of 17 in Pianoteq panel

Instruments Zynaddsubfx, Fluidsynth, setBfree, Calf monosynth, Helm, MDA DX10, JX10, E.piano, Nekobi, Noize Mak3r, Obxd, Roffo synth, Triceraptops, Vex, Wolpertinger, padthv1, synthv1, aeolus, all fluid instrument work

Mod-UI and pure data work. I will try later with Mod-UI, lv2 plugins

  • Linuxsampler does not show any preset
    Edit: I miss that there is no soundfont, I add one sfz(Salamander piano) but no sound, I have this message in the CLI:
    ERROR:root:sfz (ERR 0)

  • Dexed does not work

That’s all for moment, will try to run zynthian from CLI to have debug information

2 Likes

I can confirm what you said…on a v2 pi3plus

1 Like

The SFZ soundfont collection is not downloaded when building the image, but copied from a local directory, so your fresh-build image don’t have any SFZ for Linuxsampler.

Also, copying an SFZ to the directory doesn’t work., You have to create some bank directory, like “pianos”, and put your SFZ inside. Please, confirm that this work for you …

Regards,

I erased my build and put the nightly which works, so until I make a new build I can’t test.
On the nightly build, work as expected, I will try to add some soundfont on nightly.

The big problematic for me is the missing wifi, I try the command ifup wlan0, the raspberry tell me that there is no wlan0

I will work on it ASAP.

I try to understand all modification made when running the installation process.
setup_system for buster make a firmware downgrade, I try to upgrade the firmware and after a reboot Wifi works :wink:

I make an issue

2 Likes

Checkout today and I’m trying to build but I get this:

$ docker exec -it zynthianos-build /CustomPiOS/nightly_build_scripts/custompios_nightly_build

+ set -e
+ whoami
root
+ export DIST_PATH=/distro
+ DIST_PATH=/distro
+ export CUSTOM_PI_OS_PATH=/CustomPiOS
+ CUSTOM_PI_OS_PATH=/CustomPiOS
+ '[' 0 -gt 0 ']'
+ BUILD_VARIANT=default
+ WORKSPACE_POSTFIX=
+ '[' default '!=' default ']'
++ awk '{print $2}'
++ lsof /distro/workspace/mount
lsof: status error on /distro/workspace/mount: No such file or directory
lsof 4.91
 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
 latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
 latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
 usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
 [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
 [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
+ rm '/distro/workspace/*.img'
rm: cannot remove '/distro/workspace/*.img': No such file or directory
+ true
+ true
+ rm '/distro/workspace/*.raw'
rm: cannot remove '/distro/workspace/*.raw': No such file or directory
+ rm '/distro/workspace/*.zip'
rm: cannot remove '/distro/workspace/*.zip': No such file or directory
+ true
+ pushd /distro
/distro /
+ umount /distro/workspace/mount/boot
umount: /distro/workspace/mount/boot: no mount point specified.
+ true
+ umount /distro/workspace/mount/dev/pts
umount: /distro/workspace/mount/dev/pts: no mount point specified.
+ true
+ umount /distro/workspace/mount
umount: /distro/workspace/mount: no mount point specified.
+ true
+ /CustomPiOS/build_custom_os
+ echo 'Distro path: /distro'
Distro path: /distro
+ echo 'CustomPiOS path: /CustomPiOS'
CustomPiOS path: /CustomPiOS
+ echo ================================================================
================================================================
+++ dirname /CustomPiOS/build_custom_os
++ cd /CustomPiOS
++ pwd
+ DIR=/CustomPiOS
+ /CustomPiOS/build
+ '[' -n '' ']'
+ LOG=build.log
+ define SCRIPT
+ IFS='\n'
+ read -r -d '' SCRIPT
+ true
+ '[' build.log '!=' no ']'
+ touch build.log
+ chmod 666 build.log
+ tee build.log
+ eval 'BUILD_SCRIPT_PATH=$(dirname $(realpath -s $BASH_SOURCE))
source ${BUILD_SCRIPT_PATH}/common.sh
install_cleanup_trap

CUSTOM_OS_PATH=$(dirname $(realpath -s $0))
pushd $CUSTOM_OS_PATH
  export OCTOPI_COMMIT=`git rev-parse HEAD`
popd

source ${CUSTOM_PI_OS_PATH}/config ${@}
${CUSTOM_PI_OS_PATH}/config_sanity

[ "$CONFIG_ONLY" == "yes" ] || source ${CUSTOM_OS_PATH}/custompios
'
++++ realpath -s /CustomPiOS/build
+++ dirname /CustomPiOS/build
++ BUILD_SCRIPT_PATH=/CustomPiOS
++ source /CustomPiOS/common.sh
++ install_cleanup_trap
++ set -e
++ trap cleanup SIGINT SIGTERM
++++ realpath -s /CustomPiOS/build
+++ dirname /CustomPiOS/build
++ CUSTOM_OS_PATH=/CustomPiOS
++ pushd /CustomPiOS
/CustomPiOS /distro
+++ git rev-parse HEAD
fatal: not a git repository (or any of the parent directories): .git
++ export OCTOPI_COMMIT=
++ OCTOPI_COMMIT=
++ popd
/distro
++ source /CustomPiOS/config
+++++ realpath -s /CustomPiOS/config
++++ dirname /CustomPiOS/config
+++ CONFIG_DIR=/CustomPiOS
+++ export BUILD_VARIANT=default
+++ BUILD_VARIANT=default
+++ BUILD_FLAVOR=default
+++ WORKSPACE_POSTFIX=
+++ '[' 0 -gt 0 ']'
+++ '[' 0 -gt 1 ']'
+++ echo -e '--> Building VARIANT default, FLAVOR default'
--> Building VARIANT default, FLAVOR default
+++ '[' -f /CustomPiOS/config.local ']'
+++ source /distro/config
/CustomPiOS/config: line 24: /distro/config: No such file or directory
+ exit 1

what did I miss ?
brgs
Seb