Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Unable to build #8

Closed
Merith-TK opened this issue Aug 22, 2020 · 3 comments
Closed

Unable to build #8

Merith-TK opened this issue Aug 22, 2020 · 3 comments

Comments

@Merith-TK
Copy link

https://caddy.community/t/v2-archlinux-aur-unable-to-build-and-install-caddy-v2/9528 < see here for build logs

Okay mini rant, sorry if this part is agressive
Please for the love of god provide a -bin version of this, not everyone has time to spend compiling and downloading toolchains just to run a simple webserver, i cant even install it because of a error that i have no clue what the hell it means, so please. provide a binary repo or rename this one to have -git on the aur, having to run caddy through docker is not exactly the preferred way of doing things with caddyserver,

@Merith-TK
Copy link
Author

Im even willing to work on making a PKGBUILD (once i learn how they work) to download the latest release they have from github and install it

@ashpieboop
Copy link
Owner

Hi,

If you want to create a caddy2-bin aur package, please feel free to do so.

My understanding is that -git packages are packages that both pull their sources from a git repo and automatically get the latest commit without PKGBUILD modification needed. This package (caddy2) pins the source repository to stable release tags which excludes it from this definition.

Furthermore, the official caddy package's PKGBUILD on next does work that way, pulling caddy's git repo and pinning to stable release tags.

If the official caddy package ever chose to to distribute official binaries instead of a custom compiled one, the caddy2 aur package would still have to work that way because distributing binaries on an aur package means it has to be suffixed with -bin (per the AUR submission guidelines wiki page).

I would be happy to help you with your compilation errors, however please provide a full log of the build without any modification of the PKGBUILD. Please also note that caddy 2.1.2 (latest stable version) doesn't build with go 1.15 (current official arch go package version) so please stay with go 1.14 for now.

@ashpieboop
Copy link
Owner

I'm closing this issue, but feel free to reply and I'll reopen it.

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

No branches or pull requests

2 participants