Bug 2103921

Summary: adapt autoconf to removal of java on i686
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: autoconfAssignee: Filip Januš <fjanus>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: fberat, fjanus, jjanco, karsten, kasal, odubaj, panovotn, praiskup
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-06 07:17:46 UTC Type: Bug
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, 2104259    

Description jiri vanek 2022-07-05 09:47:00 UTC
Dear maintainer, we are going to drop i686 java-openjdk packages in f37 - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
Your package (maybe jsut soem subpakcage) is transitively affected by this change:

autoconf<-m4<-gettext<-git<-subversion<-java-11-openjdk-devel
autoconf<-bash<-gettext<-git<-subversion<-java-11-openjdk-devel
autoconf<-perl-PathTools<-findutils<-git<-subversion<-java-11-openjdk-devel
autoconf<-perl-Data-Dumper<-findutils<-git<-subversion<-java-11-openjdk-devel
But this is just tip of iceberg. Main issue is that half of the universe depends on autoconf.

This package was selected as one of the most crucial, which when missing, will burn distro down.
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 (even if you are one of dozen noarchs in this set)
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 Frédéric Bérat 2022-07-05 11:31:34 UTC
@jvanek There is nothing that can be done from autoconf side here. Since there is no direct dependency towards java-openjdk, and the dependencies that are listed here can't be disabled in any way (e.g. autoconf is using m4 from its core).

Which basically means, you need to get the dependency chain to be fixed, up to any package that may require java-openjdk directly.

I feel that the impact of removing java-openjdk support is underestimated, you may need to postpone the removal to f38, so that you have the time to fix all the packages that need to be fixed.

Comment 2 jiri vanek 2022-07-05 14:05:46 UTC
hi. Yes, the delay may happen. As I really got delayed. on my side by longer then month.  Your depndecies will be fixed, that is clear - sooner or later. In this case it is subversion. 
Yes, you will get it, but until now, subversion was not building java support on  %{power64} s390x. Now it will lack it also in i686. See:
See https://src.fedoraproject.org/rpms/subversion/c/28a837129261f24545a78c9a01056b30fb36ae98

I do not knwo the impact to Autoconf.

Comment 3 Frédéric Bérat 2022-07-06 07:17:46 UTC
It's not only subversion, but gettext too.

Closing this BZ as there is nothing to do for autoconf.