Skip to content

Hugo 0.152.2 fails due missing the correct GLIBC_2.33 (not found) #1720

@BohrenAn

Description

@BohrenAn

Describe the bug

Hugo compilation fails due missing correct Version of GLIBC

e4b3298e2aa1: Pull complete
86c2adf79dad: Pull complete
Digest: sha256:51fe406435889083d913524cb93f01868dccacf9deb458e5be0c31e6ff3fc392
Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
DeploymentId: f7aa12c5-8713-4cb2-88d9-91f61519b165

Try to validate location at: '/working_dir/blog.icewolf.ch'.
App Directory Location: '/blog.icewolf.ch' was found.
Try to validate location at: '/working_dir/swa-db-connections'.
Looking for event info
Starting to build app with Oryx
Azure Static Web Apps utilizes Oryx to build both static applications and Azure Functions. You can find more details on Oryx here: https://github.com/microsoft/Oryx
---Oryx build logs---

Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.20260109.4+7d54dd5970dbbf3ae6bdcf4dee57b07816a392ce, Commit: 7d54dd5970dbbf3ae6bdcf4dee57b07816a392ce, ReleaseTagName: 20260109.4

Build Operation ID: 46dc0216e14b2f3c
OS Type : bullseye
Image Type : githubactions

Primary SDK Storage URL: https://oryx-cdn.microsoft.io/
Backup SDK Storage URL:
Detecting platforms...
Detected following platforms:
hugo: 0.152.2
Detected the following frameworks: hugo

Source directory : /working_dir/blog.icewolf.ch
Destination directory: /f7aa12c5-8713-4cb2-88d9-91f61519b165-swa-oryx/app

Running build script snippets...

Using Hugo version:
/opt/hugo/0.152.2/hugo: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /opt/hugo/0.152.2/hugo) /opt/hugo/0.152.2/hugo: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by /opt/hugo/0.152.2/hugo)
/opt/hugo/0.152.2/hugo: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by /opt/hugo/0.152.2/hugo) /opt/hugo/0.152.2/hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /opt/hugo/0.152.2/hugo)

---End of Oryx build logs---
Oryx has failed to build the solution.

For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting

##[error]Error: The process '/usr/bin/bash' failed with exit code 1
Finishing: AzureStaticWebApp

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Check in Code to the private Azure DevOps Repo

YAML File:
name: Azure Static Web Apps CI/CD

pr:
branches:
include:
- dev
trigger:
branches:
include:
- dev

jobs:

  • job: build_and_deploy_job
    timeoutInMinutes: "10" # how long to run the job before automatically cancelling
    displayName: Build and Deploy Job
    condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
    pool:
    vmImage: ubuntu-latest
    variables:
    • group: Azure-Static-Web-Apps-icy-meadow-062311f03-variable-group
      steps:
    • checkout: self
      submodules: true
    • task: AzureStaticWebApp@0
      inputs:
      azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_MEADOW_062311F03)
Repository/Build Configurations - These values can be configured to match your app requirements.

For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig

  app_location: "/blog.icewolf.ch" # App source code path
  api_location: "" # Api source code path - optional
  output_location: "public" # Built app content directory - optional
End of Repository/Build Configurations

Expected behavior
Run Hugo without Error

Screenshots

Image

Additional Info
hugo: 0.124.1 seemed to work fine.

Kind Regards
Andres

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions