Dear All,
I install FBI with snapcraft.yaml on RaspberryPi
name: boxbot
version: 1.1.7
summary: Corp.
description: |
Corp.
confinement: devmode
apps:
boxbot:
command: usr/bin/fbi -T 1 1.jpg
plugs: [home, network, network-bind, framebuffer, ppp, libvirt]
daemon: simple
environment:
FONTCONFIG_PATH: $SNAP/etc/fonts/config.d
FONTCONFIG_FILE: $SNAP/etc/fonts/fonts.conf
parts:
boxbot:
plugin: nil
build-packages:
- libjpeg62-dev
- libpng12-dev
stage-packages:
- libc6
- libexif12
- libfontconfig1
- libfreetype6
- libgif7
- libjpeg62
- libpng12-0
- libtiff5
- zlib1g
- ghostscript
- imagemagick
- graphicsmagick-imagemagick-compat
- imagemagick-6.q16
- fbi
BUT when run snaps show logs:
2018-09-25T02:57:37Z boxbot.boxbot[2628]: can't open font: monospace:size=16
2018-09-25T02:57:37Z systemd[1]: snap.boxbot.boxbot.service: Main process exited, code=exited, status=1/FAILURE
2018-09-25T02:57:37Z systemd[1]: snap.boxbot.boxbot.service: Unit entered failed state.
2018-09-25T02:57:37Z systemd[1]: snap.boxbot.boxbot.service: Failed with result 'exit-code'.
``
When manual run, FBI ok
usr/bin/fbi -T 1 1.jpg
Unable to update the static FcBlanks: 0x0600
Unable to update the static FcBlanks: 0x0601
Unable to update the static FcBlanks: 0x0602
Unable to update the static FcBlanks: 0x0603
Unable to update the static FcBlanks: 0x06dd
Unable to update the static FcBlanks: 0x070f
Unable to update the static FcBlanks: 0x2028
Unable to update the static FcBlanks: 0x2029
Unable to update the static FcBlanks: 0xfff9
Unable to update the static FcBlanks: 0xfffa
Unable to update the static FcBlanks: 0xfffb
using “DejaVu Sans Mono-16”, pixelsize=16.67 file=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
Please help me with issue, BR.