Skip to content

Build fails before running build.sh with crun error: "unknown version specified" #249

Description

@Syllvae

Description

A build that previously worked now fails before build.sh is even executed.

The failure occurs during the first RUN instruction in the generated Containerfile.

Repository is based on the latest image-template.

Environment

  • GitHub Actions
  • Ubuntu 24.04 runner
  • Runner version: 2.336.0
  • Runner image: ubuntu-24.04 (20260726.254.1)

Base image:

FROM ghcr.io/ublue-os/bazzite:stable@sha256:b923f92d5a5b59eb992e269383eba2744601052da9d3d1595f76e79aa6ce2df0

The build script only:

  • copies files
  • enables a COPR
  • swaps libfprint
  • installs libfprint-2-tod1-broadcom

Nothing unusual.

Error

The image downloads successfully.

The failure happens immediately before /ctx/build.sh should execute.

[2/2] STEP 2/4:
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
    --mount=type=cache,dst=/var/cache \
    --mount=type=cache,dst=/var/log \
    --mount=type=tmpfs,dst=/tmp \
    /ctx/build.sh

error running container:
from /usr/bin/crun creating container for [/bin/sh -c /ctx/build.sh]:
unknown version specified

exit status 1

Error: building at STEP "RUN ... /ctx/build.sh":
while running runtime: exit status 1

error: recipe `build` failed with exit code 1

build.sh itself is never executed.

What I already checked

  • enough disk space (about 47 GB free)
  • latest image-template
  • Containerfile matches the template
  • build.sh contains only dnf5 package operations
  • failure occurs before any dnf command is executed

Has anyone seen this recently?

Could this be related to a recent GitHub runner / Podman / Buildah / crun update?


Repository:

https://github.com/Syllvae/bazzite-controlvault

build.sh

Containerfile.txt

logs_82541541393.zip

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