explodingcamera/tinywasm

Tests fail to compile on armv7 (Raspberry Pi 4)

drauschenbach opened this issue · 0 comments

This issue pertains to v0.5.0.

$ rustc -vV | sed -n 's|host: ||p'
armv7-unknown-linux-gnueabihf

$ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
...
$ cargo test
...
  --- stderr
  thread 'main' panicked at /home/davidr/.cargo/registry/src/index.crates.io-1cd66030c949c28d/yeslogic-fontconfig-sys-3.2.0/build.rs:8:48:
  called `Result::unwrap()` on an `Err` value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags fontconfig\n\nThe system library `fontconfig` required by crate `yeslogic-fontconfig-sys` was not found.\nThe file `fontconfig.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `fontconfig.pc`.\n"
$ cargo tree -i yeslogic-fontconfig-sys
yeslogic-fontconfig-sys v3.2.0
└── font-kit v0.11.0
    └── plotters v0.3.5
        [dev-dependencies]
        └── tinywasm v0.5.0 (/home/davidr/workspace/tinywasm/crates/tinywasm)
            [dev-dependencies]
            └── tinywasm-root v0.0.0 (/home/davidr/workspace/tinywasm)