-
Notifications
You must be signed in to change notification settings - Fork 55
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
certcache.go: undefined: certurl.CertChainItem #494
Comments
hi joachimroeleveld, sorry to hear that you're having issues. Which branch are you building this from? I just cloned from the master and release branches and built both the amppkg and certcache directory successfully: $ git clone -b master https://github.com/ampproject/amppackager.git amppackager.master From the root dir: I also cloned from the release branch and here's the top level build: |
I was able to reproduce your problem with: github.com/ampproject/amppackager/packager/certcache../pkg/mod/github.com/ampproject/[email protected]/packager/certcache/certcache.go:252:19: undefined: certurl.CertChainItem Investigating ... |
Hi @joachimroeleveld, thanks for the report. It looks like our install instructions are incompatible with the latest release of Go 1.16. Until we fix it, you can do one of:
Details:
The latest release of Go 1.16 changed the behavior of This announcement says the new command should be However, that seems to produce a new error:
So, I guess |
Hi @twifkak, thanks for the reply. I'll be using a binary I still have in a cached Docker image in the meantime. |
Just a quick note that #494 also includes updating our go.mod to support |
Trying to build
amppackager
as described by README gives me the following error (in CI and locally):It seems to have been introduced within the last couple of days.
The text was updated successfully, but these errors were encountered: