Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove i686 builds for packages maintained by the team #1716

Open
9 of 10 tasks
travier opened this issue Apr 24, 2024 · 30 comments
Open
9 of 10 tasks

Remove i686 builds for packages maintained by the team #1716

travier opened this issue Apr 24, 2024 · 30 comments
Assignees

Comments

@travier
Copy link
Member

travier commented Apr 24, 2024

Describe the enhancement

Remove i686 builds for packages maintained by the team.

See: https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval

To do:

Done:

@travier
Copy link
Member Author

travier commented Apr 24, 2024

I did the Butane one as it was more pressing with the failed build in F40. The other ones we can do progressively.

@travier travier added area/packaging meeting topics for meetings labels Apr 24, 2024
@aaradhak aaradhak self-assigned this Apr 24, 2024
@travier travier removed the meeting topics for meetings label Apr 24, 2024
@cgwalters
Copy link
Member

I am not sure that coreos should think of ostree/rpm-ostree as "our packages" here

@jmarrero
Copy link
Member

I am not sure that coreos should think of ostree/rpm-ostree as "our packages" here

man, I feel this needs to be expanded on.

I assume you mean ostree/rpm-ostree should be co-maintained by every team/org involved in contributing to these.

But do you object to having this checklist here?

Is there a reason not to do this for ostree/rpm-ostree?

or you just want for us to be very specific with the wording and say something like packages we maintain and co-maintain?

@aaradhak aaradhak added the jira for syncing to jira label Apr 30, 2024
@travier travier changed the title Remove i686 builds for all our packages Remove i686 builds for packages maintained by the team Apr 30, 2024
@travier
Copy link
Member Author

travier commented Apr 30, 2024

I've updated the title. I did not want to imply that we own those, but that generally maintain the packages in Fedora.

@aaradhak
Copy link
Member

aaradhak commented Sep 4, 2024

Its a work under progress:

Posting the links here for reference.

@aaradhak
Copy link
Member

aaradhak commented Sep 6, 2024

Based on Colin's comment, we might need to remove the i686 for greenboot

I have opened a PR to remove ix86 in greenboot

@aaradhak aaradhak closed this as completed Sep 6, 2024
@aaradhak aaradhak reopened this Sep 6, 2024
@aaradhak
Copy link
Member

aaradhak commented Sep 6, 2024

@travier The rpm-ostree spec seems to have ix86 excluded.

In this PR comment, it was recommend to drop ExclusiveArch: %{rust_arches} in addition to adding the ExcludeArch as it is no longer required for building on Fedora or RHEL. The ostree & rpm-ostree seem to have the ExclusiveArch: %{rust_arches} in the spec file. In that case, do we remove it in rpm-ostree?

@HuijingHei
Copy link
Member

HuijingHei commented Sep 9, 2024

IMU, the current condition %if 0%{?rhel} >= 10 is only exclude i686 for rhel10, see build which still includes i686 builds for fedora.

We should expand it to include fedora like %if 0%{?rhel} >= 10 || 0%{?fedora} ?

