Skip to content

bumping hugo verison fails netlify website #21715

@medyagh

Description

@medyagh

bumping hugo verison fails
here is the build error from netlify
https://app.netlify.com/projects/kubernetes-sigs-minikube/deploys/68e39415b25c530008dd8868

3:04:30 AM: Netlify Build                                                 
3:04:30 AM: ────────────────────────────────────────────────────────────────
3:04:30 AM: ​
3:04:30 AM: ❯ Version
3:04:30 AM:   @netlify/build 35.1.8
3:04:30 AM: ​
3:04:30 AM: ❯ Flags
3:04:30 AM:   accountId: 595fccb76f4c5019236cda4d
3:04:30 AM:   baseRelDir: false
3:04:30 AM:   buildId: 68e39415b25c530008dd8866
3:04:30 AM:   deployId: 68e39415b25c530008dd8868
3:04:30 AM: ​
3:04:30 AM: ❯ Current directory
3:04:30 AM:   /opt/build/repo/site
3:04:30 AM: ​
3:04:30 AM: ❯ Config file
3:04:30 AM:   /opt/build/repo/netlify.toml
3:04:30 AM: ​
3:04:30 AM: ❯ Context
3:04:30 AM:   deploy-preview
3:04:30 AM: ​
3:04:30 AM: build.command from netlify.toml                               
3:04:30 AM: ────────────────────────────────────────────────────────────────
3:04:30 AM: ​
3:04:30 AM: $ pwd && cd themes/docsy && npm install && git submodule update -f --init && cd ../.. && hugo
3:04:30 AM: /opt/build/repo/site
3:04:33 AM: npm warn EBADENGINE Unsupported engine {
3:04:33 AM: npm warn EBADENGINE   package: '[email protected]',
3:04:33 AM: npm warn EBADENGINE   required: { node: '>=22' },
3:04:33 AM: npm warn EBADENGINE   current: { node: 'v20.19.5', npm: '10.8.2' }
3:04:33 AM: npm warn EBADENGINE }
3:04:36 AM: npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
3:04:36 AM: npm warn deprecated [email protected]: This package is no longer supported.
3:04:36 AM: npm warn deprecated [email protected]: This package is no longer supported.
3:04:37 AM: npm warn deprecated [email protected]: This package is no longer supported.
3:04:37 AM: npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
3:04:44 AM: > [email protected] postinstall
3:04:44 AM: > npm run _mkdir:hugo-mod
3:04:44 AM: > [email protected] _mkdir:hugo-mod
3:04:44 AM: > node tools/mkdirp-hugo-mod.js ..
3:04:45 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:04:45 AM: Creating empty directories under MODULE_PATH_PREFIX: ..
3:04:45 AM:   which resolves to: /opt/build/repo/site/themes
3:04:45 AM: + Creating directory ../github.com/FortAwesome/Font-Awesome
3:04:45 AM: + Creating directory ../github.com/twbs/bootstrap
3:04:45 AM: added 1340 packages, and audited 1344 packages in 14s
3:04:45 AM: 271 packages are looking for funding
3:04:45 AM:   run `npm fund` for details
3:04:45 AM: 10 vulnerabilities (7 low, 2 moderate, 1 high)
3:04:45 AM: To address issues that do not require attention, run:
3:04:45 AM:   npm audit fix
3:04:45 AM: To address all issues (including breaking changes), run:
3:04:45 AM:   npm audit fix --force
3:04:45 AM: Run `npm audit` for details.
3:04:45 AM: hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by hugo)
hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by hugo)
hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by hugo)
hugo: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by hugo)
​
3:04:45 AM: "build.command" failed                                        
3:04:45 AM: ────────────────────────────────────────────────────────────────
3:04:45 AM: ​
3:04:45 AM:   Error message
3:04:45 AM:   Command failed with exit code 1: pwd && cd themes/docsy && npm install && git submodule update -f --init && cd ../.. && hugo (https://ntl.fyi/exit-code-1)
3:04:45 AM: ​
3:04:45 AM:   Error location
3:04:45 AM:   In build.command from netlify.toml:
3:04:45 AM:   pwd && cd themes/docsy && npm install && git submodule update -f --init && cd ../.. && hugo
3:04:45 AM: ​
3:04:45 AM:   Resolved config
3:04:45 AM:   build:
3:04:45 AM:     base: /opt/build/repo/site
3:04:45 AM:     command: pwd && cd themes/docsy && npm install && git submodule update -f --init
3:04:45 AM:       && cd ../.. && hugo
3:04:45 AM:     commandOrigin: config
3:04:45 AM:     environment:
3:04:45 AM:       - REVIEW_ID
3:04:45 AM:       - NODE_VERSION
3:04:45 AM:       - HUGO_VERSION
3:04:45 AM:     publish: /opt/build/repo/site/public
3:04:45 AM:     publishOrigin: config
3:04:45 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:04:45 AM: Failing build: Failed to build site
3:04:45 AM: Finished processing build request in 38.455s

Originally posted by @medyagh in #21702 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.kind/processProcess oriented issues, like setting up CIpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions