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
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?
Bump.
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:03.772|Cloning repository...|
|15:31:05.769|Success: Finished cloning repository files|
|15:31:05.900|Installing dependencies|
|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?
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.