Bug 2104036

Summary: native dogtag-pki depends on to be removed i686 java-openjdk packages
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: dogtag-pkiAssignee: Chris Kelley <ckelley>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: urgent    
Version: 37CC: abokovoy, alee, alexander.m.scheel, cdorney, cfu, ckelley, edewata, java-maint-sig, jhuttana, jmagne, jvanek, kwright, mharmsen, mkdineshprasanth, pcech, pmikova, sgehwolf, zzambers
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-06 15:36:59 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:
Bug Depends On:    
Bug Blocks: 2083750    

Description jiri vanek 2022-07-05 14:45:34 UTC
Dear maintainer, we are going to drop i686 java packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
your package (or maybe jsut some subpackage)  is directly depending on java and is native.

Please take care, and adapt  your package to exclude java on i686. For  your convenience, there was added macro %{java_arches}, including all arches java is available on,  which you can use to ifarch-out java specific features out in i686 (on non-java arches). Although for plain java package, the change is as simple as https://src.fedoraproject.org/rpms/maven/c/520942645bfd1e4721dacd536a6ccbf80495a8ae?branch=rawhide, you can not use it. The ExclusiveArch: %{java_arches} is not going to work for you, because your package is not simple java application, and also non-java world depends on it.

See exemplar PR: https://src.fedoraproject.org/rpms/graphviz/pull-request/9#request_diff
See more details eg in:: https://bugzilla.redhat.com/show_bug.cgi?id=2102298
See why in : https://pagure.io/fesco/issue/2772
Please read carefully proposal: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Please see tracking bug for most up to date informations: https://bugzilla.redhat.com/show_bug.cgi?id=2083750

I'm terribly sorry to report this bug so late in f37 lifecycle. If you can, please handle this with priority.

Comment 1 Alexander Bokovoy 2022-07-11 07:11:04 UTC
For what it worth, FreeIPA does not support installing a server part on i686 for several Fedora releases already because 389-ds LDAP server does not support this. We only build client side of FreeIPA on i686.

This means that dogtag can easily drop i686 archtecture if required.

Comment 2 Chris Kelley 2022-07-11 12:53:16 UTC
We have already dropped i686 support - both dogtag-pki and jss have the directive "ExcludeArch: i686" defined in their spec files. This was originally done conditionally in prep for RHEL 9 in 2021 (according to git, Alex Scheel discussed this you ab before he made the change) but it has been undconditional since in April 2022. There are no i686 rpms for dogtag-pki or jss in F35, F36 or Rawhide.

That being the case, it seems that there is nothing to do. I could replace "ExcludeArch: i686" with "ExclusiveArch: %{java_arches}" in both spec files so that we track the JDK archs, and I will, but it is not strictly necessary.

If I am misunderstanding the macros/directives Jiri please let me know, otherwise I will make the fix and close out the tickets.

Comment 3 Chris Kelley 2022-07-28 14:58:59 UTC
Fixed upstream: https://github.com/dogtagpki/pki/commit/13da472dbb748e06427426c4538d91df9a6bcf1e will be picked up in next rebase.

Comment 4 Ben Cotton 2022-08-09 13:41:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 5 Chris Kelley 2023-01-06 15:36:59 UTC
I'm closing as the "fix" is provided upstream but the bug does not affect us anyway so no need to do any more.