Bug 2104109

Summary: native vtk depends on to be removed i686 java-openjdk packages
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: vtkAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: axel.thimm, java-maint-sig, jhuttana, jvanek, mrceresa, mtasaka, orion, pmikova, scitech-bugs, sgehwolf, trpost, zzambers
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vtk-9.1.0-17.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-29 02:01:47 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: 2104097    
Bug Blocks: 2083750, 2104087    

Description jiri vanek 2022-07-05 14:50:25 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 Fedora Update System 2022-07-26 19:39:35 UTC
FEDORA-2022-3493ce9b59 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3493ce9b59

Comment 2 Fedora Update System 2022-07-26 19:40:48 UTC
FEDORA-2022-3493ce9b59 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Mamoru TASAKA 2022-07-27 14:07:56 UTC
Unfortunately, rebuild failed:
https://koji.fedoraproject.org/koji/taskinfo?taskID=90103444

BuildError: The following noarch package built differently on different architectures: vtk-data-9.1.0-15.fc37.noarch.rpm
rpmdiff output was:
added       /usr/share/vtkdata/Wrapping
added       /usr/share/vtkdata/Wrapping/Java

vtk-data (currently noarch) %files needs fixing, to deal with java removal on i686,
perhaps by creating vte-data-java subpackage?

Comment 4 Mamoru TASAKA 2022-07-29 02:01:47 UTC
This is now fixed. Thank you, Orion.