Bug 2226941

Summary: Missing i686 packages in Fedora 38 and rawhide
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: clibs-listAssignee: Ben Beasley <code>
Status: CLOSED NOTABUG QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: code
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-27 15:38:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mattias Ellert 2023-07-27 05:29:25 UTC
The clibs-list package is missing builds for i686 on Fedora 38 and Rawhide.
Packages build requiring the package can not be built on i686.


Reproducible: Always

Steps to Reproduce:
1. Build a package that build requires clibs-list-devel

Actual Results:  
See it fail on i686

https://koji.fedoraproject.org/koji/taskinfo?taskID=103990521
https://koji.fedoraproject.org/koji/taskinfo?taskID=103990535


Expected Results:  
Successful build on all architetures

Comment 1 Ben Beasley 2023-07-27 12:16:49 UTC
I intentionally dropped i686 support in accordance with [1], seven months ago[2]. At the time, clibs-list was a leaf package (although it was packaged with the intent of eventually supporting oidc-agent).

I don’t think there were any *problems* with clibs-list on i686, so it would be easy to restore i686 support, but I think it would be better for oidc-agent to add

> # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
> ExcludeArch:    %{ix86}

as well. As the Change page notes, i686 is only used for multilib support; there is no full i686 version of Fedora, and there is no value in building i686 versions of the vast majority of packages.

[1] https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
[2] https://src.fedoraproject.org/rpms/clibs-list/c/e090e8ba179b73c3d11070774e002e31cfc432ba?branch=rawhide

Comment 2 Mattias Ellert 2023-07-27 15:38:58 UTC
OK. The policy for dropping i686 is more aggressive than I was aware of. Personally I would not consider a library a leaf package even if it is not used by another package, but that is not the definition in the adopted policy. I will adapt the oidc-agent spec file accordingly.

Comment 3 Ben Beasley 2023-07-27 15:42:41 UTC
(In reply to Mattias Ellert from comment #2)
> OK. The policy for dropping i686 is more aggressive than I was aware of.
> Personally I would not consider a library a leaf package even if it is not
> used by another package, but that is not the definition in the adopted
> policy. I will adapt the oidc-agent spec file accordingly.

Thanks! The goal of the policy as I understand it is to work inward from the leaves to reduce the number of packages built for i686 as much as practical without losing steam/wine/etc., so it’s reasonable (but not mandatory, as long as the dependencies are available) for new packages to be ExcludeArch: %{ix86} from the beginning.

Please do let me know if you run into any other issues.