When using ZOLA and with environment vars:
ZOLA_VERSION 0.14.1 the build fails:
this is the build log:
13:54:38.283 Installing Zola 0.14.1
13:54:38.985 Started restoring cached go cache
13:54:38.990 Finished restoring cached go cache
13:54:39.013 go version go1.14.4 linux/amd64
13:54:39.017 go version go1.14.4 linux/amd64
13:54:39.019 Installing missing commands
13:54:39.019 Verify run directory
13:54:39.019 Executing user command: zola build
13:54:39.022 zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by zola)
13:54:39.022 zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by zola)
13:54:39.022 zola: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by zola)
13:54:39.023 Failed: build command exited with code: 1
This is a known issue with the 0.14.x builds of Zola. 0.13.x builds should work fine. I should re-poke the team about this issue
Any update on the resolution for this issue? I cannot downgrade to 0.13 for other reasons.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
I’m using the static site generator Zola to build my website. Cloudflare Pages supports building Zola pages and specifying a Zola Version via an environment variable called ZOLA_VERSION. Unfortunately with the latest version 0.14.1 it doesn’t work, so I have to use 0.14.0 instead.
This is the error shown in the build logs:
zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by zola)
zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by zola)
zola: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by zola)
error Command failed with exit code 1
Could somebody look into this, so that Cloudflare users can use the latest version of Zola?
I’ve just realized that this is a duplicate of Cloudflare Pages - Zola build fails (GLIBCXX_3.4.26' not found). Will close this issue
@user12279 I’ve merged your topic to this one and re-opened it.
Without passing ZOLA_VERSION zola is not installed on build environment. With ZOLA_VERSION build fails:
|15:28:31.843|Initializing build environment. This may take up to a few minutes to complete|
|15:31:03.772|Success: Finished initializing build environment|
|15:31:05.769|Success: Finished cloning repository files|
|15:31:05.903|Python version set to 2.7|
|15:31:07.243|v12.18.0 is already installed.|
|15:31:07.785|Now using node v12.18.0 (npm v6.14.4)|
|15:31:07.832|Started restoring cached build plugins|
|15:31:07.835|Finished restoring cached build plugins|
|15:31:07.969|Attempting ruby version 2.7.1, read from environment|
|15:31:09.036|Using ruby version 2.7.1|
|15:31:09.341|Using PHP version 5.6|
|15:31:09.375|5.2 is already installed.|
|15:31:09.382|Using Swift version 5.2|
|15:31:09.382|Installing Hugo 0.54.0|
|15:31:10.123|Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z|
|15:31:10.124|Installing Zola 0.14.1|
|15:31:11.124|Started restoring cached go cache|
|15:31:11.128|Finished restoring cached go cache|
|15:31:11.159|go version go1.14.4 linux/amd64|
|15:31:11.164|go version go1.14.4 linux/amd64|
|15:31:11.166|Installing missing commands|
|15:31:11.166|Verify run directory|
|15:31:11.166|Executing user command: zola build|
|15:31:11.169|zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by zola)|
|15:31:11.169|zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by zola)|
|15:31:11.169|zola: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by zola)|
|15:31:11.175|Failed: build command exited with code: 1|
Considering the first report was about a month ago and Zola is a supported framework, what is the current status of the bug?
If you remove Zola build command and build it on your side before pushing to GitHub it will deploy whatever you have.
Bump. When it will be fixed? Any workarounds to use the latest zola? Installing glibc manually?
Also getting this error with version 0.15.x
Did the team ever reply?
From the zola github repo it looks like the issue comes down to a problem with the version of GLIBC in your pages build images: GLIBC error when deploying version 0.14.1+ to Vercel or CloudFlare · Issue #1713 · getzola/zola · GitHub
Are there plans to use a more recent build image? Zola on Cloudflare Pages is not supported right now. This bug has been open for 6 months, and there have been 6 versions of Zola released since the last working version.
It’s mid June 2022, this is still an issue. You folks might as well remove the feature from the list, since it doesn’t work and apparently the Pages product manager doesn’t care about it.
This isn’t true, work is literally being done right now