microsoft / microsoft/Oryx

Oryx Version: 0.2.20260109 hugo build failed due missing `GLIBC_2.33'

Open
#2,807 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
881
Forks
195
Avg merge
20h 13m
Merged PRs (30d)
13

Description

Bug Report

Pipeline Error with hugo:
/opt/hugo/0.152.2/hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by

  • At what date and time did you most recently experience the problem?
    Did work until yesterday.
    Last successful Pipeline with:
    Oryx Version: 0.2.20250107.1+ef3fb2f9c490a4fbb1f76b5746cd4ba2ff0409f4, Commit: ef3fb2f9c490a4fbb1f76b5746cd4ba2ff0409f4, ReleaseTagName: 20250107.1

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
    Azure Static Web App

  • If your repo is publicly available please share its URL:
    No. Azure Dev/Ops

  • What happened?
    Pipeline error

  • What did you expect or want to happen?
    Pipeline running wighout error

  • How can we reproduce it?

  • Do you have log output? Please include between the backticks:

Digest: sha256:51fe406435889083d913524cb93f01868dccacf9deb458e5be0c31e6ff3fc392
Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
DeploymentId: 7ea90a92-ae54-41b7-be47-2c48e6f8a913

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: 6639271b5cb2b97c
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: /7ea90a92-ae54-41b7-be47-2c48e6f8a913-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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Oryx's Hugo platform detection and build entry point for Oryx 0.2.20260109.4, using the reported Hugo 0.152.2 invocation and bullseye image as the reproduction context. Compare that path with the logged GLIBC and GLIBCXX requirements. Done means the Azure Static Web App pipeline builds Hugo content without those runtime errors, with a regression check if the affected path has one.

Written by the indexing model from the issue text.

Assessment

Tech stack
hugo, linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.