New comment by hadrianw on void-packages repository https://github.com/void-linux/void-packages/pull/12456#issuecomment-502367345 Comment: I successfully built the package with a following script: ``` #!/bin/sh set -x set -e function __BUILD__() { git clean -fdx -e /hostdir case "$1" in i686) bootstrap=i686;; *-musl) bootstrap=x86_64-musl;; *) bootstrap=x86_64;; esac shift ./xbps-src binary-bootstrap "$bootstrap" ./xbps-src -j4 "$@" pkg zbar } wget -N "https://alpha.de.repo.voidlinux.org/static/xbps-static-latest.x86_64-musl.tar.xz" mkdir -p xbps tar xf xbps-static-latest.x86_64-musl.tar.xz -C xbps export PATH="$PWD/xbps/usr/bin:$PATH" (cd void-packages && git pull origin master) || git clone --depth 1 git@github.com:hadrianw/void-packages.git cd void-packages for arch in x86_64 x86_64-musl i686; do __BUILD__ "$arch" || failed="$failed $arch" done for arch in aarch64 armv7l armv6l-musl aarch64-musl; do source "common/cross-profiles/$arch.sh" && __BUILD__ "$arch" -a "$arch" || failed="$failed $arch" done echo Failed:$failed ``` I attach the build log. ```hadrian@karton $ ./check.sh &> build.log``` [build.log](https://github.com/void-linux/void-packages/files/3293131/build.log)