Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Created February 20, 2024 20:52
Show Gist options
  • Save lee2sman/4a49512fc5f7b03948ece92e6516a9cc to your computer and use it in GitHub Desktop.
Save lee2sman/4a49512fc5f7b03948ece92e6516a9cc to your computer and use it in GitHub Desktop.
error
cannot find package "github.com/btcsuite/btcutil/bech32" in any of:
/usr/lib/go/src/github.com/btcsuite/btcutil/bech32 (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/btcsuite/btcutil/bech32 (from $GOPATH)
package camlistore.org/pkg/images: unrecognized import path "camlistore.org/pkg/images": https fetch: Get "https://camlistore.org/pkg/images?go-get=1": dial tcp 104.197.157.20:443: i/o timeout
github.com/stellar/go (download)
cannot find package "github.com/stellar/go/build" in any of:
/usr/lib/go/src/github.com/stellar/go/build (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/stellar/go/build (from $GOPATH)
cannot find package "github.com/stellar/go/clients/horizon" in any of:
/usr/lib/go/src/github.com/stellar/go/clients/horizon (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/stellar/go/clients/horizon (from $GOPATH)
github.com/blevesearch/zapx (download)
cannot find package "github.com/blevesearch/zapx/v11" in any of:
/usr/lib/go/src/github.com/blevesearch/zapx/v11 (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/blevesearch/zapx/v11 (from $GOPATH)
cannot find package "github.com/blevesearch/zapx/v12" in any of:
/usr/lib/go/src/github.com/blevesearch/zapx/v12 (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/blevesearch/zapx/v12 (from $GOPATH)
cannot find package "github.com/blevesearch/zapx/v13" in any of:
/usr/lib/go/src/github.com/blevesearch/zapx/v13 (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/blevesearch/zapx/v13 (from $GOPATH)
cannot find package "github.com/blevesearch/zapx/v14" in any of:
/usr/lib/go/src/github.com/blevesearch/zapx/v14 (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/blevesearch/zapx/v14 (from $GOPATH)
cannot find package "github.com/blevesearch/zapx/v15" in any of:
/usr/lib/go/src/github.com/blevesearch/zapx/v15 (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/blevesearch/zapx/v15 (from $GOPATH)
github.com/blevesearch/bleve (download)
cannot find package "github.com/blevesearch/bleve/index/store" in any of:
/usr/lib/go/src/github.com/blevesearch/bleve/index/store (from $GOROOT)
/builddir/keybase-6.2.4/_build-keybase-xbps/src/github.com/blevesearch/bleve/index/store (from $GOPATH)
=> ERROR: keybase-6.2.4_1: do_build: 'go get -p "$XBPS_MAKEJOBS" -v -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 1
=> ERROR: in do_build() at common/build-style/go.sh:59
# Template file for 'keybase'
pkgname=keybase
version=6.2.4
revision=1
build_style=go
go_import_path="github.com/keybase/client"
go_package="${go_import_path}/go/keybase
${go_import_path}/go/kbfs/kbfsfuse
${go_import_path}/go/kbfs/kbfsgit/git-remote-keybase
${go_import_path}/go/kbfs/kbfstool ${go_import_path}/go/kbfs/redirector"
go_build_tags="production"
depends="gnupg>=2"
hostmakedepends="git"
short_desc="Client for keybase.io"
maintainer=""
license="BSD-3-Clause"
homepage="https://keybase.io/"
distfiles="https://github.com/keybase/client/releases/download/v$version/keybase-v$version.tar.xz"
checksum=e1f59f13858265f0527a5fba95f06a0e8cf435918d4259a6032a74429e4b252a
post_install() {
vlicense LICENSE
}
kbfs_package() {
depends="keybase fuse"
short_desc="Keybase Filesystem"
pkg_install() {
vmove usr/bin/redirector
mv ${PKGDESTDIR}/usr/bin/redirector ${PKGDESTDIR}/usr/bin/keybase-redirector
# setuid
chmod 4755 ${PKGDESTDIR}/usr/bin/keybase-redirector
vmove usr/bin/kbfsfuse
vmove usr/bin/kbfstool
vmove usr/bin/git-remote-keybase
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment