Zola v0.20.0 support for CF pages

For Workers & Pages, what is the name of the domain?

What is the error message?

13:01:19.023 Installing Zola v0.20.0 13:01:20.064 Started restoring cached go cache 13:01:20.071 Finished restoring cached go cache 13:01:20.187 go version go1.14.4 linux/amd64 13:01:20.198 go version go1.14.4 linux/amd64 13:01:20.200 Installing missing commands 13:01:20.201 Verify run directory 13:01:20.201 Executing user command: zola build 13:01:20.206 zola: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by zola) 13:01:20.206 zola: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32’ not found (required by zola) 13:01:20.206 zola: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by zola) 13:01:20.206 zola: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.35’ not found (required by zola) 13:01:20.209 Failed: build command exited with code: 1 13:01:20.804 Failed: error occurred while running build command

What is the issue or error you’re encountering

Zola 0.19.2 works, but zola 0.20.0 doesn’t

What are the steps to reproduce the issue?

When I use ZOLA_VERSION 0.20.0 with V1 build system to deploy a zola site, it fails while throwing the glibc error:

13:01:19.023	Installing Zola v0.20.0
13:01:20.064	Started restoring cached go cache
13:01:20.071	Finished restoring cached go cache
13:01:20.187	go version go1.14.4 linux/amd64
13:01:20.198	go version go1.14.4 linux/amd64
13:01:20.200	Installing missing commands
13:01:20.201	Verify run directory
13:01:20.201	Executing user command: zola build
13:01:20.206	zola: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by zola)
13:01:20.206	zola: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by zola)
13:01:20.206	zola: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by zola)
13:01:20.206	zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by zola)
13:01:20.209	Failed: build command exited with code: 1
13:01:20.804	Failed: error occurred while running build command

I have to upgrade to Zola v0.20.0 because I contributed some features which I want to use. The build works perfectly fine on v0.19.2

Sadly the v1 build image is quite old and doesn’t support include support for newer glibc versions.

The v2 build image however does support newer glibc versions, but not zola by default. If you do the following, it should work for you:

  • Use v2 build image
  • Set UNSTABLE_PRE_BUILD env variable to:
    asdf plugin add zola https://github.com/salasrod/asdf-zola && asdf install zola 0.20.0 && asdf global zola 0.20.0 (or whatever version you need)
3 Likes

@cherryjimbo Thank you so much. This worked! :smiley:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.