Bug 2104097

Summary: native R depends on to be removed i686 java-openjdk packages
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: RAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: i.ucar86, java-maint-sig, jhuttana, jvanek, orion, pmikova, sergio, sgehwolf, spotrh, 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-26 20:27:17 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, 2104109, 2104248, 2104259    

Description jiri vanek 2022-07-05 14:49:39 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 Orion Poplawski 2022-07-22 14:14:06 UTC
This is causing issue like:

DEBUG util.py:443:  Error: 
DEBUG util.py:443:   Problem: package R-devel-4.1.3-1.fc37.i686 requires R-java-devel = 4.1.3-1.fc37, but none of the providers can be installed
DEBUG util.py:443:    - conflicting requests
DEBUG util.py:443:    - nothing provides java-devel needed by R-java-devel-4.1.3-1.fc37.i686

Comment 2 Sergio Basto 2022-07-25 12:44:41 UTC
in the chain opencv also doesn't build

Comment 3 Sergio Basto 2022-07-26 01:48:31 UTC
https://src.fedoraproject.org/rpms/R/pull-request/11 proposed to fix this bug

Comment 4 Tom "spot" Callaway 2022-07-26 20:27:17 UTC
Fixed in R-4.1.3-3.fc37.