Bug 2104242 - adapt zlib to removal of java on i686
Summary: adapt zlib to removal of java on i686
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: zlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Matej Mužila
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2083750
TreeView+ depends on / blocked
 
Reported: 2022-07-05 19:06 UTC by jiri vanek
Modified: 2023-09-15 01:56 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-08-02 13:53:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jiri vanek 2022-07-05 19:06:26 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 some subpakcage) is transitively affected by this change:

zlib<-glibc<-gawk<-git<-subversion<-java-11-openjdk-devel
zlib<-glibc<-gettext<-git<-subversion<-java-11-openjdk-devel
zlib<-glibc<-procps-ng<-git<-subversion<-java-11-openjdk-devel
zlib<-libtool<-findutils<-git<-subversion<-java-11-openjdk-devel


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
(note, that direct dependencies are already work in progress - native reported and worked on, noarch ones autoadjusted)

I'm terribly sorry to report this bug so late in f37 lifecycle. If you can, please handle this with priority.

Comment 1 Pavel Raiskup 2022-07-07 06:30:15 UTC
Do you have more hints how Zlib is actually affected?  I tested zlib build
now and java-17-openjdk doesn't seem to be installed for build.
Perhaps that is only a build-dep of subversion/juinut/etc?

Comment 2 Jonathan Wakely 2022-07-26 20:43:47 UTC
Git only uses the 'subversion' package, not 'subversion-javahl', so is not affected.

Comment 3 Matej Mužila 2022-08-02 13:53:41 UTC
I'm not sure how was the dependency list produced, but I consider it invalid.

As I didn't get any additional information from reporter, I'm closing this bug.

(In reply to Jonathan Wakely from comment #2)
> Git only uses the 'subversion' package, not 'subversion-javahl', so is not
> affected.
git needs zlib, zlib doesn't need git

Comment 4 Jonathan Wakely 2022-08-02 14:09:45 UTC
(In reply to Matej Mužila from comment #3)
> git needs zlib, zlib doesn't need git

zlib BuildRequires: glibc (like most of the OS). glibc BuildRequires: gawk, and gawk BuildRequires: git, and git BuildRequires: subversion (for some svn2git tests), and subversion has a subpackage that uses java.

zlib<-glibc<-gawk<-git<-subversion<-java-11-openjdk-devel
zlib<-glibc<-gettext<-git<-subversion<-java-11-openjdk-devel
zlib<-glibc<-procps-ng<-git<-subversion<-java-11-openjdk-devel
zlib<-libtool<-findutils<-git<-subversion<-java-11-openjdk-devel

So building zlib does "depend" on git ... but only if you use a broken tool to find dependencies. In practice, no changes in git affect zlib in any way (except removing git from the distro entirely!)

Comment 5 Red Hat Bugzilla 2023-09-15 01:56:38 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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