Bug 2104087 - native pcl depends on to be removed i686 java-openjdk packages
Summary: native pcl depends on to be removed i686 java-openjdk packages
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pcl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Till Hofmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2104109
Blocks: 2083750
TreeView+ depends on / blocked
 
Reported: 2022-07-05 14:49 UTC by jiri vanek
Modified: 2022-07-17 10:48 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-17 10:40:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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