Also should drop ExclusiveArch: %{rust_arches} as Rust packages are no longer required to have it (see doc and https://pagure.io/packaging-committee/pull-request/1222)

aaradhak added a commit to aaradhak/rpm-ostree that referenced this issue Sep 13, 2024
%rust_arches are no longer needed or required for building on Fedora or RHEL
Ref:coreos/fedora-coreos-tracker#1716
@aaradhak
Copy link
Member

aaradhak commented Sep 13, 2024

@aaradhak
Copy link
Member

@travier The ostree spec seems to have ix86 excluded. I wanted to know if we would need to update anything else in ostree.

@travier
Copy link
Member Author

travier commented Sep 17, 2024

It's only excluded for RHEL 10 for now: https://src.fedoraproject.org/rpms/ostree/blob/rawhide/f/ostree.spec#_20

This one is more complicated as you will have to find all the packages that depend on ostree and figure out if they can drop i686 support. You should be able to find those using: https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval#Scope

@aaradhak
Copy link
Member

aaradhak commented Sep 17, 2024

ostree and rpm-ostree are not leaf packages.

aaradhak@fedora ~/coderepo/rpms/leafdrop (main)$ ./leafdrop ostree
NO: Package ostree is a required multilib package when installing Steam.
NO: Package ostree is a required multilib package when installing Wine.


aaradhak@fedora ~/coderepo/rpms/leafdrop (main)$ ./leafdrop rpm-ostree
rpm-ostree is Required by:
- anaconda-install-img-deps
- cockpit-ostree
- greenboot
- osbuild-ostree
rpm-ostree-devel is BuildRequired by:
- gnome-software
- plasma-discover
NO: Package rpm-ostree is not a leaf package on i686.

@travier
Copy link
Member Author

travier commented Sep 18, 2024

@aaradhak
Copy link
Member

aaradhak commented Sep 18, 2024

The cockpit-ostree spec is maintained upstream and is let by packit to auto-sync it.
[ ] cockpit-ostree: https://src.fedoraproject.org/rpms/cockpit-ostree/pull-request/52#

@aaradhak
Copy link
Member

aaradhak commented Sep 18, 2024

  1. Discussion with the Anaconda team:
  1. Discussion with Fedora-workstation group regarding GNOME Software

martinpitt pushed a commit to martinpitt/cockpit-ostree that referenced this issue Sep 19, 2024
cockpit-ostree is one of the dependents of rpm-ostree. We are
removing i686 buids on this pkg from fedora version 41 and above.

Ref: coreos/fedora-coreos-tracker#1716 (comment)
jelly pushed a commit to cockpit-project/cockpit-ostree that referenced this issue Sep 19, 2024
cockpit-ostree is one of the dependents of rpm-ostree. We are
removing i686 buids on this pkg from fedora version 41 and above.

Ref: coreos/fedora-coreos-tracker#1716 (comment)
jkonecny12 added a commit to jkonecny12/anaconda that referenced this issue Sep 19, 2024
Fedora does not support this anymore and we are currently blocking other
packages to drop this dependency because we require them.

See:
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
coreos/fedora-coreos-tracker#1716

Suggested-by: Aashish Radhakrishnan
@aaradhak
Copy link
Member

aaradhak commented Sep 19, 2024

PR for anaconda pkg

@travier
Copy link
Member Author

travier commented Oct 14, 2024

@travier
Copy link
Member Author

travier commented Oct 14, 2024

As we have the go from the Workstation team, we can make a PR for GNOME Software: https://pagure.io/fedora-workstation/issue/447

@aaradhak
Copy link
Member

aaradhak commented Oct 17, 2024

As we have the go from the Workstation team, we can make a PR for GNOME Software: https://pagure.io/fedora-workstation/issue/447

@travier Looks like gnome-software has already excluded the ix86 for RHEL 10 & above. It was updated 10 months ago.
https://src.fedoraproject.org/fork/aaradhak/rpms/gnome-software/c/3140f37d2d3b64c2889d143bcb9e6bee142981a4

@travier
Copy link
Member Author

travier commented Oct 21, 2024

@travier Looks like gnome-software has already excluded the ix86 for RHEL 10 & above. It was updated 10 months ago. src.fedoraproject.org/fork/aaradhak/rpms/gnome-software/c/3140f37d2d3b64c2889d143bcb9e6bee142981a4

Then you can likely add Fedora >= 41 to this check as well.

@aaradhak
Copy link
Member

@travier Looks like gnome-software has already excluded the ix86 for RHEL 10 & above. It was updated 10 months ago. src.fedoraproject.org/fork/aaradhak/rpms/gnome-software/c/3140f37d2d3b64c2889d143bcb9e6bee142981a4

Then you can likely add Fedora >= 41 to this check as well.

I have opened a PR for this check - https://src.fedoraproject.org/rpms/gnome-software/pull-request/10

@debarshiray
Copy link

@travier Looks like gnome-software has already excluded the ix86 for RHEL 10 & above. It was updated 10 months ago. src.fedoraproject.org/fork/aaradhak/rpms/gnome-software/c/3140f37d2d3b64c2889d143bcb9e6bee142981a4

Then you can likely add Fedora >= 41 to this check as well.

We are already in Final Freeze for Fedora 41. There's a Go/No-Go meeting tomorrow.

Does this fix an important enough bug that it will be granted a freeze break?

Otherwise, adding an ExcludeArch to a stable release doesn't seem to fit with Fedora's update policy for stable releases.

@travier
Copy link
Member Author

travier commented Oct 23, 2024

There is no specific urgency. I hadn't realized that indeed. It's technically breaking but no-one is using those so 🤷🏻?

@aaradhak
Copy link
Member

I have changed the fedora check to be from version 42.

@aaradhak
Copy link
Member

Just realized that the Fedora ix86 is not built on Fedora already. I believe we would not need the fedora check.
Closed the PR without merging

@travier
Copy link
Member Author

travier commented Oct 24, 2024

Ah indeed, my bad.

@aaradhak
Copy link
Member

Do you think we can close this issue now ?

@travier
Copy link
Member Author

travier commented Oct 25, 2024

I think we only have rpm-ostree in Fedora to do before we can consider this done.

@aaradhak
Copy link
Member

From the previous discussion, as part of rpm-ostree, I see that osbuild-ostree is the only rpm that needs closure.
As its a noarch pkg , it was unsure why it was on this list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants