Bug 2240023 - Buildkit no longer available
Summary: Buildkit no longer available
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-moby-buildkit
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2242890 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-21 11:23 UTC by Youri Westerman
Modified: 2025-05-16 07:44 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-16 07:44:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Youri Westerman 2023-09-21 11:23:49 UTC
After upgrading to moby-engine 24.0.5-1.fc38 on Silverblue, unfortunately Buildkit is no longer available while it was working fine on the previous version.

For example when running DOCKER_BUILDKIT=1 docker-compose build will present an error message:
ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:
       https://docs.docker.com/go/buildx/

Manually installing package golang-github-moby-buildkit did not make a difference.

Reproducible: Always

Steps to Reproduce:
1.Start a container image build with shell/env variable DOCKER_BUILDKIT=1
Actual Results:  
ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:
       https://docs.docker.com/go/buildx/

Expected Results:  
Buildkit working fine, as was the case with the previous version of the moby-engine package.

Comment 1 Andrés Maldonado 2023-10-09 14:58:54 UTC
Also affected by this bug after upgrading to Fedora 38. I need BuildKit, and I can't switch to official packages as I also use Waydroid (wich depends on container-selinux, which causes SELinux errors when trying to start Docker from official packages)

Comment 2 Johan Vromans 2023-11-16 18:24:47 UTC
For completeness, a docker build without DOCKER_BUILDKIT gives:

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

In other words, in 'a future release' it will no longer be possible to build containers.

Comment 3 Sergio Basto 2024-02-27 14:00:36 UTC
ATM we need disable DOCKER_BUILDKIT IIRC 

I tried , but go lang packaging have a hell of dependencies , I may give up . 

we need upgrade container to 1.7.x first .

fyralabs.com had one solution on https://github.com/terrapkg
https://github.com/terrapkg/packages/blob/frawhide/anda/docker/containerd/containerd.spec

but I hadn't time yet to test it , basically is build the package with vendor and with go deps

Comment 4 Aoife Moloney 2024-05-31 08:33:14 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Sergio Basto 2024-05-31 15:55:36 UTC
A few months ago I was looking for this bug but on buildkit component 

can you try https://copr.fedorainfracloud.org/coprs/gotmax23/docker-ng/ ? 

I want build buildkit against it

Comment 6 Sergio Basto 2024-05-31 16:04:41 UTC
*** Bug 2242890 has been marked as a duplicate of this bug. ***

Comment 7 Sergio Basto 2024-06-07 10:33:48 UTC
(In reply to Youri Westerman from comment #0)
> After upgrading to moby-engine 24.0.5-1.fc38 on Silverblue, unfortunately
> Buildkit is no longer available while it was working fine on the previous
> version.
> 
> For example when running DOCKER_BUILDKIT=1 docker-compose build will present
> an error message:
> ERROR: BuildKit is enabled but the buildx component is missing or broken.
>        Install the buildx component to build images with BuildKit:
>        https://docs.docker.com/go/buildx/
> 
> Manually installing package golang-github-moby-buildkit did not make a
> difference.

 
I will check this soon ... I'm copying this just for the record

Comment 8 Sergio Basto 2025-04-19 02:34:26 UTC
buildctl is finally available, for now just on Fedora 42+ 

dnf install docker-buildkit

Comment 9 Fedora Admin user for bugzilla script actions 2025-04-22 02:44:41 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 10 Aoife Moloney 2025-04-25 10:07:48 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 11 Aoife Moloney 2025-05-16 07:44:10 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.