mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4221] 编译提示目录不存在,清大佬们看看 #3327
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3327
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nomoneynolife on GitHub (May 16, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4221
Bug Description
os-archs=linux:amd64 windows:amd64 只生成这2个版本;
报错日志:
make -f Makefile.cross-compiles
Build linux-amd64...
client/admin_api.go:18:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
pkg/util/util/util.go:23:2: package math/rand/v2 is not in GOROOT (/usr/local/go/src/math/rand/v2)
/home/work/go/pkg/mod/github.com/fatedier/golib@v0.5.0/log/output_rotatefile.go:9:2: package slices is not in GOROOT (/usr/local/go/src/slices)
pkg/util/xlog/xlog.go:18:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
pkg/util/util/util.go:23:2: package math/rand/v2 is not in GOROOT (/usr/local/go/src/math/rand/v2)
pkg/config/legacy/client.go:21:2: package slices is not in GOROOT (/usr/local/go/src/slices)
Build linux-amd64 done
Build windows-amd64...
client/admin_api.go:18:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
pkg/util/util/util.go:23:2: package math/rand/v2 is not in GOROOT (/usr/local/go/src/math/rand/v2)
/home/work/go/pkg/mod/github.com/fatedier/golib@v0.5.0/log/output_rotatefile.go:9:2: package slices is not in GOROOT (/usr/local/go/src/slices)
pkg/util/xlog/xlog.go:18:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
pkg/util/util/util.go:23:2: package math/rand/v2 is not in GOROOT (/usr/local/go/src/math/rand/v2)
pkg/config/legacy/client.go:21:2: package slices is not in GOROOT (/usr/local/go/src/slices)
Build windows-amd64 done
mv: cannot stat ‘./release/frpc_windows_amd64’: No such file or directory
make: *** [app] Error 1
这是为啥呀。。。
frpc Version
0.58.0
frps Version
0.58.0
System Architecture
centos 7
Configurations
默认配置
Logs
No response
Steps to reproduce
...
Affected area
@nomoneynolife commented on GitHub (May 16, 2024):
不管了,一顿瞎操作,安装包,升级GO,不知道哪个的问题,反正可以了。。。。