[GH-ISSUE #5201] 0.67.0版本编译报错 #4059

Closed
opened 2026-05-05 14:34:17 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Xipro on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5201

Bug Description

我分别使用go1.26.1或者go1.25.8这两个版本来编译0.67.0这个版本的时候,都有报错,同样的方法使用go1.24.7编译0.66.0是没有问题的,具体报错如下:
Build windows-amd64...
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2
web/frpc/embed.go:11:12: pattern dist: no matching files found
web/frps/embed.go:11:12: pattern dist: no matching files found
Build windows-amd64 done
Build linux-arm64...
web/frpc/embed.go:11:12: pattern dist: no matching files found
web/frps/embed.go:11:12: pattern dist: no matching files found
Build linux-arm64 done
mv: 无法获取'./release/frpc_windows_amd64' 的文件状态(stat): 没有那个文件或目录
make: *** [Makefile.cross-compiles:13:app] 错误 1
请问是什么原因?是源代码的问题,还是我使用的go版本问题,还是我的方法问题?

frpc Version

0.67.0

frps Version

0.67.0

System Architecture

Linux 5.10.0-60.18.0.50.oe2203.x86_64

Configurations

none

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Xipro on GitHub (Mar 6, 2026). Original GitHub issue: https://github.com/fatedier/frp/issues/5201 ### Bug Description 我分别使用go1.26.1或者go1.25.8这两个版本来编译0.67.0这个版本的时候,都有报错,同样的方法使用go1.24.7编译0.66.0是没有问题的,具体报错如下: Build windows-amd64... go: downloading github.com/inconshreveable/mousetrap v1.1.0 go: downloading golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 web/frpc/embed.go:11:12: pattern dist: no matching files found web/frps/embed.go:11:12: pattern dist: no matching files found Build windows-amd64 done Build linux-arm64... web/frpc/embed.go:11:12: pattern dist: no matching files found web/frps/embed.go:11:12: pattern dist: no matching files found Build linux-arm64 done mv: 无法获取'./release/frpc_windows_amd64' 的文件状态(stat): 没有那个文件或目录 make: *** [Makefile.cross-compiles:13:app] 错误 1 请问是什么原因?是源代码的问题,还是我使用的go版本问题,还是我的方法问题? ### frpc Version 0.67.0 ### frps Version 0.67.0 ### System Architecture Linux 5.10.0-60.18.0.50.oe2203.x86_64 ### Configurations none ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@laipeng668 commented on GitHub (Mar 10, 2026):

https://github.com/openwrt/packages/pull/28471

<!-- gh-comment-id:4028491159 --> @laipeng668 commented on GitHub (Mar 10, 2026): https://github.com/openwrt/packages/pull/28471
Author
Owner

@Xipro commented on GitHub (Mar 12, 2026):

已解决

<!-- gh-comment-id:4043155476 --> @Xipro commented on GitHub (Mar 12, 2026): 已解决
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4059
No description provided.