New comment by phossil on void-packages repository https://github.com/void-linux/void-packages/issues/22568#issuecomment-676833071 Comment: Haven't been able to figure out the following error all day: ```shell $ XBPS_CHECK_PKGS=yes ./xbps-src -a aarch64 pkg gtkcord3 . . . # github.com/diamondburned/gtkcord3 /usr/lib/go/pkg/tool/linux_amd64/link: running aarch64-linux-gnu-gcc failed: exit status 1 collect2: fatal error: cannot find 'ld' compilation terminated. => ERROR: gtkcord3-0.0.4_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2 => ERROR: in do_build() at common/build-style/go.sh:36 ``` The template on my local repo: ```bash # Template file for 'gtkcord3' pkgname=gtkcord3 version=0.0.4 revision=1 build_style=go go_import_path=github.com/diamondburned/${pkgname}/ hostmakedepends="pkg-config" makedepends="libhandy-devel gtk+3-devel" depends="libhandy gtk+3" short_desc="Gtk3 Discord client in Golang" maintainer="Phosu Parsons " license="GPL-3.0-only" homepage="https://github.com/diamondburned/gtkcord3" distfiles="https://github.com/diamondburned/${pkgname}/archive/v${version}.tar.gz" checksum=704c623393d79cc8abb68ac59a5b243576df6857626276ec3fdf15fc9b7c753f ```