Building my site is failing at the moment. I think itβs to do with upgrading Hugo to 0.88.0 and Go to 1.17.
Full log below
3:49:48 PM: Build ready to start
3:49:50 PM: build-image version: c6001ed68662a13e5deb24abec2b46058c58248a
3:49:50 PM: build-image tag: v3.9.0
3:49:50 PM: buildbot version: 1ed4041128c7c024b4c4b72e2ad30a0740c570a7
3:49:50 PM: Fetching cached dependencies
3:49:50 PM: Starting to download cache of 290.0MB
3:49:53 PM: Finished downloading cache in 3.099460651s
3:49:53 PM: Starting to extract cache
3:50:02 PM: Finished extracting cache in 8.203761633s
3:50:02 PM: Finished fetching cache in 11.360845359s
3:50:02 PM: Starting to prepare the repo for build
3:50:06 PM: Preparing Git Reference refs/heads/master
3:50:09 PM: Parsing package.json dependencies
3:50:10 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'hugo --gc --minify' versus 'hugo' in the Netlify UI
3:50:10 PM: Starting build script
3:50:10 PM: Installing dependencies
3:50:10 PM: Python version set to 2.7
3:50:10 PM: Started restoring cached node version
3:50:13 PM: Finished restoring cached node version
3:50:45 PM: v8.17.0 is already installed.
3:50:46 PM: Now using node v8.17.0 (npm v6.13.4)
3:50:46 PM: Started restoring cached build plugins
3:50:46 PM: Finished restoring cached build plugins
3:50:46 PM: Attempting ruby version 2.3.6, read from environment
3:50:47 PM: Started restoring cached ruby version
3:50:47 PM: Finished restoring cached ruby version
3:50:49 PM: Using ruby version 2.3.6
3:50:50 PM: Successfully installed bundler-2.2.26
3:50:50 PM: 1 gem installed
3:50:50 PM: Using PHP version 5.6
3:50:50 PM: Installing Hugo 0.88.0
3:50:51 PM: hugo: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by hugo)hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by hugo)Started restoring cached go cache
3:50:52 PM: Finished restoring cached go cache
3:50:52 PM: Installing Go version 1.17
3:51:08 PM: unset GOOS;
3:51:08 PM: unset GOARCH;
3:51:08 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.17.linux.amd64';
3:51:08 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.17.linux.amd64/bin:${PATH}";
3:51:08 PM: go version >&2;
3:51:08 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.17.linux.amd64.env"
3:51:08 PM: go version go1.17 linux/amd64
3:51:08 PM: Installing missing commands
3:51:08 PM: Verify run directory
3:51:09 PM: β
3:51:09 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:51:09 PM: Netlify Build
3:51:09 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:51:09 PM: β
3:51:09 PM: β― Version
3:51:09 PM: @netlify/build 18.7.3
3:51:09 PM: β
3:51:09 PM: β― Flags
3:51:09 PM: baseRelDir: false
3:51:09 PM: buildId: 6131b77cc5c34a00087f7f33
3:51:09 PM: deployId: 6131b77cc5c34a00087f7f35
3:51:09 PM: β
3:51:09 PM: β― Current directory
3:51:09 PM: /opt/build/repo
3:51:09 PM: β
3:51:09 PM: β― Config file
3:51:09 PM: /opt/build/repo/netlify.toml
3:51:09 PM: β
3:51:09 PM: β― Context
3:51:09 PM: production
3:51:09 PM: β
3:51:09 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:51:09 PM: 1. build.command from netlify.toml
3:51:09 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:51:09 PM: β
3:51:09 PM: $ hugo --gc --minify
3:51:09 PM: hugo: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by hugo)hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by hugo)β
3:51:09 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:51:09 PM: "build.command" failed
3:51:09 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:51:09 PM: β
3:51:09 PM: Error message
3:51:09 PM: Command failed with exit code 1: hugo --gc --minify
3:51:09 PM: β
3:51:09 PM: Error location
3:51:09 PM: In build.command from netlify.toml:
3:51:09 PM: hugo --gc --minify
3:51:09 PM: β
3:51:09 PM: Resolved config
3:51:09 PM: build:
3:51:09 PM: command: hugo --gc --minify
3:51:09 PM: commandOrigin: config
3:51:09 PM: environment:
3:51:09 PM: - HUGO_VERSION
3:51:09 PM: - HUGO_ENV
3:51:09 PM: - HUGO_ENABLEGITINFO
3:51:09 PM: publish: /opt/build/repo/public
3:51:09 PM: publishOrigin: config
3:51:10 PM: Caching artifacts
3:51:10 PM: Started saving build plugins
3:51:10 PM: Finished saving build plugins
3:51:10 PM: Started saving pip cache
3:51:10 PM: Finished saving pip cache
3:51:10 PM: Started saving emacs cask dependencies
3:51:10 PM: Finished saving emacs cask dependencies
3:51:10 PM: Started saving maven dependencies
3:51:10 PM: Finished saving maven dependencies
3:51:10 PM: Started saving boot dependencies
3:51:10 PM: Finished saving boot dependencies
3:51:10 PM: Started saving rust rustup cache
3:51:10 PM: Finished saving rust rustup cache
3:51:10 PM: Started saving go dependencies
3:51:13 PM: Finished saving go dependencies
3:51:13 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:51:13 PM: Creating deploy upload records
3:51:13 PM: Failing build: Failed to build site
3:51:13 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
3:51:13 PM: Finished processing build request in 1m23.207151752s