Bug 2104087

Summary: native pcl depends on to be removed i686 java-openjdk packages
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: pclAssignee: Till Hofmann <thofmann>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-maint-sig, jhuttana, judovana, jvanek, pmikova, richmattes, sgehwolf, thofmann, zzambers
Target Milestone: ---   
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: 2022-07-17 10:40:00 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: 2104109    
Bug Blocks: 2083750    

Description jiri vanek 2022-07-05 14:49:00 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 Till Hofmann 2022-07-17 09:41:06 UTC
PCL only depends on Java indirectly because of VTK.

BR: java-devel was added to fix some issue with vtk-java:
https://src.fedoraproject.org/rpms/pcl/c/9d2e6b0c88b46afc8bda3897a52b830f806404b4?branch=rawhide

However, PCL does not use any of the vtk-java bits, it's just an issue of the imported VTK target.

So very likely, this issue will be fixed once the Java issue has been tackled in VTK.

Comment 2 Till Hofmann 2022-07-17 10:40:00 UTC
As an intermediate fix, I %ifarch'ed the BR for java-devel.

This will only work once VTK gets rid of the VTK::Java target on non-java arches.

Once this is done, pcl should not pull in any java dependencies on non-java arches anymore.

Comment 3 judovana@email.cz 2022-07-17 10:48:12 UTC
thax!

Comment 4 judovana@email.cz 2022-07-17 10:48:24 UTC
sounds reasonably.