Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tests fail to compile on armv7 (Raspberry Pi 4) #7

Closed
@drauschenbach

Description

@drauschenbach

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions