Bug 2104036 - native dogtag-pki depends on to be removed i686 java-openjdk packages
Summary: native dogtag-pki depends on to be removed i686 java-openjdk packages
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: dogtag-pki
Version: 37
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
Assignee: Chris Kelley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2083750
TreeView+ depends on / blocked
 
Reported: 2022-07-05 14:45 UTC by jiri vanek
Modified: 2023-01-06 15:36 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-01-06 15:36:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCS-3145 0 None None None 2022-07-28 11:12:54 UTC

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.


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