This problem turned out to be caused by the CGO_ENABLED variable! Although I already set it enabled in environment variable as the below shows, but it is disabled in the hack/lib/golang.sh, still need to modify it manually. 😱 It is imperceptible! Thanks your kindly help @xiangpengzhao...
Tasks n' Times - A tool to keep track of how long you've been working on tasks - BUILD needs CGO_ENABLE=1 · Issue #1 · Rocco-Gossmann/tnt
@cd $(BINGO_DIR) && GOWORK=off CGO_ENABLED=0 $(GO) build -mod=mod -modfile=drone.mod -o=$(GOBIN)/drone-v1.5.0 "github.com/drone/drone-cli/drone" GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.61.0 GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.60.1 $(GOLANGCI_LINT): ...