Bug 2250127 - buildstream: FTBFS in Fedora Rawhide
Summary: buildstream: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: buildstream
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Javier Jardón
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-16 16:52 UTC by Ben Beasley
Modified: 2025-05-01 13:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-01 13:14:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Log with failing tests prior to Sphinx regression (3.17 MB, text/plain)
2023-11-16 16:53 UTC, Ben Beasley
no flags Details
Log with Sphinx failure prior to %check (33.85 KB, text/plain)
2023-11-16 16:54 UTC, Ben Beasley
no flags Details

Description Ben Beasley 2023-11-16 16:52:31 UTC
Description of problem:
Package buildstream fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.6.9-4.fc40

Steps to Reproduce:
koji build --scratch f40 buildstream-1.6.9-4.fc40.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/buildstream

Reproducible: Always




In https://kojipkgs.fedoraproject.org/work/tasks/2336/108452336/build.log, there were many assertion errors in the tests:

= 264 failed, 527 passed, 125 skipped, 22 deselected, 10 xfailed, 10 xpassed, 2 warnings in 394.47s (0:06:34) =

Later, in https://kojipkgs.fedoraproject.org/work/tasks/2184/109112184/build.log, the build failed in Sphinx before reaching %check, which is what I see now in a local mock build:

Running Sphinx v7.2.6
Sphinx error:
Builder name devhelp not registered or available through entry point
make: *** [Makefile:119: devhelp] Error 2

Comment 1 Ben Beasley 2023-11-16 16:53:58 UTC
Created attachment 1999885 [details]
Log with failing tests prior to Sphinx regression

Comment 2 Ben Beasley 2023-11-16 16:54:33 UTC
Created attachment 1999886 [details]
Log with Sphinx failure prior to %check

Comment 3 Mathieu Bridon 2023-11-17 07:42:06 UTC
Hi, thank you for the bug report.

In any case, we eventually need to move to buildstream 2, and I have to admit I haven't been able to work on that. :(

Robin, I see this bug is assigned to you, would you be able to work on packaging bst2 for Fedora? Would you want to comaintain the buildstream package entirely?

I'm not sure when I'll be able to work on such a big beast, or if I do it might take me way too long, and I don't want to block the freedesktop sdk project anymore...

Comment 4 Robin Lee 2023-11-17 08:05:04 UTC
(In reply to Mathieu Bridon from comment #3)
> Hi, thank you for the bug report.
> 
> In any case, we eventually need to move to buildstream 2, and I have to
> admit I haven't been able to work on that. :(
> 
> Robin, I see this bug is assigned to you, would you be able to work on
> packaging bst2 for Fedora? Would you want to comaintain the buildstream
> package entirely?
> 
> I'm not sure when I'll be able to work on such a big beast, or if I do it
> might take me way too long, and I don't want to block the freedesktop sdk
> project anymore...

I plan to update to bst2 in Fedora 40. And freedesktop-sdk does not rely on Buildstream of Fedora.

Comment 5 Mathieu Bridon 2023-11-17 10:00:51 UTC
Back when I was contributing to the freedesktop sdk, I was using my own buildstream package for that.

Since then I got sick and sort of had to pause :(

It's probably fine to wait for Fedora 40 for me to resume, worst case I can install the package from Rawhide when it's there ;)

Comment 6 Fedora Admin user for bugzilla script actions 2023-12-31 12:06:54 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Fedora Admin user for bugzilla script actions 2024-01-01 00:11:35 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 8 Fedora Admin user for bugzilla script actions 2024-02-10 12:20:03 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Aoife Moloney 2024-02-15 23:04:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 10 Seppo Yli-Olli 2024-04-04 18:33:48 UTC
Documenting here that while I do suggest switch to BuildStream 2, there's two things
1. BuildStream 1 and BuildStream 2 projects are not compatible with each other
2. You can't parallel install BuildStream 1 and BuildStream 2.

This isn't necessarily that big of a problem anymore since BuildStream 1 projects have reduced dramatically in the span of last half a year. One option would be packaging *both* BuildStream 1 and BuildStream 2 but make them conflict upon install.

Should BuildStream 2 be packaged, following components will be needed as well

https://gitlab.com/BuildGrid/buildbox/buildbox-common/
https://gitlab.com/BuildGrid/buildbox/buildbox-casd/
https://gitlab.com/BuildGrid/buildbox/buildbox-run-bubblewrap/
https://gitlab.com/BuildGrid/buildbox/buildbox-fuse/

last is not strictly mandatory but strongly required to guarantee reproducible builds and reasonable staging performance. These are all four cmake projects. buildbox-casd, buildbox-run and buildbox-fuse all depend on buildbox-common. buildbox-casd soft depends on buildbox-fuse. BuildStream hard depends on buildbox-casd and buildbox-run-bubblewrap. buildbox-run-bubblewrap needs to be built in such a way that it provides buildbox-run name into PATH.

Comment 11 Seppo Yli-Olli 2024-04-04 18:36:43 UTC
I'm not sure if any of those four create release tarballs which if I recall correctly Fedora packaging rules require.

Comment 12 Seppo Yli-Olli 2024-05-30 18:46:54 UTC
I would like to me a correction to above that buildbox moved into a monorepo available in https://gitlab.com/BuildGrid/buildbox/buildbox. Buildbox components required by BuildStream has not changed.

Comment 13 Javier Jardón 2024-08-04 08:47:40 UTC
For reference, I'm trying to package buildbox here: https://bugzilla.redhat.com/show_bug.cgi?id=2302674

Comment 14 Javier Jardón 2024-08-10 16:10:52 UTC
Fixed with https://src.fedoraproject.org/rpms/buildstream/pull-request/6

Comment 15 Fedora Update System 2024-08-10 16:25:39 UTC
FEDORA-2024-c6bf1d8090 (buildstream-2.2.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c6bf1d8090

Comment 16 Fedora Update System 2024-08-11 03:58:14 UTC
FEDORA-2024-c6bf1d8090 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c6bf1d8090`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c6bf1d8090

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Aoife Moloney 2025-04-25 10:10:41 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 18 Javier Jardón 2025-05-01 13:14:32 UTC
This is fixed; Fedora 40 has latest buildstream 2.4.1 nowadays building fine


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