[Slackbuilds-users] fzf 0.6.20 build fails on Slackware64-15.0

Matteo Bernardini matteo.bernardini at gmail.com
Tue Mar 4 15:18:18 UTC 2025


hi Shahab,

that happens because the build system is using gcc's go, not the go
compiler from google-go-lang.

this could happen usually in a couple of cases:
- you haven't installed the fzf build dependency google-go-lang;
- after installing google-go-lang you haven't logout and logged in again
into your root session or switched again to root with "su -" (note the
trailing dash) so that the /etc/profile.d/go.sh script is sourced in your
environment: it's explained in google-go-lang's README on SBo.

Matteo

Il giorno mar 4 mar 2025 alle ore 14:32 Shahab Vahedi via SlackBuilds-users
<slackbuilds-users at slackbuilds.org> ha scritto:

> # sbopkg -Ri fzf
>
> ...
> Processing fzf
>
> fzf:
> Found fzf-0.60.2.tar.gz in /var/cache/sbopkg.
> Checking MD5SUM:
>   MD5SUM check for fzf-0.60.2.tar.gz ... OK
> ...
> Building package for fzf...
> fzf-0.60.2/
> ...
> fzf-0.60.2/uninstall
> fatal: not a git repository (or any parent up to mount point /)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
> GOARCH=amd64 go build -a -ldflags "-s -w -X main.version=0.60.2 -X
> main.revision=Slackware" -tags "" -trimpath -mod=vendor -o
> target/fzf-linux_amd64
> src/reader.go:15:2: //go:build comment without // +build comment
> main.go:10:2: //go:build comment without // +build comment
> main.go:11:2: //go:build comment without // +build comment
> src/ansi.go:9:2: //go:build comment without // +build comment
> src/algo/algo.go:88:2: //go:build comment without // +build comment
> src/util/util.go:11:2: //go:build comment without // +build comment
> vendor/github.com/mattn/go-isatty/isatty_tcgets.go:8:8: //go:build
> comment without // +build comment
> src/tui/light.go:17:2: //go:build comment without // +build comment
> make: *** [Makefile:150: target/fzf-linux_amd64] Error 1
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20250304/2cf36efc/attachment-0001.htm>


More information about the SlackBuilds-users mailing list