-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Hugo 0.118.0 fails on Netlify/Vercel/etc. #11414
Comments
I confirm that a similar problem occurs in Vercel. (It was fine up until 0.117.0) It can also happen with other web services.
|
I tried Hugo 0.118.1 with Vercel and still have the same problem:
|
FWIW, 0.118.1 works fine in GitHub Actions with |
@fu-sen that is odd. The Hugo docs site built fine on Netlify, which I assumed meant that this was ... OK. |
We need to investigate these issues, but that needs to wait. Updates #11414
OK, https://github.com/gohugoio/hugo/releases/tag/v0.118.2 reverts back to building with the old go 1.20 image, which should work for ... all. I need to push the investigation of this to another day. |
Vercel + Hugo 0.118.2 was successfully built. |
@fu-sen can I ask; do you know if there's a newer build image available in Vercel compared to the one that failed for you above? |
@bep We have a choice about the Node version, but there doesn't seem to be a choice about the build image. |
Vercel is still using Amazon Linux 2. Long term support (LTS) for Amazon Linux 2 was to have ended in June 2023. Unfortunately, Amazon decided to extend LTS until June 2025. Had they not extended the date, organizations such as Vercel would have been forced/encouraged to update to Amazon Linux 2022 or Amazon Linux 2023. Hugo v0.118.0 runs fine on both. |
I have a roundabout fix for this which I will apply in a minute, but a note to my future self. Running this from an AMD64 PC will get a running Amazon Linux 2 image: docker run --rm -v "$PWD":/aws -w /aws -i -t amazonlinux:2 /bin/bash |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
We updated the build image to use Go 1.21, which also seemed to bump GLIBC, which Netlify's Ubuntu 20.04 build image does not support ... Bummer.
The text was updated successfully, but these errors were encountered: