Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error #2

Open
bwthor opened this issue Apr 12, 2022 · 1 comment
Open

Build Error #2

bwthor opened this issue Apr 12, 2022 · 1 comment

Comments

@bwthor
Copy link

bwthor commented Apr 12, 2022

Getting these error when trying to run the script. TrueNAS Core 12.0, Release Train.

I'd try your freenas-iocage-nextcloud, which has Caddy since it seems current, but I already have Nextcloud up and running.

go: downloading github.com/spaolacci/murmur3 v1.1.0
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading golang.org/x/mod v0.4.2
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
2022/04/12 11:29:42 [INFO] exec (timeout=0s): /usr/local/bin/go build -o /usr/local/bin/caddy -ldflags -w -s -trimpath
"# github.com/lucas-clemente/quic-go/internal/qtls"
/root/go/pkg/mod/github.com/lucas-clemente/[email protected]/internal/qtls/go118.go:5:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
2022/04/12 11:30:36 [INFO] Cleaning up temporary folder: /tmp/buildenv_2022-04-12-1128.672301048
2022/04/12 11:30:36 [FATAL] exit status 2
Command: xcaddy build --output /usr/local/bin/caddy failed!
Failed to build Caddy without plugin, terminating.

Edit...I added the "" around the github.com/lucas-clemente line, otherwise the # causes it to be huge and bold.

@bwthor
Copy link
Author

bwthor commented Apr 13, 2022

Looks like the NextCloud script you have is experiencing the same issue.
danb35/freenas-iocage-nextcloud#187

The fix they mentioned there seemed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant