heneault / yocto-pitrezor

raspberry pi zero platform to run the trezor port pitrezor as a bitcoin wallet
https://www.pitrezor.com
MIT License
116 stars 30 forks source link

ERRO[0076] Error waiting for container: unexpected EOF #12

Closed bakman2 closed 3 years ago

bakman2 commented 3 years ago

Image doesn't build

sudo ./build-pitrezor.sh 1.9.4.1

....

Submodule 'meta-openembedded' (git://git.openembedded.org/meta-openembedded) registered for path 'meta-openembedded'
Submodule 'meta-raspberrypi' (git://git.yoctoproject.org/meta-raspberrypi) registered for path 'meta-raspberrypi'
Submodule 'poky' (git://git.yoctoproject.org/poky) registered for path 'poky'
Cloning into '/home/build/yocto-pitrezor/meta-openembedded'...
Cloning into '/home/build/yocto-pitrezor/meta-raspberrypi'...
Cloning into '/home/build/yocto-pitrezor/poky'...
Submodule path 'meta-openembedded': checked out 'f2d02cb71eaff8eb285a1997b30be52486c160ae'
Submodule path 'meta-raspberrypi': checked out '987993209716302eb8f314f69a2a3340555f94d8'
Submodule path 'poky': checked out '424296bf9bb4bae27febf91bce0118df09ce5fa1'

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Other commonly useful commands are:
 - 'devtool' and 'recipetool' handle common recipe tasks
 - 'bitbake-layers' handles common layer tasks
 - 'oe-pkgdata-util' handles common target package tasks
ERRO[0076] error waiting for container: unexpected EOF

Once it is starting "parsing recipes", it breaks at 3%.

heneault commented 3 years ago

On which platform/OS are you trying to build ? How much cpu cores and free memory do you have ? Make sure you have plenty of memory/disk space and no limitation set in docker about that

bakman2 commented 3 years ago

@heneault thanks you could be right, I launched an LXC container with limited resources initially. Assigned some more, Indeed I see quite some cpu usage, but that doesnt stop the build. Fingers crossed. Cool project initiative, thanks.